Class: Wads::WadsNoIconTheme
Overview
Theme with white text on a black background that also does not use icons. Currently, icons are primarily used in the Graph display widget.
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 ⇒ WadsNoIconTheme
constructor
A new instance of WadsNoIconTheme.
Methods inherited from GuiTheme
#pixel_width_for_large_font, #pixel_width_for_string
Constructor Details
#initialize ⇒ WadsNoIconTheme
Returns a new instance of WadsNoIconTheme.
257 258 259 260 261 262 263 264 265 266 |
# File 'lib/wads/widgets.rb', line 257 def initialize super(COLOR_WHITE, # text color COLOR_HEADER_BRIGHT_BLUE, # graphic elements COLOR_BORDER_BLUE, # border color COLOR_BLACK, # background COLOR_LIGHT_GRAY, # selected item false, # use icons Gosu::Font.new(22), # regular font Gosu::Font.new(38)) # large font end |