fixed issue 13, removed Window magager s menu for stability reason

git-svn-id: http://tint2.googlecode.com/svn/trunk@31 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
lorthiois@bbsoft.fr
2009-02-03 20:40:46 +00:00
parent 1d88864c0c
commit 5b4d782ca2
14 changed files with 224 additions and 168 deletions

View File

@@ -1,9 +1,9 @@
/**************************************************************************
* Copyright (C) 2008 thierry lorthiois (lorthiois@bbsoft.fr)
*
* clock :
* - draw clock, adjust width
*
* Clock with fonctionnal data (timeval, precision) and drawing data (area, font, ...).
* Each panel use his own drawing data.
*
**************************************************************************/
#ifndef CLOCK_H
@@ -23,13 +23,13 @@ typedef struct Clock {
PangoFontDescription *time2_font_desc;
int time1_posy;
int time2_posy;
char *time1_format;
char *time2_format;
struct timeval clock;
int time_precision;
} Clock;
extern char *time1_format;
extern char *time2_format;
extern struct timeval time_clock;
extern int time_precision;
// initialize clock : y position, precision, ...
void init_clock(Clock *clock, int panel_height);