File builtin/vn/screens.lua

Functions

setViewportScrollBar (viewport, horizontal, pad, images) Adds a visible scroll bar to an existing viewport


Functions

setViewportScrollBar (viewport, horizontal, pad, images)
Adds a visible scroll bar to an existing viewport

Parameters:

  • viewport: The viewport to change the scrollbar of.
  • horizontal: A boolean true/false whether to change the horizontal or vertical scrollbar.
  • pad: A table containing top, right, bottom, left fields to determine the amount of empty space that should be reserved around the scrollbar.
  • images: A table containing image paths or textures to use for the scrollbar and/or fading edges: (scrollBG, scrollThumb, fadeUp, fadeDown).

Valid XHTML 1.0!