Accept state signals from any source.
[multipass-eu.git] / src / player-display-background.rb
1 # $Id: player-display-background.rb 1 2005-04-19 09:41:42Z tilman $
2
3 c = EDJE.collection("euphoria")
4 root = c.part("player.normal.group.display")
5
6 c.part("player.normal.background.display", :image) do |p|
7         p.description do |d|
8                 d.rel[0].to = d.rel[1].to = root
9
10                 d.image = "images/background-display.png"
11         end
12 end
13
14 c.part("player.normal.background.display.overlay", :image) do |p|
15         p.description do |d|
16                 d.rel[0].to = d.rel[1].to = root
17
18                 d.image = "images/background-display-overlay.png"
19         end
20 end
21
22 c.part("player.normal.background.display.details", :image) do |p|
23         p.description do |d|
24                 d.rel[0].to = d.rel[1].to = root
25                 d.rel[0].set_offset(5, 3)
26
27                 d.auto_rel = true
28                 d.image = "images/background-display-details.png"
29         end
30 end