|
ObjectivelyMVC
Object oriented MVC framework for SDL3 and GNU C
|
#include <assert.h>#include <Objectively/JSONContext.h>#include "ImageAtlas.h"#include "Log.h"#include "Theme.h"#include "View.h"#include "WindowController.h"Go to the source code of this file.
Macros | |
| #define | _Class _Theme |
Functions | |
| Class * | _Theme (void) |
| static AtlasImage * | addIcon (Theme *self, const char *name, Image *image) |
| static void | addStylesheet (Theme *self, Stylesheet *stylesheet) |
| static String * | cacheKey (const FontAttributes *attributes, float pixelDensity) |
| Builds the cache key for the given attributes and pixel density. | |
| static Style * | computeStyle (const Theme *self, const View *view) |
| static ident | computeStyle_reduce (const ident obj, ident accumulator, ident data) |
| Reducer for computeStyle. | |
| static void | dealloc (Object *self) |
| static Font * | font (Theme *self, const FontAttributes *attributes, float pixelDensity) |
| static AtlasImage * | icon (Theme *self, const char *name) |
| static ImageAtlas * | icons (Theme *self) |
| static Image * | image (Theme *self, const char *name, float pixelDensity) |
| static Theme * | init (Theme *self) |
| static void | initialize (Class *clazz) |
| static void | removeStylesheet (Theme *self, Stylesheet *stylesheet) |
| static void | renderDeviceDidReset (Theme *self) |
| static void | renderDeviceWillReset (Theme *self) |
| static void | renderDeviceWillReset_enumerate (const Dictionary *dictionary, ident obj, ident key, ident data) |
| DictionaryEnumerator for renderDeviceWillReset. | |
| static Theme * | theme (SDL_Window *window) |
| Class * _Theme | ( | void | ) |
Definition at line 334 of file Theme.c.
|
static |
Definition at line 158 of file Theme.c.
|
static |
|
static |
Builds the cache key for the given attributes and pixel density.
Definition at line 66 of file Theme.c.
Definition at line 223 of file Theme.c.
|
static |
Reducer for computeStyle.
Definition at line 182 of file Theme.c.
|
static |
|
static |
Definition at line 108 of file Theme.c.
|
static |
Definition at line 175 of file Theme.c.
|
static |
Definition at line 82 of file Theme.c.
Definition at line 237 of file Theme.c.
|
static |
Definition at line 312 of file Theme.c.
|
static |
|
static |
|
static |
Definition at line 276 of file Theme.c.
|
static |
DictionaryEnumerator for renderDeviceWillReset.
|
static |
Definition at line 295 of file Theme.c.