feat(menu): sons de navegació i acceptació al menú de servei
This commit is contained in:
1 parent
0847e9c544
commit
45514ae2f4
9 files changed
+62
No files matched your search
@@ -207,6 +207,12 @@ class ServiceMenu {
|
||||
// mètode propi per a mantenir la complexitat cognitiva d'`handleEvent`
|
||||
// sota el llindar de clang-tidy.
|
||||
void handleGamepadButtonDown(const SDL_GamepadButtonEvent& ev);
|
||||
|
||||
// Sons d'UI: SELECT acompanya navegació (amunt/avall) i back; ACCEPT
|
||||
// acompanya modificació d'opció (esquerra/dreta/retorn). Els noms de
|
||||
// recurs venen d'`UiConfig` i el preload el fa el Director.
|
||||
static void playSelectSound();
|
||||
static void playAcceptSound();
|
||||
[[nodiscard]] auto top() -> Page&;
|
||||
[[nodiscard]] auto topConst() const -> const Page&;
|
||||
[[nodiscard]] static auto isItemVisible(const Item& item) -> bool;
|
||||
|
||||
Reference in new issue
Block a user