1xosd_set_shadow_offset(3xosd)                    xosd_set_shadow_offset(3xosd)
2
3
4

NAME

6       xosd_set_shadow_offset - Change the shadow-offset of the XOSD window
7

SYNOPSIS

9       #include <xosd.h>
10
11       int xosd_set_shadow_offset (xosd* osd, int shadow_offset);
12

DESCRIPTION

14       To  increase  readability  (and  'cos  it looks cool) a black shadow is
15       drawn beneath the main XOSD window.  xosd_set_shadow_offset changes the
16       size  of  this  shadow by altering how many pixels the shadow is offset
17       (to the bottom-right) from the main display.  One to four  pixels  usu‐
18       ally is sufficient to get a good effect.
19
20

ARGUMENTS

22       osd       The on-screen display object to act on.
23
24       shadow_offset
25                 Offset of black shadow from main text, in pixels.
26

RETURN VALUE

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

SEE ALSO

31       xosd_init(3xosd), xosd_display(3xosd)
32
33
34
35X OSD Library                     2002-06-25     xosd_set_shadow_offset(3xosd)
Impressum