]> Dogcows Code - chaz/tint2/blobdiff - src/systray/systraybar.h
vertical panel done
[chaz/tint2] / src / systray / systraybar.h
index 5222dd6b3d36b8bb22c5404c089470d8796b4a89..dbe3fbee46671e12d6ddf12ba91362e7a086b30c 100644 (file)
@@ -2,16 +2,14 @@
 * Copyright (C) 2009 thierry lorthiois (lorthiois@bbsoft.fr)
 *
 * systraybar
-* based on 'docker-1.5' from Ben Jansens
+* based on 'docker-1.5' from Ben Jansens.
 *
 **************************************************************************/
 
 #ifndef SYSTRAYBAR_H
 #define SYSTRAYBAR_H
 
-#include <X11/Xlib.h>
-#include <X11/Xutil.h>
-#include <X11/Xatom.h>
+#include "common.h"
 #include "area.h"
 
 
@@ -34,17 +32,24 @@ typedef struct
 
 
 extern Window net_sel_win;
+extern Systraybar systray;
+extern int refresh_systray;
 
 
 void init_systray();
 void cleanup_systray();
-int net_init();
+
+int init_net();
+void cleanup_net();
 void net_message(XClientMessageEvent *e);
 
-// return 1 if task_width changed
-int resize_systray (Systraybar *sysbar);
+void remove_icon(TrayWindow *traywin);
+
+void draw_systray(void *obj, cairo_t *c, int active);
 
+void resize_systray(void *obj);
 
+void refresh_systray_icon();
 
 #endif
 
This page took 0.027319 seconds and 4 git commands to generate.