Class: GGLib::Themes::ShadeLabelTheme
- Inherits:
-
DrawnTheme
- Object
- GGLib::Theme
- DrawnTheme
- GGLib::Themes::ShadeLabelTheme
- Defined in:
- lib/ext/themes.rb
Instance Attribute Summary
Attributes inherited from DrawnTheme
Attributes inherited from GGLib::Theme
Instance Method Summary collapse
-
#initialize ⇒ ShadeLabelTheme
constructor
A new instance of ShadeLabelTheme.
Methods inherited from DrawnTheme
#draw, #height, #newInstance, #width
Methods inherited from GGLib::Theme
#height, #request, #setDefaultState, #setDownState, #setOverState, #width
Constructor Details
#initialize ⇒ ShadeLabelTheme
Returns a new instance of ShadeLabelTheme.
232 233 234 235 236 237 238 239 240 241 |
# File 'lib/ext/themes.rb', line 232 def initialize font = ThemeFontGroup.new( Gosu::Font.new($window, Gosu::default_font_name, 17), Gosu::Font.new($window, Gosu::default_font_name, 25), Gosu::Font.new($window, Gosu::default_font_name, 20), 0xffe6e6e6, 0xff848484 ) super("Shade.Label", font) end |