]>
Dogcows Code - chaz/tint2/blob - src/clock/clock.h
4eea83701ca8fdd08bc3b1bf4b0ddffe55f6f519
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
22 PangoFontDescription
*time1_font_desc
;
23 PangoFontDescription
*time2_font_desc
;
28 extern char *time1_format
;
29 extern char *time2_format
;
30 extern struct timeval time_clock
;
31 extern int time_precision
;
34 // initialize clock : y position, precision, ...
35 void init_clock(Clock
*clock
, int panel_height
);
37 void draw_foreground_clock (void *obj
, cairo_t
*c
, int active
);
This page took 0.033331 seconds and 4 git commands to generate.