X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Fpanel.h;h=ef4f33c2934c06d2762a3a222d9fc8fef9044770;hb=ef9c33a6a77e304bceaa00b146869bf3747aaa57;hp=64ffcdb93d862fa5eae01004807187cd2c6c34c1;hpb=da65866b2388391052e3ce95818c1d5ebd2b26b5;p=chaz%2Ftint2 diff --git a/src/panel.h b/src/panel.h index 64ffcdb..ef4f33c 100644 --- a/src/panel.h +++ b/src/panel.h @@ -14,6 +14,7 @@ #include #include +#include "battery.h" #include "common.h" #include "clock.h" #include "task.h" @@ -33,6 +34,7 @@ extern int mouse_scroll_down; //panel mode enum { SINGLE_DESKTOP=0, MULTI_DESKTOP, SINGLE_MONITOR }; extern int panel_mode; +extern int wm_menu; //panel position enum { LEFT=0x01, RIGHT=0x02, CENTER=0X04, TOP=0X08, BOTTOM=0x10 }; @@ -42,6 +44,7 @@ extern int panel_refresh; extern Task *task_active; extern Task *task_drag; +extern Task *task_urgent; typedef struct { @@ -49,9 +52,6 @@ typedef struct { // area.list own all objects of the panel according to config file Area area; - // list of visible objects - GSList *list_visible; - // -------------------------------------------------- // panel Window main_win; @@ -80,12 +80,10 @@ typedef struct { // clock Clock clock; - // -------------------------------------------------- - // systray - Systraybar trayer; + // -------------------------------------------------- + // battery + Battery battery; - // global taskbar parameter - //Area g_systraybar; } Panel;