Class: Wads::WadsNoIconTheme

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

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

Methods inherited from GuiTheme

#pixel_width_for_large_font, #pixel_width_for_string

Constructor Details

#initializeWadsNoIconTheme

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