class
#include <Jazz2/UI/Menu/FirstRunSection.h>
FirstRunSection
Base classes
-
template<class TItem>class ScrollableMenuSection<FirstRunItem>
- Simplifies creation of unified scrollable menu sections.
Constructors, destructors, conversion operators
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.
Private functions
- void OnLayoutItem(Canvas* canvas, ListViewItem& item) override
-
void OnDrawItem(Canvas* canvas,
ListViewItem& item,
std::
int32_t& charOffset, bool isSelected) override - void OnBackPressed() override
- void OnSelectionChanged(ListViewItem& item) override
- void OnExecuteSelected() override