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.
173 174 175 176 177 178 179 180 181 182 |
# File 'lib/ext/themes.rb', line 173 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 |