Hello all, I've done a lot of reading and google a lot this subject and yet I can't get this to work at all. I finally give up.
Can somebody please give me an example of how to create a window (or 2) on top of a primary surface (full screen mode)? I kinda get the idea from this post: http://www.directfb.org/mailinglists/directfb-users/2003/09-2003/msg00142.html About what it's needed: > - I'll have to get the only layer from my PC hardware (e.g. using > EnumDisplayLayers). > - From IDirectFBDisplayLayer, I can create two windows using CreateWindow. > - For the first window, I can tell a video provider to render into the > surface of the > first window using PlayTo, where the destination argument is obtained from > the window using GetSurface In my case I'm using a video provider to display an image in full screen. Essentially what I'd like is to take an app like the one in this tutorial: http://www.directfb.org/docs/DirectFB_Tutorials/simple.html And do that, plus allow a window to be displayed on top of that (overlay?). I already have the interface and the events in place to handle it (essentially, when somebody presses F2 this function to create this window will be called). What I have done so far can be seen from here: http://svn.debian.org/wsvn/splashy/trunk/src/splashy_video.c?op=file&rev=0&sc=0 The function is the last in that file (video_verbose_text(splashy_video_t * video)). I know that I'm doing something stupid. I just don't know what it is. The sample_video_verbose_text() function in that file came from an example that I got from one of the sample apps in directfb.org. It compiled fine and showed me a small window on top of another and a mouse cursor that I could move. Please help -- ----)(----- Luis Mondesi System Administrator Kiskeyix.org "We think basically you watch television to turn your brain off, and you work on your computer when you want to turn your brain on" -- Steve Jobs in an interview for MacWorld Magazine 2004-Feb No .doc: http://www.gnu.org/philosophy/no-word-attachments.es.html _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
