-} tElement;
-
-typedef struct sTab
-{
- int Type; // Should be zero, allows a tab to be the parent of an element
-
- struct sElement *Parent;
- struct sElement *FirstChild;
- struct sElement *LastChild;
-
- char *Name;
-
- tElement *RootElement;
-} tTab;
-
-typedef struct sApplication
-{
- pid_t PID;
-
- int nTabs;
- tTab *Tabs;
-
- char Name[];
-} tApplication;
-
-// === CONSTANTS ===
-enum eElementFlags
-{
- /**
- * \brief Rendered
- *
- * If set, the element will be ignored in calculating sizes and
- * rendering.
- */
- ELEFLAG_NORENDER = 0x001,
- /**
- * \brief Element visibility
- *
- * If set, the element is not drawn.
- */
- ELEFLAG_INVISIBLE = 0x002,
-
- /**
- * \brief Position an element absulutely
- */
- ELEFLAG_ABSOLUTEPOS = 0x004,
-
- /**
- * \brief Fixed size element
- */
- ELEFLAG_FIXEDSIZE = 0x008,