ui/winui/list.h

branch
newapi
changeset 378
d41b1ffc5f77
parent 226
4eef1d49f794
--- a/ui/winui/list.h	Sun Nov 10 10:16:47 2024 +0100
+++ b/ui/winui/list.h	Sun Nov 10 15:27:44 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