window_message: animació d'entrada i eixida de la finestra
This commit is contained in:
@@ -28,13 +28,14 @@ DefineButtons::DefineButtons()
|
||||
config.border_color = Color{100, 150, 200, 255}; // Borde azul claro
|
||||
config.title_color = Color{100, 150, 200, 255}; // Titulo azul claro
|
||||
config.text_color = Color{220, 220, 220, 255}; // Texto gris claro
|
||||
config.padding = 15.0f;
|
||||
config.line_spacing = 5.0f;
|
||||
config.padding = 15.0F;
|
||||
config.line_spacing = 5.0F;
|
||||
config.title_separator_spacing = 15;
|
||||
config.min_width = 250.0f;
|
||||
config.text_safety_margin = 15.0f;
|
||||
config.min_width = 250.0F;
|
||||
config.text_safety_margin = 15.0F;
|
||||
config.min_width = 100;
|
||||
config.min_height = 32;
|
||||
config.animation_duration = 0.5F;
|
||||
|
||||
auto text_renderer = Resource::get()->getText("04b_25_flat");
|
||||
window_message_ = std::make_unique<WindowMessage>(
|
||||
@@ -157,8 +158,6 @@ void DefineButtons::checkEnd() {
|
||||
if (window_message_) {
|
||||
window_message_->clearTexts();
|
||||
window_message_->addText(Lang::getText("[DEFINE_BUTTONS] CONFIGURATION_COMPLETE"));
|
||||
//window_message_->autoSize();
|
||||
//window_message_->centerOnScreen();
|
||||
}
|
||||
|
||||
// Se deshabilitará desde el ServiceMenu después de un breve delay
|
||||
|
||||
Reference in New Issue
Block a user