]> 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 246bb2e72ec7197b2d24f1eca1d7171a52c46f8d..4eea83701ca8fdd08bc3b1bf4b0ddffe55f6f519 100644 (file)
@@ -1,9 +1,9 @@
 /**************************************************************************
 * Copyright (C) 2008 thierry lorthiois (lorthiois@bbsoft.fr)
 *
-* clock :
-* - draw clock, adjust width
-*
+* Clock with fonctionnal data (timeval, precision) and drawing data (area, font, ...).
+* Each panel use his own drawing data.
+* 
 **************************************************************************/
 
 #ifndef CLOCK_H
@@ -23,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.023386 seconds and 4 git commands to generate.