Use a swallow part for the swallow area.
authorTilman Sauerbeck <tilman@code-monkey.de>
Mon, 25 Apr 2005 21:46:52 +0000 (21:46 +0000)
committerTilman Sauerbeck <tilman@code-monkey.de>
Mon, 25 Apr 2005 21:46:52 +0000 (21:46 +0000)
src/playlist-background.rb

index 9749e457a4acbd4d0b4112801e1ba55ce1f79555..60c220e99499bd0ab4e474c5f0008b3436aafd89 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: playlist-background.rb 6 2005-04-24 09:36:27Z tilman $
+# $Id: playlist-background.rb 15 2005-04-25 21:46:52Z tilman $
 
 c = EDJE.collection("playlist")
 root = c.part("root")
@@ -196,7 +196,7 @@ c.part("playlist.background.bottom", :image) do |p|
        end
 end
 
-c.part("playlist.container", :image) do |p|
+c.part("playlist.background.middle", :image) do |p|
        p.description do |d|
                d.rel[0].set_to(c.part("playlist.background.top.left"))
                d.rel[1].set_to(c.part("playlist.background.bottom.right"))
@@ -207,3 +207,10 @@ c.part("playlist.container", :image) do |p|
                d.image = "images/background-main-middle.png"
        end
 end
+
+c.part("playlist.container", :swallow) do |p|
+       p.description do |d|
+               d.rel[0].set_to(c.part("playlist.background.middle"))
+               d.rel[1].set_to(c.part("playlist.background.middle"))
+       end
+end