#pragma once
#include "toolkit.h"
#include "../ui/container.h"
#include "../ui/button.h"
#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);
void togglebutton_register_callback(winrt::Microsoft::
UI::Xaml::Controls::Primitives::ToggleButton button, UiObject* obj, UiToggleArgs& args);
extern "C" int64_t ui_toggle_button_get(UiInteger * integer);
extern "C" void ui_toggle_button_set(UiInteger * integer,
int64_t value);
extern "C" int64_t ui_switch_get(UiInteger * integer);
extern "C" void ui_switch_set(UiInteger * integer,
int64_t value);
extern "C" int64_t ui_radio_button_get(UiInteger * integer);
extern "C" void ui_radio_button_set(UiInteger * integer,
int64_t value);