]> Dogcows Code - chaz/tint2/blobdiff - src/util/area.h
fixed issue 49 and some systray code (not yet)
[chaz/tint2] / src / util / area.h
index acea08f40873331eb40468c64e9a54a7fa6f63dd..cbcf58feba7c31cebdacac25266b681038474eec 100644 (file)
@@ -7,7 +7,7 @@
 * Area manage the background and border drawing, size and padding.
 * Each Area have 2 Pixmap (pix and pix_active).
 *
-* Area also manage the tree of visible objects. Parent object drawn before child object.
+* Area manage the tree of all objects. Parent object drawn before child object.
 *   panel -> taskbars -> tasks
 *         -> systray -> icons
 *         -> clock
@@ -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,6 +60,7 @@ typedef struct {
    // list of child : Area object
    GSList *list;
 
+       int visible;
        // need compute position and width
        int resize;
    // need redraw Pixmap
@@ -84,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);
 
This page took 0.020721 seconds and 4 git commands to generate.