mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-18 07:05:39 +00:00
Added navigation sound support to GridComponent.
This commit is contained in:
parent
48d86ccea7
commit
b67ce99a0e
|
@ -72,6 +72,11 @@ public:
|
||||||
unsigned int properties) override;
|
unsigned int properties) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
void onScroll() override
|
||||||
|
{
|
||||||
|
if (!NavigationSounds::getInstance().isPlayingThemeNavigationSound(SCROLLSOUND))
|
||||||
|
NavigationSounds::getInstance().playThemeNavigationSound(SCROLLSOUND);
|
||||||
|
}
|
||||||
void onCursorChanged(const CursorState& state) override;
|
void onCursorChanged(const CursorState& state) override;
|
||||||
bool isScrolling() const override { return List::isScrolling(); }
|
bool isScrolling() const override { return List::isScrolling(); }
|
||||||
void stopScrolling() override { List::stopScrolling(); }
|
void stopScrolling() override { List::stopScrolling(); }
|
||||||
|
|
Loading…
Reference in a new issue