Search found 10 matches

by overdrivr
Sat Feb 19, 2011 3:55 pm
Forum: Advanced Help
Topic: EditBox in a sub-window and events
Replies: 7
Views: 821

Thanks a lot, with the second parameter at true, it works perfectly fine.
by overdrivr
Fri Feb 18, 2011 6:20 pm
Forum: Advanced Help
Topic: EditBox in a sub-window and events
Replies: 7
Views: 821

After some testing i realised something : When u kick a button here what is really happens : 1) You press down the button Irrlicht sends to your event receiver: - first : Button down event (EET_KEY_INPUT_EVENT) - second : Gui event (EET_GUI_EVENT) 2) You release the button -Button up event Is it nor...
by overdrivr
Wed Feb 16, 2011 9:33 am
Forum: Advanced Help
Topic: EditBox in a sub-window and events
Replies: 7
Views: 821

In fact, this doesn't work, sorry for double post. In my event receiver at the begining i put this line : if(env->hasFocus(env->getRootGUIElement()->getElementFromId(1))) { return false;//Never executed } Here is my event treatment : case BUTTON_SAVE : { gui::IGUIWindow* fenetre_save = env->addWindo...
by overdrivr
Tue Feb 15, 2011 4:55 pm
Forum: Advanced Help
Topic: EditBox in a sub-window and events
Replies: 7
Views: 821

Your edit box has the focus, not the window. Ok so i'll correct that thanks. So you should probably return true instead (which means - event is handled, no further processing) Actually the value doesn't change anything cause keyboards events are treated in My own Event Receiver. By returning a valu...
by overdrivr
Tue Feb 15, 2011 3:54 pm
Forum: Advanced Help
Topic: EditBox in a sub-window and events
Replies: 7
Views: 821

EditBox in a sub-window and events

Hi all, I have a sub-window in my program. This window contains an EditBox. I would like to know how to limits the event to this EditBox, cause when i write a text, the keyboard-input events are also treated in the main window. I was thinking using if(env->hasFocus(env->getRootGUIElement()->getEleme...
by overdrivr
Tue Feb 15, 2011 3:39 pm
Forum: Beginners Help
Topic: Select object problem
Replies: 7
Views: 822

No the room is closer, because when you select a node, irrlicht uses the bounding box of the mesh. In your case, the bounding box of the mesh presents a face between the camera and the sofa. You have to use bitMask. I don't know howto, so i'll just give u the link from the API http://irrlicht.source...
by overdrivr
Sat Feb 05, 2011 10:38 am
Forum: Bug reports
Topic: antialiasing off with draw3DLine
Replies: 8
Views: 1333

Ok i didn't know about this technic, thanks guys. So if the bug has been corrected, problem solved.
by overdrivr
Fri Feb 04, 2011 9:00 pm
Forum: Bug reports
Topic: antialiasing off with draw3DLine
Replies: 8
Views: 1333

I'm not an expert but anti-aliasing is a method for texture filtering, no ?
by overdrivr
Wed Feb 02, 2011 5:20 pm
Forum: Bug reports
Topic: antialiasing off with draw3DLine
Replies: 8
Views: 1333

Ok here the screenshots :

Grid : antialiasing off
Image

No Grid : antialiasing on :

Image

And the archive with everything :

http://vtsteam.free.fr/069pjh4mte/archivebug.rar
by overdrivr
Wed Feb 02, 2011 1:41 pm
Forum: Bug reports
Topic: antialiasing off with draw3DLine
Replies: 8
Views: 1333

antialiasing off with draw3DLine

I noticed when you draw 3DLines and a mesh, the antialiasing on the mesh's texture is turned off, and when you stop drawing 3D lines, the antialiasing is turned on. Maybe it's not a bug, just a feature :p I can post some screenshots if needed. Irrlicht 1.7.2 Windows 7 pro renderer OpenGl 2.1.2 GEFor...