diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-11-27 17:56:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-27 17:56:24 +0100 |
commit | 5a96c525e31797cb9dd69f693fb1746e865964f1 (patch) | |
tree | 57543645f9c3dd1ea72e1f9bd7ea81792de3de28 /src/core/frontend/emu_window.h | |
parent | Merge pull request #11535 from GPUCode/upload_cmdbuf (diff) | |
parent | yuzu: Constrain mouse in render window when emulated (diff) | |
download | yuzu-5a96c525e31797cb9dd69f693fb1746e865964f1.tar yuzu-5a96c525e31797cb9dd69f693fb1746e865964f1.tar.gz yuzu-5a96c525e31797cb9dd69f693fb1746e865964f1.tar.bz2 yuzu-5a96c525e31797cb9dd69f693fb1746e865964f1.tar.lz yuzu-5a96c525e31797cb9dd69f693fb1746e865964f1.tar.xz yuzu-5a96c525e31797cb9dd69f693fb1746e865964f1.tar.zst yuzu-5a96c525e31797cb9dd69f693fb1746e865964f1.zip |
Diffstat (limited to 'src/core/frontend/emu_window.h')
-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. |