Skins specification
General
- All skins must be placed to the folder SKINS in the instalation
folder.
- Each skin must be placed in separate folders
- The file with skin deskription must be named tlbskin.ini
- All file names are related to skin's folder
Sections
- [button] - describes the small button in the horizontal
state of toolbar
- [largebutton] - describes the large button in the horizontal
state of toolbar
- [buttonV] - describes the small button in the vertical
state of toolbar
- [largebuttonV] - describes the large button in the vertical
state of toolbar
- [menubutton] - describes the small button with menu in
the horizontal state of toolbar
- [largemenubutton] - describes the large button with menu
in the horizontal state of toolbar
- [menubuttonV] - describes the small button with menu
in the vertical state of toolbar
- [largemenubuttonV] - describes the large button with
menu in the vertical state of toolbar
- [menuitem] - describes the menu item
- [menuitemsubmenu] - describes the menu item with submenu
- [menuseparator] - describes the separator in the menus
- [separator] - describes the separator in the horizontal
toolbar
- [separatorV] - describes the separator in the vertical
toolbar
Values
Each section can contains some values (<value name>
= <value>). The order of values is not important.
type (required)
Type of the draw method. Now you can specify the only value bitmap
bitmap=<bitmap file name> (required)
The file name that contains the item appearance in vary states.
Images must be tiled vertically and bitmap must contain 5 images
for the following states:
- normal
- over (active/selected)
- down
- opened active
- opened inactive
Note: For serapators section you must make bitmap with
only image and specify the bitmapcount=1
Width=<number>, Height=<number>
(optional)
You can set this values to the size of item. If you ommit this values
the size of item calculated from bitmap size.
IconX#=<number>, IconY#=<number>
(optional)
Replace the # sign by the zero based number of button state. Use
this values to place icon to the different coordinates. If you ommit
this values icon will be draw in the 0, 0
TextLeft#=<number>, TextRight#=<number>
(optional)
Replace the # sign by the zero based number of button state. Use
this values to place menu items text to the different coordinates.
If you ommit this values text will be draw in 0 to item width
TextColor#=<RGBValue> (optional)
Replace the # sign by the zero based number of button state. Sets
the color of text. Use this values to make color rollover for text.
LeftMargin, RightMargin, TopMargin, BottomMargin (optional)
This values are used to spacify margins in one bitmab image. If
you ommit this values the image will be strached is rectangle if
smaller or larger. Including this values you force the borders of
the item not streched.
Transparent=<0 or 1> (optional)
0 - The bitmap have not transparency
1 - The bitmap have transparency
TransparentColor=<RGBValue> (optional)
Default is black (0x000000) Use this value with Transparent=1 to
draw transparent bitmap
bitmapcount=<number(greater the 0)> (optional)
Number of images in the bitmap. Use this value only in separators
sections.
|