VX++ Framework (VxCpp.dll)
Friendly Voxon development with classes
Public Attributes | List of all members
touchkey_t Struct Reference

Manages custom touch keys displayed on the 2D secondary (touch) screen. More...

#include <vxDataTypes.h>

Public Attributes

char * st
 string to display. Arrows use special string code: 0xcb,0xcd,0xc8,0xd0 (up,down,left,right respectively) following by null terminator.
 
int x0
 left most pixel position of button's rectangle
 
int y0
 top most pixel position of button's rectangle
 
int xs
 size (how wide) in pixels for the button's rectangle
 
int ys
 size (how tall) in pixels for the button's rectangle
 
int fcol
 foreground color (24-bit hex 0xRBG value 0xff0000 = Red)
 
int bcol
 background color (24-bit hex 0xRBG value 0xff0000 = Red). Use -1 for transparent background.
 
int keycode
 keyboard scan code of button. use extended scancodes for visual feedback More...
 

Detailed Description

Manages custom touch keys displayed on the 2D secondary (touch) screen.

To make use of this struct in Voxon development see VoxieBox::touchAddKey

Member Data Documentation

◆ keycode

int touchkey_t::keycode

keyboard scan code of button. use extended scancodes for visual feedback

See also
inputTypes.h::Keys for list of scancodes. Special keycodes for mouse: Mouse:0x0000, LBut:0x0001, RBut:0x0002, MBut:0x0003

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