logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

xosd_set_shadow_offset - Change the shadow-offset of the XOSD window

Arguments

osd       The on-screen display object to act on.

       shadow_offset
                 Offset of black shadow from main text, in pixels.

Description

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

Name

       xosd_set_shadow_offset - Change the shadow-offset of the XOSD window

Return Value

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

See Also

xosd_init(3), xosd_display(3).

X OSD Library                                      2002-06-25                          xosd_set_shadow_offset(3)

Synopsis

#include<xosd.h>intxosd_set_shadow_offset(xosd*osd,intshadow_offset);

See Also