A ToDo2x2 (v.1.0) "skin" is composed by the following files: ====================================================================================== Background.gif ButtonGroup_normal.gif ButtonGroup_pressed.gif ButtonGroup_active.gif func_group.gif func_item.gif func_search.gif func_ddl.gif func_todo.gif func_settings.gif func_close.gif Skin.txt ====================================================================================== The files must be contained in a subdirectory of this type: \skins\ If one of the files is missing, then the default image is used. Below is a description of the different files. --------------------------------------------------------------------------------- Background.gif --------------------------------------------------------------------------------- This is used for the background of all the forms. The image can be of any size and it is "tiled" on the window. --------------------------------------------------------------------------------- ButtonGroup_normal.gif ButtonGroup_pressed.gif ButtonGroup_active.gif --------------------------------------------------------------------------------- These are the images for the group buttons. They are stretched automatically to size: 130x35 "ButtonGroup_normal" : is the normal appearance of the button "ButtonGroup_pressed" : is the appearance of the button *while* the mouse left-button is pressed on it "ButtonGroup_active" : is the appearance of the button when it is "active" (the group is "selected") --------------------------------------------------------------------------------- func_group.gif : "New group" button func_item.gif : "New item" button func_search.gif : "Search" button func_ddl.gif : "Expired" button func_todo.gif : "Todo" button func_settings.gif : "Settings" button func_close.gif : "Close" button --------------------------------------------------------------------------------- These are the images of the function buttons (main window, on the right) They are automatically stretched (keeping proportions) to the size: 100x70 --------------------------------------------------------------------------------- Skin.txt --------------------------------------------------------------------------------- "Skin.txt" is a text-file that describes how the text (group name) will appear on the Group-buttons. It should contain these entries: (example) ButtonGroup_FontName = Microsoft Sans Serif ButtonGroup_FontSize = 9 ButtonGroup_Bold = true ButtonGroup_Italic = false ButtonGroup_AwayColor = FF000000 ButtonGroup_OverColor = FF444444 ButtonGroup_DisabColor = FFFFFFFF ButtonGroup_XOffset = 0 ButtonGroup_YOffset = 0 NOTES: - use a "common" font for "ButtonGroup_FontName" - ButtonGroup_AwayColor : is the color of the text when the mouse is away from the button ButtonGroup_OverColor : is the color of the text when the mouse is over the button ButtonGroup_DisabColor : not used; this value is ignored The "_Color" values are expressed as hexadecimal: AARRGGBB AA = alfa (transparency) : 00-FF (FF = no transparency) RR = red component : 00-FF GG = green component : 00-FF BB = blue component : 00-FF - With "ButtonGroup_XOffset" and "ButtonGroup_YOffset" you can set a position offset for the text. If both values are 0, then the text will be automatically centered on the button. Otherwise it will be positioned x pixels to the right and y pixels below the "centered" position (could be useful for some not simmetrical buttons)