Class: Wads::WadsEarthTonesTheme

Inherits:
GuiTheme
  • Object
show all
Defined in:
lib/wads/widgets.rb

Instance Attribute Summary

Attributes inherited from GuiTheme

#background_color, #border_color, #font, #font_large, #graphic_elements_color, #selection_color, #text_color, #use_icons

Instance Method Summary collapse

Methods inherited from GuiTheme

#pixel_width_for_large_font, #pixel_width_for_string

Constructor Details

#initializeWadsEarthTonesTheme

Returns a new instance of WadsEarthTonesTheme.



201
202
203
204
205
206
207
208
209
210
# File 'lib/wads/widgets.rb', line 201

def initialize 
    super(COLOR_WHITE,                  # text color
          Gosu::Color.argb(0xffD0605E), # graphic elements
          Gosu::Color.argb(0xffFF994C), # border color
          Gosu::Color.argb(0xff98506D), # background
          Gosu::Color.argb(0xffFF994C), # selected item
          true,                         # use icons
          Gosu::Font.new(22),           # regular font
          Gosu::Font.new(38))           # large font
end