Author: bklaas
Date: Tue Oct 21 07:45:51 2008
New Revision: 3169
URL: http://svn.slimdevices.com?rev=3169&root=Jive&view=rev
Log:
Bug: 9680
Description: enable playlist "x of y" area of title bar to work as a button to
push to the playlist window. Use selectionBox in FullscreenSkin to make
playlist appear more obviously as a button
Modified:
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/NowPlaying/NowPlayingApplet.lua
7.3/trunk/squeezeplay/src/squeezeplay_desktop/share/applets/FullscreenSkin/FullscreenSkinApplet.lua
Modified:
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/NowPlaying/NowPlayingApplet.lua
URL:
http://svn.slimdevices.com/7.3/trunk/squeezeplay/src/squeezeplay/share/applets/NowPlaying/NowPlayingApplet.lua?rev=3169&root=Jive&r1=3168&r2=3169&view=diff
==============================================================================
---
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/NowPlaying/NowPlayingApplet.lua
(original)
+++
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/NowPlaying/NowPlayingApplet.lua
Tue Oct 21 07:45:51 2008
@@ -481,9 +481,17 @@
window:dispatchNewEvent(EVENT_KEY_PRESS, KEY_BACK)
return EVENT_CONSUME
end
- ),
- text = Label("text", self:string("SCREENSAVER_NOWPLAYING")),
- playlist = Label("playlist", "")
+ ),
+
+ text = Label("text", self:string("SCREENSAVER_NOWPLAYING")),
+
+ playlist = Button(
+ Label("playlist", ""),
+ function()
+
window:dispatchNewEvent(EVENT_KEY_PRESS, KEY_GO)
+ return EVENT_CONSUME
+ end
+ ),
})
Modified:
7.3/trunk/squeezeplay/src/squeezeplay_desktop/share/applets/FullscreenSkin/FullscreenSkinApplet.lua
URL:
http://svn.slimdevices.com/7.3/trunk/squeezeplay/src/squeezeplay_desktop/share/applets/FullscreenSkin/FullscreenSkinApplet.lua?rev=3169&root=Jive&r1=3168&r2=3169&view=diff
==============================================================================
---
7.3/trunk/squeezeplay/src/squeezeplay_desktop/share/applets/FullscreenSkin/FullscreenSkinApplet.lua
(original)
+++
7.3/trunk/squeezeplay/src/squeezeplay_desktop/share/applets/FullscreenSkin/FullscreenSkinApplet.lua
Tue Oct 21 07:45:51 2008
@@ -1490,9 +1490,11 @@
s.ssnptitle.back.align = "left"
s.ssnptitle.playlist = {}
- s.ssnptitle.playlist.padding = TITLE_PADDING
+ s.ssnptitle.playlist.padding = 10
+ s.ssnptitle.playlist.border = { 0, 0, 0, 5 }
s.ssnptitle.playlist.font = _font(26)
s.ssnptitle.playlist.fg = TEXT_COLOR_BLACK
+ s.ssnptitle.playlist.bgImg = selectionBox
s.ssnptitle.playlist.text = {}
s.ssnptitle.playlist.text.align = "top-right"
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins