issues with hardcoded skin behaviors
#1
Hi all..

I have been working on a skin, and I have run across an issue where behaviors that are hardcoded into the skinning engine interfere with my desired results.

In the settings category window (window id 12, SettingsCategory.xml) the button area controls are automatically grayed when navigation is moved off of them into the settings items that they reveal when activated. I have not found any way to change this in the wiki documents, and Jezz_X mentioned that the behavior is hardcoded.

Here is the category button as it appears when focused:
Image

And here as it appears after moving to the right to focus an item in the category of settings revealed by the button:
Image

So, as far as I can tell, there is no way to modify this behavior. The result is that my skin has unintended visuals which deviate from the look and feel of the rest of my design.

If there is a way to modify this behavior, I would be very happy if someone could point it out to me - perhaps I have completely overlooked something?
Reply
#2
Oops, I messed up the image links. I don't see a way to edit my original post, so...

Edit: Image links fixed in first post..
Reply
#3
No, there's no way to change the behaviour. If you have ideas as to how it could be achieved to allow flexibility, then obviously I'm open to suggestions.

BTW: Images still don't work, but I know what you're talking about - effectively it renders the focused image at 50% opacity.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#4
jmarshall: thanks for the quick reply..

How about a third texture for buttons, a <textureselected> perhaps.

Although, it seems like this situation doesn't justify a new texture - maybe just a tag to disable the special rendering. But then how does the user differentiate at a glance where their current focus is?

It's getting really late for me, my brain feels like pudding - I'll think on this some more. Thanks for being receptive Smile
Reply
#5
My thoughts on it is add these to the button control
<textureactivenofocus>
<textureactivefocus>
and a boolean
<active>contidtion</active>

and then we can use it for skin settings

But I guess a simpler way is let use use ToggleButton for it and the <usealttexture>-</usealttexture> bit is the not activated one and xbmc would set the toggle on use normal and alt with old to define the activated state
Reply
#6
Togglebutton sounds like a good solution. Will hack it up this evening.

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#7
Thanks for the replies guys.. I look forward to seeing how it works out with the change Smile
Reply

Logout Mark Read Team Forum Stats Members Help
issues with hardcoded skin behaviors0