Support and General Use > Theming and Appearance Customization
Theme/skins engine Limitations
lebellium:
Hello guys,
I'm currently making themes for Samsung R0 and Sansa Clip Zip:
http://anythingbutipod.com/forum/showthread.php?t=66393
http://anythingbutipod.com/forum/showthread.php?t=66487
And unfortunately I'm often limited by the themes/skins engine, that's very frustrating. Does someone have answers to these questions:
-why is it impossible to display text or viewport over a picture (non-background picture)? Any picture is necessarily over the text or viewport if it is not set as a background!
-why is it impossible to use backgrounds in conditionnal tags?
- why is the scrolling bar necessarily the same color as the viewport text?
- why is it impossible to set viewport background colors when a picture is set as background?
Actually in my R0 theme I'd like to use conditional main menu viewports (different height) according to if the mini-player is ON or OFF but I can't as I use a picture to hide the mini-player when there is no music playback and then this picture displays over the viewport. Huh
Are these things too difficult to implement and improve in the theme engine or am I the only one annoyed by these limitations?
Sorry for these newbie questions Smiley
Thank you in advance
lebellium
JdGordon:
Stupid akismet autodeleted the thread :/
--- Quote from: lebellium on November 21, 2011, 06:26:51 AM ----why is it impossible to display text or viewport over a picture (non-background picture)? Any picture is necessarily over the text or viewport if it is not set as a background!
--- End quote ---
I want to fix that but cant because changing the draw order breaks cabbie and i havnt got around to bothering to fix them all
--- Quote from: lebellium on November 21, 2011, 06:26:51 AM ----why is it impossible to use backgrounds in conditionnal tags?
--- End quote ---
Because backdrops are huge and we dont want to waste space on them.
--- Quote from: lebellium on November 21, 2011, 06:26:51 AM ---- why is the scrolling bar necessarily the same color as the viewport text?
--- End quote ---
Use the %Vf() tag and you can change the colour
--- Quote from: lebellium on November 21, 2011, 06:26:51 AM ---- why is it impossible to set viewport background colors when a picture is set as background?
--- End quote ---
limitation of the lcd drawing API. This has been bugging me for ages and I just havnt got around to fixing it
--- Quote from: lebellium on November 21, 2011, 06:26:51 AM ---
Actually in my R0 theme I'd like to use conditional main menu viewports (different height) according to if the mini-player is ON or OFF but I can't as I use a picture to hide the mini-player when there is no music playback and then this picture displays over the viewport. Huh
Are these things too difficult to implement and improve in the theme engine or am I the only one annoyed by these limitations?
--- End quote ---
Not sure what you are asking
lebellium:
Thank you for the answer.
I really hope you'll manage to fix these issues sooner or later :)
--- Quote ---Not sure what you are asking
--- End quote ---
Actually I was trying to explain why the bugs are annoying in my case.
In my theme I set a mini music-player in the SBS file that displays when navigating through the menus with music playback. It uses the bottom of the screen and the menu viewport height fits that. See the picture below (there is only a background picture)
When the music playback is stopped, the mini music player is hidden by a picture and in this case the menu viewport should fit the whole screen. See the picture below (background picture + picture to hide the mini-player)
But the picture would display over the viewport (at least the bottom of the viewport) so I'm obliged to keep the original viewport height, not use the bottom of the screen. That's wasted space and we get then a scrolling bar for nothing in most menus. Moreover that looks strange, people rightfully wonder why the menus don't fit the whole screen because they don't know about my trick to hide the mini-player.
JdGordon:
I'm not signing up to ABI to download your zips, put them somewhere else accessable. You should just be able to do something like:
%?if(%mp, =, <number saying music is playing>)<%VI(<label of the half height vp>)%Vd(<label of the miniplayer vp>)|%VI(<fullscreen ui vp>)>
lebellium:
--- Quote from: JdGordon on November 21, 2011, 05:03:08 PM ---I'm not signing up to ABI to download your zips, put them somewhere else accessable.
--- End quote ---
Of course, sorry...
Samsung R0
Sansa Zip
--- Quote ---You should just be able to do something like:
%?if(%mp, =, <number saying music is playing>)<%VI(<label of the half height vp>)%Vd(<label of the miniplayer vp>)|%VI(<fullscreen ui vp>)>
--- End quote ---
I already did something similar for the Sansa Zip theme:
--- Code: ---%?mp<%VI(Z)|%VI(X)>
#
# UI viewport
#
%Vi(X,0,11,95,74,-)
%Vi(Z,0,11,95,-,-)
#
# Mini-player
#
%V(0,86,-,-,2)
%s%?it<%it|%fn> %?mp<|%?ia<-|>> %ia
--- End code ---
That works fine because I don't need any picture to hide the mini-player (the background is fully white).
On the R0 that cannot work because I need a picture to hide the mini-player (well I need it for aesthetic reasons, this white part at the bottom doesn't look nice when the mini-player is off)
I mean, I could do that but that definitely looks ugly:
After thinking hours about that issue, I don't see any satisfying solution as long as the theme engine doesn't allow viewports or text to display over a picture or at least use backgrounds in conditional tags (then I could use 2 different backgrounds to solve my issue)
But I acknowledge my theme and my requests are very specific and probably not common and useful for everybody.
Navigation
[0] Message Index
[#] Next page
Go to full version