]> Dogcows Code - chaz/tint2/blobdiff - src/systray/systraybar.h
rendering engine : _on_change_layout() called when pos/size changed
[chaz/tint2] / src / systray / systraybar.h
index d18d12eea34921e89acfce4bc0786f20f8568cfd..d3f5a7213ee1edb5a95c153cacc58b03f345833a 100644 (file)
@@ -28,6 +28,7 @@ typedef struct {
        GSList *list_icons;
        int sort;
        int alpha, saturation, brightness;
+       int icon_size, icons_per_column, icons_per_row, marging;
 } Systraybar;
 
 
@@ -52,15 +53,19 @@ extern int refresh_systray;
 extern int systray_enabled;
 extern int systray_max_icon_size;
 
-void init_systray();
-
-void init_systray_panel(void *p);
+// default global data
+void default_systray();
 
-// freed memory and set default values
+// freed memory
 void cleanup_systray();
 
+// initialize protocol and panel position
+void init_systray();
+void init_systray_panel(void *p);
+
 void draw_systray(void *obj, cairo_t *c);
-void resize_systray(void *obj);
+int  resize_systray(void *obj);
+void on_change_systray(void *obj);
 
 
 // systray protocol
This page took 0.024914 seconds and 4 git commands to generate.