26#include <Objectively/Array.h>
27#include <Objectively/Dictionary.h>
47typedef struct ThemeInterface ThemeInterface;
71 Dictionary *fontCache;
77 Dictionary *imageCache;
95struct ThemeInterface {
100 ObjectInterface objectInterface;
145 Image *(*image)(
Theme *self,
const char *
name,
float pixelDensity);
209 void (*renderDeviceDidReset)(
Theme *self);
220 void (*renderDeviceWillReset)(
Theme *self);
229 Theme *(*theme)(SDL_Window *window);
static String * name(const Font *self)
Packs many Images into one sheet, backed by one Texture.
OBJECTIVELYMVC_EXPORT Class * _Theme(void)
#define OBJECTIVELYMVC_EXPORT
An Image packed into an ImageAtlas.
The family, size and style attributes that identify a Font, independent of the pixel density at which...
Packs many Images into one sheet, backed by one Texture.
Stylesheets are comprised of Selectors and Styles.
Object object
The superclass.
ThemeInterface * interface[0]
The interface type.
Array * stylesheets
The Stylesheets, in order of priority.
Views are the fundamental building blocks of ObjectivelyMVC user interfaces.