afegit window_message a param

This commit is contained in:
2025-08-16 11:24:28 +02:00
parent 81d486f2d3
commit a123b3aa93
7 changed files with 225 additions and 138 deletions

View File

@@ -104,6 +104,23 @@ constexpr const char* TEXT_COLOR = "FFFFFF";
constexpr const char* SELECTED_COLOR = "FFDC44";
constexpr const char* BG_COLOR = "000F00F5";
constexpr bool DROP_SHADOW = false;
// WindowMessage defaults
namespace WindowMessage {
constexpr const char* BG_COLOR = "141E32F0"; // Color(20, 30, 50, 240)
constexpr const char* BORDER_COLOR = "6496C8FF"; // Color(100, 150, 200, 255)
constexpr const char* TITLE_COLOR = "6496C8FF"; // Color(100, 150, 200, 255)
constexpr const char* TEXT_COLOR = "DCDCDCFF"; // Color(220, 220, 220, 255)
constexpr float PADDING = 15.0f;
constexpr float LINE_SPACING = 5.0f;
constexpr float TITLE_SEPARATOR_SPACING = 10.0f; // Cambiado a float
constexpr float MIN_WIDTH = 250.0f;
constexpr float MIN_HEIGHT = 32.0f; // Cambiado a float
constexpr float MAX_WIDTH_RATIO = 0.8f; // Nuevo
constexpr float MAX_HEIGHT_RATIO = 0.8f; // Nuevo
constexpr float TEXT_SAFETY_MARGIN = 15.0f;
constexpr float ANIMATION_DURATION = 0.3f;
} // namespace WindowMessage
} // namespace ServiceMenu
// --- INTRO ---