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

A Progress bar. More...

#include <ObjectivelyMVC/ImageView.h>
#include <ObjectivelyMVC/Label.h>

Go to the source code of this file.

Data Structures

struct  ProgressBar
 The ProgressBar type. More...
 
struct  ProgressBarDelegate
 The ProgressBar delegate protocol. More...
 

Functions

OBJECTIVELYMVC_EXPORT Class * _ProgressBar (void)
 

Detailed Description

A Progress bar.

Definition in file ProgressBar.h.

Function Documentation

◆ _ProgressBar()

OBJECTIVELYMVC_EXPORT Class * _ProgressBar ( void  )

Definition at line 204 of file ProgressBar.c.

204 {
205 static Class *clazz;
206 static Once once;
207
208 do_once(&once, {
209 clazz = _initialize(&(const ClassDef) {
210 .name = "ProgressBar",
211 .superclass = _View(),
212 .instanceSize = sizeof(ProgressBar),
213 .interfaceOffset = offsetof(ProgressBar, interface),
214 .interfaceSize = sizeof(ProgressBarInterface),
216 });
217 });
218
219 return clazz;
220}
static void initialize(Class *clazz)
Definition: ProgressBar.c:186
The ProgressBar type.
Definition: ProgressBar.h:61
Class * _View(void)
The View archetype.
Definition: View.c:1769