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( UINT index, UINT red, UINT green, UINT 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.