ServiceMenu: animacions acabades

This commit is contained in:
2025-06-13 20:52:33 +02:00
parent f0e565feaf
commit ac2e2687a2
2 changed files with 18 additions and 19 deletions

View File

@@ -46,7 +46,7 @@ private:
static constexpr const char *MENU_SOUND_ = "clock.wav"; // Sonido al navegar por el menú
static constexpr size_t OPTIONS_HORIZONTAL_PADDING_ = 20; // Relleno horizontal de las opciones
static constexpr size_t MIN_WIDTH_ = 240; // Anchura mínima del menu
static constexpr size_t MIN_GAP_OPTION_VALUE_ = 20; // Espacio mínimo entre una opción y su valor
static constexpr size_t MIN_GAP_OPTION_VALUE_ = 30; // Espacio mínimo entre una opción y su valor
// --- Enumeraciones internas ---
enum class Aspect
@@ -244,9 +244,8 @@ private:
void updateResizeAnimation();
// --- Métodos internos: Cálculo de anchos ---
void precalculateMenuWidths();
int getMenuWidthForGroup(SettingsGroup group) const;
void precalculateMenuWidths();
int getMenuWidthForGroup(SettingsGroup group) const;
// --- Patrón Singleton ---
ServiceMenu(); // Constructor privado