#pragma once
#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);