NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 62 63 64 65 66 … 93 Next »
Panels?

 
  • 0 Vote(s) - 0 Average
Panels?
Old Dog
Offline

Posting Freak

Posts: 1,083
Threads: 99
Joined: Jul 2005
#1
2006-01-01, 06:31 PM
Would someone please explain panels to me.
  • Are they plugins?
  • Are they dlls?
  • Do they showup on the menu settings in config?
  • Can they simply be dropped into any skin.xml?
  • I know that some can be used on the main menu, does the code for main menu need to know anything about the panel or can a brand new panel just be added to it?
  • Who renders them?
  • VA Panel seems to be popular, where can I read about it?
  • What obvious question am I not asking?
Learning new tricks!
Visit Plain Jane's Collection
Jeff
Offline

Posting Freak

Posts: 1,933
Threads: 69
Joined: Oct 2004
#2
2006-01-01, 07:07 PM
Panels are dlls that implement the IInfoPanel interface. They do not show up in the config app, although you can make them do so by also implenting the plug-in interface in the panel and only shpwing yourself when in the config app but not in the main gbpvr program. They are configured through their own skin files in the panels subdirectory of the skin folder but also display if configured to do so in the main menu skin file. Their render method is called by gbpvr when it is displaying the main menu. There is no documentation for the VA Panel, but I can tell you whatever you;d like to know about it. The main thing it does is implement a queue of messages that any app can add to (see the weather plug-in for an example). it then rotates through each message on the queue and displays it for a set period of time. You can extend the VA Panel through panel widgets, which allow these plug-ins to the panel to have config screens of their own. There is an example at http://gbpvr.com/pmwiki/uploads/Developm...Widget.zip

So far there are stand-alone panel widgets to display stock quotes and current music track information, weather via the weather plug-in, and upcoming recordings, conflicting recordings, and low disk space warnings via the video archive plug-in.

Jeff
Old Dog
Offline

Posting Freak

Posts: 1,083
Threads: 99
Joined: Jul 2005
#3
2006-01-01, 08:47 PM
Thanks Jeff. I'll need time to absorb this...
Learning new tricks!
Visit Plain Jane's Collection
Old Dog
Offline

Posting Freak

Posts: 1,083
Threads: 99
Joined: Jul 2005
#4
2006-01-01, 09:16 PM
If any app can post messages to VAPanel, is there a way to filter which messages are actually displayed?
Learning new tricks!
Visit Plain Jane's Collection
Old Dog
Offline

Posting Freak

Posts: 1,083
Threads: 99
Joined: Jul 2005
#5
2006-01-03, 01:33 AM
I think I got it.
Learning new tricks!
Visit Plain Jane's Collection
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#6
2006-01-03, 03:41 AM
off topic, but nice skin.
Old Dog
Offline

Posting Freak

Posts: 1,083
Threads: 99
Joined: Jul 2005
#7
2006-01-03, 03:44 AM
reven Wrote:off topic, but nice skin.

I call it reven for now. Guess why?
Learning new tricks!
Visit Plain Jane's Collection
Old Dog
Offline

Posting Freak

Posts: 1,083
Threads: 99
Joined: Jul 2005
#8
2006-01-06, 04:43 PM
Jeff Wrote:Panels are dlls that implement the IInfoPanel interface. They do not show up in the config app, although you can make them do so by also implenting the plug-in interface in the panel and only shpwing yourself when in the config app but not in the main gbpvr program. They are configured through their own skin files in the panels subdirectory of the skin folder but also display if configured to do so in the main menu skin file. Their render method is called by gbpvr when it is displaying the main menu. There is no documentation for the VA Panel, but I can tell you whatever you;d like to know about it. The main thing it does is implement a queue of messages that any app can add to (see the weather plug-in for an example). it then rotates through each message on the queue and displays it for a set period of time. You can extend the VA Panel through panel widgets, which allow these plug-ins to the panel to have config screens of their own. There is an example at http://gbpvr.com/pmwiki/uploads/Developm...Widget.zip

So far there are stand-alone panel widgets to display stock quotes and current music track information, weather via the weather plug-in, and upcoming recordings, conflicting recordings, and low disk space warnings via the video archive plug-in.

Jeff

Is there a way to use more than one VAPanel on the Main Menu?
Learning new tricks!
Visit Plain Jane's Collection
Jeff
Offline

Posting Freak

Posts: 1,933
Threads: 69
Joined: Oct 2004
#9
2006-01-06, 04:51 PM
No. What are you trying yto do? While you can't have more than one VAPanl, you can write additional panels that use the same underlying message queue to display messages. As an example, I wrote a second panel called AlarmPanel that just shows the higest 2 priority levels of messages (which today are only used for low disk space warnings) and otherwise shows nothing. The source of the example is at http://gbpvr.com/pmwiki/uploads/Developm...mPanel.zip.

Jeff
Old Dog
Offline

Posting Freak

Posts: 1,083
Threads: 99
Joined: Jul 2005
#10
2006-01-06, 05:05 PM
Thats fantastic! You've got everything covered!

Thanks Jeff.

-David
Learning new tricks!
Visit Plain Jane's Collection
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): 1 2 3 4 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Panels! Ommina 5 2,194 2008-03-11, 07:08 PM
Last Post: sub
  Use of Panels decreases performance? PeterM 5 2,343 2004-12-04, 05:14 PM
Last Post: PeterM
  Developing Panels Jeff 7 3,151 2004-12-04, 02:45 AM
Last Post: jasonf

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

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

Linear Mode
Threaded Mode