]>
Dogcows Code - chaz/tint2/blob - src/clock/clock.h
1 /**************************************************************************
2 * Copyright (C) 2008 thierry lorthiois (lorthiois@bbsoft.fr)
4 * Clock with fonctionnal data (timeval, precision) and drawing data (area, font, ...).
5 * Each panel use his own drawing data.
7 **************************************************************************/
17 typedef struct Clock
{
18 // always start with area
27 extern char *time1_format
;
28 extern char *time1_timezone
;
29 extern char *time2_format
;
30 extern char *time2_timezone
;
31 extern char *time_tooltip_format
;
32 extern char *time_tooltip_timezone
;
33 extern PangoFontDescription
*time1_font_desc
;
34 extern PangoFontDescription
*time2_font_desc
;
35 extern char *clock_lclick_command
;
36 extern char *clock_rclick_command
;
37 extern int clock_enabled
;
40 // initialize clock : y position, precision, ...
42 void init_clock_panel(void *panel
);
45 void draw_clock (void *obj
, cairo_t
*c
);
47 void resize_clock (void *obj
);
49 void clock_action(int button
);
This page took 0.040676 seconds and 4 git commands to generate.