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 337 of file ImageView.c.

337 {
338 static Class *clazz;
339 static Once once;
340
341 do_once(&once, {
342 clazz = _initialize(&(const ClassDef) {
343 .name = "ImageView",
344 .superclass = _View(),
345 .instanceSize = sizeof(ImageView),
346 .interfaceSize = sizeof(ImageViewInterface),
347 .initialize = initialize,
348 });
349 });
350
351 return clazz;
352}
static void initialize(Class *clazz)
Definition ImageView.c:315
Class * _View(void)
Definition View.c:2336
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.