home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
GUIFacadeControl newbie problem
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="jameson_uk" data-source="post: 1013748" data-attributes="member: 11220"><p>It is hard to comment without seeing some code but</p><p> </p><p>GUIFacadeControl is in the wiki</p><p><a href="http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/7_Skins/Skin_Architecture/Skin_Controls/Facade_View" target="_blank">http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/7_Skins/Skin_Architecture/Skin_Controls/Facade_View</a></p><p> </p><p>but it is a wrapper for other views. This is the control that allows you to switch between list, thumbnail, coverflow ... views</p><p> </p><p>If you really do want just a list control then you can just define a list control </p><p><a href="http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/7_Skins/Skin_Architecture/Skin_Controls/Listcontrol" target="_blank">http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/7_Skins/Skin_Architecture/Skin_Controls/Listcontrol</a></p><p> </p><p>You no not need to instantiate any skin elements</p><p>[code=c#]facadeView = new GUIFacadeControl(GetID);[/code]</p><p>Is not what you need to do. You define the control in the code and the skin file and MP will create the object and and link it to to the definition in the skin file.</p><p> </p><p>I don't think this quite works with the latest version of MP but the code should be 99% of the way there.</p><p><a href="http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/7_Skins/Skin_Architecture/GuiControlsDemo" target="_blank">http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/7_Skins/Skin_Architecture/GuiControlsDemo</a></p><p> </p><p>This gives examples of all the controls and the code behind them.</p><p> </p><p>The other option is to look at the source code / skin files for other plugins</p></blockquote><p></p>
[QUOTE="jameson_uk, post: 1013748, member: 11220"] It is hard to comment without seeing some code but GUIFacadeControl is in the wiki [url]http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/7_Skins/Skin_Architecture/Skin_Controls/Facade_View[/url] but it is a wrapper for other views. This is the control that allows you to switch between list, thumbnail, coverflow ... views If you really do want just a list control then you can just define a list control [url]http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/7_Skins/Skin_Architecture/Skin_Controls/Listcontrol[/url] You no not need to instantiate any skin elements [code=c#]facadeView = new GUIFacadeControl(GetID);[/code] Is not what you need to do. You define the control in the code and the skin file and MP will create the object and and link it to to the definition in the skin file. I don't think this quite works with the latest version of MP but the code should be 99% of the way there. [url]http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/7_Skins/Skin_Architecture/GuiControlsDemo[/url] This gives examples of all the controls and the code behind them. The other option is to look at the source code / skin files for other plugins [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
GUIFacadeControl newbie problem
Contact us
RSS
Top
Bottom