mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-16 07:50:28 +02:00
Switch TouchInputFlags to enum class, fix some minor UI issues
Scroll views now only wheel-scroll if the mouse is hovering over them.
This commit is contained in:
1 parent
dd112491db
commit
481d0fd18c
84 files changed
+265
-186
No files matched your search
@@ -116,7 +116,7 @@ void TouchInputHandler::touchUp(int id, float x, float y){
|
||||
touchevent.id = id;
|
||||
touchevent.x = x;
|
||||
touchevent.y = y;
|
||||
touchevent.flags = TOUCH_UP;
|
||||
touchevent.flags = TouchInputFlags::UP;
|
||||
NativeTouch(touchevent);
|
||||
}
|
||||
|
||||
@@ -125,7 +125,7 @@ void TouchInputHandler::touchDown(int id, float x, float y){
|
||||
touchevent.id = id;
|
||||
touchevent.x = x;
|
||||
touchevent.y = y;
|
||||
touchevent.flags = TOUCH_DOWN;
|
||||
touchevent.flags = TouchInputFlags::DOWN;
|
||||
NativeTouch(touchevent);
|
||||
}
|
||||
|
||||
@@ -134,7 +134,7 @@ void TouchInputHandler::touchMove(int id, float x, float y){
|
||||
touchevent.id = id;
|
||||
touchevent.x = x;
|
||||
touchevent.y = y;
|
||||
touchevent.flags = TOUCH_MOVE;
|
||||
touchevent.flags = TouchInputFlags::MOVE;
|
||||
NativeTouch(touchevent);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user