-/*
-// TODO : layering & drawing loop
-1) browse tree and resize SIZE_BY_CONTENT node
- - children node are resized before its parent
- - if 'size' changed then 'resize = 1' on the parent
-2) browse tree and resize SIZE_BY_LAYOUT node
- - parent node is resized before its children
- - if 'size' changed then 'resize = 1' on childs with SIZE_BY_LAYOUT
-3) calculate posx of all objects
-4) redraw needed objects
-*/
+/************************************************************
+ * Layering & drawing loop of tint2
+ *
+ * Areas in tint2 are similar to widgets in a GUI.
+ * Areas (task, clock, systray, taskbar,...) are nodes in a tree.
+ * The position of each Area is defined by parent's position and brothers on the left.
+ *
+ * !!! This design is experimental and not yet complete !!!!!!!!!!!!!
+ *
+ * 1) browse tree and resize SIZE_BY_CONTENT node
+ * - children node are resized before its parent
+ * - if 'size' changed then 'resize = 1' on the parent
+ * 2) browse tree and resize SIZE_BY_LAYOUT node
+ * - parent node is resized before its children
+ * - if 'size' changed then 'resize = 1' on childs with SIZE_BY_LAYOUT
+ * 3) calculate posx of all objects
+ * - parent's position is calculated before children's position
+ * 4) redraw needed objects
+ ************************************************************/
+
+void size_by_content (Area *a);
+void size_by_layout (Area *a);
+