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

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

#include <ObjectivelyMVC/Control.h>

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 192 of file ScrollView.c.

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