HoverDesk Tutorial - The Clock Plugin
Back to Contents Page

The Clock Plugin.

The Clock plugin does exactly what you'd think it does, it displays the time!!
Other features:

Display the date.
Display the uptime of your computer.
Display any amount of various world time zones.

Right click the plugin to view all the different options you can apply to it.

Again this is slightly more complicated to skin than the eyedropper or command line.
But unlike the Eyedropper and Command Line, the Clock is freeform skinning at it's best.

First and best thing to do would be to right click the plugin and try ticking and unticking all the different features.
While you're doing that here are some examples of what can be achieved with the Clock




Finished playing? Great! Let's get started!!

As you can see from the picture there are lots of different ways to skin the Clock.
On most occasions personal user preference will dictate what form the Clock takes, sometimes the theme itself will dictate the shape/form.

Loading the Plugin

OK, so first right click the main tile and from the pop up menu select plugins then HoverClock (HDClock.dll)
The Clock plugin will appear on the desktop in position 0,0 (top left corner) in it's default state.
Pretty ugly huh?



Right click the main tile again and from the pop up menu select plugins then HoverClock (HDClock.dll) again.
This will unload the plugin and write the necessary information to the modules.ini file.

Once more right click the main tile and from the pop up menu select plugins then HoverClock (HDClock.dll)
The Clock plugin will appear on the desktop in position 0,0 (top left corner) in it's default state again.

Configuring the modules.ini File

Shift and drag the Clock to an area we can work with it.

For this theme I'm going to describe how to do the Clock displaying my time, two world times, and the uptime (I'm not going to show the date because I don't like font in capitals.

We're going to configure this plug using the modules.ini file, so if it's not already open browse to the Pixel Perfect theme folder and open the modules.ini file.

texture = The name of the .bmp to be used as the background for the plugin.
worldbmp = The name of the .bmp to be used as the background for the worldtime plugin.
ampm = Select 0 to display time without am/pm indicator, select 1 to display time with am/pm indicator
worldtime = Select 0 not to display the world time, select 1 to display worldtime
UpTime = Select 0 not to display the uptime, select 1 to display uptime
DateFntName = Name of the font to be used to display the date
DateFntSize = Select size of font to display the date
DateColor = The RGB color of the font for the date
DateOfX = Offsets the date horizontally
DateOfY = Offsets the date vertically
UPFntName = Name of the font to be used to display the uptime
UPFntSize = Select size of font to display the uptime
UPFntColor = The RGB color of the font for the uptime
UpTimeOfX = Offsets the uptime horizontally
UpTimeOfY = Offsets the uptime vertically
TimeFntName = Name of the font to be used to display the time
TimeFntSize = Select size of font to display the time
TimeColor = The RGB color of the font for the time
TimeOfX = Offsets the time horizontally
TimeOfY = Offsets the time vertically
wtfntname = Name of the font to be used to display the world time
wtfntsize = Select size of font to display the world time
wtfntcolor = The RGB color of the font for the time
wtofsx = Offsets the city names (when in world time mode) horizontally
wtofy = Offsets the city names (when in world time mode) vertically
wtofsxtime = Offsets the time for each city (when in world time mode) horizontally
wtCity = Enter the names of the cities, countries, people you want a world time zone for (separate with a comma)
wtGMT = The GMT offset for each city, country, person e.g. Paris is one hour ahead of GMT so I would put in +1 if Paris was my first entry in the line above
Dateformat = Set by right clicking the plugin
trans = Select 0 if your .bmp does not contain any pink, select 1 if there is pink in the .bmp

*Tip: You can type 'Tahoma Bold' for the name of the time font and the time will be displayed in bold font.
Also, if you are not displaying the world time you do not need to fill in the line
worldbmp =

It's simply a matter of filling and adjusting the modules.ini file to make the plugin fit the texture.
Please use the settings in the screenshot.
Save the file then right click the plugin and select reload settings.



And that's it!! Simply shift and drag your clock to the right edge of the screen.

Tip: When I have my plugin configured correctly I exit HVD then reopen it.
This ensures the settings are saved.