| Reference Manual - 1.4.13
IDirectFBWindow | SetColor

#### Set the window color, or colorises the window.

DFBResult SetColor (
| IDirectFBWindow |  | * | thiz,
| u8 |  |  | r,
| u8 |  |  | g,
| u8 |  |  | b,
| u8 |  |  | a
);

In case you specified DWCAPS_COLOR, this sets the window draw color. In case you didn't, it colorises the window with this color; this will darken the window. no DWCAPS_COLOR and an opacity of 0 means: no effect.

| This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License