ui/winui/container.h

branch
newapi
changeset 200
f40dadf3498f
parent 199
84e0a24bab4a
child 202
9f309d1914a2
equal deleted inserted replaced
199:84e0a24bab4a 200:f40dadf3498f
83 enum UiBoxContainerType { 83 enum UiBoxContainerType {
84 UI_BOX_CONTAINER_VBOX = 0, 84 UI_BOX_CONTAINER_VBOX = 0,
85 UI_BOX_CONTAINER_HBOX 85 UI_BOX_CONTAINER_HBOX
86 }; 86 };
87 87
88 enum UiNavigationViewType {
89 UI_NAVIGATIONVIEW_TOP = 0,
90 UI_NAVIGATIONVIEW_SIDE
91 };
92
88 struct UiBoxContainer : UiContainer { 93 struct UiBoxContainer : UiContainer {
89 Grid grid; 94 Grid grid;
90 enum UiBoxContainerType type; 95 enum UiBoxContainerType type;
91 RowDefinition boxRowDef; 96 RowDefinition boxRowDef;
92 ColumnDefinition boxColDef; 97 ColumnDefinition boxColDef;
143 UiMainTabView(UiObject* obj, TabView tabview, UiTabViewArgs args); 148 UiMainTabView(UiObject* obj, TabView tabview, UiTabViewArgs args);
144 149
145 UiObject* AddTab(const char* label); 150 UiObject* AddTab(const char* label);
146 FrameworkElement GetFrameworkElement(); 151 FrameworkElement GetFrameworkElement();
147 }; 152 };
153
154 struct UiNavigationTabView : UiTabView {
155 NavigationView navigationview;
156 UiNavigationViewType type;
157
158 UiNavigationTabView(UiObject* obj, NavigationView NavigationView, UiTabViewArgs args, enum UiNavigationViewType type);
159
160 UiObject* AddTab(const char* label);
161 FrameworkElement GetFrameworkElement();
162 };

mercurial