Jazz2::UI::Menu::SimpleMessageSection class

Base classes

class MenuSection
Base class of a menu section.

Constructors, destructors, conversion operators

SimpleMessageSection(StringView message, bool withTransition = false)
SimpleMessageSection(String&& message, bool withTransition = false)

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 OnDrawOverlay(Canvas* canvas) override
Called when the section should be drawn — the top overlay layer.
void OnTouchEvent(const nCine::TouchEvent& event, Vector2i viewSize) override
Called when a touch event is triggered.