diff -r 73c8a3780c72 -r 641dcc79e0ef ui/winui/list.h --- 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 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);