Irrlicht windowed without borders

Discussion about everything. New games, 3d math, development tips...
Post Reply
MyGrandmaWheels
Posts: 20
Joined: Thu May 07, 2015 9:05 am

Irrlicht windowed without borders

Post by MyGrandmaWheels »

Hi to everyone.
Is there a way to hide the irrlicht window device border?
I need it to emulate a sort of container for the Irrlicht render, that I will manage by an external process..
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Irrlicht windowed without borders

Post by CuteAlien »

You have to create your own Window (without border) and give Irrlicht that window-id when creating it. Check the Win32 example - it might help.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
MyGrandmaWheels
Posts: 20
Joined: Thu May 07, 2015 9:05 am

Re: Irrlicht windowed without borders

Post by MyGrandmaWheels »

well, saying the truth, what I really need is to integrate Irrlicht into wxWidgets; for the thing I'm working on, I need a handy GUI, both for the use and for developing.
I tried all the day with the example found here in the forum, but I'm not able to get by; probably with only Win32 platform would be simple, like in the example, but I'm on Linux, and possibly cross platform toward Win.

So, as a last chance, I'm trying some workaround like this to emulate a container with the trick above, but no results at the moment. * sigh *

Anyway, my real topic would be (but I hate to be so hazy):
Is there a way to have a good GUI to integrate in Irrlicht? Can I have a working example?
hendu
Posts: 2600
Joined: Sat Dec 18, 2010 12:53 pm

Re: Irrlicht windowed without borders

Post by hendu »

librocket works fine. There's a topic somewhere.
AReichl
Posts: 270
Joined: Wed Jul 13, 2011 2:34 pm

Re: Irrlicht windowed without borders

Post by AReichl »

Niko has an example for WxWidgets integration of Irrlicht on his webpage. VERY simple. I think the only problem was opening several windows and showing different views in it.
MyGrandmaWheels
Posts: 20
Joined: Thu May 07, 2015 9:05 am

Re: Irrlicht windowed without borders

Post by MyGrandmaWheels »

Yes, I've already seen it, but I can't go on. I suppose because in Linux things are quite different.
Or maybe I'm too stupid to make it works..
MyGrandmaWheels
Posts: 20
Joined: Thu May 07, 2015 9:05 am

Re: Irrlicht windowed without borders

Post by MyGrandmaWheels »

After days of frustrating attempts, I found a possible solution;It seems irrlicht quite agrees with the Qt library, for some reason!
In fact I could (I had to bleed!), to produce a working example, pity that I do not know near nothing about Qt, but I think it's worth it.
Does anyone have a bit of experience? Suggestions? Tips?
Post Reply