-# $Id: playlist_item.rb 23 2005-05-28 19:59:03Z tilman $
+# $Id: playlist_item.rb 25 2005-05-28 21:23:33Z tilman $
TEXT_COLOR_HILIGHT = "#f0fafd"
["hilighted", "unhilighted"].each do |state|
c.program("playlist_item.#{state}", :set_state) do |p|
p.signal = "playlist_item.#{state}"
+ p.source = "*"
p.state = state == "unselected" ? "default" : state
p.mode = state == "selected" ? :accelerate : :decelerate
p.time = 0.5
["selected", "unselected"].each do |state|
c.program("playlist_item.#{state}", :set_state) do |p|
p.signal = "playlist_item.#{state}"
+ p.source = "*"
p.state = state
p.targets << ProgramTarget.new(c.part("background"))
end