ObjectivelyMVC
Object oriented MVC framework for SDL3 and GNU C
Loading...
Searching...
No Matches
ImageView.h File Reference

ImageViews render an Image in the context of a View hierarchy. More...

#include <SDL3/SDL_gpu.h>
#include <ObjectivelyMVC/Image.h>
#include <ObjectivelyMVC/View.h>

Go to the source code of this file.

Data Structures

struct  ImageView
 ImageViews render an Image in the context of a View hierarchy. More...
 

Functions

OBJECTIVELYMVC_EXPORT Class * _ImageView (void)
 

Variables

OBJECTIVELYMVC_EXPORT const EnumName SDLGPUBlendFactorNames []
 

Detailed Description

ImageViews render an Image in the context of a View hierarchy.

Definition in file ImageView.h.

Function Documentation

◆ _ImageView()

OBJECTIVELYMVC_EXPORT Class * _ImageView ( void  )

Definition at line 255 of file ImageView.c.

255 {
256 static Class *clazz;
257 static Once once;
258
259 do_once(&once, {
260 clazz = _initialize(&(const ClassDef) {
261 .name = "ImageView",
262 .superclass = _View(),
263 .instanceSize = sizeof(ImageView),
264 .interfaceOffset = offsetof(ImageView, interface),
265 .interfaceSize = sizeof(ImageViewInterface),
267 });
268 });
269
270 return clazz;
271}
static void initialize(Class *clazz)
Definition ImageView.c:234
Class * _View(void)
Definition View.c:2067
ImageViews render an Image in the context of a View hierarchy.
Definition ImageView.h:45

Variable Documentation

◆ SDLGPUBlendFactorNames

OBJECTIVELYMVC_EXPORT const EnumName SDLGPUBlendFactorNames[]

Definition at line 36 of file ImageView.h.