ui/winui/container.h

branch
newapi
changeset 200
f40dadf3498f
parent 199
84e0a24bab4a
child 202
9f309d1914a2
--- a/ui/winui/container.h	Tue Oct 03 14:18:25 2023 +0200
+++ b/ui/winui/container.h	Tue Oct 03 15:32:46 2023 +0200
@@ -85,6 +85,11 @@
     UI_BOX_CONTAINER_HBOX
 };
 
+enum UiNavigationViewType {
+    UI_NAVIGATIONVIEW_TOP = 0,
+    UI_NAVIGATIONVIEW_SIDE
+};
+
 struct UiBoxContainer : UiContainer {
     Grid grid;
     enum UiBoxContainerType type;
@@ -145,3 +150,13 @@
     UiObject* AddTab(const char* label);
     FrameworkElement GetFrameworkElement();
 };
+
+struct UiNavigationTabView : UiTabView {
+    NavigationView navigationview;
+    UiNavigationViewType type;
+
+    UiNavigationTabView(UiObject* obj, NavigationView NavigationView, UiTabViewArgs args, enum UiNavigationViewType type);
+
+    UiObject* AddTab(const char* label);
+    FrameworkElement GetFrameworkElement();
+};

mercurial