62 const Color *
const color2)
68 #define addColor(name, color) \
69 model->add(name, &widget->getThemeColor(ThemeColorId::color, 255U), \
70 &widget->getThemeColor(ThemeColorId::color##_OUTLINE, 255U))
75 if (widget ==
nullptr)
std::vector< ColorPair > mColors
void add(const std::string &name, const Color *const color1, const Color *const color2)
static ColorModel * createDefault(const Widget2 *const widget)
int getNumberOfElements()
const ColorPair * getColorAt(const int i) const
std::string getElementAt(int i)
#define addColor(name, color)
std::map< std::string, DyeColor > mColors