canvis cosmetics
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#include "core/rendering/surface.hpp" // Para Surface
|
||||
#include "core/rendering/text.hpp" // Para Text, Text::CENTER_FLAG, Text::COLOR_FLAG
|
||||
#include "core/resources/resource_cache.hpp" // Para Resource
|
||||
#include "game/defaults.hpp" // Para Defaults::Notification
|
||||
#include "game/options.hpp" // Para Options, options, NotificationPosition
|
||||
#include "utils/delta_timer.hpp" // Para DeltaTimer
|
||||
#include "utils/utils.hpp" // Para PaletteColor
|
||||
@@ -23,9 +24,9 @@ Notifier* Notifier::notifier = nullptr;
|
||||
|
||||
// Definición de estilos predefinidos
|
||||
const Notifier::Style Notifier::Style::DEFAULT = {
|
||||
.bg_color = 2,
|
||||
.border_color = 10,
|
||||
.text_color = 10,
|
||||
.bg_color = Defaults::Notification::BG_COLOR,
|
||||
.border_color = Defaults::Notification::BORDER_COLOR,
|
||||
.text_color = Defaults::Notification::TEXT_COLOR,
|
||||
.shape = Notifier::Shape::SQUARED,
|
||||
.text_align = Notifier::TextAlign::CENTER,
|
||||
.duration = 2.0F,
|
||||
@@ -33,9 +34,9 @@ const Notifier::Style Notifier::Style::DEFAULT = {
|
||||
.play_sound = false};
|
||||
|
||||
const Notifier::Style Notifier::Style::CHEEVO = {
|
||||
.bg_color = 6,
|
||||
.border_color = 7,
|
||||
.text_color = 14,
|
||||
.bg_color = Defaults::Notification::CHEEVO_BG_COLOR,
|
||||
.border_color = Defaults::Notification::CHEEVO_BORDER_COLOR,
|
||||
.text_color = Defaults::Notification::CHEEVO_TEXT_COLOR,
|
||||
.shape = Notifier::Shape::SQUARED,
|
||||
.text_align = Notifier::TextAlign::CENTER,
|
||||
.duration = 4.0F,
|
||||
|
||||
Reference in New Issue
Block a user