mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-06 19:01:21 +03:00
remove dependency on boost::locale, use system mouse position in in-game menus
This commit is contained in:
parent
eff26159d9
commit
403b6756f5
3 changed files with 86 additions and 47 deletions
7
extern/sdl4ogre/sdlinputwrapper.hpp
vendored
7
extern/sdl4ogre/sdlinputwrapper.hpp
vendored
|
@ -32,13 +32,14 @@ namespace SFO
|
|||
|
||||
void warpMouse(int x, int y);
|
||||
private:
|
||||
bool _start();
|
||||
|
||||
bool _handleWarpMotion(const SDL_MouseMotionEvent& evt);
|
||||
void _wrapMousePointer(const SDL_MouseMotionEvent &evt);
|
||||
|
||||
MouseMotionEvent _packageMouseMotion(const SDL_Event& evt);
|
||||
void _handleKeyPress(SDL_KeyboardEvent& evt);
|
||||
|
||||
bool _start();
|
||||
void _handleKeyPress(SDL_KeyboardEvent& evt);
|
||||
Uint32 _UTF8ToUTF32(const unsigned char *buf);
|
||||
void _setupOISKeys();
|
||||
|
||||
SFO::MouseListener* mMouseListener;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue