X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Ftaskbar%2Ftaskbar.h;h=3474825d02b959a6a828527fb1d0d745ddf6658d;hb=ea2b169f10d49d8f304c9b972022f9dd5b5b6df7;hp=0901ed5a945967ee751b4182a49ffa2dce8eb4ba;hpb=b28c78295621a815c9021090fe9d086465930151;p=chaz%2Ftint2 diff --git a/src/taskbar/taskbar.h b/src/taskbar/taskbar.h index 0901ed5..3474825 100644 --- a/src/taskbar/taskbar.h +++ b/src/taskbar/taskbar.h @@ -10,6 +10,10 @@ #include "task.h" +extern GHashTable* win_to_task_table; +extern Task *task_active; +extern Task *task_drag; + // tint2 use one taskbar per desktop. typedef struct { // always start with area @@ -24,11 +28,25 @@ typedef struct { } Taskbar; +typedef struct { + //always start with area + Area area; + Background* bg; + Background* bg_active; + int use_active; +} Global_taskbar; -void init_taskbar(); + +// default global data +void default_taskbar(); + +// freed memory void cleanup_taskbar(); +void init_taskbar(); + Task *task_get_task (Window win); +GPtrArray* task_get_tasks(Window win); void task_refresh_tasklist (); void resize_taskbar(void *obj);