Jazz2::UI::Menu::OptionsSection class

Base classes

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

Constructors, destructors, conversion operators

OptionsSection()

Public functions

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

Private functions

void OnLayoutItem(Canvas* canvas, ListViewItem& item) override
void OnDrawItem(Canvas* canvas, ListViewItem& item, std::int32_t& charOffset, bool isSelected) override
void OnExecuteSelected() override