Jazz2::UI::Menu::FirstRunSection class

First run menu section.

Shown on the first launch to let the player choose between the Legacy and Reforged gameplay presets. Built declaratively on top of WidgetSection, with the choices rendered through CanvasWidget rows.

Base classes

class WidgetSection
Base class of a declarative menu section.

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 OnDraw(Canvas* canvas) override
Called when the section should be drawn — the bottom background layer.

Protected functions

void OnBackPressed() override
Called when the back button is pressed; leaves the section by default.