|
ObjectivelyMVC
Object oriented MVC framework for SDL3 and GNU C
|
#include <assert.h>#include <stdlib.h>#include <string.h>#include <Objectively.h>#include "Style.h"Go to the source code of this file.
Macros | |
| #define | _Class _Style |
Functions | |
| Class * | _Style (void) |
| static void | addAttribute (Style *self, const char *attr, ident value) |
| static void | addAttributes (Style *self, const Dictionary *attributes) |
| static void | addBoolAttribute (Style *self, const char *attr, bool value) |
| static void | addCharactersAttribute (Style *self, const char *attr, const char *value) |
| static void | addColorAttribute (Style *self, const char *attr, const SDL_Color *color) |
| static void | addDoubleAttribute (Style *self, const char *attr, double value) |
| static void | addEnumAttribute (Style *self, const char *attr, const EnumName *names, int value) |
| static void | addFloatAttribute (Style *self, const char *attr, float value) |
| static void | addIntegerAttribute (Style *self, const char *attr, int value) |
| static void | addPointAttribute (Style *self, const char *attr, const SDL_Point *value) |
| static void | addRectangleAttribute (Style *self, const char *attr, const SDL_Rect *value) |
| static void | addSelector (Style *self, Selector *selector) |
| static void | addSizeAttribute (Style *self, const char *attr, const SDL_Size *value) |
| static ident | attributeValue (const Style *self, const char *attr) |
| static void | dealloc (Object *self) |
| static String * | description (const Object *self) |
| static int | hash (const Object *self) |
| static void | initialize (Class *clazz) |
| static Style * | initWithAttributes (Style *self, const Dictionary *attributes) |
| static Style * | initWithRules (Style *self, const char *rules) |
| static bool | isComputedEqual (const Style *self, const Style *other) |
| static bool | isEqual (const Object *self, const Object *other) |
| static Array * | parse (const char *css) |
| static ident | parseValue (String *string) |
| static void | removeAllAttributes (Style *self) |
| static void | removeAttribute (Style *self, const char *attr) |
| Class * _Style | ( | void | ) |
Definition at line 539 of file Style.c.
|
static |
Definition at line 102 of file Style.c.
|
static |
Definition at line 119 of file Style.c.
|
static |
Definition at line 130 of file Style.c.
|
static |
|
static |
Definition at line 151 of file Style.c.
|
static |
Definition at line 173 of file Style.c.
|
static |
|
static |
Definition at line 199 of file Style.c.
|
static |
|
static |
Definition at line 215 of file Style.c.
|
static |
Definition at line 233 of file Style.c.
|
static |
Definition at line 266 of file Style.c.
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 506 of file Style.c.
Definition at line 292 of file Style.c.
Definition at line 308 of file Style.c.
|
static |
|
static |
Definition at line 422 of file Style.c.
|
static |
Definition at line 356 of file Style.c.
|
static |
|
static |