NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 13 14 15 16 17 … 93 Next »
Navigation Issues

 
  • 0 Vote(s) - 0 Average
Navigation Issues
cncb
Offline

Senior Member

Posts: 729
Threads: 112
Joined: Aug 2011
#1
2011-08-11, 08:30 PM
1) It appears that it is not possible to have multiple popups open. If a popup launches another popup, the first one closes. I have to have the screen respond to a callback when the second popup closes to re-open the first popup which looks kind of odd. Any way around this?

2) If I activate a second screen from the main screen in my plugin (both defined in the plugin) the main screen seems to not be added to the navigation history. That is, if I hit escape to go back one screen it jumps back to the main screen/menu?
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#2
2011-08-11, 09:10 PM
For 2), you should be able to capture the Escape/Exit keypress in OnkeyDown and get your own code to reactivate the original screen. Then just return true from OnKeyDown to let the API know you've processed it.

Iain
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#3
2011-08-11, 09:26 PM
cncb Wrote:1) It appears that it is not possible to have multiple popups open. If a popup launches another popup, the first one closes. I have to have the screen respond to a callback when the second popup closes to re-open the first popup which looks kind of odd. Any way around this?
No, that is the way it is intended to work. ie, chain them together, one popup can open another popup, then reactivate itself if need be depending on a callback.

Quote:2) If I activate a second screen from the main screen in my plugin (both defined in the plugin) the main screen seems to not be added to the navigation history. That is, if I hit escape to go back one screen it jumps back to the main screen/menu?
That is correct. There is only ever one active screen. As imilne suggests, you can programmatically switch to back to some other screen rather than the main menu if you need this behaviour.

I know the API isnt perfect. I just wrote what I needed, and ultimately that same functionality was exposed to plugins. NextPVR was created from scratch, very quickly in about 6 months, and in some areas I wish I'd done things slightly differently. Hindsight is 20/20 and all that. I do take suggestions though, and will try to incorporate them, as long as they can be done without breaking compatibility with existing functionality.
cncb
Offline

Senior Member

Posts: 729
Threads: 112
Joined: Aug 2011
#4
2011-08-11, 11:03 PM
imilne Wrote:For 2), you should be able to capture the Escape/Exit keypress in OnkeyDown and get your own code to reactivate the original screen. Then just return true from OnKeyDown to let the API know you've processed it.

Thanks - this works well.
cncb
Offline

Senior Member

Posts: 729
Threads: 112
Joined: Aug 2011
#5
2011-08-11, 11:11 PM
sub Wrote:I definitely cant claim the API I created is perfect. I just wrote what I needed, and ultimately that same functionality was exposed to plugins.

I was not suggesting there is anything wrong with the API and it is working well for me once I figure out how things are. In fact I was able to put something together relatively quickly which is nice given my track record of wasting too much time developing plugins for HTPC software that ends up being abandoned (Beyond Media, TVedia, and now SageTV).
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  couple of issues with recording.recurring.save method reven 10 4,630 2014-01-03, 11:11 PM
Last Post: reven
  Timeline mouse navigation Jaggy 2 1,837 2011-09-18, 01:53 AM
Last Post: Jaggy
  MVP Autostart issues Major Hostility 9 2,918 2005-10-28, 12:59 AM
Last Post: sub
  more skinning issues reven 2 1,512 2005-03-19, 10:16 PM
Last Post: reven
  skinning issues reven 1 1,760 2004-12-12, 09:53 PM
Last Post: moose
  memory issues and images reven 7 2,833 2004-12-09, 07:57 PM
Last Post: reven
  Issues with VideoArchive PeterM 3 2,297 2004-12-05, 04:28 AM
Last Post: Jeff
  W2K startup issues on GB-PVR computer 0 433 Less than 1 minute ago
Last Post:

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

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

Linear Mode
Threaded Mode