Class: Wads::WadsPurpleTheme

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

#initializeWadsPurpleTheme

Returns a new instance of WadsPurpleTheme.



227
228
229
230
231
232
233
234
235
236
# File 'lib/wads/widgets.rb', line 227

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