mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Apply clang-format to code base
This commit is contained in:
parent
f37d0be806
commit
ddb0522bbf
2199 changed files with 118692 additions and 114392 deletions
|
@ -21,7 +21,7 @@ namespace SDLUtil
|
|||
class InputWrapper
|
||||
{
|
||||
public:
|
||||
InputWrapper(SDL_Window *window, osg::ref_ptr<osgViewer::Viewer> viewer, bool grab);
|
||||
InputWrapper(SDL_Window* window, osg::ref_ptr<osgViewer::Viewer> viewer, bool grab);
|
||||
~InputWrapper();
|
||||
|
||||
void setMouseEventCallback(MouseListener* listen) { mMouseListener = listen; }
|
||||
|
@ -34,7 +34,7 @@ namespace SDLUtil
|
|||
bool isModifierHeld(int mod);
|
||||
bool isKeyDown(SDL_Scancode key);
|
||||
|
||||
void setMouseVisible (bool visible);
|
||||
void setMouseVisible(bool visible);
|
||||
void setMouseRelative(bool relative);
|
||||
bool getMouseRelative() { return mMouseRelative; }
|
||||
void setGrabPointer(bool grab);
|
||||
|
@ -47,7 +47,7 @@ namespace SDLUtil
|
|||
void handleWindowEvent(const SDL_Event& evt);
|
||||
|
||||
bool _handleWarpMotion(const SDL_MouseMotionEvent& evt);
|
||||
void _wrapMousePointer(const SDL_MouseMotionEvent &evt);
|
||||
void _wrapMousePointer(const SDL_MouseMotionEvent& evt);
|
||||
MouseMotionEvent _packageMouseMotion(const SDL_Event& evt);
|
||||
void _setWindowScale();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue