*add* more task states (normal, active, iconified, urgent), with each an own background, font and asb

*fix* two memleaks
*fix* some code beautification



git-svn-id: http://tint2.googlecode.com/svn/trunk@327 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
Andreas.Fink85
2010-01-09 00:11:01 +00:00
parent 8042047cd4
commit 739af13714
24 changed files with 518 additions and 493 deletions

View File

@@ -23,7 +23,7 @@ typedef struct Battery {
// always start with area
Area area;
config_color font;
Color font;
int bat1_posy;
int bat2_posy;
} Battery;
@@ -64,7 +64,7 @@ void init_battery();
void init_battery_panel(void *panel);
void cleanup_battery();
void draw_battery(void *obj, cairo_t *c, int active);
void draw_battery(void *obj, cairo_t *c);
void resize_battery(void *obj);