Search found 210 matches

by xterminhate
Sun Mar 10, 2013 7:36 am
Forum: Code Snippets
Topic: [C++] GUI Advanced Window for Irr 1.8
Replies: 4
Views: 4201

Re: [C++] GUI Advanced Window for Irr 1.8

--edit : Last demonstration : http://www.youtube.com/watch?v=McE_EtnlZQM

Hello chronologicaldot,

Yes ! :) Demonstration (HD) : http://www.youtube.com/watch?v=QFFn1C0xAjc

The GUI Advanced Window class is now integrated in the GUI Window Manager class (my old Dynamic Grid). This window manager ...
by xterminhate
Fri Mar 08, 2013 10:34 pm
Forum: Code Snippets
Topic: [C++] GUI Advanced Window for Irr 1.8
Replies: 4
Views: 4201

Re: [C++] GUI Advanced Window for Irr 1.8

Thank you gerdb ! :)

I decided to code these GUI window and window manager when I switched from wxWidgets to Irrlicht for my own game project.

I did not plan to code a Sizer class, but such a feature is definitely a good idea. Someone has coded one for Irrlicht. Don't know if it still exists ...
by xterminhate
Fri Mar 08, 2013 8:21 pm
Forum: Code Snippets
Topic: [C++] GUI Advanced Window for Irr 1.8
Replies: 4
Views: 4201

[C++] GUI Advanced Window for Irr 1.8

Hello,

Here is the last release of both GUI Advanced Window & Window Manager classes.

Demonstration : http://youtu.be/cMvjv1v26Eg

http://img268.imageshack.us/img268/9936/30520130313211706111.jpg

New Features :

Windows stick to viewport borders,
Windows have got background picture (with ...
by xterminhate
Thu Mar 07, 2013 11:13 pm
Forum: Beginners Help
Topic: [SOLVED] Cursor position inside custom GUIElement::draw()
Replies: 6
Views: 1327

Re: [SOLVED] Cursor position inside custom GUIElement::draw(

--edit : Last demonstration : http://www.youtube.com/watch?v=McE_EtnlZQM

Here is the very first result : http://www.youtube.com/watch?v=F0Zl_clgFBQ

A new custom GUI element in my collection, based on the Irrlicht GUI Window, with the features I need for my game GUI :
- Close behavior (nothing ...
by xterminhate
Thu Mar 07, 2013 1:38 pm
Forum: Beginners Help
Topic: [SOLVED] Cursor position inside custom GUIElement::draw()
Replies: 6
Views: 1327

Re: [SOLVED] Cursor position inside custom GUIElement::draw(

You are right. Giving access to the device is not a good idea.

X.
by xterminhate
Thu Mar 07, 2013 9:58 am
Forum: Beginners Help
Topic: [SOLVED] Cursor position inside custom GUIElement::draw()
Replies: 6
Views: 1327

Re: Cursor position from inside derived GUIElement::draw()

Hello,

It is exatly what I did (ICursorControl* as a member variable of my custom GUI Element). This is working well.

It could be interesting to have a getDevice() (aka getDriver() ) from IGUIEnvironnement * inside IGUIElement objects (Irrlicht 1.9 :-)).

Solved.

Thanks.
X.
by xterminhate
Wed Mar 06, 2013 9:45 pm
Forum: Beginners Help
Topic: [SOLVED] Cursor position inside custom GUIElement::draw()
Replies: 6
Views: 1327

[SOLVED] Cursor position inside custom GUIElement::draw()

Hello,

I would like to overload the GUIElement::Draw() member function in order to produce a special effect based on the mouse X.Y position. The cursor may be everywhere, not only over my custom GUI element.

I looked into the Irrlicht source code, and I haven't found a way to retreive the cursor ...
by xterminhate
Sun Mar 03, 2013 10:49 am
Forum: Code Snippets
Topic: [C++] GUI Magnet Window Manager for Irrlicht 1.8
Replies: 3
Views: 2865

[C++] GUI Magnet Window Manager for Irrlicht 1.8

See http://irrlicht.sourceforge.net/forum/viewtopic.php?f=9&t=48327 for the latest release of this class.



----------------------------------------------------- OLD POST -----------------------------------------------------


Hello,
I would like to share my custom GUI element (dynamic grid). It ...
by xterminhate
Sat Mar 02, 2013 9:24 pm
Forum: Beginners Help
Topic: [SOLVED] Custom GUI Element (notified when adding child)
Replies: 4
Views: 1225

Re: [SOLVED] Custom GUI Element (notified when adding child)

---edit
That works, not too bad.
Follow : http://irrlicht.sourceforge.net/forum/viewtopic.php?f=9&t=48291
---edit

Hello,

This custom GUI element is called CGUIDynamicGrid .

In the following demo, I inserted one instance between the GUI Root Element and the instances of the GUI Windows. I did not ...
by xterminhate
Fri Mar 01, 2013 10:01 pm
Forum: Beginners Help
Topic: [SOLVED] Custom GUI Element (notified when adding child)
Replies: 4
Views: 1225

Re: Custom GUI Element (need to be notified when addin child

Thank you very much for your quick reply, CuteAlien.

Well I have come to the same conclusion. My custom GUI element will not be as generic as I expected.

As long as the part of the GUI tree, where is located my custom GUI element, does not change often during execution (in-game), this is not a ...
by xterminhate
Fri Mar 01, 2013 8:35 pm
Forum: Beginners Help
Topic: [SOLVED] Custom GUI Element (notified when adding child)
Replies: 4
Views: 1225

[SOLVED] Custom GUI Element (notified when adding child)

--edit
Found this very recent thrread about my problem : http://irrlicht.sourceforge.net/forum/viewtopic.php?f=7&t=48160&p=277529&hilit=addChildToEnd#p277529
I'm not considering this problem as a bug of Irrlicht. I'm just looking for a good solution to handle dynamic changes of GUI Element tree ...
by xterminhate
Sun Jan 04, 2009 11:27 am
Forum: Code Snippets
Topic: Smooth mixed 1st + 3rd Person Camera Scene Node (for RPG)
Replies: 158
Views: 67949

That can seems to live longer than I expected !

Well, I would like to update the first post of this thread with the link of the current source code of this camera. Anybody has a link of can someone can seend me the cam files ?

Xter.
by xterminhate
Thu Jul 03, 2008 9:40 pm
Forum: Beginners Help
Topic: ScreenShot of an area of the screen
Replies: 4
Views: 683

Thanks for your help. :)

Good news about IImage 1.5 !
by xterminhate
Thu Jul 03, 2008 8:15 pm
Forum: Beginners Help
Topic: ScreenShot of an area of the screen
Replies: 4
Views: 683

ScreenShot of an area of the screen

I'm using this portion of code to make a screenshot :
IImage * img = driver->createScreenShot();
std::string filename = "xxx.png"; /// ...cut...
driver->writeImageToFile( img, filename.c_str() );
img->drop();


I would like to write in a PNG file an area of the screen. IImage interface do not ...