Search found 16 matches
- Wed Oct 29, 2008 2:36 pm
- Forum: Beginners Help
- Topic: Need advices with scene switching
- Replies: 14
- Views: 851
- Wed Oct 29, 2008 1:51 pm
- Forum: Beginners Help
- Topic: Need advices with scene switching
- Replies: 14
- Views: 851
IGUIElement* e= root->getElementFromId(loginPasswordBox->getID(), false); huu, why you're getting the element by it's id if you already have the element, where you get the id to search for from ?!?!? :shock: if you already have the pointers stored why not simply use them ??? ;) loginPasswordBox->re...
- Wed Oct 29, 2008 10:37 am
- Forum: Beginners Help
- Topic: Need advices with scene switching
- Replies: 14
- Views: 851
Ok : Returns the root gui element. This is the first gui element, parent of all other gui elements. You'll never need to use this method, unless you are creating your own gui elements, trying to add them to the gui elements without a parent. and lol, LoginButton is first thing created so it's the pa...
- Wed Oct 29, 2008 10:33 am
- Forum: Beginners Help
- Topic: Need advices with scene switching
- Replies: 14
- Views: 851
It's not the end lol. What does m_guienv->getRootGUIElement() really do ? Look my code : if (LogInButton->isPressed()) { IGUIElement* root = m_guienv->getRootGUIElement(); IGUIElement* e= root->getElementFromId(loginPasswordBox->getID(), false); if (e) e->remove(); } It's delete the loginbutton and ...
- Wed Oct 29, 2008 10:06 am
- Forum: Beginners Help
- Topic: Need advices with scene switching
- Replies: 14
- Views: 851
- Wed Oct 29, 2008 9:50 am
- Forum: Beginners Help
- Topic: Need advices with scene switching
- Replies: 14
- Views: 851
IGUIElement* root = m_guienv->getRootGUIElement(); root->getElementFromId(loginPasswordBox->getID(), false); root->remove(); Well, somehow I think I have almost it...tough this code doesn't delete the loginpasswordbox :P Edit : Some progress so far -> IGUIElement* root = m_guienv->getRootGUIElement...
- Wed Oct 29, 2008 8:34 am
- Forum: Beginners Help
- Topic: Need advices with scene switching
- Replies: 14
- Views: 851
Ok after severals tests, I came up with only errors...I don't know how to use this.
Example :
I get an error on that, I don't know how to use it, can someone light me up ? thanks xD
Example :
Code: Select all
IGUIElement* elem2 = loginPasswordBox;
elem2->remove();
- Tue Oct 28, 2008 4:19 pm
- Forum: Beginners Help
- Topic: Need advices with scene switching
- Replies: 14
- Views: 851
- Tue Oct 28, 2008 2:28 pm
- Forum: Beginners Help
- Topic: Need advices with scene switching
- Replies: 14
- Views: 851
Need advices with scene switching
Hello, In my game, I have to login first, then choose a server to pay on ( like a mmo). Ok, I login and here is my problem : I have to delete the buttons, edits box, background image and then create the interface for server choosing, but what's the best here ? resetting device ? dropping it and crea...
- Sun Sep 14, 2008 5:07 pm
- Forum: Beginners Help
- Topic: lil question regarding rect
- Replies: 5
- Views: 518
- Sun Sep 14, 2008 12:20 pm
- Forum: Beginners Help
- Topic: lil question regarding rect
- Replies: 5
- Views: 518
How are you creating them on the fly? You should know the resolution of your screen so you should be able to fit them within your screen's size easily within your code... I just put random number on the rect.lol. Theorically, yes but It's more hard than you think...I need to vizualise it...to see i...
- Sun Sep 14, 2008 9:12 am
- Forum: Beginners Help
- Topic: lil question regarding rect
- Replies: 5
- Views: 518
Also I've found that :
http://www.irrlicht3d.org/wiki/index.ph ... .GUIEditor
but #include "CGUIEditFactory.h"
missing...I mean I can't find it in the SDK.
http://www.irrlicht3d.org/wiki/index.ph ... .GUIEditor
but #include "CGUIEditFactory.h"
missing...I mean I can't find it in the SDK.
- Sun Sep 14, 2008 8:01 am
- Forum: Beginners Help
- Topic: lil question regarding rect
- Replies: 5
- Views: 518
lil question regarding rect
hello, well, I need to put some EditBox in my game and well...I've got some troubles regarding putting rect on the screen...sometimes It's doesn't fit in the screen, I'm making them on the fly...So I browed this forum and found http://img412.imageshack.us/img412/470/klaguimo4.png But I don't find ho...
- Sat Sep 13, 2008 9:45 am
- Forum: Code Snippets
- Topic: New GUI skin [update: new skins, support for 1.5/1.6]
- Replies: 112
- Views: 75771
- Mon Aug 25, 2008 6:29 pm
- Forum: Beginners Help
- Topic: Console....
- Replies: 3
- Views: 182
Oh my bad, I didn't read the whole thread, thanks you !vitek wrote:Your question is answered in the FAQ which happens to be a sticky in the beginners forum.
Ok I got my answer thought It's only possible on Windows, well I'll stick to that untill I move to another platform.
Thanks you very much.