]> Dogcows Code - chaz/tint2/blobdiff - src/systray/systraybar.h
fixed some bugs
[chaz/tint2] / src / systray / systraybar.h
index 761bda6746dd02aeb2595c0d8fa82091041d9b02..a405dfd48d50747fda223a3dcdeb26c9caf96abc 100644 (file)
@@ -2,12 +2,14 @@
 * Copyright (C) 2009 thierry lorthiois (lorthiois@bbsoft.fr)
 *
 * systraybar
+* based on 'docker-1.5' from Ben Jansens
 *
 **************************************************************************/
 
 #ifndef SYSTRAYBAR_H
 #define SYSTRAYBAR_H
 
+#include "common.h"
 #include "area.h"
 
 
@@ -15,21 +17,36 @@ typedef struct {
    // always start with area
    Area area;
 
+       GSList *list_icons;
 } Systraybar;
 
 
 typedef struct
 {
-  Window id;
-  int x, y;
+   Window id;
+   int x, y;
+   int width, height;
+
+   long *icon_data;
 } TrayWindow;
 
 
-void init_systray(Systraybar *sysbar, Area *parent);
+extern Window net_sel_win;
+extern Systraybar systray;
+
+
+void init_systray();
+void cleanup_systray();
+
+int init_net();
+void cleanup_net();
+void net_message(XClientMessageEvent *e);
+
+void remove_icon(TrayWindow *traywin);
 
-// return 1 if task_width changed
-int resize_systray (Systraybar *sysbar);
+void draw_systray(void *obj, cairo_t *c, int active);
 
+void resize_systray(void *obj);
 
 
 #endif
This page took 0.021346 seconds and 4 git commands to generate.