XOSD_SET_SHADOW_DIRECTION(3)
β¨ NAME β¨
xosd_set_shadow_direction β bestie, this is the one that sets the direction of the shadow of the XODS window π
πΈ SYNOPSIS πΈ
#include <xosd.h>
int xosd_set_pos (xosd* osd, shadow_direction int
xosd_set_shadow_direction(xosd *osd, int shadow_direction)
yeah okay the first line up there is literally shaped like that, we don't question it, we just copy it π«Ά
π¦ DESCRIPTION π¦
okay so xosd_set_shadow_direction changes the direction of the XOSD shadow, and the range is 0 to 7. zero means upwards, and from there it just rotates clockwise around. iconic little carousel of shadows, no cap π
and the default? it's 3. that's the vibe you get if you never touch it. periodt.
π ARGUMENTS π
osdβ the on-screen display object ot act on. (yes, "ot". we keep it exactly as the ancestors wrote it, respect the lore π)shadow_directionβ an integer value from 0 to 7. that's the whole assignment bestie, just 0 through 7 β¨
π RETURN VALUE π
- on a success? you get a big fat zero back, slay π
- on error? it's -1, and that's your cue to go "hmm" π
π SEE ALSO π
xosd_set_shadow_offset(3xosd)β go read that one too, it's giving sibling energy π«Ά
that's the whole page, babe β¨ this was the X OSD Library, version date 2022-10-27 β mwah, go forth and shadow-direction responsibly ππ
π¦ where this page comes from
- debian trixie: libxosd-dev 2.2.15-1 Β· GPL-2.0-or-later
- ubuntu questing: libxosd-dev 2.2.15-1.1
- ubuntu resolute: libxosd-dev 2.2.15-1.1build1 Β· GPL-2.0-or-later
- ubuntu stonking: libxosd-dev 2.2.15-1.1build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms