X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Futil%2Farea.h;fp=src%2Futil%2Farea.h;h=cbcf58feba7c31cebdacac25266b681038474eec;hb=346e19cf9cc32f56221ae0e9dc25070cefedb5be;hp=da32592c39b31cd005f5bf75973983124775a094;hpb=e9f82fb210675167061fd45697f49e6eb733c732;p=chaz%2Ftint2 diff --git a/src/util/area.h b/src/util/area.h index da32592..cbcf58f 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; @@ -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);