Jazz2::UI::Menu::RescaleModeSection class

Rescale mode selection menu section.

Lists the available screen rescaling and upscaling filter modes (such as pixel-perfect, the upscaling filters, and the CRT effects) and lets the player choose one.

Base classes

template<class TItem>
class ScrollableMenuSection<RescaleModeItem>
Simplifies creation of unified scrollable menu sections.

Constructors, destructors, conversion operators

RescaleModeSection()
Creates a new instance.

Public functions

void OnDraw(Canvas* canvas) override
Called when the section should be drawn — the bottom background layer.

Protected functions

void OnExecuteSelected() override
Called when the selected item should be executed.
void OnDrawItem(Canvas* canvas, ListViewItem& item, std::int32_t& charOffset, bool isSelected) override
Called when an item should be drawn.