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

ScrollViews allow users to pan their internal contents. More...

Go to the source code of this file.

Data Structures

struct  ScrollView
 ScrollViews allow users to pan their internal contents. More...
 
struct  ScrollViewDelegate
 The ScrollView delegate protocol. More...
 

Macros

#define DEFAULT_SCROLL_VIEW_STEP   12.0
 

Functions

OBJECTIVELYMVC_EXPORT Class * _ScrollView (void)
 

Detailed Description

ScrollViews allow users to pan their internal contents.

Definition in file ScrollView.h.

Macro Definition Documentation

◆ DEFAULT_SCROLL_VIEW_STEP

#define DEFAULT_SCROLL_VIEW_STEP   12.0

Definition at line 33 of file ScrollView.h.

Function Documentation

◆ _ScrollView()

OBJECTIVELYMVC_EXPORT Class * _ScrollView ( void  )

Definition at line 190 of file ScrollView.c.

190 {
191 static Class *clazz;
192 static Once once;
193
194 do_once(&once, {
195 clazz = _initialize(&(const ClassDef) {
196 .name = "ScrollView",
197 .superclass = _Control(),
198 .instanceSize = sizeof(ScrollView),
199 .interfaceOffset = offsetof(ScrollView, interface),
200 .interfaceSize = sizeof(ScrollViewInterface),
202 });
203 });
204
205 return clazz;
206}
Class * _Control(void)
Definition Control.c:391
static void initialize(Class *clazz)
Definition ScrollView.c:173
ScrollViews allow users to pan their internal contents.
Definition ScrollView.h:62