13.12.2012 Views

emWin - SEGGER Microcontroller

emWin - SEGGER Microcontroller

emWin - SEGGER Microcontroller

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

278 CHAPTER Colors<br />

GUI_SetBkColor()<br />

Description<br />

Sets the current background color.<br />

Prototype<br />

GUI_COLOR GUI_SetBkColor(GUI_COLOR Color);<br />

Parameter Description<br />

Color Color for background, 24-bit RGB value.<br />

Return value<br />

The selected background color.<br />

GUI_SetBkColorIndex()<br />

Description<br />

Sets the index of the current background color.<br />

Prototype<br />

int GUI_SetBkColorIndex(int Index);<br />

Parameter Description<br />

Index Index of the color to be used.<br />

Return value<br />

The selected background color index.<br />

GUI_SetColor()<br />

Description<br />

Sets the current foreground color.<br />

Prototype<br />

void GUI_SetColor(GUI_COLOR Color);<br />

Parameter Description<br />

Color Color for foreground, 24-bit RGB value.<br />

Return value<br />

The selected foreground color.<br />

GUI_SetColorIndex()<br />

Description<br />

Sets the index of the current foreground color.<br />

Prototype<br />

void GUI_SetColorIndex(int Index);<br />

Parameter Description<br />

Index Index of the color to be used.<br />

Return value<br />

The selected foreground color index.<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!