mirror of
https://github.com/glest/glest-source.git
synced 2025-08-20 15:11:20 +02:00
no more trouble with middle mouse button camera view
This commit is contained in:
@@ -359,6 +359,10 @@ void Window::revertMousePos() {
|
||||
SDL_WarpMouse(oldX, oldY);
|
||||
}
|
||||
|
||||
Vec2i Window::getOldMousePos() {
|
||||
return Vec2i(oldX, oldY);
|
||||
}
|
||||
|
||||
string Window::getText() {
|
||||
char* c = 0;
|
||||
SDL_WM_GetCaption(&c, 0);
|
||||
|
Reference in New Issue
Block a user