NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 51 52 53 54 55 … 93 Next »
Creating a Video Popup Plug-in

 
  • 0 Vote(s) - 0 Average
Creating a Video Popup Plug-in
Jeff
Offline

Posting Freak

Posts: 1,933
Threads: 69
Joined: Oct 2004
#1
2006-08-24, 03:33 PM
I am working on adding the ability for the weather plug-in to act as a video popup plug-in over playing video. It works except that I am trying to only overlay the bottom portion on the video screen but I get a blue cast to the upper portion as well even though I didn't draw any images or objects to that portion of my image. Do I need to do something special to indicate that that portion is transparent?

Thanks

Jeff
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#2
2006-08-24, 08:50 PM
theres a skinhelper.getOSDTransparencyColour() method (might be pluginhelper), which you need to use as the background colour for the image first, so in you render method
Code:
Image composite = new Image(500,500);
Graphics.FromImage(composite).Clear(skinHelper.getOSDTransparencyColour();
// then all you other draw functions
it might not be called getOSDTransparencyColour, but its something like that, easy to find.
Jeff
Offline

Posting Freak

Posts: 1,933
Threads: 69
Joined: Oct 2004
#3
2006-08-24, 09:32 PM
Thanks.; that did the trick It is GetOSDTransparentColor() in the PlugInHelper.

Jeff
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#4
2006-08-24, 10:16 PM
sub misspelled colour Wink
elite
Offline

Senior Member

Posts: 700
Threads: 26
Joined: Sep 2004
#5
2006-08-25, 07:22 AM
reven Wrote:sub misspelled colour Wink

lol Big Grin
Alternative music reviews[URL="http://soundblab.com"]
[/URL]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Video streaming URL and parameters? cncb 1 1,794 2021-10-22, 06:58 PM
Last Post: sub
  Extras device - using hardware video encoder gdogg371 6 3,222 2021-03-09, 12:18 AM
Last Post: gdogg371
  Loading Local Video Files Syler 25 6,451 2021-03-07, 09:20 PM
Last Post: Syler
  Resuming a video imilne 28 14,459 2016-10-30, 09:27 PM
Last Post: mvallevand
  How to tell when video playback has finished in web client? cncb 6 4,228 2015-09-29, 08:07 PM
Last Post: cncb
  Best approach to creating recurring recordings from c# drmargarit 0 2,609 2015-09-27, 01:32 AM
Last Post: drmargarit
  VIdeo playback from plugin mvallevand 5 3,448 2015-08-06, 10:43 PM
Last Post: sub
  Inset Video - Stop mvallevand 2 2,066 2013-08-07, 09:57 PM
Last Post: mvallevand
  Video Library Fanart Transparency tieke 7 3,877 2013-01-09, 08:23 AM
Last Post: tieke
  NMT Video Playback - does it receive start/stop events psycik 8 3,373 2012-07-15, 10:01 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode