--
-$Id: ChangeLog 18 2005-04-02 21:45:24Z tilman $
+$Id: ChangeLog 19 2005-04-02 22:05:24Z tilman $
++
+2005-04-03 Tilman Sauerbeck (tilman at code-monkey de)
+ * lib/redact/part.rb: Made 'text_class' and 'color_class' parameters
+ writable
+
2005-04-02 Tilman Sauerbeck (tilman at code-monkey de)
* lib/redact/part.rb: Made 'step' and 'aspect' parameters
configurable
#--
-# $Id: part.rb 18 2005-04-02 21:45:24Z tilman $
+# $Id: part.rb 19 2005-04-02 22:05:24Z tilman $
#
# Copyright (c) 2005 Tilman Sauerbeck (tilman at code-monkey de)
#
class Description
attr_reader :rel, :aspect, :step
- attr_accessor :visible, :aspect_preference
+ attr_accessor :visible, :aspect_preference, :color_class
def initialize(name = "default", value = 0.0)
@name = name.to_str.dup.freeze
class TextDescription < Description
attr_reader :font
- attr_accessor :text, :font_size
+ attr_accessor :text, :font_size, :text_class
def initialize(name = "default", value = 0.0)
super