Vivoe Lite 0.5.0
Lightweight GVA like HMI for military displays.
Loading...
Searching...
No Matches
gva::WidgetFunctionKeyToggle Class Reference

Class definition of the Widget Function Select. More...

#include <renderer_gva.h>

Inheritance diagram for gva::WidgetFunctionKeyToggle:
Inheritance graph
Collaboration diagram for gva::WidgetFunctionKeyToggle:
Collaboration graph

Public Member Functions

void Toggle (const std::string &label1, const std::string &label2)
 Set the toggle states.
 
- Public Member Functions inherited from gva::WidgetBase
 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

- Data Fields inherited from gva::WidgetBase
RendererGvarenderer_
 The GVA renderer.
 
uint32_t x_
 The X pixel position.
 
uint32_t y_
 The Y pixel position.
 

Detailed Description

Class definition of the Widget Function Select.

Member Function Documentation

◆ Toggle()

void gva::WidgetFunctionKeyToggle::Toggle ( const std::string &  label1,
const std::string &  label2 
)

Set the toggle states.

Parameters
label1The first toggle state text
label2The second toggle state text

The documentation for this class was generated from the following file: