mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-09 03:10:22 +00:00
IOS7: Delete deprecated and unused event variables
These class member variables aren't used anymore.
This commit is contained in:
parent
77d56abc66
commit
0d77f8a262
@ -232,8 +232,7 @@ bool OSystem_iOS7::handleEvent_touchFirstUp(Common::Event &event, int x, int y)
|
||||
|
||||
_queuedInputEvent.type = Common::EVENT_LBUTTONUP;
|
||||
handleEvent_mouseEvent(_queuedInputEvent, 0, 0);
|
||||
_lastMouseTap = getMillis();
|
||||
_queuedEventTime = _lastMouseTap + kQueuedInputEventDelay;
|
||||
_queuedEventTime = getMillis() + kQueuedInputEventDelay;
|
||||
} else
|
||||
return false;
|
||||
}
|
||||
@ -242,7 +241,6 @@ bool OSystem_iOS7::handleEvent_touchFirstUp(Common::Event &event, int x, int y)
|
||||
}
|
||||
|
||||
bool OSystem_iOS7::handleEvent_touchSecondDown(Common::Event &event, int x, int y) {
|
||||
_lastSecondaryDown = getMillis();
|
||||
|
||||
if (_mouseClickAndDragEnabled) {
|
||||
event.type = Common::EVENT_LBUTTONUP;
|
||||
|
@ -88,8 +88,8 @@ public:
|
||||
};
|
||||
|
||||
OSystem_iOS7::OSystem_iOS7() :
|
||||
_mixer(NULL), _lastMouseTap(0), _queuedEventTime(0),
|
||||
_secondaryTapped(false), _lastSecondaryTap(0),
|
||||
_mixer(NULL), _queuedEventTime(0),
|
||||
_secondaryTapped(false),
|
||||
_screenOrientation(kScreenOrientationAuto),
|
||||
_timeSuspended(0), _runningTasks(0) {
|
||||
_queuedInputEvent.type = Common::EVENT_INVALID;
|
||||
|
@ -64,12 +64,9 @@ protected:
|
||||
int _runningTasks;
|
||||
|
||||
long _lastMouseDown;
|
||||
long _lastMouseTap;
|
||||
long _queuedEventTime;
|
||||
Common::Event _queuedInputEvent;
|
||||
bool _secondaryTapped;
|
||||
long _lastSecondaryDown;
|
||||
long _lastSecondaryTap;
|
||||
bool _mouseClickAndDragEnabled;
|
||||
bool _touchpadModeEnabled;
|
||||
int _lastPadX;
|
||||
|
Loading…
Reference in New Issue
Block a user