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...

#include <Objectively/Array.h>
#include <Objectively/Vector.h>
#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 502 of file Slider.c.

502 {
503 static Class *clazz;
504 static Once once;
505
506 do_once(&once, {
507 clazz = _initialize(&(const ClassDef) {
508 .name = "Slider",
509 .superclass = _Control(),
510 .instanceSize = sizeof(Slider),
511 .interfaceSize = sizeof(SliderInterface),
512 .initialize = initialize,
513 });
514 });
515
516 return clazz;
517}
Class * _Control(void)
Definition Control.c:414
static void initialize(Class *clazz)
Definition Slider.c:481
A Control allowing users to drag a handle to select a numeric value.
Definition Slider.h:65