Jazz2::UI::Menu::CustomLevelSelectSection class

Base classes

class MenuSection
Base class of a menu section.

Constructors, destructors, conversion operators

CustomLevelSelectSection(bool multiplayer = false)
~CustomLevelSelectSection()

Public functions

auto GetClipRectangle(const Recti& contentBounds) -> Recti override
Allows to override clip rectangle of the middle layer.
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 OnDrawClipped(Canvas* canvas) override
Called when the section should be drawn — the middle clipped layer.
void OnTouchEvent(const TouchEvent& event, Vector2i viewSize) override
Called when a touch event is triggered.