From bad78945ceba425f6a80e3b8dca2414d592970eb Mon Sep 17 00:00:00 2001 From: chai Date: Fri, 2 Aug 2019 20:51:00 +0800 Subject: =?UTF-8?q?*=E4=BF=AE=E6=94=B9=E6=96=87=E4=BB=B6=E5=90=8D=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/modules/asura-core/window/window_impl_sdl.h | 45 ---------------------- 1 file changed, 45 deletions(-) delete mode 100644 source/modules/asura-core/window/window_impl_sdl.h (limited to 'source/modules/asura-core/window/window_impl_sdl.h') diff --git a/source/modules/asura-core/window/window_impl_sdl.h b/source/modules/asura-core/window/window_impl_sdl.h deleted file mode 100644 index 20f5c95..0000000 --- a/source/modules/asura-core/window/window_impl_sdl.h +++ /dev/null @@ -1,45 +0,0 @@ -#ifndef __ASURA_WINDOW_SDL_H_ -#define __ASURA_WINDOW_SDL_H_ - -#include "../core_config.h" - -#if ASURA_WINDOW_SDL - -#include - -#include "window.h" - -namespace_begin(AsuraEngine) -namespace_begin(Window) - -class WindowImplSDL ASURA_FINAL : public WindowImpl -{ -public: - - WindowImplSDL(); - ~WindowImplSDL(); - - bool Init(const WindowConfig& config); - - void SetSize(uint width, uint height) override; - void SetPosition(int x, int y) override; - void SetTitils(const std::string& title) override; - - void Show() override; - void Hide() override; - - void SwapRenderBuffer() override; - -private: - - SDL_Window* m_Wnd; - SDL_GLContext m_GLContext; - -}; - -namespace_end -namespace_end - -#endif // ASURA_WINDOW_SDL - -#endif \ No newline at end of file -- cgit v1.1-26-g67d0