26#include <SDL3/SDL_gpu.h>
39typedef struct ImageViewInterface ImageViewInterface;
95struct ImageViewInterface {
100 ViewInterface viewInterface;
138 void (*setImageWithResource)(
ImageView *self,
const Resource *resource);
149 void (*setImageWithResourceName)(
ImageView *self,
const char *
name);
158 void (*setImageWithSurface)(
ImageView *
image, SDL_Surface *surface);
static String * name(const Font *self)
OBJECTIVELYMVC_EXPORT Class * _ImageView(void)
OBJECTIVELYMVC_EXPORT const EnumName SDLGPUBlendFactorNames[]
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.
Texture * texture
The GPU texture.
ImageViewInterface * interface[0]
The interface type.
SDL_Color color
The drawing color.
struct ImageView::@0 blend
The blend factors (currently unused; reserved for future per-pipeline support).
Views are the fundamental building blocks of ObjectivelyMVC user interfaces.