2 * Acess2 Window Manager v3
3 * - By John Hodge (thePowersGang)
8 #ifndef _RENDERER_WIDGET_H_
9 #define _RENDERER_WIDGET_H_
11 #include <wm_renderer.h>
24 ELETYPE_WINDOW, //!< Window root element
26 ELETYPE_BOX, //!< Content box (invisible in itself)
27 ELETYPE_TABBAR, //!< Tab Bar
28 ELETYPE_TOOLBAR, //!< Tool Bar
30 ELETYPE_BUTTON, //!< Push Button
32 ELETYPE_TEXT, //!< Text
33 ELETYPE_IMAGE, //!< Image
35 ELETYPE_SPACER, //!< Visual Spacer (horizontal / vertical rule)
45 * If set, the element will be ignored in calculating sizes and
48 ELEFLAG_NORENDER = 0x001,
50 * \brief Element visibility
52 * If set, the element is not drawn (but still is used for size calculations)
54 ELEFLAG_INVISIBLE = 0x002,
57 * \brief Position an element absulutely (ignored in size calcs)
59 ELEFLAG_ABSOLUTEPOS = 0x004,
62 * \brief Fixed size element
64 ELEFLAG_FIXEDSIZE = 0x008,
67 * \brief Element "orientation"
69 * Vertical means that the children of this element are stacked,
70 * otherwise they list horizontally
72 ELEFLAG_VERTICAL = 0x010,// ELEFLAG_HORIZONTAL = 0x000,
74 * \brief Action for text that overflows
76 ELEFLAG_WRAP = 0x020,// ELEFLAG_NOWRAP = 0x000,
78 * \brief Cross size action
80 * If this flag is set, the element will only be as large (across
81 * its parent) as is needed to encase the contents of the element.
82 * Otherwise, the element will expand to fill all avaliable space.
84 ELEFLAG_NOEXPAND = 0x040,
87 * \brief With (length) size action
88 * If this flag is set, the element will only be as large as
89 * is required along it's parent
91 ELEFLAG_NOSTRETCH = 0x080,
94 * \brief Center alignment
96 ELEFLAG_ALIGN_CENTER= 0x100,
98 * \brief Right/Bottom alignment
100 * If set, the element aligns to the end of avaliable space (instead
103 ELEFLAG_ALIGN_END = 0x200