- // need redraw Pixmap
- int redraw;
- int use_active, is_active;
- // paddingxlr = horizontal padding left/right
- // paddingx = horizontal padding between childs
- int paddingxlr, paddingx, paddingy;
- // parent Area
- void *parent;
- // panel
- void *panel;
-
- // each object can overwrite following function
- void (*_draw_foreground)(void *obj, cairo_t *c, int active);
- void (*_resize)(void *obj);
- void (*_add_child)(void *obj);
- int (*_remove_child)(void *obj);
+ // need redraw Pixmap
+ int redraw;
+ // paddingxlr = horizontal padding left/right
+ // paddingx = horizontal padding between childs
+ int paddingxlr, paddingx, paddingy;
+ // parent Area
+ void *parent;
+ // panel
+ void *panel;
+
+ // each object can overwrite following function
+ void (*_draw_foreground)(void *obj, cairo_t *c);
+ // calculate size. return '1' if size changed, '0' otherwise.
+ int (*_resize)(void *obj);
+ void (*_add_child)(void *obj);
+ int (*_remove_child)(void *obj);
+ const char* (*_get_tooltip_text)(void *obj);