diff options
| author | 2018-08-11 20:20:19 -0400 | |
|---|---|---|
| committer | 2018-08-11 20:20:21 -0400 | |
| commit | 0a93b45b6a2662c69320e6c69f8024e26909a168 (patch) | |
| tree | a16166777acb3d5af7915496827408e1ec7025bd /src/core/frontend/emu_window.cpp | |
| parent | Merge pull request #1010 from bunnei/unk-vert-attrib-shader (diff) | |
| download | yuzu-0a93b45b6a2662c69320e6c69f8024e26909a168.tar.gz yuzu-0a93b45b6a2662c69320e6c69f8024e26909a168.tar.xz yuzu-0a93b45b6a2662c69320e6c69f8024e26909a168.zip | |
core: Namespace EmuWindow
Gets the class out of the global namespace.
Diffstat (limited to 'src/core/frontend/emu_window.cpp')
| -rw-r--r-- | src/core/frontend/emu_window.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/frontend/emu_window.cpp b/src/core/frontend/emu_window.cpp index 2d776c693..9dd493efb 100644 --- a/src/core/frontend/emu_window.cpp +++ b/src/core/frontend/emu_window.cpp | |||
| @@ -8,6 +8,8 @@ | |||
| 8 | #include "core/frontend/input.h" | 8 | #include "core/frontend/input.h" |
| 9 | #include "core/settings.h" | 9 | #include "core/settings.h" |
| 10 | 10 | ||
| 11 | namespace Core::Frontend { | ||
| 12 | |||
| 11 | class EmuWindow::TouchState : public Input::Factory<Input::TouchDevice>, | 13 | class EmuWindow::TouchState : public Input::Factory<Input::TouchDevice>, |
| 12 | public std::enable_shared_from_this<TouchState> { | 14 | public std::enable_shared_from_this<TouchState> { |
| 13 | public: | 15 | public: |
| @@ -108,3 +110,5 @@ void EmuWindow::TouchMoved(unsigned framebuffer_x, unsigned framebuffer_y) { | |||
| 108 | void EmuWindow::UpdateCurrentFramebufferLayout(unsigned width, unsigned height) { | 110 | void EmuWindow::UpdateCurrentFramebufferLayout(unsigned width, unsigned height) { |
| 109 | NotifyFramebufferLayoutChanged(Layout::DefaultFrameLayout(width, height)); | 111 | NotifyFramebufferLayoutChanged(Layout::DefaultFrameLayout(width, height)); |
| 110 | } | 112 | } |
| 113 | |||
| 114 | } // namespace Core::Frontend | ||