DOKK / manpages / debian 11 / libxosd-dev / xosd_set_align.3.en
xosd_set_pos(3) Library Functions Manual xosd_set_pos(3)

xosd_set_align - Change the alignment of the XOSD window

#include <xosd.h>

int xosd_set_align (xosd* osd, xosd_align align);

xosd_set_align changes the alignment of the XOSD window, which is left aligned by default.

The on-screen display object to act on.
One of XOSD_left , XOSD_center or XOSD_right (for the left, center or right of the screen respectively).

On success, a zero is returned. On error, -1 is returned.

xosd_init(3), xosd_set_offset(3), xosd_set_pos(3), xosd(3).

2002-06-25 X OSD Library