llevat soport per a colors amb nom
This commit is contained in:
@@ -23,9 +23,9 @@ Notifier* Notifier::notifier = nullptr;
|
||||
|
||||
// Definición de estilos predefinidos
|
||||
const Notifier::Style Notifier::Style::DEFAULT = {
|
||||
.bg_color = static_cast<Uint8>(PaletteColor::BLUE),
|
||||
.border_color = static_cast<Uint8>(PaletteColor::CYAN),
|
||||
.text_color = static_cast<Uint8>(PaletteColor::CYAN),
|
||||
.bg_color = 2,
|
||||
.border_color = 10,
|
||||
.text_color = 10,
|
||||
.shape = Notifier::Shape::SQUARED,
|
||||
.text_align = Notifier::TextAlign::CENTER,
|
||||
.duration = 2.0F,
|
||||
@@ -33,9 +33,9 @@ const Notifier::Style Notifier::Style::DEFAULT = {
|
||||
.play_sound = false};
|
||||
|
||||
const Notifier::Style Notifier::Style::CHEEVO = {
|
||||
.bg_color = static_cast<Uint8>(PaletteColor::MAGENTA),
|
||||
.border_color = static_cast<Uint8>(PaletteColor::BRIGHT_MAGENTA),
|
||||
.text_color = static_cast<Uint8>(PaletteColor::WHITE),
|
||||
.bg_color = 6,
|
||||
.border_color = 7,
|
||||
.text_color = 14,
|
||||
.shape = Notifier::Shape::SQUARED,
|
||||
.text_align = Notifier::TextAlign::CENTER,
|
||||
.duration = 4.0F,
|
||||
|
||||
Reference in New Issue
Block a user