Changes between Version 1 and Version 2 of UI


Ignore:
Timestamp:
05/31/13 16:59:34 (12 years ago)
Author:
epyon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UI

    v1 v2  
    66
    77Modeled after CSS but using pure lua.
     8
     9Each UI element has:
     10* id value, might not be set
     11* type value, set by type database
     12* class value, might be set by user
     13* special modifier (selected, hover, etc)
     14
     15{{{#!lua
     16default = {
     17  text_color         = { 0.3, 0.3, 0.3, 1.0 },
     18  background_color   = { 0.0, 0.0, 0.0, 1.0 },
     19  background_image   = "source:path/name/file.png",
     20  background_stretch =
     21}
     22}}}