X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Fclock%2Fclock.h;h=48538b337fc7d61b6f525d27722b2bae2923cce3;hb=f704f3350599d7f71afd0fb827c0948dec67ede3;hp=7b28e854cf7758c4b81a790f6beb9a496c390615;hpb=5679142e44a103a6fe1e62365fe991d273e41049;p=chaz%2Ftint2 diff --git a/src/clock/clock.h b/src/clock/clock.h index 7b28e85..48538b3 100644 --- a/src/clock/clock.h +++ b/src/clock/clock.h @@ -15,12 +15,12 @@ typedef struct Clock { - // always start with area - Area area; + // always start with area + Area area; - config_color font; - int time1_posy; - int time2_posy; + config_color font; + int time1_posy; + int time2_posy; } Clock; @@ -32,10 +32,14 @@ extern PangoFontDescription *time1_font_desc; extern PangoFontDescription *time2_font_desc; extern char *clock_lclick_command; extern char *clock_rclick_command; +extern int clock_enabled; // initialize clock : y position, precision, ... void init_clock(); +void init_clock_panel(void *panel); +void init_precision(); +void cleanup_clock(); void draw_clock (void *obj, cairo_t *c, int active);