|
ObjectivelyMVC 0.1.0
Object oriented MVC framework for OpenGL, SDL2 and GNU C
|
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. More... | |
| static void | bindBool (const Inlet *inlet, ident obj) |
| InletBinding for InletTypeBool. More... | |
| static void | bindCharacters (const Inlet *inlet, ident obj) |
| InletBinding for InletTypeCharacters. More... | |
| static void | bindClassNames (const Inlet *inlet, ident obj) |
| InletBinding for InletTypeClassNames. More... | |
| static void | bindClassNames_enumerate (const Array *array, ident obj, ident data) |
| ArrayEnumerator for bindClassNames. More... | |
| static void | bindColor (const Inlet *inlet, ident obj) |
| InletBinding for InletTypeColor. More... | |
| static void | bindDouble (const Inlet *inlet, ident obj) |
| InletBinding for InletTypeDouble. More... | |
| static void | bindEnum (const Inlet *inlet, ident obj) |
| InletBinding for InletTypeEnum. More... | |
| static void | bindFloat (const Inlet *inlet, ident obj) |
| InletBinding for InletTypeFloat. More... | |
| static void | bindFont (const Inlet *inlet, ident obj) |
| InletBinding for InletTypeFont. More... | |
| static void | bindImage (const Inlet *inlet, ident obj) |
| InletBinding for InletTypeImage. More... | |
| _Bool | bindInlets (const Inlet *inlets, const Dictionary *dictionary) |
Binds each Inlet specified in inlets to the data provided in dictionary. More... | |
| static void | bindInteger (const Inlet *inlet, ident obj) |
| InletBinding for InletTypeInteger. More... | |
| static void | bindPoint (const Inlet *inlet, ident obj) |
| InletBinding for InletTypePoint. More... | |
| static void | bindRectangle (const Inlet *inlet, ident obj) |
| InletBinding for InletTypeRectangle. More... | |
| static void | bindSize (const Inlet *inlet, ident obj) |
| InletBinding for InletTypeSize. More... | |
| static void | bindStyle (const Inlet *inlet, ident obj) |
| InletBinding for InletTypeStyle. More... | |
| static void | bindSubviews (const Inlet *inlet, ident obj) |
| InletBinding for InletTypeSubviews. More... | |
| static void | bindSubviews_enumerate (const Array *array, ident obj, ident data) |
| ArrayEnumerator for bind subview recursion. More... | |
| static void | bindView (const Inlet *inlet, ident obj) |
| Binds the given View with the specified Dictionary. More... | |
Variables | |
| const InletBinding | inletBindings [] |
| The array of InletBinding functions, indexed by InletType. More... | |
| #define _Class _View |
Definition at line 26 of file View+JSON.c.
| #define ScaleColor | ( | c | ) | (c > 0.0 && c < 1.0 ? c * 255 : c) |
|
static |
InletBinding for InletTypeApplicationDefined.
Definition at line 296 of file View+JSON.c.
|
static |
InletBinding for InletTypeBool.
Definition at line 31 of file View+JSON.c.
|
static |
InletBinding for InletTypeCharacters.
Definition at line 38 of file View+JSON.c.
|
static |
InletBinding for InletTypeClassNames.
Definition at line 59 of file View+JSON.c.
|
static |
ArrayEnumerator for bindClassNames.
Definition at line 52 of file View+JSON.c.
|
static |
InletBinding for InletTypeColor.
Definition at line 66 of file View+JSON.c.
|
static |
InletBinding for InletTypeDouble.
Definition at line 112 of file View+JSON.c.
|
static |
InletBinding for InletTypeEnum.
Definition at line 119 of file View+JSON.c.
|
static |
InletBinding for InletTypeFloat.
Definition at line 126 of file View+JSON.c.
|
static |
|
static |
InletBinding for InletTypeImage.
Definition at line 145 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 326 of file View+JSON.c.
|
static |
InletBinding for InletTypeInteger.
Definition at line 155 of file View+JSON.c.
|
static |
InletBinding for InletTypePoint.
Definition at line 162 of file View+JSON.c.
|
static |
InletBinding for InletTypeRectangle.
Definition at line 177 of file View+JSON.c.
|
static |
InletBinding for InletTypeSize.
Definition at line 200 of file View+JSON.c.
|
static |
InletBinding for InletTypeStyle.
Definition at line 266 of file View+JSON.c.
|
static |
InletBinding for InletTypeSubviews.
Definition at line 289 of file View+JSON.c.
|
static |
ArrayEnumerator for bind subview recursion.
Definition at line 273 of file View+JSON.c.
|
static |
Binds the given View with the specified Dictionary.
Definition at line 215 of file View+JSON.c.
| const InletBinding inletBindings[] |
The array of InletBinding functions, indexed by InletType.
Definition at line 306 of file View+JSON.c.