Class: Wads::WadsNatureTheme

Inherits:
GuiTheme 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

#initializeWadsNatureTheme

Returns a new instance of WadsNatureTheme.



214
215
216
217
218
219
220
221
222
223
# File 'lib/wads/widgets.rb', line 214

def initialize 
    super(COLOR_WHITE,                  # text color
          Gosu::Color.argb(0xffA9B40B), # graphic elements
          Gosu::Color.argb(0xffF38B01), # border color
          Gosu::Color.argb(0xffFFC001), # background
          Gosu::Color.argb(0xffF38B01), # selected item
          true,                         # use icons
          Gosu::Font.new(22, { :bold => true}), # regular font
          Gosu::Font.new(38, { :bold => true})) # large font
end