X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Fsystray%2Fsystraybar.h;h=dbe3fbee46671e12d6ddf12ba91362e7a086b30c;hb=ef17c3392c2af3541ea83b6f15cd7330cc2d0e07;hp=fab1891e801540d54fa278d28bdd9d72426a06f9;hpb=346e19cf9cc32f56221ae0e9dc25070cefedb5be;p=chaz%2Ftint2 diff --git a/src/systray/systraybar.h b/src/systray/systraybar.h index fab1891..dbe3fbe 100644 --- a/src/systray/systraybar.h +++ b/src/systray/systraybar.h @@ -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 -#include -#include +#include "common.h" #include "area.h" @@ -35,16 +33,23 @@ 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); -void icon_remove(TrayWindow *traywin); -void resize_systray (void *obj); +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