![]() |
Vivoe Lite 0.5.0
Lightweight GVA like HMI for military displays.
|
Class definition of the Widget Function Select. More...
#include <renderer_gva.h>
Public Member Functions | |
void | Toggle (const std::string &label1, const std::string &label2) |
Set the toggle states. | |
![]() | |
WidgetBase (RendererGva &renderer) | |
Construct a new Widget Base object. | |
void | Draw (uint32_t x, uint32_t y, uint32_t width, uint32_t height, std::string text, uint32_t text_colour) |
uint32_t | GetX () const |
Get the X pixel attribute. | |
uint32_t | GetY () const |
Get the Y pixel attribute. | |
Additional Inherited Members | |
![]() | |
RendererGva & | renderer_ |
The GVA renderer. | |
uint32_t | x_ |
The X pixel position. | |
uint32_t | y_ |
The Y pixel position. | |
Class definition of the Widget Function Select.
void gva::WidgetFunctionKeyToggle::Toggle | ( | const std::string & | label1, |
const std::string & | label2 | ||
) |
Set the toggle states.
label1 | The first toggle state text |
label2 | The second toggle state text |