Class: ScriptLoader::PSDKConfig::LayoutConfig::Choice

Inherits:
Object
  • Object
show all
Defined in:
scripts/00000 PSDK_CONFIG.rb

Overview

Information about choice

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeChoice

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_spacingInteger (readonly)

Number of pixel between the first pixel of the windowskin

Returns:



443
444
445
# File 'scripts/00000 PSDK_CONFIG.rb', line 443

def border_spacing
  @border_spacing
end

#color_mappingHash{ Integer => Integer } (readonly)

Change the color mapping : Mapping from c to value (x position) in _colors.png

Returns:



452
453
454
# File 'scripts/00000 PSDK_CONFIG.rb', line 452

def color_mapping
  @color_mapping
end

#default_colorInteger (readonly)

ID of the default color

Returns:



449
450
451
# File 'scripts/00000 PSDK_CONFIG.rb', line 449

def default_color
  @default_color
end

#default_fontInteger (readonly)

ID of the font used by the Window

Returns:



446
447
448
# File 'scripts/00000 PSDK_CONFIG.rb', line 446

def default_font
  @default_font
end

#windowskinString? (readonly)

Force the windowskin regardless of the options

Returns:



440
441
442
# File 'scripts/00000 PSDK_CONFIG.rb', line 440

def windowskin
  @windowskin
end