X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fpanel.h;h=010a758a411f0ca4e9c4391cc65cce85ee6083fd;hb=HEAD;hp=21e9a14c686be3d89d1919ec029dc161c2992d2f;hpb=1744621e810b99e79b16f49e392802cb44d91eca;p=chaz%2Ftint2 diff --git a/src/panel.h b/src/panel.h index 21e9a14..010a758 100644 --- a/src/panel.h +++ b/src/panel.h @@ -20,6 +20,7 @@ #include "taskbar.h" #include "systraybar.h" #include "launcher.h" +#include "freespace.h" #ifdef ENABLE_BATTERY #include "battery.h" @@ -61,6 +62,9 @@ extern int panel_autohide_height; // for vertical panels this is of course the extern int panel_strut_policy; extern char *panel_items_order; +// tasks alignment +enum { ALIGN_LEFT, ALIGN_CENTER, ALIGN_RIGHT }; + extern int max_tick_urgent; extern GArray* backgrounds; @@ -111,6 +115,8 @@ typedef struct { Launcher launcher; + FreeSpace freespace; + // autohide int is_hidden; int hidden_width, hidden_height; @@ -139,7 +145,6 @@ int resize_panel(void *obj); void set_panel_items_order(Panel *p); void set_panel_properties(Panel *p); -void visible_object(); // draw background panel void set_panel_background(Panel *p);