@@ -95,15 +95,28 @@ namespace RTEGUI {
95
95
zoomCheckBox->SetText (" Zoom" );
96
96
zoomCheckBox->SetCheck (GUICheckbox::Unchecked);
97
97
98
- m_PropertyPage.reset (dynamic_cast <GUIPropertyPage *>(m_EditorControlManager->AddControl (" PropertyPage" , " PROPERTYPAGE" , m_LeftColumn.get (), editorControls->GetRelXPos (), editorControls->GetRelYPos () + 165 , 270 , 360 )));
98
+ GUICollectionBox *propertyPagePanel = dynamic_cast <GUICollectionBox *>(m_EditorControlManager->AddControl (" PropertyPagePanel" , " COLLECTIONBOX" , m_LeftColumn.get (), 5 , editorControls->GetYPos () + editorControls->GetHeight () + 10 , 270 , 360 ));
99
+ propertyPagePanel->SetDrawType (GUICollectionBox::Panel);
100
+
101
+ GUILabel *propertyPageLabel = dynamic_cast <GUILabel *>(m_EditorControlManager->AddControl (" PropertyPageLabel" , " LABEL" , propertyPagePanel, 10 , 5 , 110 , 20 ));
102
+ propertyPageLabel->SetText (" Element Properties :" );
103
+ m_PropertyPage.reset (dynamic_cast <GUIPropertyPage *>(m_EditorControlManager->AddControl (" PropertyPage" , " PROPERTYPAGE" , m_LeftColumn.get (), 10 , 260 , 260 , 330 )));
99
104
100
105
m_RightColumn.reset (dynamic_cast <GUICollectionBox *>(m_EditorControlManager->AddControl (" RightColumn" , " COLLECTIONBOX" , nullptr , 990 , 0 , 290 , screen->GetBitmap ()->GetHeight ())));
101
106
m_RightColumn->SetDrawBackground (true );
102
107
m_RightColumn->SetDrawColor (makecol (23 , 23 , 23 ));
103
108
m_RightColumn->SetDrawType (GUICollectionBox::Color);
104
109
105
- m_CollectionBoxList.reset (dynamic_cast <GUIListBox *>(m_EditorControlManager->AddControl (" CollectionBoxList" , " LISTBOX" , m_RightColumn.get (), 15 , 5 , 270 , 230 )));
106
- m_ControlsInCollectionBoxList.reset (dynamic_cast <GUIListBox *>(m_EditorControlManager->AddControl (" ControlsInCollectionBoxList" , " LISTBOX" , m_RightColumn.get (), 15 , m_CollectionBoxList->GetRelYPos () + 240 , 270 , 350 )));
110
+ GUICollectionBox *listsPanel = dynamic_cast <GUICollectionBox *>(m_EditorControlManager->AddControl (" ControlListsPanel" , " COLLECTIONBOX" , m_RightColumn.get (), 15 , 5 , m_RightColumn->GetWidth () - 20 , 590 ));
111
+ listsPanel->SetDrawType (GUICollectionBox::Panel);
112
+
113
+ GUILabel *collectionBoxListLabel = dynamic_cast <GUILabel *>(m_EditorControlManager->AddControl (" CollectionBoxListLabel" , " LABEL" , listsPanel, 10 , 5 , 100 , 20 ));
114
+ collectionBoxListLabel->SetText (" Active Containers :" );
115
+ m_CollectionBoxList.reset (dynamic_cast <GUIListBox *>(m_EditorControlManager->AddControl (" CollectionBoxList" , " LISTBOX" , listsPanel, 5 , collectionBoxListLabel->GetHeight () + 5 , 260 , 230 )));
116
+
117
+ GUILabel *controlsInCollectionBoxListLabel = dynamic_cast <GUILabel *>(m_EditorControlManager->AddControl (" ControlsInCollectionBoxListLabel" , " LABEL" , listsPanel, 10 , collectionBoxListLabel->GetHeight () + m_CollectionBoxList->GetHeight () + 10 , 110 , 20 ));
118
+ controlsInCollectionBoxListLabel->SetText (" Container Elements :" );
119
+ m_ControlsInCollectionBoxList.reset (dynamic_cast <GUIListBox *>(m_EditorControlManager->AddControl (" ControlsInCollectionBoxList" , " LISTBOX" , listsPanel, 5 , controlsInCollectionBoxListLabel->GetHeight () + m_CollectionBoxList->GetRelYPos () + 235 , 260 , 305 )));
107
120
108
121
// Create the workspace area showing the editing box
109
122
GUICollectionBox *workspace = dynamic_cast <GUICollectionBox *>(m_EditorControlManager->AddControl (" Workspace" , " COLLECTIONBOX" , m_EditorBase.get (), m_WorkspacePosX, m_WorkspacePosY, m_WorkspaceWidth, m_WorkspaceHeight));
0 commit comments