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* |