X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fsystray%2Fsystraybar.h;h=d3f5a7213ee1edb5a95c153cacc58b03f345833a;hb=c75069e03de761de15a6d74a4df0d7dbe6672b6e;hp=d18d12eea34921e89acfce4bc0786f20f8568cfd;hpb=0caca7524827e38c9d076f33dc66416d189184e8;p=chaz%2Ftint2 diff --git a/src/systray/systraybar.h b/src/systray/systraybar.h index d18d12e..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,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