13.12.2012 Views

emWin - SEGGER Microcontroller

emWin - SEGGER Microcontroller

emWin - SEGGER Microcontroller

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

666 CHAPTER Window Objects (Widgets)<br />

RADIO_SetBkColor()<br />

Description<br />

Sets the background color of the radio widget.<br />

Prototype<br />

void RADIO_SetBkColor(RADIO_Handle hObj, GUI_COLOR Color);<br />

Additional information<br />

The background of this widget can either be filled with any available color or transparent.<br />

If a valid RGB color is specified, the background is filled with the color, otherwise<br />

the background (typically the content of the parent window) is visible. If the<br />

background is transparent, the widget is treated as transparent window, otherwise as<br />

non-transparent window. Note that using a background color allows more efficient<br />

(faster) rendering.<br />

RADIO_SetDefaultFocusColor()<br />

Description<br />

Sets the default focus rectangle color for new radio buttons.<br />

Prototype<br />

GUI_COLOR RADIO_SetDefaultFocusColor(GUI_COLOR Color);<br />

Return value<br />

Previous default focus rectangle color.<br />

Additional information<br />

For more information, refer to “RADIO_SetFocusColor()” on page 668.<br />

RADIO_SetDefaultFont()<br />

Description<br />

Before After<br />

Parameter Description<br />

hObj Handle of radio button widget.<br />

Color to be used for the background.<br />

Color<br />

(range 0x000000 and 0xFFFFFF or a valid color define)<br />

GUI_INVALID_COLOR to make background transparent<br />

Parameter Description<br />

Color Default color to be used for new radio buttons.<br />

Sets the default font used to display the optional text next to new radio buttons.<br />

UM03001 User & Reference Guide for <strong>emWin</strong> V5.18 © 1997 - 2012 <strong>SEGGER</strong> <strong>Microcontroller</strong> GmbH & Co. KG

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!