xosd - X on-screen display library
Contents
Bugs
No known bugs at the moment. There are probably functions that aren't listed here.
Bug reports can be sent to tnw13@cosc.canterbury.ac.nzDescription
xosd is a library for displaying an on-screen display (like the one on many TVs) on your X display. Each
function should have it's own manpage.
The latest version can be found on http://www.ignavus.net/software.html
It is distributed under the GNU General Public License.
Example
#include <xosd.h>
int main (int argc, char *argv[])
{
xosd *osd;
osd = xosd_create (1);
xosd_set_font(osd, "fixed");
xosd_set_colour(osd, "LawnGreen");
xosd_set_timeout(osd, 3);
xosd_set_shadow_offset(osd, 1);
xosd_display (osd, 0, XOSD_string, "Example XOSD output");
xosd_wait_until_no_display(osd);
xosd_uninit (osd);
return EXIT_SUCCESS;
}
Name
xosd - X on-screen display library
See Also
More information on the X OSD Library and its author can be found on
http://www.ignavus.net/software.html. Each function has its own man-page. See there for more
information.
X OSD Library December 2000 XOSD(3)
Synopsis
#include<xosd.h>xosd*xosd_create(intnumber_lines);intxosd_uninit(xosd*osd);intxosd_display(xosd*osd,intline,xosd_commandcommand,...);intxosd_is_onscreen(xosd*osd);intxosd_wait_until_no_display(xosd*osd);intxosd_hide(xosd*osd);intxosd_show(xosd*osd);intxosd_set_pos(xosd*osd,xosd_pospos);intxosd_set_vertical_offset(xosd*osd,intoffset);intxosd_set_horizontal_offset(xosd*osd,intoffset);intxosd_set_align(xosd*osd,xosd_alignalign)intxosd_set_shadow_offset(xosd*osd,intshadow_offset);intxosd_set_timeout(xosd*osd,inttimeout);intxosd_set_font(xosd*osd,char*font);intxosd_set_colour(xosd*osd,char*colour);intxosd_get_colour(xosd*osd,int*red,int*green,int*blue);intxosd_scroll(xosd*osd,intlines);intxosd_get_number_lines(xosd*osd);intscreen_count(xosd*osd);xosd*xosd_clone(xosd*osd2);intxosd_monitor(xosd*osd,intmonitor);intxosd_set_shadow_direction(xosd*osd,intshadow_direction);intdisplay_info();
