JWM Source Documentation
Data Fields
ClockType Struct Reference

Structure to respresent a clock tray component. More...

Data Fields

TrayComponentTypecp
 Common component data.
 
char * format
 The time format to use.
 
char * zone
 The time zone to use (NULL = local).
 
struct ActionTypeactions
 Actions.
 
TimeType lastTime
 Currently displayed time.
 
int mousex
 Last mouse x-coordinate.
 
int mousey
 Last mouse y-coordinate.
 
TimeType mouseTime
 Time of the last mouse motion.
 
int userWidth
 User-specified clock width (or 0).
 
struct ClockTypenext
 Next clock in the list.
 

Detailed Description

Structure to respresent a clock tray component.

Definition at line 26 of file clock.c.

Field Documentation

struct ActionType* ClockType::actions
TrayComponentType* ClockType::cp

Common component data.

Definition at line 28 of file clock.c.

Referenced by CreateClock(), DestroyClock(), DrawClock(), SignalClock(), and StartupClock().

char* ClockType::format

The time format to use.

Definition at line 30 of file clock.c.

Referenced by CreateClock(), DestroyClock(), and DrawClock().

TimeType ClockType::lastTime

Currently displayed time.

Definition at line 33 of file clock.c.

Referenced by CreateClock(), DrawClock(), and Resize().

TimeType ClockType::mouseTime

Time of the last mouse motion.

Definition at line 38 of file clock.c.

Referenced by CreateClock(), ProcessClockMotionEvent(), and SignalClock().

int ClockType::mousex

Last mouse x-coordinate.

Definition at line 36 of file clock.c.

Referenced by CreateClock(), ProcessClockMotionEvent(), and SignalClock().

int ClockType::mousey

Last mouse y-coordinate.

Definition at line 37 of file clock.c.

Referenced by CreateClock(), ProcessClockMotionEvent(), and SignalClock().

struct ClockType* ClockType::next

Next clock in the list.

Definition at line 42 of file clock.c.

Referenced by CreateClock(), DestroyClock(), and StartupClock().

int ClockType::userWidth

User-specified clock width (or 0).

Definition at line 40 of file clock.c.

Referenced by CreateClock(), and DrawClock().

char* ClockType::zone

The time zone to use (NULL = local).

Definition at line 31 of file clock.c.

Referenced by CreateClock(), DestroyClock(), DrawClock(), and SignalClock().


The documentation for this struct was generated from the following file:

joewing.net / Projects / JWM