Extending GUI

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
wetfire
Posts: 10
Joined: Wed Aug 30, 2006 12:10 pm
Location: Italy

Extending GUI

Post by wetfire »

Hallo everybody!
Why don't we work for extending gui elements.
I'm working at a slider control.
When i'll finish it i'll post it here.
I hope to find any control, posted here, next time.

PS: sorry for my english.
Nothing is impossible!

My photolog
EmmanuelD
Posts: 25
Joined: Thu Aug 24, 2006 8:34 am
Location: Right in front of Dagoth Ur
Contact:

Post by EmmanuelD »

There are already several GUI extensions (see the irrlicht wiki) but it is true that as of today, GUI support in Irrlicht is kind of limited. Fortunately, writing your own GUI element is not very hard (although I find it weird to have to give it an "unknown" type. BTW there should definitely be a tutorial about how one might create its own GUI element).

As of today, I believe these GUI elements are missing:
* progress bar
* slider
* vertical toolbar (we should simply enhance the existing toolbar)
* lots of other GUI elements (but I forgot them :) )

A full blown IGUIListBoxItem object would also be kind of good (generalizing the list box so it can display any kind of item, be it an image, a check box or a simple string)

There is also minor bugs in the way the menu are handled (I can't use menu->setVisible() to hide/show a menu item - in this respect, the menu don't behave like the other IGUiElement).

Regards,
-- Emmanuel D.
RhavoX
Posts: 33
Joined: Tue Jul 04, 2006 7:27 pm

Post by RhavoX »

I'm working on extending the buttons to be more like windows ones :P. I already made them change image on hover (the easy part) and they won't do anything if you're not pointing them while releasing the mouse button, but there are still some things that I want to change :P If anyone's interested then I'll post an example.
Teh Uber-Pwner xD
Post Reply