GraphicsOptionsSection class
Graphics options menu section.
Lists the graphics and video settings, such as rescale mode, resolution, antialiasing, and lighting quality.
Base classes
-
template<class TItem>class ScrollableMenuSection<GraphicsOptionsItem>
- Simplifies creation of unified scrollable menu sections.
Constructors, destructors, conversion operators
- GraphicsOptionsSection()
- Creates a new instance.
- ~GraphicsOptionsSection()
Public functions
Protected functions
- void OnHandleInput() override
- Called when input should be handled.
- void OnLayoutItem(Canvas* canvas, ListViewItem& item) override
- Called when an item layout should be calculated.
-
void OnDrawItem(Canvas* canvas,
ListViewItem& item,
std::
int32_t& charOffset, bool isSelected) override - Called when an item should be drawn.
- void OnExecuteSelected() override
- Called when the selected item should be executed.