4f24343f32
change TouchToPixelPos to return std::pair<int, int> static_cast (SDL) various minor style and code improvements style - PascalCase for function names made touch events private const pointer arg in touch events make TouchToPixelPos a const member function did I do this right? braces on barely-multiline if remove question comment (confirmed in Discord) fixed consts remove unused parameter from TouchEndEvent DRY - High-DPI scaled touch put in separate function also fixes a bug where if you start touching (with either mouse or touchscreen) and drag the mouse to the LEFT of the emulator window, the touch point jumps to the RIGHT side of the touchscreen; draggin to above the window would make it jump to the bottom. implicit conversion from QPoint to QPointF, apparently I have no idea what const even means but I'll put it here anyway remove unused or used-once variables make touch scaling functions const, and put their implementations together removed unused FingerID parameters QTouchEvent forward declaration; add comment to TouchBegin that was lost in an edit better DRY in SDL To do -> TODO(NeatNit) remove unused include |
||
---|---|---|
.. | ||
configuration | ||
debugger | ||
util | ||
about_dialog.cpp | ||
about_dialog.h | ||
aboutdialog.ui | ||
bootmanager.cpp | ||
bootmanager.h | ||
CMakeLists.txt | ||
compatdb.cpp | ||
compatdb.h | ||
compatdb.ui | ||
compatibility_list.cpp | ||
compatibility_list.h | ||
discord.h | ||
discord_impl.cpp | ||
discord_impl.h | ||
game_list.cpp | ||
game_list.h | ||
game_list_p.h | ||
game_list_worker.cpp | ||
game_list_worker.h | ||
hotkeys.cpp | ||
hotkeys.h | ||
hotkeys.ui | ||
Info.plist | ||
main.cpp | ||
main.h | ||
main.ui | ||
ui_settings.cpp | ||
ui_settings.h | ||
yuzu.rc |