ServiceMenu: afegit polimorfisme per a les diferents opcions del menu
This commit is contained in:
@@ -51,6 +51,12 @@ public:
|
||||
void setResizeAnimationSteps(int steps) { resize_anim_steps_ = steps; }
|
||||
|
||||
private:
|
||||
// Definición de las constantes estáticas
|
||||
static constexpr const char *MENU_SOUND_ = "clock.wav";
|
||||
static constexpr size_t OPTIONS_HORIZONTAL_PADDING_ = 20;
|
||||
static constexpr size_t MIN_WIDTH_ = 220;
|
||||
static constexpr size_t MIN_GAP_OPTION_VALUE_ = 20;
|
||||
|
||||
// --- Tipos internos ---
|
||||
using OptionPairs = std::vector<std::pair<std::string, std::string>>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user