]> Dogcows Code - chaz/tint2/blobdiff - src/panel.h
add missing battery config CPP guard
[chaz/tint2] / src / panel.h
index 833666644ff2b98800b640bb7cb2f30395d5a95b..010a758a411f0ca4e9c4391cc65cce85ee6083fd 100644 (file)
@@ -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;
@@ -135,6 +141,7 @@ void cleanup_panel();
 void init_panel();
 
 void init_panel_size_and_position(Panel *panel);
+int  resize_panel(void *obj);
 
 void set_panel_items_order(Panel *p);
 void set_panel_properties(Panel *p);
This page took 0.021054 seconds and 4 git commands to generate.