Class definition of the Widget Base.
More...
#include <renderer_gva.h>
|
| | 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.
|
| |
|
|
RendererGva & | renderer_ |
| | The GVA renderer.
|
| |
|
uint32_t | x_ |
| | The X pixel position.
|
| |
|
uint32_t | y_ |
| | The Y pixel position.
|
| |
Class definition of the Widget Base.
◆ WidgetBase()
Construct a new Widget Base object.
- Parameters
-
◆ Draw()
| void gva::WidgetBase::Draw |
( |
uint32_t |
x, |
|
|
uint32_t |
y, |
|
|
uint32_t |
width, |
|
|
uint32_t |
height, |
|
|
std::string |
text, |
|
|
uint32_t |
text_colour |
|
) |
| |
- Parameters
-
| x | |
| y | |
| width | |
| height | |
| text | |
| text_colour | |
◆ GetX()
| uint32_t gva::WidgetBase::GetX |
( |
| ) |
const |
|
inline |
Get the X pixel attribute.
- Returns
- uint32_t
◆ GetY()
| uint32_t gva::WidgetBase::GetY |
( |
| ) |
const |
|
inline |
Get the Y pixel attribute.
- Returns
- uint32_t
The documentation for this class was generated from the following file: