ui/winui/button.h

branch
newapi
changeset 379
958bae372271
parent 206
7ebc5a747c6f
--- a/ui/winui/button.h	Sun Nov 10 15:27:44 2024 +0100
+++ b/ui/winui/button.h	Tue Nov 12 14:58:03 2024 +0100
@@ -35,6 +35,7 @@
 
 #include "../common/context.h"
 
+void ui_set_button_label(winrt::Microsoft::UI::Xaml::Controls::Primitives::ButtonBase button, const char* label, const char* stockid, const char *icon, UiLabelType type);
 
 void togglebutton_register_checked_observers(winrt::Microsoft::UI::Xaml::Controls::Primitives::ToggleButton button, UiObject* obj, UiVar* var);
 void togglebutton_register_unchecked_observers(winrt::Microsoft::UI::Xaml::Controls::Primitives::ToggleButton button, UiObject* obj, UiVar* var);

mercurial