Page 1 of 1
Can I embed the IE window into the CEGUI Window??
Posted: Wed May 13, 2009 01:48
by finezwx
Can I embed the IE window into the CEGUI Window??
If I can , how can I do?
Thank you!!
Re: Can I embed the IE window into the CEGUI Window??
Posted: Wed May 13, 2009 16:00
by Jamarr
I don't think so. CEGUI uses rendering APIs like OpenGL and DirectX for drawing. I believe the IE control uses the Windows OS for drawing. OpenGL and DirectX draw inside of an OS-window, so they are essentially on different layers. It would be difficult if not impossible to do this; but I'm also no expert...
Re: Can I embed the IE window into the CEGUI Window??
Posted: Thu May 28, 2009 01:00
by earthsruler
you might want to have a look on the ogre forums for "awesomium" it lets you browse the net on a plane in a 3d world.
Re: Can I embed the IE window into the CEGUI Window??
Posted: Thu May 28, 2009 17:49
by Jamarr
Nice find. It seems the author of NaviLibrary also wrote Awesomium. Now that it was mentioned, I do recall NaviLibrary utilizing the Mozilla/Gecko SDK to render web-content in Ogre. Apparently he has updated the NaviLibrary to now use Awesomium, which I believe is based on chromium (the Google browser).
Obviously the browser SDK's do most of the work (processing all of the html/css/js/etc.); I am guessing he just renders the final product to a texture via OpenGL. Apparently this has actually been around for awhile now, as there are a few older projects that do the same thing using the Gecko SDK.
I don't think the MSIE control externalizes the rendering details, or has any way of overriding the built-in renderer with a custom one. If such functionality existed, I'm sure someone would have made an OpenGL port by now. But it seems you can use Gecko or Chromium, both of which are supposedly cross-platform anyway.
I wonder how this is going to affect the future of CEGUI and other GUI libraries. Building your GUI strictly via html, css, and jscript has a lot of advantages...
Re: Can I embed the IE window into the CEGUI Window??
Posted: Sat May 30, 2009 15:41
by jacmoe
And building your GUI in code and XML also has it's advantages.
Speed and portability.
Re: Can I embed the IE window into the CEGUI Window??
Posted: Fri Oct 30, 2009 07:23
by pilgarlicx
no,you can't use ie,because it is not a Windowless Controls , if you want integrate browser, you can try qtWebKit,i have successful integrate it with cegui,it is not very complicated.