]> Dogcows Code - chaz/tint2/blobdiff - src/clock/clock.h
big change : panel_monitor = all will draw one panel per monitor, panel_size accept...
[chaz/tint2] / src / clock / clock.h
index 4eea83701ca8fdd08bc3b1bf4b0ddffe55f6f519..a0747971c6d3e8904be79571bdad5ff235ca6476 100644 (file)
@@ -3,7 +3,7 @@
 *
 * Clock with fonctionnal data (timeval, precision) and drawing data (area, font, ...).
 * Each panel use his own drawing data.
-* 
+*
 **************************************************************************/
 
 #ifndef CLOCK_H
@@ -19,20 +19,21 @@ typedef struct Clock {
    Area area;
 
    config_color font;
-   PangoFontDescription *time1_font_desc;
-   PangoFontDescription *time2_font_desc;
    int time1_posy;
    int time2_posy;
 } Clock;
 
+
 extern char *time1_format;
 extern char *time2_format;
 extern struct timeval time_clock;
 extern int  time_precision;
+extern PangoFontDescription *time1_font_desc;
+extern PangoFontDescription *time2_font_desc;
 
 
 // initialize clock : y position, precision, ...
-void init_clock(Clock *clock, int panel_height);
+void init_clock(Clock *clock, Area *parent);
 
 void draw_foreground_clock (void *obj, cairo_t *c, int active);
 
This page took 0.021095 seconds and 4 git commands to generate.