diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-11-11 11:32:29 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-11-11 11:32:29 +0300 |
commit | b2bb9ca39a687efc5dd1014e78650e39452d7cbf (patch) | |
tree | ff81299979056c20a9099a68f3b0254eb513cb29 /source/gameengine/BlenderRoutines/KX_BlenderGL.h | |
parent | 1dfc7942d3f35cbb8bb0e94fec57828da0eb756c (diff) |
Mitchell Stokes BGE MouseWarp patch + warning fix
[#19854] [bugfix] Fix for broken Rasterizer mouse functions
---
This patch fixes the embedded player's ability to control the mouse. For example, hiding and unhiding the mouse cursor
did not work in 2.5, nor could the mouse's position be controlled. This was because these parts still needed to be ported
to 2.5 window manager code.
Diffstat (limited to 'source/gameengine/BlenderRoutines/KX_BlenderGL.h')
-rw-r--r-- | source/gameengine/BlenderRoutines/KX_BlenderGL.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/gameengine/BlenderRoutines/KX_BlenderGL.h b/source/gameengine/BlenderRoutines/KX_BlenderGL.h index 5c947ff630e..d93b5eeabc5 100644 --- a/source/gameengine/BlenderRoutines/KX_BlenderGL.h +++ b/source/gameengine/BlenderRoutines/KX_BlenderGL.h @@ -39,13 +39,13 @@ struct ARegion; // special swapbuffers, that takes care of which area (viewport) needs to be swapped void BL_SwapBuffers(struct wmWindow *win); -void BL_warp_pointer(int x,int y); +void BL_warp_pointer(struct wmWindow *win,int x,int y); void BL_MakeScreenShot(struct ARegion *ar, const char* filename); -void BL_HideMouse(); -void BL_NormalMouse(); -void BL_WaitMouse(); +void BL_HideMouse(struct wmWindow *win); +void BL_NormalMouse(struct wmWindow *win); +void BL_WaitMouse(struct wmWindow *win); void BL_print_gamedebug_line(const char* text, int xco, int yco, int width, int height); void BL_print_gamedebug_line_padded(const char* text, int xco, int yco, int width, int height); |