X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Futil%2Farea.h;h=c5c833805dfea2319ce6b2cbb9bada3722b8b3a0;hb=b68d4db999a5912c2fc7f29aef8ab75e2f742706;hp=da32592c39b31cd005f5bf75973983124775a094;hpb=da65866b2388391052e3ce95818c1d5ebd2b26b5;p=chaz%2Ftint2 diff --git a/src/util/area.h b/src/util/area.h index da32592..c5c8338 100644 --- a/src/util/area.h +++ b/src/util/area.h @@ -52,6 +52,7 @@ typedef struct typedef struct { // absolute coordinate in panel int posx, posy; + // width and height including border int width, height; Pmap pix; Pmap pix_active; @@ -59,7 +60,7 @@ typedef struct { // list of child : Area object GSList *list; - int visible; + int on_screen; // need compute position and width int resize; // need redraw Pixmap @@ -85,6 +86,8 @@ typedef struct { // draw background and foreground void refresh (Area *a); +void size (Area *a); + // set 'redraw' on an area and childs void set_redraw (Area *a);