RadioButto

RadioButtoSetColorSpec

Set the colors used to draw the radio button

Syntax

Signature
xBool           RadioButtoSetColorSpec( RadioButto *radioButto, const char *colorSpec );

Arguments

radioButto the radio button.

colorSpec a comma-separated color string to copy, or NULL to restore defaults based on the current SetColor() setting.

Return value

T on success, or F if the object is NULL.

Description

Entries 1 and 2 color the unselected and selected button without focus. Entries 3 and 4 color the unselected and selected button with focus. Entry 5 colors the caption text. Entries 6 and 7 color its accelerator without and with focus.

With the initial `SetColor()` value, the default is `W/N,W+/N,W+/N,N/W,W/N,W/N,W+/N`. With a custom `SetColor()` value, the button takes entries 5, 5, 2, 2, 1, 1 and 4. A missing entry uses the first color.

See also