![]() |
Vivoe Lite 0.5.0
Lightweight GVA like HMI for military displays.
|
Class defining the touch screen events. More...
#include <touch_gva.h>

Public Member Functions | |
| GvaStatusTypes | Add (GvaFunctionGroupEnum groupId, uint32_t x, uint32_t y) |
| Construct a new Touch Gva object. | |
| GvaStatusTypes | Add (GvaFunctionGroupEnum groupId, uint32_t binding, uint32_t x, uint32_t y, uint32_t width, uint32_t height) |
| Construct a new Touch Gva object. | |
| GvaStatusTypes | AddAbsolute (GvaFunctionGroupEnum groupId, uint32_t binding, uint32_t x, uint32_t y, uint32_t xx, uint32_t yy) |
| Construct a new Touch Gva object. | |
| void | SetResolution (uint32_t x, uint32_t y) |
| Set the Resolution attribute. | |
| void | Reset () |
| Reset all the hotspots. | |
| bool | Check (GvaFunctionGroupEnum groupId, uint32_t *binding, uint32_t x, uint32_t y) const |
| Check if a touch event is within a hotspot. | |
Class defining the touch screen events.
| GvaStatusTypes gva::TouchGva::Add | ( | GvaFunctionGroupEnum | groupId, |
| uint32_t | binding, | ||
| uint32_t | x, | ||
| uint32_t | y, | ||
| uint32_t | width, | ||
| uint32_t | height | ||
| ) |
Construct a new Touch Gva object.
| groupId | The group ID for this hotspot |
| binding | The binding ID for this hotspot |
| x | The pixel position of the hotspot on the X axis |
| y | The pixel position of the hotspot on the Y axis |
| width | The width of the hotspot |
| height | The height of the hotspot |
| GvaStatusTypes gva::TouchGva::Add | ( | GvaFunctionGroupEnum | groupId, |
| uint32_t | x, | ||
| uint32_t | y | ||
| ) |
Construct a new Touch Gva object.
| groupId | The group ID for this hotspot |
| x | The pixel position of the hotspot on the X axis |
| y | The pixel position of the hotspot on the Y axis |
| GvaStatusTypes gva::TouchGva::AddAbsolute | ( | GvaFunctionGroupEnum | groupId, |
| uint32_t | binding, | ||
| uint32_t | x, | ||
| uint32_t | y, | ||
| uint32_t | xx, | ||
| uint32_t | yy | ||
| ) |
Construct a new Touch Gva object.
| groupId | The group ID for this hotspot |
| binding | The binding ID for this hotspot |
| x | The pixel position of the hotspot on the X axis, top right |
| y | The pixel position of the hotspot on the Y axis, top right |
| xx | The pixel position of the hotspot on the X axis, bottom left |
| yy | The pixel position of the hotspot on the Y axis, bottom left |
| bool gva::TouchGva::Check | ( | GvaFunctionGroupEnum | groupId, |
| uint32_t * | binding, | ||
| uint32_t | x, | ||
| uint32_t | y | ||
| ) | const |
Check if a touch event is within a hotspot.
| groupId | The group ID for this hotspot |
| binding | The binding ID for this hotspot |
| x | The pixel position of the touch event on the x axis |
| y | The pixel position of the touch event on the y axis |
| void gva::TouchGva::SetResolution | ( | uint32_t | x, |
| uint32_t | y | ||
| ) |
Set the Resolution attribute.
| x | The screen resolution on the X axis |
| y | The screen resolution on the Y axis |