]> Dogcows Code - chaz/tint2/blobdiff - src/clock/clock.h
fixed issue 13, removed Window magager s menu for stability reason
[chaz/tint2] / src / clock / clock.h
index b886d4a39882f550e4c47639a5370c9a7f06a938..4eea83701ca8fdd08bc3b1bf4b0ddffe55f6f519 100644 (file)
@@ -1,7 +1,9 @@
 /**************************************************************************
-* clock : 
-* - draw clock, adjust width
+* Copyright (C) 2008 thierry lorthiois (lorthiois@bbsoft.fr)
 *
+* Clock with fonctionnal data (timeval, precision) and drawing data (area, font, ...).
+* Each panel use his own drawing data.
+* 
 **************************************************************************/
 
 #ifndef CLOCK_H
@@ -21,13 +23,13 @@ typedef struct Clock {
    PangoFontDescription *time2_font_desc;
    int time1_posy;
    int time2_posy;
-   char *time1_format;
-   char *time2_format;
-
-   struct timeval clock;
-   int  time_precision;
 } Clock;
 
+extern char *time1_format;
+extern char *time2_format;
+extern struct timeval time_clock;
+extern int  time_precision;
+
 
 // initialize clock : y position, precision, ...
 void init_clock(Clock *clock, int panel_height);
This page took 0.022658 seconds and 4 git commands to generate.