xosd_set_colour — Change the colour of the data displayed the XOSD window
#include <xosd.h>
int xosd_set_colour( | xosd * | osd, |
const char * | colour) ; |
xosd_set_colour changes the colour of all the text and graphics displayed in the XOSD window. By default the colour is "green". xosd_set_colour will change the colour of the text and graphics to white if it could not change to the specified colour.
The XOSD window to query.
The colour of the text and graphics displayed in the XOSD window. The colour can be specified by name, such as "green", or by a hexadecimal colour specifier, such as "#5eff72". (For a complete list of valid colour names see the file rgb.txt in you X11 distribution.)
On success a zero is returned. On error -1 is returned and xosd_error is set to indicate the reason for the error.
A string describing the error, if one occurred.
A list of all valid colour names. It is normally distributed as part of X11.