I forgot to add this lol

This commit is contained in:
GabsPuNs
2026-05-13 06:34:29 -04:00
parent dbb0460c69
commit d74d5b79c0
2 changed files with 11 additions and 0 deletions

View File

@@ -120,3 +120,13 @@ void UIScene_SettingsAudioMenu::handleSliderMove(F64 sliderId, F64 currentValue)
break;
}
}
void UIScene_SettingsAudioMenu::handleCheckboxToggled(F64 controlId, bool selected)
{
switch(static_cast<int>(controlId))
{
case eControl_CaveSounds:
app.SetGameSettings(m_iPad, eGameSetting_CaveSounds, selected ? 1 : 0);
break;
}
}

View File

@@ -38,4 +38,5 @@ public:
virtual void handleInput(int iPad, int key, bool repeat, bool pressed, bool released, bool &handled);
virtual void handleSliderMove(F64 sliderId, F64 currentValue);
virtual void handleCheckboxToggled(F64 controlId, bool selected);
};