HatchitGame
ht_window_singleton.h
1 
15 #pragma once
16 
17 #include <ht_platform.h>
18 #include <ht_window.h>
19 #include <ht_singleton.h>
20 
21 namespace Hatchit {
22 
23  namespace Game {
24 
25  class HT_API Window : public Core::Singleton<Window>
26  {
27  public:
28  static bool Initialize(const WindowParams& params);
29 
30  static void DeInitialize();
31 
32  static void PollEvents();
33 
34  static void Close();
35 
36  static bool IsRunning();
37 
38  static void SwapBuffers();
39 
40  static void* NativeWindowHandle();
41 
42  static void* NativeDisplayHandle();
43 
44  private:
45  IWindow* m_window;
46  };
47 
48  }
49 
50 }
Definition: ht_window.h:40
Definition: ht_window_singleton.h:25
Hatchit Engine Copyright(c) 2015-2016 Third-Degree.
Definition: ht_glfwkeyboard.h:21
struct defining various window parameters
Definition: ht_window.h:28