-# $Id: player-main-buttons.rb 1 2005-04-19 09:41:42Z tilman $
+# $Id: player-main-buttons.rb 7 2005-04-24 10:46:14Z tilman $
c = EDJE.collection("euphoria")
root = c.part("root")
buttons = []
def image_from_name(name)
- md = name.match(/^player\.(.*)$/)
+ md = name.match(/\.(.*)$/)
md.nil? ? name : md.captures.first.gsub(".", "-")
end
x, y, sig).part
end
-# FOOBARBAZ
{"player.button.play.led" => [132, 142],
"player.button.pause.led" => [98, 142],
"player.button.stop.led" => [163, 142],