![]() |
Vivoe Lite 0.5.0
Lightweight GVA like HMI for military displays.
|
These are at the top of the screen. More...
#include <gva.h>
Data Structures | |
struct | Labels |
Label object. More... | |
Public Member Functions | |
bool | Active (int index) |
Check if the label is active. | |
void | SetEnabledEnabledChanging (int index) |
Set the label to Enabled. | |
void | SetEnabled (int index) |
Set the label to Enabled. | |
void | ResetAllEnabled () |
Reset all LabelStates::kLabelEnabledSelected buttons. | |
void | ResetAllEnabledSelected () |
Reset the label from 'enabled selected' to 'enabled'. | |
void | ResetAllEnabledSelectedChanging () |
Reset and label in the LabelStates::kLabelEnabledSelectedChanging state to LabelStates::kLabelEnabledSelected. | |
![]() | |
bool | IsActive (const LabelStates *state) const |
Check if the label is active. | |
void | StateEnabledSelectedChanging (LabelStates *state) const |
Set the label to EnabledSelectedChanging. | |
void | StateEnabledSelected (LabelStates *state) const |
Set the label to EnabledSelected. | |
void | ResetEnabled (LabelStates *state) const |
Reset the label from 'enabled selected' to 'enabled'. | |
void | ResetEnabledSelected (LabelStates *state) const |
Reset the label from 'enabled selected' to 'enabled'. | |
void | ResetEnabledSelectedChanging (LabelStates *state) const |
Reset the label from 'enabled selected changing' to 'enabled'. | |
Data Fields | |
bool | visible |
The label is visible. | |
std::array< Labels, 6 > | labels |
The labels text. | |
These are at the top of the screen.
struct gva::FunctionKeys::Labels |
Label object.
Data Fields | ||
---|---|---|
LabelStates | state | The label state. |
string | text | The label text. |
bool | toggleActive | True if active. |
bool | toggleOn | toggle on bool |
string | toggleText1 | The label text when toggled on. |
string | toggleText2 | The label text when toggled off. |
|
inline |
Check if the label is active.
index | The index of the label |