NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 54 55 56 57 58 … 93 Next »
UIElements: How do I display a popup screen with scrolling text on it?

 
  • 0 Vote(s) - 0 Average
UIElements: How do I display a popup screen with scrolling text on it?
Spartan
Offline

Senior Member

Posts: 457
Threads: 28
Joined: Mar 2005
#1
2006-06-30, 03:00 AM
Title says it all.

On my sports scores plugin, I want to be able to select a game to view more details about it. I am thinking that a popup window would be displayed, where the user could then scroll thru the text.

I am at a loss for how to tackle this one -- please advise! :confused:
GBPVR v1.0.16 | Comskip | SportsScores | Weather | I-XmlTV

Server: Tyan Thunder h1000E | 2 x Opteron 2210 | 2GB PC2-5300 DDR2 ECC
LSI MegaRAID 300-8X SATA RAID
1x 73GB SCSI @ 10K RPM (OS)
3x 500GB SATA @ 7.2K RPM (RAID 5) (4 Partitions: Docs, Still Pics, Home Movies, Music)
2x 160GB IDE @ 7.2K RPM (RAID 0) (Recordings)
Hauppauge HVR-1600

Client: Gigabyte GA-MA69GM-S2H | Athlon x2 5000+ BE | 2GB PC-6400 DDR2
1x 320GB SATA @ 7.2K RPM
Antec NSX2480 Case
MCE Remote
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#2
2006-06-30, 05:51 AM
Look in the example plugin for use of the TextBox element. If you want too see a real world example take a look at the Calendar plugin's source code (just uploaded it). I use a scrolling text box to show event details. Any qs post again :p
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
Spartan
Offline

Senior Member

Posts: 457
Threads: 28
Joined: Mar 2005
#3
2006-06-30, 01:30 PM
McBainUK Wrote:Look in the example plugin for use of the TextBox element. If you want too see a real world example take a look at the Calendar plugin's source code (just uploaded it). I use a scrolling text box to show event details. Any qs post again :p

Sounds good -- I'll have a look at that.

Last night, after I posted the message, I wound up adding another foreground image with a rounded rectangle border. Then, I was able to add a list of elements to it, but they overflowed off the bottom of the popup foreground (make sense?) How does the list "know" what it's boundaries are?

I have not yet worked out the keyboard/remote handling yet.
GBPVR v1.0.16 | Comskip | SportsScores | Weather | I-XmlTV

Server: Tyan Thunder h1000E | 2 x Opteron 2210 | 2GB PC2-5300 DDR2 ECC
LSI MegaRAID 300-8X SATA RAID
1x 73GB SCSI @ 10K RPM (OS)
3x 500GB SATA @ 7.2K RPM (RAID 5) (4 Partitions: Docs, Still Pics, Home Movies, Music)
2x 160GB IDE @ 7.2K RPM (RAID 0) (Recordings)
Hauppauge HVR-1600

Client: Gigabyte GA-MA69GM-S2H | Athlon x2 5000+ BE | 2GB PC-6400 DDR2
1x 320GB SATA @ 7.2K RPM
Antec NSX2480 Case
MCE Remote
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#4
2006-06-30, 01:56 PM
Spartan Wrote:Last night, after I posted the message, I wound up adding another foreground image with a rounded rectangle border. Then, I was able to add a list of elements to it, but they overflowed off the bottom of the popup foreground (make sense?) How does the list "know" what it's boundaries are?
Found its best to have a PopUp background and popup list as seperate specialelements in the skin.
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
Spartan
Offline

Senior Member

Posts: 457
Threads: 28
Joined: Mar 2005
#5
2006-06-30, 01:59 PM
McBainUK Wrote:Found its best to have a PopUp background and popup list as seperate specialelements in the skin.

I figured that was the case. Is it possible to render multiple backgrounds? (I'm getting in way over my head here)
GBPVR v1.0.16 | Comskip | SportsScores | Weather | I-XmlTV

Server: Tyan Thunder h1000E | 2 x Opteron 2210 | 2GB PC2-5300 DDR2 ECC
LSI MegaRAID 300-8X SATA RAID
1x 73GB SCSI @ 10K RPM (OS)
3x 500GB SATA @ 7.2K RPM (RAID 5) (4 Partitions: Docs, Still Pics, Home Movies, Music)
2x 160GB IDE @ 7.2K RPM (RAID 0) (Recordings)
Hauppauge HVR-1600

Client: Gigabyte GA-MA69GM-S2H | Athlon x2 5000+ BE | 2GB PC-6400 DDR2
1x 320GB SATA @ 7.2K RPM
Antec NSX2480 Case
MCE Remote
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#6
2006-06-30, 02:20 PM
Spartan Wrote:Is it possible to render multiple backgrounds?
Not sure what you mean? :confused:
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
Spartan
Offline

Senior Member

Posts: 457
Threads: 28
Joined: Mar 2005
#7
2006-06-30, 02:28 PM
McBainUK Wrote:Not sure what you mean? :confused:


Part of the problem is that I don't know what I mean either. :o I guess what I am asking is if you:

-> Render a background -- this is the normal one.
-> Render a foreground -- this is the standard screen (underneath the popup)
-> Render a background for the popup (this is what I mean by multiple backgrounds)
-> Render a foreground for the popup -- the actual context and scroll list is in here.

Maybe I need to go look at your calendar plugin.... Wink
GBPVR v1.0.16 | Comskip | SportsScores | Weather | I-XmlTV

Server: Tyan Thunder h1000E | 2 x Opteron 2210 | 2GB PC2-5300 DDR2 ECC
LSI MegaRAID 300-8X SATA RAID
1x 73GB SCSI @ 10K RPM (OS)
3x 500GB SATA @ 7.2K RPM (RAID 5) (4 Partitions: Docs, Still Pics, Home Movies, Music)
2x 160GB IDE @ 7.2K RPM (RAID 0) (Recordings)
Hauppauge HVR-1600

Client: Gigabyte GA-MA69GM-S2H | Athlon x2 5000+ BE | 2GB PC-6400 DDR2
1x 320GB SATA @ 7.2K RPM
Antec NSX2480 Case
MCE Remote
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#8
2006-06-30, 03:29 PM
Spartan Wrote:-> Render a background -- this is the normal one.
-> Render a foreground -- this is the standard screen (underneath the popup)
-> Render a background for the popup (this is what I mean by multiple backgrounds)
-> Render a foreground for the popup -- the actual context and scroll list is in here.
You've answered your own question. This is the order in which you would render the screen elements!

Over the weekend I will try and update the wiki to include the source code for all my plugins in the hope that it will prove useful for yourself and other potential plugin developers.
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
  Multiple lists like in Search Screen cncb 7 3,355 2012-08-08, 09:11 PM
Last Post: cncb
  How to prevent default screen background? cncb 28 8,616 2012-05-16, 08:28 PM
Last Post: ACTCMS
  Single row horizontal list in popup? cncb 4 2,244 2011-09-28, 09:48 PM
Last Post: cncb
  Concatenate Name and Subtitle in Pending Recordings Screen Northpole 0 1,224 2011-09-20, 02:54 PM
Last Post: Northpole
  Settings config screen for class IEventNotification plugin imilne 9 3,620 2011-09-17, 06:06 PM
Last Post: sub
  Date Time display Northpole 0 1,473 2011-08-01, 04:28 PM
Last Post: Northpole
  @channelIcon not available in all recording screen options Northpole 2 1,841 2011-07-29, 04:59 PM
Last Post: Northpole
  Skin question - how to centre a list UiList control on screen? McBainUK 2 1,893 2011-02-17, 08:46 AM
Last Post: McBainUK
  New iMon Display API available! Barsk 6 7,857 2011-01-04, 09:17 AM
Last Post: Barsk
  How to render a graphical volume display in nPVR McBainUK 3 2,087 2010-12-13, 03:25 PM
Last Post: imilne

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

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

Linear Mode
Threaded Mode