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

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

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 344 of file Slider.c.

344 {
345 static Class *clazz;
346 static Once once;
347
348 do_once(&once, {
349 clazz = _initialize(&(const ClassDef) {
350 .name = "Slider",
351 .superclass = _Control(),
352 .instanceSize = sizeof(Slider),
353 .interfaceOffset = offsetof(Slider, interface),
354 .interfaceSize = sizeof(SliderInterface),
356 });
357 });
358
359 return clazz;
360}
Class * _Control(void)
Definition Control.c:391
static void initialize(Class *clazz)
Definition Slider.c:323
A Control allowing users to drag a handle to select a numeric value.
Definition Slider.h:62