From ebf9a784a9f7f4148a669dbb39e7cd50df779a14 Mon Sep 17 00:00:00 2001 From: James Rowe Date: Thu, 11 Jan 2018 19:21:20 -0700 Subject: Massive removal of unused modules --- src/citra/emu_window/emu_window_sdl2.h | 59 ---------------------------------- 1 file changed, 59 deletions(-) delete mode 100644 src/citra/emu_window/emu_window_sdl2.h (limited to 'src/citra/emu_window/emu_window_sdl2.h') diff --git a/src/citra/emu_window/emu_window_sdl2.h b/src/citra/emu_window/emu_window_sdl2.h deleted file mode 100644 index 3664d2fbe..000000000 --- a/src/citra/emu_window/emu_window_sdl2.h +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2016 Citra Emulator Project -// Licensed under GPLv2 or any later version -// Refer to the license.txt file included. - -#pragma once - -#include -#include -#include "core/frontend/emu_window.h" - -struct SDL_Window; - -class EmuWindow_SDL2 : public EmuWindow { -public: - EmuWindow_SDL2(); - ~EmuWindow_SDL2(); - - /// Swap buffers to display the next frame - void SwapBuffers() override; - - /// Polls window events - void PollEvents() override; - - /// Makes the graphics context current for the caller thread - void MakeCurrent() override; - - /// Releases the GL context from the caller thread - void DoneCurrent() override; - - /// Whether the window is still open, and a close request hasn't yet been sent - bool IsOpen() const; - -private: - /// Called by PollEvents when a key is pressed or released. - void OnKeyEvent(int key, u8 state); - - /// Called by PollEvents when the mouse moves. - void OnMouseMotion(s32 x, s32 y); - - /// Called by PollEvents when a mouse button is pressed or released - void OnMouseButton(u32 button, u8 state, s32 x, s32 y); - - /// Called by PollEvents when any event that may cause the window to be resized occurs - void OnResize(); - - /// Called when a configuration change affects the minimal size of the window - void OnMinimalClientAreaChangeRequest( - const std::pair& minimal_size) override; - - /// Is the window still open? - bool is_open = true; - - /// Internal SDL2 render window - SDL_Window* render_window; - - using SDL_GLContext = void*; - /// The OpenGL context associated with the window - SDL_GLContext gl_context; -}; -- cgit v1.2.3