PDA

View Full Version : controlgroup?


jimk72
2005-10-17, 23:26
i am working on a gui editor for building skins and was just wondering what the difference is between the <control> items inside the controlgroup as opposed to the other <control> items outside the control group.

also is there a complete list of all properties a <control> item can have for the ver 1.3 skins?

thanks in advanced for any help!

jmarshall
2005-10-18, 02:29
no difference at all. <controlgroup> just keeps the last focused item in the group so that if you navigate off it, then back towards the group, it will highlight the last used item (similar to leaving a window and going back)

the online manual has a complete list for the more common controls. it's not complete, as noone else has bothered adding anything to the list. maybe i'll have time over the next couple of weeks to add a few more.

otherwise, the "best" place is to look in the code: guicontrolfactory.cpp has the bit where it reads all the tag properties for all controls. if you have time, perhaps you could help by replicating some of the pages in the online manual for some of the other controls you do?

one last thing: there's 2 controls currently unused (can't remember if i killed them off or not) - buttonm and spinbuttoncontrol. don't bother implementing these, as xbmc doesn't anymore.

cheers,
jonathan

jimk72
2005-10-18, 03:52
cool thanks, so far i got it to load the xml files into memory in a way i can edit them and save the changes, so i need to double check all the commands and then implement the preview feature and active adjustment so you can just place the button, image, videowindow, ect.. where you want it and setting the options.