]> Dogcows Code - chaz/tint2/blobdiff - src/taskbar/taskbar.h
*fix* panel_monitor = n works again, after I've broken it with revision 308
[chaz/tint2] / src / taskbar / taskbar.h
index 2a08c27872bdfae842b07e6dc13cfcf6791ceb3f..74ee19aacf87f643af8408ad1ccbed36d08d5a08 100644 (file)
 
 #include "task.h"
 
-
+extern GHashTable* win_to_task_table;
+// tint2 use one taskbar per desktop.
 typedef struct {
-   // always start with area
-   Area area;
+       // always start with area
+       Area area;
 
-   int desktop;
+       int desktop;
 
-   // task parameters
-   int task_width;
-   int task_modulo;
-   int text_width;
+       // task parameters
+       int task_width;
+       int task_modulo;
+       int text_width;
 } Taskbar;
 
 
+typedef struct {
+       //always start with area
+       Area area;
+       Background* bg;
+       Background* bg_active;
+       int use_active;
+} Global_taskbar;
 
 void init_taskbar();
 void cleanup_taskbar();
 
 Task *task_get_task (Window win);
+GPtrArray* task_get_tasks(Window win);
 void task_refresh_tasklist ();
 
 void resize_taskbar(void *obj);
This page took 0.021878 seconds and 4 git commands to generate.