/*
* Acess GUI (AxWin) Version 2
* By John Hodge (thePowersGang)
+ *
+ * interface.c
+ * > Main Overarching UI
*/
#include "common.h"
tElement *gpInterface_TabContent;
// === CODE ===
+/**
+ * \brief Initialise the UI
+ */
void Interface_Init(void)
{
tElement *area;
tElement *btn, *text;
+ // Calculate sizes
giInterface_Width = giScreenWidth/16;
+ // Set root window to no-border
WM_SetFlags(NULL, 0);
// -- Create Sidebar --
// ---- Plain <hr/> style spacer ----
WM_CreateElement(area, ELETYPE_SPACER, 0);
- // Windows Go Here
+ // Open Windows Go Here
// --- Bottom Segment ---
area = WM_CreateElement(gpInterface_Sidebar, ELETYPE_BOX, ELEFLAG_VERTICAL|ELEFLAG_ALIGN_END);