| |||||||
| Skins You are working on a new Skin? Post it here! |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest
Posts: n/a
| What is the purpose of the control ids? When I add a new control can I pick an arbitraty number for the id? Does it have to be unique in that one window, or across the whole application? I'm diving into making a touchscreen friendly version of the MCE skin, so i think you can expect a whole bunch of questions from me. I'll be a guru soon enough though. ![]() |
|
| | #2 (permalink) | ||
| Portal Developer Join Date: Apr 2004 Location: The Netherlands Age: 36
Posts: 1,513
Thanks: 3
Thanked 119 Times in 44 Posts
Country: | control id's are used by mediaportal to make a connection between the layout (defined in the xml files) and the functionality (defined in the sourcecode) Say you have a play button with id = 4 then in the source code i know that if a button with id=4 is pressed that we should start playing the file Quote:
However make sure you dont use an id which already is used in the xml file Quote:
However not all controls have functionality behind it (think of the background image) so you'll see that those ids can be used more then once Frodo | ||
| | |
![]() |
| Bookmarks |
| Tags |
| control, question |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| facadeView control Question | falkyre | Plugins | 2 | 2007-01-07 16:26 |
| Entering TVSetup -> Manual Control seems to trigger EPG grabber | dutch_ | pre 1.0 RC1 | 0 | 2006-11-16 15:30 |
| Remote Control question | davejp | MediaPortal 1 Talk | 2 | 2005-12-24 12:15 |
| Finally a Fix for MPexTuneCMD with DTV Control. | bitbyte | Tips and Tricks | 1 | 2005-10-16 13:24 |
| an external control question | patpotlood | Improvement Suggestions | 0 | 2005-05-20 16:49 |