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!)
Programming assistance - Plugin overlay (on top of tv for example)
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="coolio" data-source="post: 343405" data-attributes="member: 76902"><p>Hi to everyone,</p><p> I have been developing a plugin for mediaportal and it seems to work rather well.</p><p>I have tralled through the forums and the source code and yet I cannot work out how to create my own overlay.</p><p>I would like my plugin to pop on top of for example the TV Plugin.</p><p></p><p>Currently I can press a button and my plugin pops up with the tv in a small box(bottom left). I press back and it's maximised again. Close to my desired effect but I really want it to work like the TVGuide.</p><p></p><p>I have studied the TVGuide source as well as topbar. I thought these would lead me to my answer but it is eluding me.</p><p></p><p>Currently I am using.</p><p>// activate this window...</p><p>GUIMessage msg = new GUIMessage(GUIMessage.MessageType.GUI_MSG_WINDOW_INIT, MYGUID, 0, 0, -1, 0, null);</p><p>OnMessage(msg);</p><p></p><p>I don't think that my solution is a one liner but if anyone can assist me with this I would very much appreciate it.</p><p>Even if its to tell me it's not feasible.</p><p></p><p>Another pathetic attempt..</p><p> GUIOverlayWindow MyOverlay = (GUIOverlayWindow)GUIWindowManager.GetWindow(10324);</p><p> if (MyOverlay != null)</p><p> {</p><p> MyOverlay.Focused = true;</p><p> }</p><p> MyOverlay.LoadSkin();</p><p> MyOverlay.Init();</p><p> MyOverlay.Focus();</p><p> MyOverlay.Render(10324);</p><p></p><p></p><p>Regards</p></blockquote><p></p>
[QUOTE="coolio, post: 343405, member: 76902"] Hi to everyone, I have been developing a plugin for mediaportal and it seems to work rather well. I have tralled through the forums and the source code and yet I cannot work out how to create my own overlay. I would like my plugin to pop on top of for example the TV Plugin. Currently I can press a button and my plugin pops up with the tv in a small box(bottom left). I press back and it's maximised again. Close to my desired effect but I really want it to work like the TVGuide. I have studied the TVGuide source as well as topbar. I thought these would lead me to my answer but it is eluding me. Currently I am using. // activate this window... GUIMessage msg = new GUIMessage(GUIMessage.MessageType.GUI_MSG_WINDOW_INIT, MYGUID, 0, 0, -1, 0, null); OnMessage(msg); I don't think that my solution is a one liner but if anyone can assist me with this I would very much appreciate it. Even if its to tell me it's not feasible. Another pathetic attempt.. GUIOverlayWindow MyOverlay = (GUIOverlayWindow)GUIWindowManager.GetWindow(10324); if (MyOverlay != null) { MyOverlay.Focused = true; } MyOverlay.LoadSkin(); MyOverlay.Init(); MyOverlay.Focus(); MyOverlay.Render(10324); Regards [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Programming assistance - Plugin overlay (on top of tv for example)
Contact us
RSS
Top
Bottom