Class: ScriptLoader::PSDKConfig::LayoutConfig::Choice
- Defined in:
- scripts/00000 PSDK_CONFIG.rb
Overview
Information about choice
Instance Attribute Summary collapse
-
#border_spacing ⇒ Integer
readonly
Number of pixel between the first pixel of the windowskin.
-
#color_mapping ⇒ Hash{ Integer => Integer }
readonly
Change the color mapping : Mapping from c to value (x position) in _colors.png.
-
#default_color ⇒ Integer
readonly
ID of the default color.
-
#default_font ⇒ Integer
readonly
ID of the font used by the Window.
-
#windowskin ⇒ String?
readonly
Force the windowskin regardless of the options.
Instance Method Summary collapse
-
#initialize ⇒ Choice
constructor
Create a new Choice information.
Constructor Details
#initialize ⇒ Choice
Create a new Choice information
455 456 457 458 459 460 461 |
# File 'scripts/00000 PSDK_CONFIG.rb', line 455 def initialize @windowskin = nil @border_spacing = 2 @default_font = 0 @default_color = 0 @color_mapping = {} end |
Instance Attribute Details
#border_spacing ⇒ Integer (readonly)
Number of pixel between the first pixel of the windowskin
443 444 445 |
# File 'scripts/00000 PSDK_CONFIG.rb', line 443 def border_spacing @border_spacing end |
#color_mapping ⇒ Hash{ Integer => Integer } (readonly)
Change the color mapping : Mapping from c to value (x position) in _colors.png
452 453 454 |
# File 'scripts/00000 PSDK_CONFIG.rb', line 452 def color_mapping @color_mapping end |
#default_color ⇒ Integer (readonly)
ID of the default color
449 450 451 |
# File 'scripts/00000 PSDK_CONFIG.rb', line 449 def default_color @default_color end |
#default_font ⇒ Integer (readonly)
ID of the font used by the Window
446 447 448 |
# File 'scripts/00000 PSDK_CONFIG.rb', line 446 def default_font @default_font end |
#windowskin ⇒ String? (readonly)
Force the windowskin regardless of the options
440 441 442 |
# File 'scripts/00000 PSDK_CONFIG.rb', line 440 def windowskin @windowskin end |