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

Class defining the render base. More...

#include <touch_gva.h>

Inheritance diagram for gva::Hotspot:
Inheritance graph
Collaboration diagram for gva::Hotspot:
Collaboration graph

Public Member Functions

 Hotspot (GvaFunctionGroupEnum groupId, uint32_t x, uint32_t y)
 Construct a new Hotspot object.
 
 Hotspot (GvaFunctionGroupEnum groupId, uint32_t binding, uint32_t x, uint32_t y, uint32_t width, uint32_t height)
 Construct a new Hotspot object.
 
GvaFunctionGroupEnum GetGroupId () const
 Get the Group Id attribute.
 
uint32_t GetBinding () const
 Get the Binding attribute.
 
- Public Member Functions inherited from gva::RenderBase
 RenderBase ()=default
 Construct a new Render Base object.
 
 RenderBase (uint32_t x, uint32_t y)
 Construct a new Render Base object.
 
 RenderBase (uint32_t x, uint32_t y, uint32_t width)
 Construct a new Render Base object.
 
 RenderBase (uint32_t x, uint32_t y, uint32_t width, uint32_t height)
 Construct a new Render Base object.
 
uint32_t GetX () const
 Get the X attribute.
 
uint32_t GetY () const
 Get the Y attribute.
 
uint32_t GetWidth () const
 Get the Width attribute.
 
uint32_t GetHeight () const
 Get the Height attribute.
 

Detailed Description

Class defining the render base.

Constructor & Destructor Documentation

◆ Hotspot() [1/2]

gva::Hotspot::Hotspot ( GvaFunctionGroupEnum  groupId,
uint32_t  x,
uint32_t  y 
)
inline

Construct a new Hotspot object.

Parameters
groupIdThe group ID for this hotspot
xThe pixel position of the hotspot on the X axis
yThe pixel position of the hotspot on the Y axis

◆ Hotspot() [2/2]

gva::Hotspot::Hotspot ( GvaFunctionGroupEnum  groupId,
uint32_t  binding,
uint32_t  x,
uint32_t  y,
uint32_t  width,
uint32_t  height 
)
inline

Construct a new Hotspot object.

Parameters
groupIdThe group ID for this hotspot
bindingThe binding ID for this hotspot
xThe pixel position of the hotspot on the X axis
yThe pixel position of the hotspot on the Y axis
widthThe width of the hotspot
heightThe height of the hotspot

Member Function Documentation

◆ GetBinding()

uint32_t gva::Hotspot::GetBinding ( ) const
inline

Get the Binding attribute.

Returns
uint32_t

◆ GetGroupId()

GvaFunctionGroupEnum gva::Hotspot::GetGroupId ( ) const
inline

Get the Group Id attribute.

Returns
GvaFunctionGroupEnum

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