HatchitGame
ht_glfwwindow.h
1 
15 #pragma once
16 
17 #include <ht_platform.h>
18 #include <ht_window.h>
19 #include <GLFW/glfw3.h>
20 
21 namespace Hatchit {
22 
23  namespace Game {
24 
25  class HT_API GLFWWindow : public IWindow
26  {
27  public:
28  GLFWWindow(const WindowParams& params);
29 
30  ~GLFWWindow();
31 
32  bool VInitialize() override;
33 
34  void* VNativeWindowHandle() override;
35 
36  void* VNativeDisplayHandle() override;
37 
38  bool VIsRunning() override;
39 
40  void VPollEvents() override;
41 
42  void VClose() override;
43 
44  void VSwapBuffers() override;
45 
46  private:
47  GLFWwindow* m_handle;
48  };
49 
50  }
51 
52 }
Definition: ht_window.h:40
Hatchit Engine Copyright(c) 2015-2016 Third-Degree.
Definition: ht_glfwkeyboard.h:21
struct defining various window parameters
Definition: ht_window.h:28
Definition: ht_glfwwindow.h:25