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.



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