mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	core: Namespace EmuWindow
Gets the class out of the global namespace.
This commit is contained in:
		
							parent
							
								
									bbc8fd7165
								
							
						
					
					
						commit
						6e22891761
					
				
					 14 changed files with 39 additions and 20 deletions
				
			
		|  | @ -8,6 +8,8 @@ | |||
| #include "core/frontend/input.h" | ||||
| #include "core/settings.h" | ||||
| 
 | ||||
| namespace Frontend { | ||||
| 
 | ||||
| class EmuWindow::TouchState : public Input::Factory<Input::TouchDevice>, | ||||
|                               public std::enable_shared_from_this<TouchState> { | ||||
| public: | ||||
|  | @ -156,3 +158,5 @@ void EmuWindow::UpdateCurrentFramebufferLayout(unsigned width, unsigned height) | |||
|     } | ||||
|     NotifyFramebufferLayoutChanged(layout); | ||||
| } | ||||
| 
 | ||||
| } // namespace Frontend
 | ||||
|  |  | |||
|  | @ -10,6 +10,8 @@ | |||
| #include "common/common_types.h" | ||||
| #include "core/frontend/framebuffer_layout.h" | ||||
| 
 | ||||
| namespace Frontend { | ||||
| 
 | ||||
| /**
 | ||||
|  * Abstraction class used to provide an interface between emulation code and the frontend | ||||
|  * (e.g. SDL, QGLWidget, GLFW, etc...). | ||||
|  | @ -166,3 +168,5 @@ private: | |||
|      */ | ||||
|     std::tuple<unsigned, unsigned> ClipToTouchScreen(unsigned new_x, unsigned new_y) const; | ||||
| }; | ||||
| 
 | ||||
| } // namespace Frontend
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue