Pop.Box/Skins.md
2016-01-20 14:34:25 -08:00

722 B

Skins

Skins are simply tables containing information on how to draw elements that have been assigned them. Skins are loaded from Pop's skins directory when you require it.

  • background - A Drawable drawn before the foreground, or if a table, assumed to be a color and that color is used (if false, is ignored).
  • foreground - A Drawable drawn after the background, or if a table, assumed to be a color and that color is used (if false, is ignored).
  • draw(element) - If defined, will be used to render an element instead of the standard drawing method.

TODO various text style infos!