Support and General Use > Theming and Appearance Customization
Removing the corner rounding from iPod reFresh themes
Dook:
Apologies for the late response! The page on my site on topic is actually pretty old, since then I've changed how I load images.
It's actually not the masking images at fault here, but rather the album art loading. Typically both the masking and album art would be drawn in conflict with each other on the same layer, which is what causes the lag in rounded corners. For adwaitapod, I had to put the album art in the background layer, and the masking on the regular layer, in order to use transparent bitmaps for anti-aliased corners.
I don't think my solution however is the best to copy from. Both me and Chris S were working on the same idea independently, and I believe their implementation in Interpod is far more flexible. Mine is built to be as small as I can make it, but it doesn't work well with full background images. Whereas Chris' does work with a background image (also way easier to read)
So my advice would be to check out how Interpod does it! If I have some time later this week, I might try my hand at adding it to your version of reFresh though.
philden:
Presumably this assumes the artwork is square? If you have scans of boxed sets or digipack CDs the results may look untidy.
Dook:
--- Quote from: philden on August 15, 2023, 04:12:10 PM ---Presumably this assumes the artwork is square? If you have scans of boxed sets or digipack CDs the results may look untidy.
--- End quote ---
Unfortunately, yes. This is an issue with most themes that use rounding methods, recently I've begun adding toggles to my themes that users can turn off rounding with.
rockbox_dev123:
--- Quote from: Dook on August 15, 2023, 08:33:14 AM ---Apologies for the late response!
--- End quote ---
No worries! Thanks for the reply.
If I have some time over a weekend I'll take another look at the background layer rendering and also your suggestion of studying Interpod.
Navigation
[0] Message Index
[*] Previous page
Go to full version