Search found 3 matches

by Petskull
Sun Feb 28, 2016 05:08
Forum: Help
Topic: [SOLVED] Making Image Widgets
Replies: 6
Views: 7560

Re: Making Image Widgets

I just spent like 6 hours trying to figure this out! This is working for me now: CEGUI::ImageManager::getSingleton().addFromImageFile("cegui_logo", "logo.png"); CEGUI::DefaultWindow* logo_img_win = static_cast<CEGUI::DefaultWindow*>(CEGUI::WindowManager::getSingleton().createWind...
by Petskull
Sat Feb 27, 2016 19:03
Forum: Help
Topic: [SOLVED] Mouse Cursor not moving, despite injectMouseMove() [Ogre3d]
Replies: 2
Views: 5190

Re: [SOLVED] Mouse Cursor not moving, despite injectMouseMove() [Ogre3d]

Thanks so much, Ident! I now understand that you shouldn't try to use your own GUIContext*s and then also use getDefaultGUIContext(). Note the comment in my code below: -- line 247 -- NOTE: GUIContexts are supposed to be used when drawing to entirely different windows or textures in your 3d scene. F...
by Petskull
Sat Feb 27, 2016 06:43
Forum: Help
Topic: [SOLVED] Mouse Cursor not moving, despite injectMouseMove() [Ogre3d]
Replies: 2
Views: 5190

[SOLVED] Mouse Cursor not moving, despite injectMouseMove() [Ogre3d]

The code below should very simply: display 1 button, display the mouse cursor, and move the cursor when the mouse moves. It does indeed display the button, along with the cursor at the center, but moving the mouse does not change the position of the cursor. In desperation, I tried to set the cursor ...

Go to advanced search