SCIMBridge  0.4.x

◆ scim_bridge_attribute_set_color()

void scim_bridge_attribute_set_color ( ScimBridgeAttribute attribute,
unsigned int  red,
unsigned int  green,
unsigned int  blue 
)

Set the color of the attribute.
The color value will be ignored when the attribute type is not ATTRIBUTE_FOREGROUND nor ATTRIBUTE_BACKGROUND.

Parameters
attributeThe attribute.
redThe red value, from 0x0 to 0xFF.
greenThe green value, from 0x0 to 0xFF.
blueThe blue value, from 0x0 to 0xFF.

Referenced by scim_bridge_attribute_set_blue(), scim_bridge_attribute_set_green(), and scim_bridge_attribute_set_red().