class
EpisodeSelectSection
Base classes
-
template<class TItem>class ScrollableMenuSection<EpisodeData>
- Simplifies creation of unified scrollable menu sections.
Constructors, destructors, conversion operators
- EpisodeSelectSection(bool multiplayer = false)
Public functions
- 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 OnDrawOverlay(Canvas* canvas) override
- Called when the section should be drawn — the top overlay layer.
- void OnTouchEvent(const TouchEvent& event, Vector2i viewSize) override
- Called when a touch event is triggered.
Private functions
- void OnExecuteSelected() override
-
void OnDrawEmptyText(Canvas* canvas,
std::
int32_t& charOffset) override -
void OnDrawItem(Canvas* canvas,
ListViewItem& item,
std::
int32_t& charOffset, bool isSelected) override - void OnHandleInput() override