NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 43 44 45 46 47 … 93 Next »
Main Menu Panel

 
  • 0 Vote(s) - 0 Average
Main Menu Panel
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#1
2007-06-03, 12:30 PM
I want to add a panel on the main menu for my GMail plug-in but don't know the best way to do it and can't find any examples. Ideally I would like to reuse the CheckEmail plug-in's skin as this would mean skins would already have the required elements.

Any suggestions?
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#2
2007-06-03, 02:36 PM
OK, I've figured out the IInfoPanel interface but how do I get a SkinHelper object to work from a panel's skin file?
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#3
2007-06-03, 04:37 PM
What do you mean exactly? You can just create an instance of the skin helper object and use it just like you would in any plugin.
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#4
2007-06-03, 05:04 PM
Code:
skinHelper = new SkinHelper(MyPlugInSkinSubDirectoryName, "skin.xml");


This code gets a skin file for the plug-in (gbpvr\skin\Blue\Gmail\skin.xml), but I would also like access to the skin file for the panel (gbpvr\skin\Community\panels\CheckEmail.xml)
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#5
2007-06-03, 05:26 PM
skinHelper = new SkinHelper("panels", "CheckEmail.xml");
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#6
2007-06-03, 05:29 PM
Thanks sub, easy when you know how... Smile
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Add another element to the horizontal main menu Northpole 7 2,804 2011-08-25, 06:18 PM
Last Post: imilne
  Activate "Hidden" menu mvallevand 2 1,558 2011-02-02, 11:24 PM
Last Post: mvallevand
  Is it possible for a plugin to publish to 'Now Playing' panel? McBainUK 4 2,132 2011-01-30, 09:47 AM
Last Post: McBainUK
  Main menu plugin - how? McBainUK 5 2,438 2010-07-29, 01:55 AM
Last Post: sub
  settings menu list box pastro 4 1,857 2009-01-19, 05:17 PM
Last Post: sub
  Menu item Two_Edge 3 1,797 2008-04-28, 11:59 PM
Last Post: sub
  onKeyDown called on main plugin from Popup whurlston 1 1,345 2008-04-01, 07:59 AM
Last Post: whurlston
  Start Menu Shortcut & config.xml Ommina 3 2,515 2007-12-19, 11:05 PM
Last Post: sub
  Skinning the main menu alibert 2 1,681 2007-11-18, 03:53 PM
Last Post: alibert
  newb: How to add setting/control panel to plugin capone 3 1,608 2007-06-06, 04:30 AM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode