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

A Control allowing users to drag a handle to select a numeric value. More...

#include <ObjectivelyMVC/Control.h>
#include <ObjectivelyMVC/Text.h>

Go to the source code of this file.

Data Structures

struct  Slider
 A Control allowing users to drag a handle to select a numeric value. More...
 
struct  SliderDelegate
 The Slider delegate protocol. More...
 

Functions

OBJECTIVELYMVC_EXPORT Class * _Slider (void)
 

Detailed Description

A Control allowing users to drag a handle to select a numeric value.

Definition in file Slider.h.

Function Documentation

◆ _Slider()

OBJECTIVELYMVC_EXPORT Class * _Slider ( void  )

Definition at line 298 of file Slider.c.

298 {
299 static Class *clazz;
300 static Once once;
301
302 do_once(&once, {
303 clazz = _initialize(&(const ClassDef) {
304 .name = "Slider",
305 .superclass = _Control(),
306 .instanceSize = sizeof(Slider),
307 .interfaceOffset = offsetof(Slider, interface),
308 .interfaceSize = sizeof(SliderInterface),
310 });
311 });
312
313 return clazz;
314}
static void initialize(Class *clazz)
Definition: Slider.c:277
Class * _Control(void)
The Control archetype.
Definition: Control.c:379
A Control allowing users to drag a handle to select a numeric value.
Definition: Slider.h:62