Changes between Version 2 and Version 3 of UI
- Timestamp:
- 05/31/13 18:05:27 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UI
v2 v3 14 14 15 15 {{{#!lua 16 default = { 16 -- some_name.style.lua 17 ["default"] = { 17 18 text_color = { 0.3, 0.3, 0.3, 1.0 }, 18 19 background_color = { 0.0, 0.0, 0.0, 1.0 }, … … 20 21 background_stretch = 21 22 } 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 22 44 }}}