Class: Wads::WadsBrightTheme

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

Overview

Theme with black text on a white background

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

#initializeWadsBrightTheme

Returns a new instance of WadsBrightTheme.



175
176
177
178
179
180
181
182
183
184
# File 'lib/wads/widgets.rb', line 175

def initialize 
    super(COLOR_BLACK,                # text color
          COLOR_HEADER_BRIGHT_BLUE,   # graphic elements
          COLOR_BORDER_BLUE,          # border color
          COLOR_WHITE,                # background
          COLOR_VERY_LIGHT_BLUE,      # selected item
          true,                       # use icons
          Gosu::Font.new(22),         # regular font
          Gosu::Font.new(38))         # large font
end