X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Fpanel.h;h=6f762321fbcb3c315130740854183a2368572f2d;hb=386f2fec6d8d7c3ebe1e2192f4632ed0b12f0df1;hp=5746a5574806706df596f378f9f90e9af7a67eba;hpb=9f16bbd6cc603cbbb6e6cbd55299ce48641fa5bb;p=chaz%2Ftint2 diff --git a/src/panel.h b/src/panel.h index 5746a55..6f76232 100644 --- a/src/panel.h +++ b/src/panel.h @@ -71,7 +71,6 @@ typedef struct { // position relative to root window int posx, posy; int marginx, marginy; - float initial_width, initial_height; int pourcentx, pourcenty; // location of the panel (monitor number) int monitor; @@ -101,11 +100,15 @@ typedef struct { } Panel; +extern Panel panel_config; extern Panel *panel1; extern int nb_panel; - +// realloc panels according to number of monitor +// use panel_config as default value void init_panel(); + +void init_panel_size_and_position(Panel *panel); void cleanup_panel(); void resize_panel(void *obj);