JWM Source Documentation
Functions
clock.h File Reference

Clock tray component. More...

Go to the source code of this file.

Functions

struct TrayComponentTypeCreateClock (const char *format, const char *zone, int width, int height)
 Create a clock component for the tray.
 
void AddClockAction (struct TrayComponentType *cp, const char *action, int mask)
 Add an action to a clock.
 
#define ShutdownClock()   (void)(0)
 
void InitializeClock (void)
 Initialize clocks.
 
void StartupClock (void)
 Start clock(s).
 
void DestroyClock (void)
 Destroy clock(s).
 

Detailed Description

Clock tray component.

Author
Joe Wingbermuehle
Date
2005-2006

Definition in file clock.h.

Macro Definition Documentation

#define ShutdownClock ( )    (void)(0)

Definition at line 18 of file clock.h.

Referenced by Shutdown().

Function Documentation

void AddClockAction ( TrayComponentType cp,
const char *  action,
int  mask 
)

Add an action to a clock.

Parameters
cpThe clock.
actionThe action to take.
maskThe mouse button mask.

Definition at line 158 of file clock.c.

References ClockType::actions, AddAction(), and TrayComponentType::object.

Referenced by ParseClock().

struct TrayComponentType* CreateClock ( const char *  format,
const char *  zone,
int  width,
int  height 
)
read
void DestroyClock ( void  )
void InitializeClock ( void  )

Initialize clocks.

Definition at line 68 of file clock.c.

Referenced by Initialize().

void StartupClock ( void  )

joewing.net / Projects / JWM