66 #define UIWIDGET void* |
66 #define UIWIDGET void* |
67 #define UIMENU void* |
67 #define UIMENU void* |
68 #endif |
68 #endif |
69 |
69 |
70 #elif UI_WINUI |
70 #elif UI_WINUI |
|
71 |
|
72 #ifdef __cplusplus |
|
73 #include <Windows.h> |
|
74 #undef GetCurrentTime |
|
75 #include <winrt/Windows.Foundation.Collections.h> |
|
76 #include <winrt/Windows.UI.Xaml.Interop.h> |
|
77 #include <winrt/Microsoft.UI.Xaml.Controls.h> |
|
78 |
|
79 #define UIWIDGET winrt::Microsoft::UI::Xaml::UIElement |
|
80 #define UIWINDOW winrt::Microsoft::UI::Xaml::Window |
|
81 #define UIMENU void* |
|
82 |
|
83 #else |
71 #define UIWIDGET void* |
84 #define UIWIDGET void* |
|
85 #define UIWINDOW void* |
72 #define UIMENU void* |
86 #define UIMENU void* |
|
87 #endif |
|
88 |
|
89 |
73 #endif |
90 #endif |
74 |
91 |
75 #ifndef TRUE |
92 #ifndef TRUE |
76 #define TRUE 1 |
93 #define TRUE 1 |
77 #endif |
94 #endif |