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

Draggable containers. More...

Go to the source code of this file.

Data Structures

struct  Panel
 Draggable and resizable container Views. More...
 

Macros

#define DEFAULT_PANEL_RESIZE_HANDLE_SIZE   10
 

Functions

OBJECTIVELYMVC_EXPORT Class * _Panel (void)
 

Detailed Description

Draggable containers.

Definition in file Panel.h.

Macro Definition Documentation

◆ DEFAULT_PANEL_RESIZE_HANDLE_SIZE

#define DEFAULT_PANEL_RESIZE_HANDLE_SIZE   10

Definition at line 35 of file Panel.h.

Function Documentation

◆ _Panel()

OBJECTIVELYMVC_EXPORT Class * _Panel ( void  )

Definition at line 296 of file Panel.c.

296 {
297 static Class *clazz;
298 static Once once;
299
300 do_once(&once, {
301 clazz = _initialize(&(const ClassDef) {
302 .name = "Panel",
303 .superclass = _Control(),
304 .instanceSize = sizeof(Panel),
305 .interfaceOffset = offsetof(Panel, interface),
306 .interfaceSize = sizeof(PanelInterface),
308 .destroy = destroy,
309 });
310 });
311
312 return clazz;
313}
Class * _Control(void)
Definition Control.c:391
static void destroy(Class *clazz)
Definition Panel.c:288
static void initialize(Class *clazz)
Definition Panel.c:267
Draggable and resizable container Views.
Definition Panel.h:47