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