X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fsystray%2Fsystraybar.h;h=d3f5a7213ee1edb5a95c153cacc58b03f345833a;hb=c75069e03de761de15a6d74a4df0d7dbe6672b6e;hp=f95001ec2ecd59a7fe33653434cf80291ed3390a;hpb=bab0811f845cedb817a3c3a29dd91ade07d5a886;p=chaz%2Ftint2 diff --git a/src/systray/systraybar.h b/src/systray/systraybar.h index f95001e..d3f5a72 100644 --- a/src/systray/systraybar.h +++ b/src/systray/systraybar.h @@ -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,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); -void resize_systray(void *obj); +int resize_systray(void *obj); +void on_change_systray(void *obj); // systray protocol