Support and General Use > Theming and Appearance Customization
Specific Clip Plus issue - Pixel Artefacts on Lock Screen
sockbox:
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: ---# Hold Popup Cleaning Viewports
%V(0,0,-,-,-)
--- End code ---
KiwiCam:
--- Quote from: sockbox on October 22, 2011, 01:55:34 PM ---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: ---# Hold Popup Cleaning Viewports
%V(0,0,-,-,-)
--- End code ---
--- End quote ---
Thanks. I was actually looking at your theme yesterday, but it was the .fms I was concentrating on. I didn't even look at that part of it.
I've done some quick testing using that line above:
For the Clip+
nOIsE and uNbaLanCeD work perfectly now. No Artefacts. It's just one too many lines for pULsE and breaks it :(
For the Clip V2
uNbaLanCeD works perfectly but nOIsE and pULsE are both broken. How strange?!? Especially nOIsE.
So, I still think that there's a bug somewhere. 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 :'(
Maybe I can get away with setting a smaller viewport area...
As an aside: Your iCU theme is the greatest. (Gush!) It's a beautiful piece of work. I've looked at your work on other MP3 players and have admired them from afar.
sockbox:
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_lock2
from this...
--- Code: ---%?St(time format)<%cH|%cl>:%cM>
--- End code ---
to this...
--- Code: ---%?cf<%cH|%cl>:%cM
--- End code ---
Another 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: ---%?mp<|%pc|%pc|%pc|%pc>
--- End code ---
try
--- Code: ---%?mp<|%pc>
--- End code ---
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: ---%pc
--- End code ---
since we don't care if it's stopped. The wps screen doesn't show when media is stopped.
Your line...
--- Code: ---%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>
--- End code ---
can be shortened to this:
--- Code: ---%al%pc%ac%pp/%pe%ar%pr
--- End code ---
--- Code: ---%?cu<Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday>
--- End code ---
can be shortened to...
--- Code: ---%ca%?cu<|s|nes|rs||ur|>day
--- End code ---
Do the same to display months. Change this:
--- Code: ---%?cm<January|February|March|April|May|June|July|August|September|October|November|December>
--- End code ---
to:
--- Code: ---%cb%?cm<uary|ruary|ch|il||e|y|ust|tember|ober|ember>
--- End code ---
Plenty of tricks out there, you just have to be creative. Look for repetitive stuff and ways to make it more efficient.
mc2739:
--- Quote from: KiwiCam on October 22, 2011, 04:24:47 PM ---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 :'(
--- End quote ---
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.
KiwiCam:
--- Quote from: mc2739 on October 22, 2011, 07:00:42 PM ---
--- Quote from: KiwiCam on October 22, 2011, 04:24:47 PM ---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 :'(
--- End quote ---
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.
--- End quote ---
Heh, heh. Yeah. I've been burbling on about that too ::). But, that in a way, for me, is a good thing. The Clip Sim, does have a larger buffer, but it means that I can try more outrageous things and, just to see if they work. Then of course I get all upset because it won't work on the Clip itself ;) :P
Post Merge: October 22, 2011, 08:01:32 PM
--- Quote from: sockbox on October 22, 2011, 06:32:42 PM ---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_lock2
from this...
--- Code: ---%?St(time format)<%cH|%cl>:%cM>
--- End code ---
to this...
--- Code: ---%?cf<%cH|%cl>:%cM
--- End code ---
Another 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: ---%?mp<|%pc|%pc|%pc|%pc>
--- End code ---
try
--- Code: ---%?mp<|%pc>
--- End code ---
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: ---%pc
--- End code ---
since we don't care if it's stopped. The wps screen doesn't show when media is stopped.
Your line...
--- Code: ---%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>
--- End code ---
can be shortened to this:
--- Code: ---%al%pc%ac%pp/%pe%ar%pr
--- End code ---
--- Code: ---%?cu<Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday>
--- End code ---
can be shortened to...
--- Code: ---%ca%?cu<|s|nes|rs|f|ur|>day
--- End code ---
Do the same to display months. Change this:
--- Code: ---%?cm<January|February|March|April|May|June|July|August|September|October|November|December>
--- End code ---
to:
--- Code: ---%cb%?cm<uary|ruary|ch|il||e|y|ust|tember|ober|ember|ember>>
--- End code ---
Plenty of tricks out there, you just have to be creative. Look for repetitive stuff and ways to make it more efficient.
--- End quote ---
That is soooooooooooooo good. Thanks. I'll put those in place today. All of those except for the bitmap stuff, I can throw in immediately. I'll try and experiment with the bitmap stuff. That was how I originally tried to make my Progress & Volume Bar animations, but I couldn't (my coding, no doubt) get it to work that way, but found that the individual bitmap way did work. Excellent. Something to delve into. Thanks once again.
I wonder how many other themes have got nifty little tricks like that?
Post Merge: October 22, 2011, 08:23:05 PMAh. So Sockbox is The Clark Locke! I should have known. You're the person that inspired me to actually have a go at this stuff. I love your themes. :-*
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version