mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-23 02:45:45 +00:00
emu_window: Return pair from ClipToTouchScreen() instead of tuple
This is only a 2-tuple, so it can be converted over to the std::pair class.
This commit is contained in:
parent
8805233f5e
commit
d363b2c7d2
2 changed files with 9 additions and 6 deletions
|
@ -228,7 +228,7 @@ private:
|
|||
/**
|
||||
* Clip the provided coordinates to be inside the touchscreen area.
|
||||
*/
|
||||
std::tuple<u32, u32> ClipToTouchScreen(u32 new_x, u32 new_y) const;
|
||||
std::pair<u32, u32> ClipToTouchScreen(u32 new_x, u32 new_y) const;
|
||||
|
||||
Layout::FramebufferLayout framebuffer_layout; ///< Current framebuffer layout
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue