Class: GGLib::Themes::RubygooLabelTheme
- Inherits:
-
DrawnTheme
- Object
- GGLib::Theme
- DrawnTheme
- GGLib::Themes::RubygooLabelTheme
- Defined in:
- lib/ext/themes.rb
Constant Summary collapse
- @@textbox =
nil
Instance Attribute Summary
Attributes inherited from DrawnTheme
Attributes inherited from GGLib::Theme
Instance Method Summary collapse
-
#initialize ⇒ RubygooLabelTheme
constructor
A new instance of RubygooLabelTheme.
Methods inherited from DrawnTheme
#draw, #height, #newInstance, #width
Methods inherited from GGLib::Theme
#height, #request, #setDefaultState, #setDownState, #setOverState, #width
Constructor Details
#initialize ⇒ RubygooLabelTheme
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 |