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

Functions

OBJECTIVELYMVC_EXPORT Class * _ScrollView (void)
 

Detailed Description

ScrollViews allow users to pan their internal contents.

Definition in file ScrollView.h.

Function Documentation

◆ _ScrollView()

OBJECTIVELYMVC_EXPORT Class * _ScrollView ( void  )

Definition at line 279 of file ScrollView.c.

279 {
280 static Class *clazz;
281 static Once once;
282
283 do_once(&once, {
284 clazz = _initialize(&(const ClassDef) {
285 .name = "ScrollView",
286 .superclass = _Control(),
287 .instanceSize = sizeof(ScrollView),
288 .interfaceOffset = offsetof(ScrollView, interface),
289 .interfaceSize = sizeof(ScrollViewInterface),
291 });
292 });
293
294 return clazz;
295}
Class * _Control(void)
Definition Control.c:391
static void initialize(Class *clazz)
Definition ScrollView.c:259
ScrollViews allow users to pan their internal contents.
Definition ScrollView.h:61