ui/winui/image.h

branch
newapi
changeset 375
af087d0fad9b
parent 374
eae5d6623fd3
--- a/ui/winui/image.h	Wed Oct 30 12:23:52 2024 +0100
+++ b/ui/winui/image.h	Wed Oct 30 15:15:36 2024 +0100
@@ -31,3 +31,13 @@
 #include "../ui/toolkit.h"
 #include "../ui/image.h"
 
+class UiImageSource {
+public:
+    winrt::Microsoft::UI::Xaml::Media::ImageSource imgsrc { nullptr };
+
+    UiImageSource(winrt::Microsoft::UI::Xaml::Media::ImageSource& src);
+};
+
+
+extern "C" void* ui_image_get(UiGeneric *g);
+extern "C" int ui_image_set(UiGeneric *g, void *data, const char *type);

mercurial