diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2023-11-25 01:55:49 +0100 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2023-11-25 02:32:35 +0100 |
commit | f61cf1464688e5b4b2201414744445002ddc2e4a (patch) | |
tree | 4380604aa59c841d4630fb04c053bf1702fce355 /src/core | |
parent | Merge pull request #12123 from merryhime/explicit-this (diff) | |
download | yuzu-f61cf1464688e5b4b2201414744445002ddc2e4a.tar yuzu-f61cf1464688e5b4b2201414744445002ddc2e4a.tar.gz yuzu-f61cf1464688e5b4b2201414744445002ddc2e4a.tar.bz2 yuzu-f61cf1464688e5b4b2201414744445002ddc2e4a.tar.lz yuzu-f61cf1464688e5b4b2201414744445002ddc2e4a.tar.xz yuzu-f61cf1464688e5b4b2201414744445002ddc2e4a.tar.zst yuzu-f61cf1464688e5b4b2201414744445002ddc2e4a.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/frontend/emu_window.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/frontend/emu_window.h b/src/core/frontend/emu_window.h index a72df034e..c7b48a58d 100644 --- a/src/core/frontend/emu_window.h +++ b/src/core/frontend/emu_window.h @@ -167,6 +167,11 @@ protected: */ std::pair<f32, f32> MapToTouchScreen(u32 framebuffer_x, u32 framebuffer_y) const; + /** + * Clip the provided coordinates to be inside the touchscreen area. + */ + std::pair<u32, u32> ClipToTouchScreen(u32 new_x, u32 new_y) const; + WindowSystemInfo window_info; bool strict_context_required = false; @@ -181,11 +186,6 @@ private: // By default, ignore this request and do nothing. } - /** - * Clip the provided coordinates to be inside the touchscreen area. - */ - std::pair<u32, u32> ClipToTouchScreen(u32 new_x, u32 new_y) const; - Layout::FramebufferLayout framebuffer_layout; ///< Current framebuffer layout u32 client_area_width; ///< Current client width, should be set by window impl. |