Search found 23 matches
- Mon Sep 09, 2013 12:46
- Forum: Help
- Topic: Falagard Skinning Questions
- Replies: 0
- Views: 10869
Falagard Skinning Questions
Hello there, Trying to figure out what I can do with Falagard Skinning and have some questions. 1.- Created A FrameWindow with 1 Child PushButtons within <WidgetLook> , both with 4 images referencing Hover,Pushed,Disabled and Normal State. The buttons r shared within FrameWindow States "ActiveW...
- Fri Sep 06, 2013 10:33
- Forum: Help
- Topic: [Solved] Troubles With rendering Surface inside DrawSelf
- Replies: 2
- Views: 2589
Re: [Solved] Troubles With rendering Surface inside DrawSelf
Set FrameWindow->setUsingAutoRenderingSurface(false); solves the problem.
- Fri Sep 06, 2013 09:37
- Forum: Help
- Topic: [Solved] Troubles With rendering Surface inside DrawSelf
- Replies: 2
- Views: 2589
Re: Troubles With rendering Surface inside DrawSelf (Overrid
Note:
After Some tests , it only happens with FrameWindow's , Labels / Images /TabControl etc.. Draws and Refresh correctly. But if i create the widget inside a Label and then add this label to a FrameWindow , then the problem persists.
After Some tests , it only happens with FrameWindow's , Labels / Images /TabControl etc.. Draws and Refresh correctly. But if i create the widget inside a Label and then add this label to a FrameWindow , then the problem persists.
- Fri Sep 06, 2013 08:50
- Forum: Help
- Topic: [Solved] Troubles With rendering Surface inside DrawSelf
- Replies: 2
- Views: 2589
[Solved] Troubles With rendering Surface inside DrawSelf
Recently i was trying to implement a Widget (CEGUIChromeWidget by CeguiTeam) and i'm beeing stuck on Refresh Rate of the widget when inside a FrameWindow or TabControl. Well , ChromeWidget dosn't Draw on Every Frame , just when i move the window or activate any other Event (Resize, move Window Aroun...
- Tue Aug 13, 2013 08:51
- Forum: Help
- Topic: Working D3D9 Hook With CEGUI as Base for Rendering.
- Replies: 0
- Views: 6303
Working D3D9 Hook With CEGUI as Base for Rendering.
Finally managed to put it all together and have a working Hook using CEGUI with (minimal) Example , playing around would be easy from this point. I will post my Code but keep in mind i'm not a C++ programmer , i just do it for fun. My initial Goal was to create Different hooks ( d3d9, d3d10 , d3d11 ...
- Fri Aug 09, 2013 13:49
- Forum: Help
- Topic: [SOLVED] InjectKeys to CEGUI Problems
- Replies: 31
- Views: 19610
Re: injectKeys to CEGUI Problems
Ok found the problem and now positoning works Ok.
D3D9 app I was using to test my hooks wasn't using AdjustWIndowRect() after resizing.... So Everything was incorrectly set because of that.
Well still no animations but at least i learned some useful tricks.
D3D9 app I was using to test my hooks wasn't using AdjustWIndowRect() after resizing.... So Everything was incorrectly set because of that.
Well still no animations but at least i learned some useful tricks.
- Fri Aug 09, 2013 09:02
- Forum: Help
- Topic: [SOLVED] InjectKeys to CEGUI Problems
- Replies: 31
- Views: 19610
Re: injectKeys to CEGUI Problems
Ok after some trys on getting Relative Position with Maths and not getting any solution i found the problem. So after all CEGUI Positoning use : D3DPRESENT_PARAMETERS -> BackBufferWidth && BackBufferHeight for Mouse positoning , not Window width and height. Using: CEGUI::Sizef sized = guiCon...
- Thu Aug 08, 2013 17:09
- Forum: Help
- Topic: [SOLVED] InjectKeys to CEGUI Problems
- Replies: 31
- Views: 19610
Re: injectKeys to CEGUI Problems
Ok, if everything works as it should then I misunderstood the concept behind injecting Mouse Positions. Thought CEGUI was using the ScreenSize not WindowSize, since i'm injecting Mouse Position based on my ScreenSize the CEGUI Cursor will never be on the correct position. So I should calculate WndSi...
- Thu Aug 08, 2013 15:31
- Forum: Help
- Topic: [SOLVED] InjectKeys to CEGUI Problems
- Replies: 31
- Views: 19610
Re: injectKeys to CEGUI Problems
Tryd to use GetPosition within Direct3D9 Window without hooks and printed X/Y , its exactly the same value that i pass with MessageHook. It's Absolute to my ScreenSize. That explains why work with Full-Screen Mode. Then added this to RenderGUI Function: CEGUI::GUIContext * mainContext = &CEGUI::...
- Thu Aug 08, 2013 14:34
- Forum: Help
- Topic: [SOLVED] InjectKeys to CEGUI Problems
- Replies: 31
- Views: 19610
Re: injectKeys to CEGUI Problems
100% sure isn't CEGUI. I don't know about animation problem , but this weird mouse positioning is my fault.
- Thu Aug 08, 2013 13:51
- Forum: Help
- Topic: [SOLVED] InjectKeys to CEGUI Problems
- Replies: 31
- Views: 19610
Re: injectKeys to CEGUI Problems
On FullScreen Mode , mouse position is updated correctly , anyways still no visible animations :/
On windowed mode , mouse position dosn't update correctly and no animations.
Looks like Absolute Positioning is what's causing the problem in windowed mode... i could be wrong anyways.
On windowed mode , mouse position dosn't update correctly and no animations.
Looks like Absolute Positioning is what's causing the problem in windowed mode... i could be wrong anyways.
- Thu Aug 08, 2013 12:30
- Forum: Help
- Topic: [SOLVED] InjectKeys to CEGUI Problems
- Replies: 31
- Views: 19610
Re: injectKeys to CEGUI Problems
Still Looking into MSDN , maybe i can find something in there.
Anyways looks like OS Mouse is Faster than CEGUI Mouse.
Anyways looks like OS Mouse is Faster than CEGUI Mouse.
- Thu Aug 08, 2013 11:54
- Forum: Help
- Topic: [SOLVED] InjectKeys to CEGUI Problems
- Replies: 31
- Views: 19610
Re: injectKeys to CEGUI Problems
Solved the problem within mouse position: Old: case WM_MOUSEMOVE: mouseEnters(); this->injectMousePosition((float)(LOWORD(lParam)), (float)(HIWORD(lParam))); SendMessage( hWndServer, UWM_MOUSEMOVE, 0, 0); break; New: case WM_MOUSEMOVE: mouseEnters(); this->injectMousePosition((float)msg->pt.x, (floa...
- Wed Aug 07, 2013 18:52
- Forum: Help
- Topic: [SOLVED] InjectKeys to CEGUI Problems
- Replies: 31
- Views: 19610
Re: injectKeys to CEGUI Problems
Don't worry , i will post all the code i have when i solve everything. My idea was to create a base for D3DX Overaly with CEGUI , so people can create theyr own menus without need to worry about Hooks, just CEGUI. Anyways i need to clean A LOT my code , most of it its just copy paste of CEGUI Classe...
- Wed Aug 07, 2013 18:44
- Forum: Help
- Topic: [SOLVED] InjectKeys to CEGUI Problems
- Replies: 31
- Views: 19610
Re: injectKeys to CEGUI Problems
Yep , looks like SetWindowsHookEx( WH_GETMESSAGE ) is having troubles with D3D9 mouse positions. I need another hook method then.