Game Develop C++ Platform: MouseTools.h Source File

| Game Develop C++ Platform Platform for developing native games based on OpenGL and SFML with Game Develop

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Groups Pages
MouseTools.h
1 #ifndef MOUSETOOLS_H
2 #define MOUSETOOLS_H
3
4 #include <string>
5 class RuntimeScene;
6
7 void GD_API CenterCursor( RuntimeScene & scene );
8 void GD_API CenterCursorHorizontally( RuntimeScene & scene );
9 void GD_API CenterCursorVertically( RuntimeScene & scene );
10 void GD_API SetCursorPosition( RuntimeScene & scene, float newX, float newY );
11 void GD_API HideCursor( RuntimeScene & scene );
12 void GD_API ShowCursor( RuntimeScene & scene );
13 double GD_API GetCursorXPosition( RuntimeScene & scene, const std::string & layer, unsigned int camera );
14 double GD_API GetCursorYPosition( RuntimeScene & scene, const std::string & layer, unsigned int camera );
15 bool GD_API MouseButtonPressed( RuntimeScene & scene, const std::string & key );
16 int GD_API GetMouseWheelDelta(RuntimeScene & scene );
17
18 #endif // MOUSETOOLS_H
19