Class: GGLib::ThemeFontGroup

Inherits:
Object
  • Object
show all
Defined in:
lib/theme.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(default, header, editable, color = 0xff000000, selcolor = 0xff33FFFF) ⇒ ThemeFontGroup

Returns a new instance of ThemeFontGroup.



152
153
154
155
156
157
158
# File 'lib/theme.rb', line 152

def initialize(default, header, editable, color=0xff000000, selcolor=0xff33FFFF)
  @default = default
  @header = header
  @editable = editable
  @color = color
  @selcolor = selcolor
end

Instance Attribute Details

#colorObject

Returns the value of attribute color.



151
152
153
# File 'lib/theme.rb', line 151

def color
  @color
end

#defaultObject

Returns the value of attribute default.



151
152
153
# File 'lib/theme.rb', line 151

def default
  @default
end

#editableObject

Returns the value of attribute editable.



151
152
153
# File 'lib/theme.rb', line 151

def editable
  @editable
end

#headerObject

Returns the value of attribute header.



151
152
153
# File 'lib/theme.rb', line 151

def header
  @header
end

#selcolorObject

Returns the value of attribute selcolor.



151
152
153
# File 'lib/theme.rb', line 151

def selcolor
  @selcolor
end