Neatware Company

An ISV for Mobile, Cloud, and Video Technologies and Software.

Theme

Open Theme

open a theme with a list of attributes.

_theme attributes

NAME VALUE DEFAULT
title string "Ladybug StudioXP"
orgx int 0
orgy int 0
width int 640
height int 480
close boolean false
keyboard enable/disable enable
region window, rect, roundrect, ellipse, bitmap window
mode normal, windowless, fullscreen normal
transparent hex 0xfefefe
tolerance hex 0xffffff
wcorner int 20
hcorner int 20
background boolean true

title is the string on the title bar in the normal window mode; other modes will not show the title. orgx and orgy are the origin position of the theme. width and height are the width and height of the theme. If close is set to true the theme will be closed in the theme_ command. When keyboard is set to enable the operation of keyboard will be valid. region could be the value window, rect, roundrect, ellipse, and bitmap file. Where window is the normal window; rect, roundrect, and ellipse are corresponded shapes; bitmap file is the shape specified by a .bmp file. mode could be normal. windowless, and fullscreen. The normal mode has a title bar and frame; the windowless mode has no title bar and frame; fullscreen is the fullscreen theme in windowless. transparent set the transparent value of the mask bitmap file. The tolerance is the up limit value of the transparent. wcorner and hcorner is only valid for roundrect region. The background sets the background window to show the media. Its default value is true.

Close Theme

close the theme

theme_

Query Theme

Get attribute value of the theme.

?theme attributes

When there is no attribute, ?theme will return all the attribute list of the theme.

For example, [?theme {width height}] will return the list of width and height.

Set Theme

Set attribute of the theme

!theme attributes

This command will modify theme's attribute. For example, [!theme {width 256 height 128}] will set theme width as 256 and theme height as 128.