Class: GGLib::Themes::RubygooLabelTheme

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

Constant Summary collapse

@@textbox =
nil

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

#initializeRubygooLabelTheme

Returns a new instance of RubygooLabelTheme.


81
82
83
84
# File 'lib/ext/themes.rb', line 81

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), 0xff000000, 0xffb22222)
  super("Rubygoo.Label", font)
end