Skip to content

Interaction menu style ui #18

@X-rays5

Description

@X-rays5

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

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions