Removed RCS-style IDs.
[multipass-eu.git] / src / player-display-buttons.rb
1 c = EDJE.collection("euphoria")
2 root = c.part("player.normal.group.display")
3
4 h = {"repeat" => [90, 10, "REPEAT_MODE"],
5      "shuffle" => [109, 9, "SHUFFLE"],
6      "crossfade" => [133, 9, "CROSSFADE"]}
7 h.each do |name, (x, y, sig)|
8         ToggleButton.new(c, "player.button.#{name}", root,
9                          "button-#{name}", x, y,
10                          "toggle_state_#{name}", "TOGGLE_#{sig}")
11 end