X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Fclock%2Fclock.h;h=750a12e8af6e775fbe22c3c581f3931867ad0e62;hb=b9ceca0af9fbad70fe14f087ccdda72d8c7e7cf6;hp=7b28e854cf7758c4b81a790f6beb9a496c390615;hpb=5679142e44a103a6fe1e62365fe991d273e41049;p=chaz%2Ftint2 diff --git a/src/clock/clock.h b/src/clock/clock.h index 7b28e85..750a12e 100644 --- a/src/clock/clock.h +++ b/src/clock/clock.h @@ -15,27 +15,29 @@ 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; extern char *time1_format; extern char *time2_format; -extern struct timeval time_clock; -extern int time_precision; +extern char *time_tooltip_format; 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 cleanup_clock(); void draw_clock (void *obj, cairo_t *c, int active);