ui/winui/list.h

changeset 76
641dcc79e0ef
parent 0
2483f517c562
--- a/ui/winui/list.h	Sun Nov 10 09:12:30 2024 +0100
+++ b/ui/winui/list.h	Sun Nov 10 15:30:46 2024 +0100
@@ -40,3 +40,8 @@
 
 std::vector<int> ui_create_listview_selection(winrt::Microsoft::UI::Xaml::Controls::ListView listview);
 
+extern "C" UiListSelection ui_listview_getselection(UiList *list);
+extern "C" void ui_listview_setselection(UiList *list, UiListSelection selection);
+
+extern "C" UiListSelection ui_dropdown_getselection(UiList *list);
+extern "C" void ui_dropdown_setselection(UiList *list, UiListSelection selection);

mercurial