Permalink
Browse files

Add JogglerSkin wallpaper support to match WQVGAsmallSkin. Thanks to …

…hsmeets for the images and patch.
  • Loading branch information...
ralph-irving committed Nov 7, 2015
1 parent 35da661 commit bdd1db493edd27e821a37fd55fb7e4f4028aad7b
@@ -282,7 +282,9 @@ function skin(self, s)
local deleteKeyPressedBackground = _loadImageTile(self, imgpath .. "Buttons/button_delete_text_entry_press.png")
local helpTextBackground = _loadImageTile(self, imgpath .. "Titlebar/tbar_dropdwn_bkrgd.png")
local nocturneWallpaper = _loadImageTile(self, "applets/SetupWallpaper/wallpaper/fab4_black.png")
local blackBackground = Tile:fillColor(0x000000ff)
local nocturneWallpaper = _loadImageTile(self, "applets/SetupWallpaper/wallpaper/pcp_nocturne.png")
--FIXME, _r asset here doesn't work...it's supposed to have a fadeout effect and it doesn't appear on screen
local fiveItemBox = _loadHTile(self, {
@@ -642,7 +644,7 @@ function skin(self, s)
imgpath .. "Scroll_Bar/scrollbar_body_b.png",
})
local popupBackground = Tile:fillColor(0x000000ff)
local popupBackground = blackBackground
local textinputCursor = _loadImageTile(self, imgpath .. "Text_Entry/Keyboard_Touch/tch_cursor.png")
@@ -836,7 +838,7 @@ function skin(self, s)
})
s.text_block_black = {
bgImg = Tile:fillColor(0x000000ff),
bgImg = blackBackground,
position = LAYOUT_NORTH,
h = 100,
order = { 'text' },
@@ -3129,7 +3131,7 @@ function skin(self, s)
s.nowplaying_art_only = _uses(s.nowplaying, {
bgImg = nocturneWallpaper,
bgImg = blackBackground,
title = { hidden = 1 },
nptitle = { hidden = 1 },
npcontrols = { hidden = 1 },
@@ -177,7 +177,7 @@ function settingsShow(self)
local screen = screenWidth .. "x" .. screenHeight
if screen ~= "480x272" and screen ~= "240x320" and screen ~= "320x240" then
if screen ~= "800x480" and screen ~= "480x272" and screen ~= "240x320" and screen ~= "320x240" then
screen = nil
end
@@ -243,6 +243,8 @@ function _readFile(self, img, screenWidth, screenHeight)
pattern = 'JIVE_'
elseif screenWidth == 480 and screenHeight == 272 then
pattern = 'FAB4_'
elseif screenWidth == 800 and screenHeight == 480 then
pattern = 'PCP_'
else
pattern = 'HD_'
end
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit bdd1db4

Please sign in to comment.