lib/cyberarm_engine/ui/theme.rb in cyberarm_engine-0.17.1 vs lib/cyberarm_engine/ui/theme.rb in cyberarm_engine-0.18.0
- old
+ new
@@ -62,10 +62,14 @@
border_thickness: 0,
border_color: Gosu::Color::NONE,
border_radius: 0
},
+ Container: { # < Element (Base class for Stack and Flow)
+ debug_color: Gosu::Color::YELLOW
+ },
+
Button: { # < Label
margin: 1,
padding: 4,
border_thickness: 1,
border_color: ["ffd59674".hex, "ffff8746".hex],
@@ -153,12 +157,29 @@
padding_right: 8,
border_thickness: 1,
border_color: 0xffaaaaaa,
background: 0xff404040
},
+ Link: { # < TextBlock
+ color: Gosu::Color::BLUE,
+ border_thickness: 1,
+ border_bottom_color: Gosu::Color::BLUE,
+ hover: {
+ color: 0xff_ff00ff,
+ border_bottom_color: 0xff_ff00ff
+ },
+ active: {
+ color: 0xff_ff0000,
+ border_bottom_color: 0xff_ff0000
+ }
+ },
ToggleButton: { # < Button
checkmark: "√"
+ },
+
+ CheckBox: { # < Flow
+ text_wrap: :none
},
Progress: { # < Element
width: 250,
height: 36,