]>
Dogcows Code - chaz/tint2/blob - src/clock/clock.h
27b719f0d336a9e2688df48399df8acc7dd17d67
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 *time2_format
;
29 extern struct timeval time_clock
;
30 extern int time_precision
;
31 extern PangoFontDescription
*time1_font_desc
;
32 extern PangoFontDescription
*time2_font_desc
;
35 // initialize clock : y position, precision, ...
38 void draw_foreground_clock (void *obj
, cairo_t
*c
, int active
);
40 void resize_clock (void *obj
);
This page took 0.034332 seconds and 3 git commands to generate.