|
ObjectivelyMVC
Object oriented MVC framework for SDL3 and GNU C
|
#include <assert.h>#include <stdlib.h>#include <string.h>#include <Objectively.h>#include <ObjectivelyMVC.h>Go to the source code of this file.
Macros | |
| #define | _Class _View |
| #define | ScaleColor(c) (c > 0.0 && c < 1.0 ? c * 255 : c) |
Functions | |
| static void | bindApplicationDefined (const Inlet *inlet, ident obj) |
| InletBinding for InletTypeApplicationDefined. | |
| static void | bindBool (const Inlet *inlet, ident obj) |
| InletBinding for InletTypeBool. | |
| static void | bindCharacters (const Inlet *inlet, ident obj) |
| InletBinding for InletTypeCharacters. | |
| static void | bindClassNames (const Inlet *inlet, ident obj) |
| InletBinding for InletTypeClassNames. | |
| static void | bindClassNames_enumerate (const Array *array, ident obj, ident data) |
| ArrayEnumerator for bindClassNames. | |
| static void | bindColor (const Inlet *inlet, ident obj) |
| InletBinding for InletTypeColor. | |
| static void | bindDouble (const Inlet *inlet, ident obj) |
| InletBinding for InletTypeDouble. | |
| static void | bindEnum (const Inlet *inlet, ident obj) |
| InletBinding for InletTypeEnum. | |
| static void | bindFloat (const Inlet *inlet, ident obj) |
| InletBinding for InletTypeFloat. | |
| static void | bindFont (const Inlet *inlet, ident obj) |
| InletBinding for InletTypeFont. | |
| static void | bindImage (const Inlet *inlet, ident obj) |
| InletBinding for InletTypeImage. | |
| bool | bindInlets (const Inlet *inlets, const Dictionary *dictionary) |
Binds each Inlet specified in inlets to the data provided in dictionary. | |
| static void | bindInteger (const Inlet *inlet, ident obj) |
| InletBinding for InletTypeInteger. | |
| static void | bindPoint (const Inlet *inlet, ident obj) |
| InletBinding for InletTypePoint. | |
| static void | bindRectangle (const Inlet *inlet, ident obj) |
| InletBinding for InletTypeRectangle. | |
| static void | bindSize (const Inlet *inlet, ident obj) |
| InletBinding for InletTypeSize. | |
| static void | bindStyle (const Inlet *inlet, ident obj) |
| InletBinding for InletTypeStyle. | |
| static void | bindSubviews (const Inlet *inlet, ident obj) |
| InletBinding for InletTypeSubviews. | |
| static void | bindSubviews_enumerate (const Array *array, ident obj, ident data) |
| ArrayEnumerator for bind subview recursion. | |
| static void | bindView (const Inlet *inlet, ident obj) |
| Binds the given View with the specified Dictionary. | |
Variables | |
| const InletBinding | inletBindings [] |
| The array of InletBinding functions, indexed by InletType. | |
| #define _Class _View |
Definition at line 27 of file View+JSON.c.
| #define ScaleColor | ( | c | ) | (c > 0.0 && c < 1.0 ? c * 255 : c) |
|
static |
InletBinding for InletTypeApplicationDefined.
Definition at line 297 of file View+JSON.c.
|
static |
|
static |
InletBinding for InletTypeCharacters.
Definition at line 39 of file View+JSON.c.
|
static |
InletBinding for InletTypeClassNames.
Definition at line 60 of file View+JSON.c.
|
static |
|
static |
InletBinding for InletTypeColor.
Definition at line 67 of file View+JSON.c.
|
static |
InletBinding for InletTypeDouble.
Definition at line 113 of file View+JSON.c.
|
static |
InletBinding for InletTypeEnum.
Definition at line 120 of file View+JSON.c.
|
static |
InletBinding for InletTypeFloat.
Definition at line 127 of file View+JSON.c.
|
static |
|
static |
InletBinding for InletTypeImage.
Definition at line 146 of file View+JSON.c.
| bool bindInlets | ( | const Inlet * | inlets, |
| const Dictionary * | dictionary | ||
| ) |
Binds each Inlet specified in inlets to the data provided in dictionary.
| inlets | The Inlets to bind. |
| dictionary | The Dictionary from which to bind. |
Definition at line 327 of file View+JSON.c.
|
static |
InletBinding for InletTypeInteger.
Definition at line 156 of file View+JSON.c.
|
static |
InletBinding for InletTypePoint.
Definition at line 163 of file View+JSON.c.
|
static |
InletBinding for InletTypeRectangle.
Definition at line 178 of file View+JSON.c.
|
static |
InletBinding for InletTypeSize.
Definition at line 201 of file View+JSON.c.
|
static |
InletBinding for InletTypeStyle.
Definition at line 267 of file View+JSON.c.
|
static |
InletBinding for InletTypeSubviews.
Definition at line 290 of file View+JSON.c.
|
static |
ArrayEnumerator for bind subview recursion.
Definition at line 274 of file View+JSON.c.
|
static |
Binds the given View with the specified Dictionary.
Definition at line 216 of file View+JSON.c.
| const InletBinding inletBindings[] |
The array of InletBinding functions, indexed by InletType.
Definition at line 307 of file View+JSON.c.