Rockbox Ports are now being developed for various digital audio players!
I'm glad you posted these images...What you described as "artefacts" gave me a /totally/ different idea of the problem in my mind.This isn't what I would describe as being an artefact, that would be the correct term to use if there were items left from the previous screen still left onscreen after changing from one screen/state to another.But the images you've posted suggest that these aren't actually any part of the previous screen at all...or if they are, they definitely (from what I can see with the example images at least) aren't in the same position as they were in the previous screen/state.I now, officially, have "absolutely no frickin' idea" what's happening here In saying that, I shall have a look over this tonight if I get the time to...there's definitely *something* wrong here...[Saint]
I haven't actually looked at your code to see if there's something obviously wrong in there (being a themer myself I know the value of a second, fresh set of eyes to look at code). It can be rather easy to miss your own mistakes, sometimes repeatedly, especially if you're not aware that its a mistake [Saint]
# Hold Popup Cleaning Viewports%V(0,0,-,-,-)
The workaround is to create an empty viewport covering the affected area to "wipe" the lockscreen popup.Here's code from the iCu theme. It's one of the first few lines of code in the wps.Code: [Select]# Hold Popup Cleaning Viewports%V(0,0,-,-,-)
%?St(time format)<%cH|%cl>:%cM>
%?cf<%cH|%cl>:%cM
%?mp<|%pc|%pc|%pc|%pc>
%?mp<|%pc>
%pc
%al%?mp<|%pc|%pc|%pc|%pc>%ac%?mp<|%ac%pp/%pe|%ac%pp/%pe|%ac%pp/%pe|%ac%pp/%pe>%ar%?mp<|%pr|%pr|%pr|%pr>
%al%pc%ac%pp/%pe%ar%pr
%?cu<Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday>
%ca%?cu<|s|nes|rs||ur|>day
%?cm<January|February|March|April|May|June|July|August|September|October|November|December>
%cb%?cm<uary|ruary|ch|il||e|y|ust|tember|ober|ember>
The quickest solution though would be that I work at cutting some of the Bling from my themes so they can fit the buffer with that extra viewport setting :'(
Quote from: KiwiCam on October 22, 2011, 04:24:47 PMThe quickest solution though would be that I work at cutting some of the Bling from my themes so they can fit the buffer with that extra viewport setting :'(If you are that close to the buffer limit you will most likely run into various problems. The current svn code does not appear to handle an out of skin buffer situation very well. It will stop loading items and not give any warning of a problem.Also, if you are testing on the simulator, be aware that the skin buffer size may be different. What works on the simulator may not necessarily work on the device.
iCu wasn't my theme but thanks anyways. All of my themes were based on another theme, or rather an extension of past themes. If you can't afford the extra line for the blank viewport, then extend your viewports, don't shrink them, so that they overlap the lockscreen popup. To save a few characters, change the code for 12/24h time. The code I used in the past seem to have carried over to subsequent themes, and it was just inefficient code. I changed it in the latest clock_lock2from this...Code: [Select]%?St(time format)<%cH|%cl>:%cM>to this...Code: [Select]%?cf<%cH|%cl>:%cMAnother cheap trick to save on code is to have a long strip of BMPs rather than multiple bmp files. In pULsE, put p1-p5.bmp all on one image strip. Same goes for s1-s5.bmp. That way you'll only have to define the image once.For code like this Code: [Select]%?mp<|%pc|%pc|%pc|%pc>try Code: [Select]%?mp<|%pc>Sometimes you can get away with defining just two choices. If it's not playing do this, else do this for everything else. Or can be further shortened to Code: [Select]%pc since we don't care if it's stopped. The wps screen doesn't show when media is stopped.Your line...Code: [Select]%al%?mp<|%pc|%pc|%pc|%pc>%ac%?mp<|%ac%pp/%pe|%ac%pp/%pe|%ac%pp/%pe|%ac%pp/%pe>%ar%?mp<|%pr|%pr|%pr|%pr> can be shortened to this:Code: [Select]%al%pc%ac%pp/%pe%ar%prCode: [Select]%?cu<Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday> can be shortened to...Code: [Select]%ca%?cu<|s|nes|rs|f|ur|>dayDo the same to display months. Change this:Code: [Select]%?cm<January|February|March|April|May|June|July|August|September|October|November|December>to:Code: [Select]%cb%?cm<uary|ruary|ch|il||e|y|ust|tember|ober|ember|ember>>Plenty of tricks out there, you just have to be creative. Look for repetitive stuff and ways to make it more efficient.
%ca%?cu<|s|nes|rs|f|ur|>day
%cb%?cm<uary|ruary|ch|il||e|y|ust|tember|ober|ember|ember>>
Page created in 0.101 seconds with 15 queries.