Jazz2::UI::Menu::TouchControlsOptionsSection class

Touch controls options menu section.

Lets the player configure the on-screen touch controls layout by dragging, resizing, and re-anchoring the individual buttons in a live preview.

Base classes

class MenuSection
Base class of a menu section.

Constructors, destructors, conversion operators

TouchControlsOptionsSection()
Creates a new instance.
~TouchControlsOptionsSection()

Public functions

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.