X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Ftint2;a=blobdiff_plain;f=src%2Fpanel.h;h=833666644ff2b98800b640bb7cb2f30395d5a95b;hp=765b5f19e728b2ea7785638f624d7f3136b9a993;hb=63bbffa4af17926ba2d52728883988eae402b07a;hpb=ea2b169f10d49d8f304c9b972022f9dd5b5b6df7 diff --git a/src/panel.h b/src/panel.h index 765b5f1..8336666 100644 --- a/src/panel.h +++ b/src/panel.h @@ -19,6 +19,7 @@ #include "task.h" #include "taskbar.h" #include "systraybar.h" +#include "launcher.h" #ifdef ENABLE_BATTERY #include "battery.h" @@ -58,6 +59,7 @@ 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; extern int max_tick_urgent; @@ -107,6 +109,8 @@ typedef struct { Battery battery; #endif + Launcher launcher; + // autohide int is_hidden; int hidden_width, hidden_height; @@ -131,10 +135,9 @@ void cleanup_panel(); void init_panel(); void init_panel_size_and_position(Panel *panel); -void 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); @@ -144,11 +147,15 @@ Panel *get_panel(Window win); Taskbar *click_taskbar (Panel *panel, int x, int y); Task *click_task (Panel *panel, int x, int y); +Launcher *click_launcher (Panel *panel, int x, int y); +LauncherIcon *click_launcher_icon (Panel *panel, int x, int y); int click_padding(Panel *panel, int x, int y); int click_clock(Panel *panel, int x, int y); Area* click_area(Panel *panel, int x, int y); -void autohide_trigger_show(); -void autohide_trigger_hide(); +void autohide_show(void* p); +void autohide_hide(void* p); +void autohide_trigger_show(Panel* p); +void autohide_trigger_hide(Panel* p); #endif