Now i have the basic controls for units and need a User Interface
I decided to do it in qt since its quite simple (at least i thought so ^^)
I used the Irrlichts eventreceiver for mouse and keyboard Input and passed it to the device like this:
- cpp Code: Select all
MyEventReceiver receiver;
device = createDevice(driverType, core::dimension2d<u32>(1260, 1004), 16, false, false, false, &receiver);
And used it so:
receiver.GetMouseState().Position and the same with klicks and so on...
Now i found a nice tutorial to include the Irrlichtproject into the QT Project:
viewtopic.php?f=5&t=44658
it works great but I dont know how to use the eventreceiver like i did before
Is it possible to use the Irrlicht Eventreceicer with QT?
How?
I hope you can help me
Tahnks in advance
Ritti
