XBMC Community Forum  

Go Back   XBMC Community Forum > Development > Skin Development

Skin Development GUI and Web skins/themes, graphics development and suggestions.
No End-User Support Requests! Only skinners and graphic artists.

Reply
 
Thread Tools Search this Thread Display Modes
Old 2004-05-18, 00:56   #1
emp3r0r
Junior Member
 
Join Date: May 2004
Posts: 24
emp3r0r is on a distinguished road
Unhappy

here it is reposted in proper forum

i'm creating a skin for xbmc and i'm having a issue. i have my control buttons layout above the listcontrol and thumbnailpanel. unlike all other skins, when the user pushes down, i want the focus to goto the listcontrol or thumbnailpanel. unfortunatly, i can't get this to work for both cases. if i set
code sample
<ondown>10</ondown>
it'll only goto the list control. if i set code sample
<ondown>11</ondown>
it'll only goto the thumbnailpanel.

in the default skins code sample
<onright>10</onright>
will move focus to either the listcontrol or thumbnailpanel depending on which is visible.

how do it get it to work for ondown?
Quote:
i dont' know if this will screw up things in other ways but try changeing the <id>11</id> on <type>thumbnailpanel</type> in references.xml to <id>10</id> that should at least solve your problem. but as i said it might generate others so make sure to test it properly.
/floink
i tried this before posting, it made the thumbnailpanel empty.
emp3r0r is offline   Reply With Quote
Old 2004-05-19, 17:43   #2
emp3r0r
Junior Member
 
Join Date: May 2004
Posts: 24
emp3r0r is on a distinguished road
Default

i figured it out so i'll post here to help other skinners.

i dug a little through the code and apparently when it passes the focus from one control to another, if the control it is trying to pass focus to is not enabled then it just passes the focus command on depending on what it is set for the not enabled control.

so in my case, the listview with <id>10</id> should have it's focus passed onto the thumbpanel with <id>11</id>. to do this you must set the any of the <ondown>, <onright>, <onup>, <onleft> focus commands for the listview to 11 so it passes those commands onto the thumbpanel.
emp3r0r is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Focus on 'Yes' tartag Plugin/Script (Python) Help and Support 4 2006-02-20 05:25
Unable to get off thumbpanel BritneysPAIRS XBMC for Xbox Specific Support 10 2005-04-14 12:10
Listcontrol thumbnails. pin87a Skin Development 4 2005-02-02 17:46
Listcontrol limits? dodgetball Plugin/Script (Python) Development 4 2004-10-12 02:38
Default Listcontrol chuck XBMC for Xbox Specific Support 1 2004-04-16 17:01


All times are GMT +2. The time now is 17:30.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project