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!)
Another change to MyRSS
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="waeberd" data-source="post: 19697" data-attributes="member: 10343"><p>Andy,</p><p></p><p>a good place to peek at is GUIMusicBaseWindow.cs, "OnShowViews"</p><p>and to use the GUIDialogMenu dialog to select the feed.</p><p></p><p>I'm sure the screen would look less busy! Do you want me to do that or give it a try?</p><p></p><p>Hope you don't mind about that "different" idea <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>Thanks,</p><p></p><p>Daniel</p><p></p><p></p><p></p><p></p><p></p><p>[code]protected void OnShowViews()</p><p>{</p><p> GUIDialogMenu dlg=(GUIDialogMenu)GUIWindowManager.GetWindow((int)GUIWindow.Window.WINDOW_DIALOG_MENU);</p><p> if (dlg==null) return;</p><p> dlg.Reset();</p><p> dlg.SetHeading(924); // menu</p><p> dlg.Add ( GUILocalizeStrings.Get(134));//songs</p><p> foreach (ViewDefinition view in handler.Views)</p><p> {</p><p> dlg.Add( view.Name); //play</p><p> }</p><p> dlg.DoModal( GetID);</p><p></p><p>BLABLABLA</p><p></p><p> if (dlg.SelectedLabel==-1) return;</p><p>} [/code]</p></blockquote><p></p>
[QUOTE="waeberd, post: 19697, member: 10343"] Andy, a good place to peek at is GUIMusicBaseWindow.cs, "OnShowViews" and to use the GUIDialogMenu dialog to select the feed. I'm sure the screen would look less busy! Do you want me to do that or give it a try? Hope you don't mind about that "different" idea :-) Thanks, Daniel [code]protected void OnShowViews() { GUIDialogMenu dlg=(GUIDialogMenu)GUIWindowManager.GetWindow((int)GUIWindow.Window.WINDOW_DIALOG_MENU); if (dlg==null) return; dlg.Reset(); dlg.SetHeading(924); // menu dlg.Add ( GUILocalizeStrings.Get(134));//songs foreach (ViewDefinition view in handler.Views) { dlg.Add( view.Name); //play } dlg.DoModal( GetID); BLABLABLA if (dlg.SelectedLabel==-1) return; } [/code] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Another change to MyRSS
Contact us
RSS
Top
Bottom