Vivoe Lite 0.5.0
Lightweight GVA like HMI for military displays.
Loading...
Searching...
No Matches
widget_types.h
Go to the documentation of this file.
1//
2// Copyright (c) 2023, DefenceX PTY LTD
3//
4// This file is part of the VivoeX project developed by DefenceX.
5//
6// Licensed under the Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)
7// License. See the LICENSE file in the project root for full license details.
8//
12
13#ifndef HMICORE_WIDGETS_WIDGET_TYPES_H_
14#define HMICORE_WIDGETS_WIDGET_TYPES_H_
15namespace gva::widget {
16
21enum class KeyboardModeType { kKeyboardLower = 0, kKeyboardUpper, kKeyboardNumbers };
22
27enum class CellAlignType { kAlignLeft = 0, kAlignCentre, kAlignRight };
28
33enum class WeightType { kWeightNormal = 0, kWeightBold, kWeightItalic };
34
39enum class WidgetEnum {
40 KWidgetTypeCanvas,
41 KWidgetTypeVideo,
42 KWidgetTypeStatusBar,
43 KWidgetTypeObjectLocalisation,
44 KWidgetTypeCompass,
45 KWidgetTypeKeyboard,
46 KWidgetTypeAlarmIndicator,
47 KWidgetTypeTopLabels,
48 KWidgetTypeBottomLabels,
49 KWidgetTypeLeftLabels,
50 KWidgetTypeRightLabels,
51 KWidgetTypeMode,
52 KWidgetTypeTable,
53 KWidgetTypeMessageBox,
54 KWidgetTypeTableDynamic,
55 kWidgetTypeDialSpeedometer,
56 KWidgetTypeDialRpmFuel,
57 KWidgetTypeBatteryBar,
58};
59
64enum class ModeEnum {
65 kPpiClassicTankWithSight,
66 kPpiClassicTankWithoutSight,
67 kPpiClassicArrowWithSight,
68 kPpiClassicArrowWithoutSight,
69 kPpiModernTankWithSights,
70 kPpiModernTankWithoutSights
71};
72
77enum class DialType { kDialSpeedKph, kDialSpeedMph };
78
83enum class IconType {
84 kIconNone = 0,
85 kIconUpArrow,
86 kIconDownArrow,
87 kIconRightArrow,
88 kIconLeftArrow,
89 kIconUpArrowOutline,
90 kIconDownArrowOutline,
91 kIconLeftArrowOutline,
92 kIconRightArrowOutline,
93 kIconPlus,
94 kIconMinus,
95 kIconEnter,
96 kIconRotateLeft,
97 kIconRotateRight,
98 kIconPowerOff,
99 kIconLocation,
100 kIconWarning,
101 kIconError,
102 kIconInfo,
103 kIconCentre,
104 kIconWaterfallSight,
105 kIconWCrossSight
106};
107
114 int red;
116 int green;
118 int blue;
119};
120
121} // namespace gva::widget
122
123#endif // HMICORE_WIDGETS_WIDGET_TYPES_H_
Generic colour structure without alpha value.
Definition widget_types.h:112
int blue
Blue intensity value.
Definition widget_types.h:118
int red
Red intensity value.
Definition widget_types.h:114
int green
Green intensity value.
Definition widget_types.h:116
KeyboardModeType
The various types of keyboard input (see WidgetKeyboard)
Definition widget_types.h:21
WeightType
The line weight for boxes and tables.
Definition widget_types.h:33
WidgetEnum
The different types of widget currently available for display.
Definition widget_types.h:39
CellAlignType
Table (see WidgetTable) cell alignment.
Definition widget_types.h:27
IconType
All available types of icon.
Definition widget_types.h:83
DialType
The different dial types.
Definition widget_types.h:77
ModeEnum
The Plan Position Indicator modes, different visual styles.
Definition widget_types.h:64