18#include <initializer_list>
24 bool mIgnoreRules =
false;
28 AStylesheet(std::initializer_list<ass::Rule> rules) {
32 void addRules(std::initializer_list<ass::Rule> rules) {
36 for (
auto& constRule : rules) {
37 auto& rule =
const_cast<ass::Rule&
>(constRule);
38 mRules << std::move(rule);
54 mRules << std::forward<ass::Rule>(r);
57 void setIgnoreRules(
bool ignoreRules) {
58 mIgnoreRules = ignoreRules;
66 static AColor getOsThemeColor();
71 mRules = std::move(rules);
Represents a 4-component floating point color.
Definition: AColor.h:27
Definition: AStylesheet.h:21
A std::vector with AUI extensions.
Definition: AVector.h:38
An std::weak_ptr with AUI extensions.
Definition: SharedPtrTypes.h:177