X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fpanel.h;h=86e7e1adbe48be4b7a55cb1812288760cd6d6a34;hb=c0f91cbbb76989eb2e6a7a2185509573b0c3b0cb;hp=8bad2e718948f4697af763499866061add107aa5;hpb=f3e92f7e3626e3992efff2b55a08a938af38efff;p=chaz%2Ftint2 diff --git a/src/panel.h b/src/panel.h index 8bad2e7..86e7e1a 100644 --- a/src/panel.h +++ b/src/panel.h @@ -59,6 +59,10 @@ extern int panel_autohide_show_timeout; extern int panel_autohide_hide_timeout; extern int panel_autohide_height; // for vertical panels this is of course the width extern int panel_strut_policy; +extern char *panel_items_order; + +// tasks alignment +enum { ALIGN_LEFT, ALIGN_CENTER, ALIGN_RIGHT }; extern int max_tick_urgent; @@ -134,10 +138,10 @@ void cleanup_panel(); void init_panel(); void init_panel_size_and_position(Panel *panel); -void resize_panel(void *obj); +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);