// Create Sidebar
gpInterface_Sidebar = WM_CreateElement(NULL, ELETYPE_TOOLBAR, ELEFLAG_VERTICAL);
WM_SetSize( gpInterface_Sidebar, giInterface_Width );
// Create Main Area and regions within
gpInterface_MainArea = WM_CreateElement(NULL, ELETYPE_BOX, ELEFLAG_VERTICAL);
// Create Sidebar
gpInterface_Sidebar = WM_CreateElement(NULL, ELETYPE_TOOLBAR, ELEFLAG_VERTICAL);
WM_SetSize( gpInterface_Sidebar, giInterface_Width );
// Create Main Area and regions within
gpInterface_MainArea = WM_CreateElement(NULL, ELETYPE_BOX, ELEFLAG_VERTICAL);
gpInterface_TabBar = WM_CreateElement(gpInterface_MainArea, ELETYPE_TABBAR, 0);
gpInterface_TabContent = WM_CreateElement(gpInterface_MainArea, ELETYPE_BOX, 0);
gpInterface_TabBar = WM_CreateElement(gpInterface_MainArea, ELETYPE_TABBAR, 0);
gpInterface_TabContent = WM_CreateElement(gpInterface_MainArea, ELETYPE_BOX, 0);
WM_SetSize(btn, giInterface_Width);
//text = WM_CreateElement(btn, ELETYPE_IMAGE, ELEFLAG_SCALE);
WM_SetSize(btn, giInterface_Width);
//text = WM_CreateElement(btn, ELETYPE_IMAGE, ELEFLAG_SCALE);
text = WM_CreateElement(btn, ELETYPE_TEXT, 0);
WM_SetText(text, "Acess");
// Plain <hr/> style spacer
text = WM_CreateElement(btn, ELETYPE_TEXT, 0);
WM_SetText(text, "Acess");
// Plain <hr/> style spacer
- // Create spacing gap (aligns the rest to the bottom/right)
- WM_CreateElement(gpInterface_Sidebar, ELETYPE_GAP, 0);
+ // Windows Go Here
+
+ // Bottom Segment
+ area = WM_CreateElement(gpInterface_Sidebar, ELETYPE_BOX, ELEFLAG_VERTICAL|ELEFLAG_ALIGN_END);