大家好,我用sdl创建了一个窗口,然后用gtk_socket_add_id把这个窗口嵌入到GTK窗口里面来,运行结果,虽然GTK窗口里面有了sdl的窗口内容,但是外面还是有一个单独的sdl窗口存在,而且无法关闭。 请问如何解决? 谢谢! 急等。。。。
sdl+Nano-X实现Mplayer窗口播放 关键字:sdl Microwindows Nano-X Mplayer 一般做将Mplayer移植到嵌入式设备都是通过直接写Framebuffer来显示视频,因为这样是最快的。但是某些情况我们需要视频只在特定的窗口播放,而非全屏,这是直接用Framebuffer来实现就很困难。这里提供了一种方法,通过sdl+Microwindows(Nano-X)+Mplayer实现窗口播放视频。其实sdl也支持直接写Framebuffer,但是我们需要sdl通过Nano-X提供的绘图函数来绘制视...
今天在xen下跑Windows XP, [code][root@localhost ~]# xm create winxp Using config file "/etc/xen/winxp". Started domain winxp [root@localhost ~]# [/code] 会先弹出一个小窗口,再弹出xp的界面。 关也关不掉。 不知道如何解决这多余窗口。 留贴备份。 这个是我的配置文件: [code]name = "winxp" uuid = "49d9e550-c390-9b11-d813-0c6e137e08b3" maxmem = 512 memory = 512 vcpus = 1 builder = "hvm" kernel = "/us...
Compiling on Linux Index 目录 Compiling on Linux Compiling sdl Compiling an sdl application using GCC I installed sdl from source but can't build or run sdl applications Compiling sdl Extract sdl, run configure and then make: tar zxvf sdl-1.2.7.tar.gz cd sdl-1.2.7 ./configure make make install You may also change how sdl gets compiled by adding options to ./configure. To display what optio...
Setting up sdl for g++ Last Updated 3/25/06 First thing you need to do is download sdl headers and binaries. You will find them on the sdl website, specifically on this page . Scroll Down to the Development Libraries section and download the Linux development library: Now run the RPM and let it do it's thing. Now create a source file with the following code: #include "sdl/sdl.h" int main( i...
Setting up sdl in Eclipse Last Updated 3/25/06 First thing you need to do is download sdl headers and binaries. You will find them on the sdl website, specifically on this page . Scroll Down to the Development Libraries section and download the Linux development library: Now run the RPM and let it do it's thing. Now start a new managed make project: After you've named your project and ever...
Setting up sdl in KDevelop Last Updated 2/20/06 First thing you need to do is download sdl headers and binaries. You will find them on the sdl website, specifically on this page . Scroll Down to the Development Libraries section and download the Linux development library: Now run the RPM and let it do it's thing. After the RPM installs itself, start up KDevelop and start a new project. Set...