table of contents
XOSD_CREATE(3) | XOSD_CREATE(3) |
NAME¶
xosd_create - Create a new XOSD objectSYNOPSIS¶
#include <xosd.h>xosd *xosd_create (int number_lines);
DESCRIPTION¶
xosd_init creates a new xosd window that can be used to display textual or numerical data on a X11 display in a unmanaged, shaped window that appears to be transparent. It provides a similar effect to the on-screen display of many televisions and video recorders.ARGUMENTS¶
- number_lines
- The maximum number of lines of text that the window can display. This value cannot be changed.
RETURN VALUE¶
On success a pointer to a new xosd object is returned, otherwise NULL is returned.ENVIRONMENT¶
- DISPLAY
- The environment variable that determines which X11 display the XOSD window appears.
- char *xosd_error
- A string to a text string describing the error.