X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fsystray%2Fsystraybar.h;h=d3f5a7213ee1edb5a95c153cacc58b03f345833a;hb=87acd48b92031b378887ea8b7ea9fa54aea8fa25;hp=2875eb19c419ff1632979fe2edda69b7beeb09c9;hpb=8abd6d423bffc9cd35928e1911c138163f7dbda9;p=chaz%2Ftint2 diff --git a/src/systray/systraybar.h b/src/systray/systraybar.h index 2875eb1..d3f5a72 100644 --- a/src/systray/systraybar.h +++ b/src/systray/systraybar.h @@ -12,6 +12,7 @@ #include "common.h" #include "area.h" +#include "timer.h" #include // XEMBED messages @@ -27,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; @@ -40,6 +42,7 @@ typedef struct int hide; int depth; Damage damage; + timeout* render_timeout; } TrayWindow; @@ -50,11 +53,19 @@ extern int refresh_systray; extern int systray_enabled; extern int systray_max_icon_size; +// default global data +void default_systray(); + +// freed memory +void cleanup_systray(); + +// initialize protocol and panel position void init_systray(); void init_systray_panel(void *p); -void cleanup_systray(); -void draw_systray(void *obj, cairo_t *c, int active); -void resize_systray(void *obj); + +void draw_systray(void *obj, cairo_t *c); +int resize_systray(void *obj); +void on_change_systray(void *obj); // systray protocol