ui/winui/container.h

branch
newapi
changeset 199
84e0a24bab4a
parent 198
f2332d0d3318
child 200
f40dadf3498f
equal deleted inserted replaced
198:f2332d0d3318 199:84e0a24bab4a
107 void Add(FrameworkElement control, UiBool fill); 107 void Add(FrameworkElement control, UiBool fill);
108 }; 108 };
109 109
110 struct UiTabView { 110 struct UiTabView {
111 UiObject* current; 111 UiObject* current;
112 int close = 0; 112 UiSubContainerType subcontainer;
113 int margin;
114 int spacing;
115 int columnspacing;
116 int rowspacing;
113 117
114 virtual UiObject* AddTab(const char* label) = 0; 118 virtual UiObject* AddTab(const char* label) = 0;
115 119
116 virtual FrameworkElement GetFrameworkElement() = 0; 120 virtual FrameworkElement GetFrameworkElement() = 0;
117 }; 121 };
124 void Add(FrameworkElement control, UiBool fill); 128 void Add(FrameworkElement control, UiBool fill);
125 }; 129 };
126 130
127 struct UiPivotTabView : UiTabView { 131 struct UiPivotTabView : UiTabView {
128 Pivot pivot; 132 Pivot pivot;
129 UiSubContainerType subcontainer;
130 int margin;
131 int spacing;
132 int columnspacing;
133 int rowspacing;
134 133
135 UiPivotTabView(UiObject *obj, Pivot pivot, UiTabViewArgs args); 134 UiPivotTabView(UiObject *obj, Pivot pivot, UiTabViewArgs args);
136 135
137 UiObject* AddTab(const char* label); 136 UiObject* AddTab(const char* label);
138 FrameworkElement GetFrameworkElement(); 137 FrameworkElement GetFrameworkElement();
139 }; 138 };
139
140 struct UiMainTabView : UiTabView {
141 TabView tabview;
142
143 UiMainTabView(UiObject* obj, TabView tabview, UiTabViewArgs args);
144
145 UiObject* AddTab(const char* label);
146 FrameworkElement GetFrameworkElement();
147 };

mercurial