.\" Hey Emacs! This file is -*- nroff -*- source.
.TH xosd_set_pos 3xosd "2002-06-25" "X OSD Library"
.SH NAME
xosd_set_align \- Change the alignment of the XOSD window
.SH SYNOPSIS
.B #include <xosd.h>
.sp
.BI "int xosd_set_align (xosd* " osd ", xosd_align " align );
.fi
.SH DESCRIPTION
.B xosd_set_align
changes the alignment of the XOSD window, which is left aligned by default.
.SH ARGUMENTS
.IP \fIosd\fP 1i
The on-screen display object to act on.
.IP \fIpos\fP 1i
One of
.B XOSD_left
,
.B XOSD_center
or
.B XOSD_right
(for the left, center or right of the screen respectively).
.SH "RETURN VALUE"
On success, a zero is returned.
On error, \-1 is returned.
.SH "SEE ALSO"
.BR xosd_init (3xosd)
.BR xosd_set_offset (3xosd)
.BR xosd_set_pos (3xosd)
.BR xosd (3xosd)