fixed battery drawing

git-svn-id: http://tint2.googlecode.com/svn/trunk@241 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
lorthiois@bbsoft.fr
2009-10-28 23:01:32 +00:00
parent d0799e91dd
commit 51b9ce356a
5 changed files with 74 additions and 72 deletions

View File

@@ -18,6 +18,7 @@
#include "area.h"
// battery drawing parameter (per panel)
typedef struct Battery {
// always start with area
Area area;
@@ -49,6 +50,7 @@ typedef struct batstate {
extern struct batstate battery_state;
extern PangoFontDescription *bat1_font_desc;
extern PangoFontDescription *bat2_font_desc;
extern int battery_enabled;
extern int8_t battery_low_status;
extern char *battery_low_cmd;