Getting and Setting Attributes


There are eleven attributes of an XOSD window that can altered:

  • The vertical position,

  • The vertical offset,

  • The horizontal alignment,

  • The horizontal indent,

  • The size of the shadow,

  • The size of the outline,

  • The colour of the outline,

  • The colour used to display data,

  • The font used to display text,

  • The length of percentage bars, and

  • How long the XOSD window remains visible.

Table of Contents

xosd_set_pos - Change the vertical position of the XOSD window
xosd_set_align - Change the horizontal position of the XOSD window
xosd_set_vertical_offset - Change the vertical offset of the XOSD window
xosd_set_horizontal_offset - Change the horizontal offset of the XOSD window
xosd_set_colour - Change the colour of the data displayed the XOSD window
xosd_get_colour - Get the colour of the data displayed the XOSD window
xosd_set_shadow_offset - Change the shadow-offset of the XOSD window
xosd_set_outline_offset - Change the size of the outline of the data displayed in the XOSD window
xosd_set_outline_colour - Change the outline colour of the data displayed the XOSD window
xosd_set_font - Change the font used by the XOSD window
xosd_set_timeout - Change the time before the XOSD window is hidden
xosd_get_number_lines - Get the number of lines able to be shown by the XOSD window
xosd_set_bar_length - Change the length of the percentage bar or slider