ui/winui/image.h

branch
newapi
changeset 375
af087d0fad9b
parent 374
eae5d6623fd3
equal deleted inserted replaced
374:eae5d6623fd3 375:af087d0fad9b
29 #pragma once 29 #pragma once
30 30
31 #include "../ui/toolkit.h" 31 #include "../ui/toolkit.h"
32 #include "../ui/image.h" 32 #include "../ui/image.h"
33 33
34 class UiImageSource {
35 public:
36 winrt::Microsoft::UI::Xaml::Media::ImageSource imgsrc { nullptr };
37
38 UiImageSource(winrt::Microsoft::UI::Xaml::Media::ImageSource& src);
39 };
40
41
42 extern "C" void* ui_image_get(UiGeneric *g);
43 extern "C" int ui_image_set(UiGeneric *g, void *data, const char *type);

mercurial