0.2.0
|
Combo representing an enumeration. More...
Go to the source code of this file.
Functions | |
template<typename T > | |
bool | NAV::gui::widgets::EnumComboAbbreviation (const char *label, T &enumeration, size_t startIdx=0) |
Combo representing an enumeration and use abbreviations to display in the preview. | |
Combo representing an enumeration.
bool NAV::gui::widgets::EnumComboAbbreviation | ( | const char * | label, |
T & | enumeration, | ||
size_t | startIdx = 0 ) |
Combo representing an enumeration and use abbreviations to display in the preview.
T | Enumeration Type |
[in] | label | Label to show beside the combo box. This has to be a unique id for ImGui. |
[in] | enumeration | Reference to the enumeration variable to select |
[in] | startIdx | Start Index in the enum (so skip first items) |