26#include <SDL3/SDL_gpu.h>
39typedef struct ImageViewInterface ImageViewInterface;
95struct ImageViewInterface {
100 ViewInterface viewInterface;
static String * name(const Font *self)
static void setImageWithResource(ImageView *self, const Resource *resource)
static void setImageWithSurface(ImageView *self, SDL_Surface *surface)
static void setImageWithResourceName(ImageView *self, const char *name)
static void setImage(ImageView *self, Image *image)
const EnumName SDLGPUBlendFactorNames[]
OBJECTIVELYMVC_EXPORT Class * _ImageView(void)
static Image * image(Theme *self, const char *name, float pixelDensity)
#define OBJECTIVELYMVC_EXPORT
Views are the fundamental building blocks of ObjectivelyMVC user interfaces.
ImageViews render an Image in the context of a View hierarchy.
struct ImageView::@057055105372320051011063062227120011174355046077 blend
The blend factors (currently unused; reserved for future per-pipeline support).
Texture * texture
The GPU texture.
ImageViewInterface * interface[0]
The interface type.
SDL_Color color
The drawing color.
Views are the fundamental building blocks of ObjectivelyMVC user interfaces.