Search found 10 matches

by fernando24691
Sun Jan 25, 2009 6:14 pm
Forum: Beginners Help
Topic: Can GUI events override Mouse/Keyboard events?
Replies: 6
Views: 489

That post definitely solved my problem! :wink: Thanks
by fernando24691
Sun Jan 25, 2009 5:11 pm
Forum: Beginners Help
Topic: Can GUI events override Mouse/Keyboard events?
Replies: 6
Views: 489

I think I missunderstood you ... :oops: .... I cannot solve it... Here's my receiver structure: virtual bool OnEvent(const SEvent& event) { if (event.EventType == EET_KEY_INPUT_EVENT) { ///BLABLABLABLABLA } if (event.EventType == EET_MOUSE_INPUT_EVENT) { ///BLABLABLABLABLA } if (event.EventType ...
by fernando24691
Sun Jan 25, 2009 4:28 pm
Forum: Beginners Help
Topic: Can GUI events override Mouse/Keyboard events?
Replies: 6
Views: 489

You saved me two times dude ..... :wink:
by fernando24691
Sun Jan 25, 2009 3:16 pm
Forum: Beginners Help
Topic: Can GUI events override Mouse/Keyboard events?
Replies: 6
Views: 489

Can GUI events override Mouse/Keyboard events?

Hello everybody! At last I've coded my event receiver. I've enabled it to handle GUI, mouse and keyboard events. But there's a little problem. First of all say that I coded a function that moves the player everywhere I click in the 3d world (a classic "goTo" function). Well, when I click a...
by fernando24691
Sat Jan 24, 2009 1:10 pm
Forum: Beginners Help
Topic: GUI event receiver . Is it possible?
Replies: 10
Views: 2598

And there's any way to override GUI events from mouse/keyboard events??

That's because when I click a button for example, I make my character move under the button proyection in the 3d world.
by fernando24691
Sat Jan 24, 2009 12:06 pm
Forum: Beginners Help
Topic: GUI event receiver . Is it possible?
Replies: 10
Views: 2598

You're GOD :oops:

When my event receiver returns false, the it always runs ok!
by fernando24691
Fri Jan 23, 2009 11:29 pm
Forum: Beginners Help
Topic: GUI event receiver . Is it possible?
Replies: 10
Views: 2598

The problem is that I include a GUI code lines inside the MastEventReceiver. Eventually, what I did was to put the 5th tutorial on the web (UserInterface) into my project. Because I have to modify my source code to include the MastEventReceiver in my main.cpp file (using the Sapp context). I think I...
by fernando24691
Fri Jan 23, 2009 11:13 pm
Forum: Beginners Help
Topic: GUI event receiver . Is it possible?
Replies: 10
Views: 2598

No, I just want to set up a simple GUI receiver, but I didn't know how to so I decided to make this type of receiver. I don't want to store any data.
I would know which method should I use to set up a simple GUI receiver (like buttons, labels, windows,etc.)
by fernando24691
Fri Jan 23, 2009 2:21 pm
Forum: Beginners Help
Topic: GUI event receiver . Is it possible?
Replies: 10
Views: 2598

Okey. Thanks. But there's one more question. If I don't use an event receiver to handle GUI events, what should I use to handle them. I've looked for one guide or tutorial about handling GUI events, but I've only found out the one that comes with irrlicht (5th tutorial on the web). Should I use the ...
by fernando24691
Thu Jan 22, 2009 8:38 pm
Forum: Beginners Help
Topic: GUI event receiver . Is it possible?
Replies: 10
Views: 2598

GUI event receiver . Is it possible?

Hi. I'm making my own project, so I picked up the MastEventReceiver as a receiver. Now I've developed my project a little more and I want to include a GUI (buttons,bars,menus,etc), but I've realised that the MastEventReceiver hasn't got any code for GUI elements. Due to this lack, I've started out t...