Jazz2::UI::Menu::SoundsOptionsSection class

Sounds options menu section.

Lets the player adjust the audio settings, namely the master, sound effects, and music volumes.

Base classes

class MenuSection
Base class of a menu section.

Constructors, destructors, conversion operators

SoundsOptionsSection()
Creates a new instance.
~SoundsOptionsSection() override

Public functions

void OnShow(IMenuContainer* root) override
Called when the section is shown.
void OnUpdate(float timeMult) override
Called when the section should be updated.
void OnDraw(Canvas* canvas) override
Called when the section should be drawn — the bottom background layer.
void OnTouchEvent(const nCine::TouchEvent& event, Vector2i viewSize) override
Called when a touch event is triggered.