projects
/
multipass-eu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use imagedir/fontdir.
[multipass-eu.git]
/
src
/
player-main-buttons.rb
diff --git
a/src/player-main-buttons.rb
b/src/player-main-buttons.rb
index 7ec9ae785c397cf95b2b4711f0baa616cd831862..fea63dced1efb085caa7e0a49842d164539dbbe3 100644
(file)
--- a/
src/player-main-buttons.rb
+++ b/
src/player-main-buttons.rb
@@
-1,4
+1,4
@@
-# $Id: player-main-buttons.rb
1 2005-04-19 09:41:42
Z tilman $
+# $Id: player-main-buttons.rb
7 2005-04-24 10:46:14
Z tilman $
c = EDJE.collection("euphoria")
root = c.part("root")
c = EDJE.collection("euphoria")
root = c.part("root")
@@
-6,7
+6,7
@@
root = c.part("root")
buttons = []
def image_from_name(name)
buttons = []
def image_from_name(name)
- md = name.match(/
^player
\.(.*)$/)
+ md = name.match(/\.(.*)$/)
md.nil? ? name : md.captures.first.gsub(".", "-")
end
md.nil? ? name : md.captures.first.gsub(".", "-")
end
@@
-20,7
+20,6
@@
h.each do |name, (sig, (x, y))|
x, y, sig).part
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],
{"player.button.play.led" => [132, 142],
"player.button.pause.led" => [98, 142],
"player.button.stop.led" => [163, 142],