diff -r 3a60db9ebb5d -r d41b1ffc5f77 ui/winui/list.h --- 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 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);