Author: bklaas
Date: Wed Mar 3 12:56:57 2010
New Revision: 8625
URL: http://svn.slimdevices.com/jive?rev=8625&view=rev
Log:
Bug: n/a
Description: some changes to assist in skin testing debug
Modified:
7.5/trunk/squeezeplay/src/squeezeplay_test/share/applets/SkinTest/SkinTestApplet.lua
Modified:
7.5/trunk/squeezeplay/src/squeezeplay_test/share/applets/SkinTest/SkinTestApplet.lua
URL:
http://svn.slimdevices.com/jive/7.5/trunk/squeezeplay/src/squeezeplay_test/share/applets/SkinTest/SkinTestApplet.lua?rev=8625&r1=8624&r2=8625&view=diff
==============================================================================
---
7.5/trunk/squeezeplay/src/squeezeplay_test/share/applets/SkinTest/SkinTestApplet.lua
(original)
+++
7.5/trunk/squeezeplay/src/squeezeplay_test/share/applets/SkinTest/SkinTestApplet.lua
Wed Mar 3 12:56:57 2010
@@ -139,6 +139,7 @@
sound = "WINDOWSHOW",
callback = function()
item[3](self, item):show()
+ self:showStack()
end,
})
end
@@ -478,6 +479,7 @@
menu:setHeaderWidget(headerGroup)
window:setButtonAction('rbutton', 'cancel')
+ window:addActionListener("cancel", self, function()
window:hide(Window.transitionNone) end )
window:setButtonAction('lbutton', nil, nil)
window:addWidget(menu)
@@ -862,6 +864,7 @@
local group = Group("group", {
text = Textarea("toast_popup_textarea", data[1])
+ --text = Label("text", data[1])
})
popup:addWidget(group)
@@ -870,6 +873,13 @@
return popup
end
+function showStack(self)
+ local stack = Framework.windowStack
+ for i in ipairs(stack) do
+ log:warn(stack[i])
+ end
+end
+
--[[
Popup: "toast_popup"
Group: "group"
@@ -1209,7 +1219,8 @@
{ "3121\nPrince - Some Very Long Album Title That Goes off
Screen" },
},
toast_popup = {
- "Your toast_popup is done",
+ "Your toast_popup is done\nline 2 has more information\nYour
toast_popup is done\nline 2 has more information\nYour toast_popup is
done\nline 2 has more information\nYour toast_popup is done\nline 2 has more
information\nYour toast_popup is done\nline 2 has more information\nYour
toast_popup is done\nline 2 has more information\nYour toast_popup is
done\nline 2 has more information\nYour toast_popup is done\nline 2 has more
information",
+ --"Your toast_popup is done\nline 2 has more information",
},
toast_popup_withicon = {
"United States. A country of central and northwest North
America with coastlines on the Atlantic and Pacific oceans.",
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins