Reducer for computeStyle.
62 {
63
65
66 const View *view = data;
67
68 const Array *selectors = (Array *) stylesheet->
selectors;
69 for (size_t i = 0; i < selectors->count; i++) {
70
71 Selector *selector = $(selectors, objectAtIndex, i);
73
74 assert(selector->
style);
75
77
80
82
83 release(this);
84 release(that);
85 }
86
88 SDL_TriggerBreakpoint();
89 }
90
93 }
94 }
95
96 return accumulator;
97}
static String * description(const Object *self)
#define MVC_LogVerbose(fmt,...)
#define MVC_LogEnabled(priority)
Selectors are comprised of one or more SelectorSequences.
_Bool matchesView(const Selector *self, View *view)
void addSelector(Style *self, Selector *selector)
Adds the given Selector to this Style.
void addAttributes(Style *self, const Dictionary *attributes)
Adds or replaces the attribtues in attributes to this Style.
ident attributeValue(const Style *self, const char *attr)
Stylesheets are comprised of Selectors and Styles.
Array * selectors
The Selectors, ordered by specificity.
Views are the fundamental building blocks of ObjectivelyMVC user interfaces.