lib/cyberarm_engine/ui/theme.rb in cyberarm_engine-0.15.0 vs lib/cyberarm_engine/ui/theme.rb in cyberarm_engine-0.16.0
- old
+ new
@@ -80,10 +80,15 @@
},
active: {
color: Gosu::Color::BLACK,
background: ["ffB23E41".to_i(16)]
+ },
+
+ disabled: {
+ color: Gosu::Color::GRAY,
+ background: 0xff303030
}
},
EditLine: { # < Button
type: :text,
@@ -96,20 +101,60 @@
text_align: :left
},
Image: { # < Element
color: Gosu::Color::WHITE,
+ tileable: false,
retro: false
},
- Label: { # < Element
+ TextBlock: { # < Element
text_size: 28,
- text_wrap: :none, # :word_wrap, :break_word, :none
+ text_wrap: :word_wrap, # :word_wrap, :break_word, :none
text_shadow: false,
text_align: :left,
font: "Arial",
margin: 0,
padding: 2
+ },
+
+ Banner: { # < TextBlock
+ text_size: 48
+ },
+
+ Title: { # < TextBlock
+ text_size: 34
+ },
+
+ Subtitle: { # < TextBlock
+ text_size: 26
+ },
+
+ Tagline: { # < TextBlock
+ text_size: 24
+ },
+
+ Caption: { # < TextBlock
+ text_size: 22
+ },
+
+ Para: { # < TextBlock
+ text_size: 18
+ },
+
+ Inscription: { # < TextBlock
+ text_size: 16
+ },
+
+ ToolTip: { # < TextBlock
+ color: Gosu::Color::WHITE,
+ padding_top: 4,
+ padding_bottom: 4,
+ padding_left: 8,
+ padding_right: 8,
+ border_thickness: 1,
+ border_color: 0xffaaaaaa,
+ background: 0xff404040
},
ToggleButton: { # < Button
checkmark: "√"
},