*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

@@ -62,6 +62,8 @@ extern Task *task_active;
extern Task *task_drag;
extern int max_tick_urgent;
extern GArray* backgrounds;
extern Imlib_Image default_icon;
@@ -85,7 +87,7 @@ typedef struct {
// --------------------------------------------------
// task and taskbar parameter per panel
Area g_taskbar;
Global_taskbar g_taskbar;
Global_task g_task;
// --------------------------------------------------
@@ -105,10 +107,12 @@ typedef struct {
#ifdef ENABLE_BATTERY
Battery battery;
#endif
// autohide
int is_hidden;
int hidden_width, hidden_height;
Pixmap hidden_pixmap;
const struct timeout* autohide_timeout;
timeout* autohide_timeout;
} Panel;