Changes between Version 2 and Version 3 of UI


Ignore:
Timestamp:
05/31/13 18:05:27 (12 years ago)
Author:
epyon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UI

    v2 v3  
    1414
    1515{{{#!lua
    16 default = {
     16-- some_name.style.lua
     17["default"] = {
    1718  text_color         = { 0.3, 0.3, 0.3, 1.0 },
    1819  background_color   = { 0.0, 0.0, 0.0, 1.0 },
     
    2021  background_stretch =
    2122}
     23
     24-- class definition
     25[".redclass"] = {
     26  text_color         = { 1.0, 0.3, 0.3, 1.0 },
     27}
     28
     29-- type definition
     30["button"] = {
     31  border_color = SILVER, -- constant colors
     32}
     33
     34-- modifier definition, with class
     35["button:hover"] = {
     36  border_color = RED, -- constant colors
     37}
     38
     39-- id definition (no need for additional because unique!
     40["#mybutton"] = {
     41  border_width = 3,
     42}
     43
    2244}}}