247 {
248
249 ((ObjectInterface *) clazz->interface)->dealloc =
dealloc;
250 ((ObjectInterface *) clazz->interface)->hash =
hash;
251 ((ObjectInterface *) clazz->interface)->isEqual =
isEqual;
252
253 ((StylesheetInterface *) clazz->interface)->defaultStylesheet =
defaultStylesheet;
256 ((StylesheetInterface *) clazz->interface)->initWithResource =
initWithResource;
258 ((StylesheetInterface *) clazz->interface)->initWithString =
initWithString;
264}
static Stylesheet * stylesheetWithData(const Data *data)
static _Bool isEqual(const Object *self, const Object *other)
Font * initWithData(Font *self, Data *data, int size, int index)
Image * initWithResourceName(Image *self, const char *name)
Initializes this Image, loading the Resource by the given name.
Image * initWithResource(Image *self, const Resource *resource)
Initializes this Image with the specified Resource.
Stylesheet * initWithData(Stylesheet *self, const Data *data)
Initializes this Stylesheet with the CSS definitions in data.
Stylesheet * stylesheetWithString(const String *string)
Instantiates a new Stylesheet with the given CSS String.
Stylesheet * defaultStylesheet(void)
Stylesheet * stylesheetWithResource(const Resource *resource)
Instantiates a new Stylesheet with the given CSS Resource.
Stylesheet * initWithCharacters(Stylesheet *self, const char *chars)
Initializes this Stylesheet with the given CSS definitions.
Stylesheet * initWithString(Stylesheet *self, const String *string)
Initializes this Stylesheet with the CSS definitions in string.
Stylesheet * stylesheetWithResourceName(const char *name)
Instantiates a new Stylesheet with the CSS Resource by the specified name.