ui/ui/toolkit.h

branch
newapi
changeset 184
8c9b4b28aaa9
parent 183
3ce2eb11913b
child 186
5db4979bf482
equal deleted inserted replaced
183:3ce2eb11913b 184:8c9b4b28aaa9
86 86
87 class UiWidget { 87 class UiWidget {
88 public: 88 public:
89 winrt::Microsoft::UI::Xaml::UIElement uielement; 89 winrt::Microsoft::UI::Xaml::UIElement uielement;
90 90
91 void* obj;
92 void(*event_func)(void*, void*) = nullptr;
93 void* event_data = nullptr;
94
91 UiWidget(winrt::Microsoft::UI::Xaml::UIElement& elm); 95 UiWidget(winrt::Microsoft::UI::Xaml::UIElement& elm);
96
92 }; 97 };
93 98
94 #define UIWIDGET UiWidget* 99 #define UIWIDGET UiWidget*
95 #define UIWINDOW UiWindow* 100 #define UIWINDOW UiWindow*
96 #define UIMENU void* 101 #define UIMENU void*

mercurial