ObjectivelyMVC 0.1.0
Object oriented MVC framework for OpenGL, SDL2 and GNU C
Data Structures | Functions | Variables
ImageView.h File Reference

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

#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 GLBlendNames []
 

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

261 {
262 static Class *clazz;
263 static Once once;
264
265 do_once(&once, {
266 clazz = _initialize(&(const ClassDef) {
267 .name = "ImageView",
268 .superclass = _View(),
269 .instanceSize = sizeof(ImageView),
270 .interfaceOffset = offsetof(ImageView, interface),
271 .interfaceSize = sizeof(ImageViewInterface),
273 });
274 });
275
276 return clazz;
277}
static void initialize(Class *clazz)
Definition: ImageView.c:240
ImageViews render an Image in the context of a View hierarchy.
Definition: ImageView.h:43
Class * _View(void)
The View archetype.
Definition: View.c:1769

Variable Documentation

◆ GLBlendNames

OBJECTIVELYMVC_EXPORT const EnumName GLBlendNames[]

Definition at line 34 of file ImageView.h.