Class: Wads::WadsBrightTheme
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
-
#initialize ⇒ WadsBrightTheme
constructor
A new instance of WadsBrightTheme.
Methods inherited from GuiTheme
#pixel_width_for_large_font, #pixel_width_for_string
Constructor Details
#initialize ⇒ WadsBrightTheme
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 |