mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-22 13:31:08 +00:00
SDL: Remove unused method and ivars
mouse_last_x, mouse_last_y and driver_window::mouse_moved() look like remnants of X11 video, they're never really used.
This commit is contained in:
parent
94ebea3509
commit
82adeb988b
@ -639,13 +639,9 @@ public:
|
||||
~driver_window();
|
||||
|
||||
void toggle_mouse_grab(void);
|
||||
void mouse_moved(int x, int y);
|
||||
|
||||
void grab_mouse(void);
|
||||
void ungrab_mouse(void);
|
||||
|
||||
private:
|
||||
int mouse_last_x, mouse_last_y; // Last mouse position (for relative mode)
|
||||
};
|
||||
|
||||
class driver_fullscreen : public driver_base {
|
||||
@ -851,14 +847,6 @@ void driver_window::ungrab_mouse(void)
|
||||
}
|
||||
}
|
||||
|
||||
// Mouse moved
|
||||
void driver_window::mouse_moved(int x, int y)
|
||||
{
|
||||
mouse_last_x = x; mouse_last_y = y;
|
||||
ADBMouseMoved(x, y);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Full-screen display driver
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user