Clock tray component.
More...
Go to the source code of this file.
Detailed Description
Clock tray component.
- Author:
- Joe Wingbermuehle
- Date:
- 2005-2006
Definition in file clock.h.
Function Documentation
| struct TrayComponentType* CreateClock |
( |
const char * |
format, |
|
|
const char * |
zone, |
|
|
const char * |
command, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| [read] |
Create a clock component for the tray.
- Parameters:
-
| format | The format of the clock. |
| zone | The timezone of the clock (NULL for local time). |
| command | The command to execute when the clock is clicked. |
| width | The width of the clock (0 for auto). |
| height | The height of the clock (0 for auto). |
| void SignalClock |
( |
const struct TimeType * |
now, |
|
|
int |
x, |
|
|
int |
y |
|
) |
| |
Update clocks.
This is called on a regular basis to update the time.
- Parameters:
-
| now | The current time. |
| x | The x-coordinate of the mouse. |
| y | The y-coordinate of the mouse. |