-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Milestone
Description
Features
- All options inherited from BaseOption
- Submenus
- Submenus have an enum id they identify by
- Keyboard input
- Header image
DisabledOption
- Greyed out
- Skipped over when selected
- Only disabled options is handled
ExecuteOption
- Takes function ptr as callback
LabelOption
- Skipped over when selected
- Only label options is handled
ListOption
- Accept vector as list
- Take ref to list and idx
- Also need a version which support a toggle
NumberOption
- Take in T* value, T step, T min, T max
- Wrap around when at max/min
- Also need a version which support a toggle
SubmenuOption
- Take in sub enum id to navigate to
- Switch active sub
ToggleOption
- take in a bool* to invert on switch