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

Draggable containers. More...

#include <ObjectivelyMVC/Control.h>
#include <ObjectivelyMVC/ImageView.h>
#include <ObjectivelyMVC/StackView.h>

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 268 of file Panel.c.

268 {
269 static Class *clazz;
270 static Once once;
271
272 do_once(&once, {
273 clazz = _initialize(&(const ClassDef) {
274 .name = "Panel",
275 .superclass = _Control(),
276 .instanceSize = sizeof(Panel),
277 .interfaceOffset = offsetof(Panel, interface),
278 .interfaceSize = sizeof(PanelInterface),
280 .destroy = destroy,
281 });
282 });
283
284 return clazz;
285}
static void destroy(Class *clazz)
Definition: Panel.c:260
static void initialize(Class *clazz)
Definition: Panel.c:240
Class * _Control(void)
The Control archetype.
Definition: Control.c:379
Draggable and resizable container Views.
Definition: Panel.h:47