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-06-06, 10:40   #1
kraqh3d
Crackhead Developer
 
kraqh3d's Avatar
 
Join Date: Dec 2003
Location: New York City, USA
Posts: 6,791
kraqh3d is on a distinguished road
Default

i've done some basic skinning to rearrange some buttons, change the size of the albums covers, etc. now i want to understand how the controls actually work so i can play around and make some more modifications.

images and hyperlinks make sense to me. what i dont fully understand are the other controls. so i have these questions that i hope either you skin guru's or the godly dev's can answer

do buttons (that are not hyperlinks) get their actions based off their label field? if so, how do the ones in home.xml work for the shutdown, reboot, etc controls? they have a blank label.

how do the automated label controls work? and how are they differentiated from each other if there are more than one on a page? (an example of such a page is the dialogvideoinfo.xml)

in the musicoverlay.xml is there anyway to get access to the song title, artist info, etc without the use of a fadelabel? i would like for the information to be displayed individually as seperate static labels.

is there anyway the albums listcontrol from mymusicalbums.xml be applied to listcontrols in other pages? i kind of want to convert a thumbpanel into more of a listcontrol. the thumbpanel is nice, but you cant read any of the video titles or album names because the text field is so tiny. and the listcontrol has nice long text fields, but dont display icons (and if they did, they would be really tiny.)

and finally what is the musicvisualization.xml file used for?
__________________
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.


kraqh3d is offline   Reply With Quote
Old 2004-06-06, 17:18   #2
bobrooney_78
Senior Member
 
Join Date: Oct 2003
Posts: 164
bobrooney_78 is on a distinguished road
Default

Quote:
Originally Posted by (kraqh3d @ june 06 2004,08:40)
do buttons (that are not hyperlinks) get their actions based off their label field? *

>> they geht their actions based on their "hyperlink" or "id" field


in the musicoverlay.xml is there anyway to get access to the song title, artist info, etc without the use of a fadelabel?

>> i think no.

is there anyway the albums listcontrol from mymusicalbums.xml be applied to listcontrols in other pages? *i kind of want to convert a thumbpanel into more of a listcontrol. *the thumbpanel is nice, but you cant read any of the video titles or album names because the text field is so tiny. *and the listcontrol has nice long text fields, but dont display icons (and if they did, they would be really tiny.)

>> yeah, an enhanced listcontrol with thumbs would be great - but i think at the moment it isn't possible.
bob
bobrooney_78 is offline   Reply With Quote
Old 2004-06-06, 18:18   #3
kraqh3d
Crackhead Developer
 
kraqh3d's Avatar
 
Join Date: Dec 2003
Location: New York City, USA
Posts: 6,791
kraqh3d is on a distinguished road
Default

thanks for info. skinning.txt doc doesnt really explain the whole id tag concept. (other than saying "this should be unique within this file"). i thought it was only to mark each control so the onup, ondown, onleft, onright tags can determine what control gets focus next.

so, if the id tag is controlling the action of the control, then shouldnt each "action" have a unique id? i'd expect the "number of files" control to have the same id in each xml, but thats not the case.

and if the action id's are specific within each windowid, is there a list somewhere that maps them out?
__________________
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.


kraqh3d is offline   Reply With Quote
Old 2004-06-06, 19:25   #4
bobrooney_78
Senior Member
 
Join Date: Oct 2003
Posts: 164
bobrooney_78 is on a distinguished road
Default

Quote:
Originally Posted by (kraqh3d @ june 06 2004,16:18)
so, if the id tag is controlling the action of the control, then shouldnt each "action" have a unique id? *i'd expect the "number of files" control to have the same id in each xml, but thats not the case.
i asked me the same questions for some time, i ended up playing around with existing skins - trial & error.

the answer lies in the c-source code, there is no other documentation beside the skinning.txt
bobrooney_78 is offline   Reply With Quote
Old 2004-06-07, 23:05   #5
kraqh3d
Crackhead Developer
 
kraqh3d's Avatar
 
Join Date: Dec 2003
Location: New York City, USA
Posts: 6,791
kraqh3d is on a distinguished road
Default

i've been doing the same thing, but it doesnt make sense. *its like something is missing. *there should be some tag in the control which ties the control to an action.

edit... i've been looking through the source code and found them...

here's an example from xbmc/xbmc/guiwindowmusicsongs.cpp. these correspond to the control id's in mymusicsongs.xml.

#define control_btnviewasicons 2
#define control_btnsortby 3
#define control_btnsortasc 4
#define control_btntype 6
#define control_btnplaylists 7
#define control_btnscan 9
#define control_btnrec 10
#define control_labelfiles 12
#define control_list 50
#define control_thumbs 51

if you ask me, this is the wrong approach. why have define the controls per window. why not have a single controls.h file that defines all the control actions and then include it in each window.cpp. controls that are not valid for a given window would just be ignored.
__________________
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.


kraqh3d is offline   Reply With Quote
Old 2004-06-08, 18:13   #6
kraqh3d
Crackhead Developer
 
kraqh3d's Avatar
 
Join Date: Dec 2003
Location: New York City, USA
Posts: 6,791
kraqh3d is on a distinguished road
Default

now that i know how the actions coorespond to the control ids, i'm going to parse through all the window.cpp files and put together a skinning guide which'll outline all the special actions per window, and what their id's need to be to access them.

but, i cant checkout from anon cvs. i've been getting a message that its locked by jwmulder since last night. can someone with rights check if a lockfile got stuck or something ?
__________________
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.


kraqh3d is offline   Reply With Quote
Old 2004-06-08, 18:25   #7
pike
Project Manager
 
pike's Avatar
 
Join Date: Sep 2003
Location: Sweden
Posts: 4,281
pike is on a distinguished road
Send a message via MSN to pike
Default

cvs should work now again?
__________________
Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first.


pike is offline   Reply With Quote
Old 2004-06-09, 00:05   #8
kraqh3d
Crackhead Developer
 
kraqh3d's Avatar
 
Join Date: Dec 2003
Location: New York City, USA
Posts: 6,791
kraqh3d is on a distinguished road
Default

oh, was cvs offline on purpose cuz of the dell legal issues?

edit: nevermind... anon cvs is working now.
__________________
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.


kraqh3d is offline   Reply With Quote
Old 2004-06-22, 16:31   #9
Hullebulle
Fan
 
Join Date: Sep 2003
Posts: 1,972
Hullebulle is on a distinguished road
Default

Quote:
Originally Posted by (kraqh3d @ june 08 2004,23:05)
oh, was cvs offline on purpose cuz of the dell legal issues?

edit: nevermind... anon cvs is working now.
no. it was down due some sf issues i guess. nothing to do with dell.
__________________
read the xbmc online-manual, faq and search the forums before posting! do not e-mail the xbmc-team asking for support!
read/follow the forum rules! note! team-xbmc never have and never will host or distribute ms-xdk binaries/executables!
Hullebulle is offline   Reply With Quote
Old 2004-06-28, 21:09   #10
emp3r0r
Junior Member
 
Join Date: May 2004
Posts: 24
emp3r0r is on a distinguished road
Default

kraqh3d: did you ever create that guide?
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
skinning help tetracobra XBMC for Xbox Specific Support 1 2006-07-04 20:45
Skinning pforeman XBMC General Discussion 3 2005-01-09 16:07
Skinning pforeman Skin Development 3 2005-01-09 16:07
Some questions on skinning geirbakke Skin Development 2 2004-02-04 00:45
Skinning rdperalta XBMC for Xbox Specific Support 2 2003-10-23 19:59


All times are GMT +2. The time now is 15:10.


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