The Settings File

Previous Next

Positioning and movement of graphics are controlled by a settings file. It needs to be in the same folder as the graphics for your watch.

The file is in xml format and therefore can be created and modified in any text editor. It needs to be called specs.xml, and should have a uniqur name in the WatchData tag.


The very basic format is this:


<WatchData Name="My new watch">

   <Dial image="face.png" />

</WatchData>


It will show you the blank face (the image can have any name, face.png is just an example). In the next step, we'll add hands to it.

Note: to load a modified specs.xml, just select the watch from the mouse menu.



Slightly more advanced, you can make the whole watch smaller or bigger than your original graphics by adding a scaling factor. Setting it to 100 as below is the same as not specifying it at all. So go ahead and design in high resolution, you can always scale the whole thing down with one line; this includes all the moving bits and their positions.


<WatchData Name="My new watch">

   <Dial image="face.png" />

   <Scale percent="100" />

</WatchData>



Created with the Personal Edition of HelpNDoc: Free HTML Help documentation generator