jason wrote:
> Where I work we have monitors in reception that are playing videos of
> specials, promotions, CEO talking about stuff and so forth.
> They are just a series of .VOB files running off of a VLC player on a Win XP
> box on the rack.
>
> My boss has asked that I create a Winform that allows someone to enter text
> and submit. This will then create a scrolling ticker across the bottom of the
> screen while the video is playing.
>
> Now I know that I could use Java or C# for this - but I would so love to use
> C++ and FLTK - simply because I am looking for any excuse to advance my
> knowledge in both (and managed languages are too boring and restrictive.)
>
> Any ideas?
Two easy things come to mind: a borderless window (similar to my
'nixieclock' app) placed over the top of your video playback window
so that it can draw whatever it wants; double buffering for smooth
scrolling, anti-aliased fonts, etc. eg:
http://seriss.com/people/erco/fltk/tmp/video-overlay.png
..where I just placed the nixieclock borderless window
over a video playback.
But that won't really let you have letters "superimposed"
over the video. The letters would have to be on a rectangle,
similar to closed-captioning. There might be native OS calls
you can use to make the FLTK windows 'see through'; I have
no details on that though.
The other way would be drawing into the overlay planes,
like the way a screen-capture app lets one drag out a
rubber band selection over the entire screen.
But I don't know if FLTK supports rendering text into the
overlay plane.. might only support shapes and vectors in
very limited colors, not sure.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk