ZoneTick World Time Zone Clock |
|
How to Create Your Own Skin for ZoneTickHere are several examples of available ZoneTick skins. ![]() ZoneTick skin examples But still, you are not totally satisfied with any of them. Well, the good news is that you have a few options.
All of the options are pretty straightforward including designing your own skin. It is a simple process that requires no more than creativity, and any image editing program, which can be anything from Adobe Photoshop, even to Microsoft's standard Paint program. But let's start with configuring available skins. Configuring Available SkinsRead this section of this page to understand the format of skin.ini file. Experiment with it and change values to your liking. Notice that after you change anything in skin.ini you need to reapply new settings, which can be accomplished by selecting some other skin first and then the skin you are trying to configure. One other thing to remember is that ZoneTick software updates will change your skin.ini back. Rename your skin by giving the skin folder a different name to keep your changes in skin.ini file after ZoneTick software updates. Modifying SkinsYou can change any skin by editing its artwork. For example, if you are unhappy with skin background or look of some elements - just change them to your liking. If background needs to be changed make sure to play with existing skin first by doing the following 2 things.
In other words, before modifying skin backgrounds make sure you understand how they work. Designing Your SkinThis requires more effort but in return you have total freedom creating your own skin. Notice that ZoneTick supports several skin formats, from very basic digital WinAmp format to advanced ZoneTick formats. Make sure you understand the formats very well before proceeding. Location and Organization of SkinsSkins are bitmap and initialization files that reside in ZoneTick skins sub-directory. Each skin has its own sub-folder. For example, all Bamboo skin files are located in <install_dir>\skins\Bamboo (by default C:\Program Files\ZoneTick\skins\Bamboo). Name of the folder defines skin name. All you need to add a new skin is create a folder for it and drop its files in. Skin files are as follows.
Notice that 2 digital skin formats are supported: WinAmp format (when text.bmp and numbers.bmp are used), and ZoneTick format. Minimal digital skin consists of 2 files: numbers.bmp + skin.ini or numbers.bmp + text.bmp. You can use other WinAmp skins if you'd like (search the Internet for WinAmp skins). However, for better quality consider tuning up with skins.ini or using alpha.bmp + digits.bmp. Format of the skin.ini FileNote: ZoneTick software updates overwrite skin.ini file in all skins that come with the product. Rename your skin to keep your changes in skin.ini during software updates. Here is an example of the contents in skin.ini file: [font] face=Tahoma align=center size=-10 width=-7 color=0xffc000 weight=700 style=1 [shadow] color=0x000000 offset=1 [border] enabled=0 color=0x000000 [font] - defines section in skin.ini file for font attributes.
[shadow] - defines section in skin.ini file for font shadow attributes.
[border] - defines section in skin.ini for skin border attributes. This works only in digital skins.
Note: ZoneTick software updates overwrite skin.ini file in all skins that come with the product. Rename your skin to keep your changes in skin.ini during software updates. Skin TextTwo variations of text bitmaps are used to represent text: alpha.bmp or text.bmp. alpha.bmp - a 16x14 matrix of text symbols of equal size, altogether 224 symbols starting with ASCII 32 and ending with ASCII 255. Notice that you define the size of your text symbols.
!"#$%&'()*+,-./
0123456789:;<=>?
@ABCDEFGHIJKLMN0
PQRSTUVWXYZ[\]^_
`abcdefghijklmno
pqrstuvwxyz{|}~
....
text.bmp - a limited set of letters in WinAmp format. Color of the top left bitmap pixel with coordinates (0,0) is used as skin background. Symbol '=' from these bitmaps is used as the time separator symbol to separate hours from minutes and minutes from seconds if WinAmp digits are used (see numbers.bmp below). Skin DigitsTwo variations of bitmaps may be used to represent digits on clock faces. digits.bmp - is a bitmap of digits 0...9 and the time separator in one straight line. Bitmap height defines digit height. Digit width is defined by dividing bitmap width by 10 without remainder. The remainder defines width of the time separator. For example, 103x16 pixel bitmap would contain 10 digits 10x16 pixels each, and a time separator 3x16. Each digit is assumed to be drawn together with separating space from another digit. numbers.bmp or nums_ex.bmp - fixed WinAmp format for digits. Bitmap size is always 99x13 pixels. Digits 0...9 each 9x13 are drawn without separating space. Last 9 pixels of bitmap width are not used. During load a 2-pixel separating space between digits is added up. The '=' symbol from the alphabet bitmap is used as the time separator symbol. ![]() Bamboo skin digits Color of the top pixel right after the digit 9 is used as skin background. Clock Face for Analog Skinsclkface.bmp - a bitmap with dimensions F x (F + 3A) where F is the diameter of the clock face plus a few separating pixels. F must be minimum 128 pixels. A represents height of the area to draw clock hands. In other words, below the clock face itself you need to draw three hands, hour hand, minute hand, second hand one below the other. Vertical axis of this bitmap defines the point around which arrows rotate. ![]() ZoneTick analog skin example Color of the pixel with coordinates (0, F-1) is used as skin background. Light Maplightmap.bmp is an optional light map bitmap F x F pixels to mix up with analog clock face. Every pixel is used to change brightness of the resulting image. This could be used to achieve more realistic images for "mechanical" clock skins. For example, you can highlight a specific area of your clock face. If you come up with some great design please consider sharing it with others by sending it to us for consideration. |
|
|
© 2003-2008 Anuko Software Ltd.
|