SetVirtualButtonColor
Description
Sets the color of the virtual button at the given index. By default buttons are greyscale so that they can accept various colors. Colors should be specified in the range 0-255.
Definition
SetVirtualButtonColor( index, red, green, blue )
void agk::SetVirtualButtonColor( uint32_t index, uint32_t red, uint32_t green, uint32_t blue )
Parameters
- index - The ID of the virtual button to set.
- red - The red component of the new color.
- green - The green component of the new color.
- blue - The blue component of the new color.