NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 19 20 21 22 23 … 93 Next »
Popup box with buttons?

 
  • 0 Vote(s) - 0 Average
Popup box with buttons?
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#1
2008-04-08, 06:50 AM
sub as part of the general API, is there a popup box with buttons?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,788
Threads: 769
Joined: Nov 2003
#2
2008-04-08, 06:51 AM
The popup base class is pretty simple and just provides the background and the animations for showing/hiding it. Any buttons and controls displayed on that popup need to be managed by the plugin.
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#3
2008-04-08, 07:20 AM
ok, and to stretch the theme....is there a way for a plugin to override everything else and display itself over video, screen saver etc??
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,788
Threads: 769
Joined: Nov 2003
#4
2008-04-08, 03:42 PM
No, not really.
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#5
2008-04-08, 08:10 PM
How hard would it be for an API method to do this?? I realise it might have some fairly large changes.

But this could be used for messaging/VOIP, system messages etc

Maybe not a popup window over video, but a method of a plugin taking focus back to itself...I'm just trying to think of methds to do it.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,788
Threads: 769
Joined: Nov 2003
#6
2008-04-08, 10:38 PM
It is quite a bit of work.

I went through this in the past, adding it to GBPVR.exe, only to find no plugins really made use of it. Ok, a couple did, like revens MSN client, but these were never popular. Whilst the idea was cool, there just didnt seem to be the demand for this type of feature. I'd probably be reluctant to invest time on it again given all the other things I could spend my time on.
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#7
2008-04-08, 11:02 PM
I thought that might be the answer.

So would a plugin if it doesn't have focus be able to force a return to the main menu??
Then maybe the plugin could activate itself??

I would imagine this would be less work?? and while not being the prettiest would give the functionality.

I mean of course you could right something external to gbpvr, but it would be nicer if self contained within the one app.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,788
Threads: 769
Joined: Nov 2003
#8
2008-04-08, 11:34 PM
You can try calling IPluginHelper.SetActiveTask() to switch to a plugin
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#9
2008-06-29, 06:08 AM
sub Wrote:The popup base class is pretty simple and just provides the background and the animations for showing/hiding it. Any buttons and controls displayed on that popup need to be managed by the plugin.

I'm back on this. Have got a popupBase object (taking from the weather Sample) and am trying to add a button to it.

Code:
GBPVRX2.UiSupport.UiButton uiButton = new UiButton(skinHelper2, "Icon View", rect);
       uiButton.Activate();
                
       System.Collections.ArrayList al = new System.Collections.ArrayList();
       al.Add(uiButton);
       this.uiList.setItemList(al);

But I can't get that one button to show up. uiList is a UISimpleList.
And rect is the GetPlacementRect i grabbed for the UISimpleList - it should look like crap at the moment, but I just want the button at the moment.
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#10
2008-06-29, 06:29 AM
Code:
protected override ArrayList getPostBackgroundRenderList()
        {
            ArrayList renderList = new ArrayList();
            renderList.AddRange(uiButton.GetRenderList());
            return renderList;
        }

Or you can use the uiList.GetRenderList()
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Single row horizontal list in popup? cncb 4 2,253 2011-09-28, 09:48 PM
Last Post: cncb
  Disappearing popup message McBainUK 6 2,760 2010-11-04, 04:55 PM
Last Post: imilne
  Buttons on a popup tmrt 1 1,426 2010-09-28, 04:54 PM
Last Post: sub
  NPVR Popup sample mvallevand 3 1,672 2010-07-14, 07:54 PM
Last Post: mvallevand
  Too many buttons in plugin whurlston 7 2,502 2008-05-07, 07:04 PM
Last Post: whurlston
  Popup re-rendering whurlston 2 1,690 2008-05-03, 07:21 AM
Last Post: whurlston
  onKeyDown called on main plugin from Popup whurlston 1 1,401 2008-04-01, 07:59 AM
Last Post: whurlston
  Horizontal buttons in popups. whurlston 6 2,394 2008-03-30, 12:19 PM
Last Post: roy
  Skin Files - and Popup skin files psycik 1 1,309 2007-12-09, 03:16 PM
Last Post: sub
  Popup window idkpmiller 2 1,540 2007-04-30, 06:14 AM
Last Post: idkpmiller

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

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

Linear Mode
Threaded Mode