Class: GGLib::Themes::ShadeLabelTheme

Inherits:
DrawnTheme show all
Defined in:
lib/ext/themes.rb

Instance Attribute Summary

Attributes inherited from DrawnTheme

#font

Attributes inherited from GGLib::Theme

#name

Instance Method Summary collapse

Methods inherited from DrawnTheme

#draw, #height, #newInstance, #width

Methods inherited from GGLib::Theme

#height, #request, #setDefaultState, #setDownState, #setOverState, #width

Constructor Details

#initializeShadeLabelTheme

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