Search found 7 matches

by unclepauly
Mon May 05, 2008 10:54
Forum: Help
Topic: ButtonClick event always fired no matter where mouse clicked
Replies: 4
Views: 2017

hi CE,

thanks for the reply.

you were right, i was not injecting mouse up events, because i was not doing anything with them. ive done that now and all is good.

thanks again !
by unclepauly
Sun May 04, 2008 12:30
Forum: Help
Topic: ButtonClick event always fired no matter where mouse clicked
Replies: 4
Views: 2017

ok, i have sorted out the OIS side of things. i hadnt set it up correctly, and the default width/height is 50x50. so now i output the position of the mouse on an overlay, and i can see that it is correct (width = 800, height = 600). however, i am still having my original problem ! please look at my ...
by unclepauly
Sat May 03, 2008 22:30
Forum: Help
Topic: ButtonClick event always fired no matter where mouse clicked
Replies: 4
Views: 2017

actually this might be an OIS issue, because the X and Y values of args, passed to bool mousePressed(const OIS::MouseEvent &arg, OIS::MouseButtonID id) has X=50 and Y=50, even though my render window is 800 x 600. so i dont think this is CEGUI after all, sorry.
by unclepauly
Sat May 03, 2008 20:24
Forum: Help
Topic: ButtonClick event always fired no matter where mouse clicked
Replies: 4
Views: 2017

ButtonClick event always fired no matter where mouse clicked

hello, im having what i assume is a pretty simple problem to solve, hope someone can help... im using ogre, and ois to inject my input into cegui. in my CreateScene function i do: CEGUI::WindowManager *win = CEGUI::WindowManager::getSingletonPtr(); CEGUI::Window *sheet = win->createWindow...
by unclepauly
Wed Jan 24, 2007 14:31
Forum: Help
Topic: cursor disapears when i move it...
Replies: 3
Views: 2470

cool, thanks :)
by unclepauly
Sun Jan 21, 2007 19:28
Forum: Help
Topic: cursor disapears when i move it...
Replies: 3
Views: 2470

i think i know now. running the ogre/cegui wiki tutorial, i can see that relX and relY from the Ogre::MouseEvents argument is very small compared to the relX and relY from the OIS::MouseEvents argument. this causes x and y to be huge when multiplied by the window width/height and so the cursor shoot...
by unclepauly
Sun Jan 21, 2007 18:59
Forum: Help
Topic: cursor disapears when i move it...
Replies: 3
Views: 2470

cursor disapears when i move it...

OMG i must be doing something so stupid, please help me figure out what it is! im adding cegui to an existing Ogre project of mine. i initially set up cegui like this: mGUIRenderer = new CEGUI::OgreCEGUIRenderer(win, Ogre::RENDER_QUEUE_OVERLAY, false, 3000, sceneMgr); mGUISystem = new CEGUI:...

Go to advanced search