Possible sources for my stupidity?


17-05-2009 05:01:04

This one is really beating me. I've been staring at my code for a couple of hours now and can't see what I've done, so I'm wondering if anyone has any ideas what I could have done wrong off the top of their heads.

I think I've initialized QuickGUI properly, (I copied and pasted the code from another working project), and the cursor appears in the upper left hand corner of the screen. However, when I use a GUIManager's injectMousePos(x,y) method, the cursor doesn't move. Has anyone pulled the same stupid stunt I've unwittingly made before? Because I sure as hell don't know what's going on...

Anyway, thanks for the help, and sorry for being so dumb about this. :C



17-05-2009 11:00:43

You have told QuickGUI the height and width of the screen you're using? (And, if you've got code that does that, you are passing it correct values?)

... and you are telling Ogre to render frames?... :D

(I've had similar problems, and my solutions were very simple... the ones above, in fact. :lol: )


17-05-2009 18:22:27

Woah, I forgot to setActiveSheet. Sorry!


18-05-2009 23:44:19

Ahhh, yes. That helps, too. :)