OpenRaider  0.1.4-dev
Open Source Tomb Raider Game Engine implementation
Window.h
Go to the documentation of this file.
1 
8 #ifndef _WINDOW_H_
9 #define _WINDOW_H_
10 
11 #include <glm/gtc/type_precision.hpp>
12 
13 class Window {
14  public:
15  static int initialize();
16  static void eventHandling();
17  static void swapBuffers();
18  static void shutdown();
19 
20  static void setSize(glm::i32vec2 s);
21  static glm::i32vec2 getSize();
22 
23  static void setFullscreen(bool f);
24  static bool getFullscreen();
25 
26  static void setMousegrab(bool g);
27  static bool getMousegrab();
28 
29  static void setTextInput(bool t);
30  static bool getTextInput();
31 
32  static void setClipboard(const char* s);
33  static const char* getClipboard();
34 
35  static void inputPositionCallback(int x, int y);
36 };
37 
38 #endif
39 
Definition: Window.h:13
static void setClipboard(const char *s)
Definition: Window.cpp:149
static bool getFullscreen()
Definition: Window.cpp:91
static void setFullscreen(bool f)
Definition: Window.cpp:83
static const char * getClipboard()
Definition: Window.cpp:157
static bool getTextInput()
Definition: Window.cpp:135
static void setTextInput(bool t)
Definition: Window.cpp:127
static bool getMousegrab()
Definition: Window.cpp:113
static void eventHandling()
Definition: Window.cpp:35
static void shutdown()
Definition: Window.cpp:51
static void inputPositionCallback(int x, int y)
Definition: Window.cpp:171
static void swapBuffers()
Definition: Window.cpp:43
static void setMousegrab(bool g)
Definition: Window.cpp:105
static void setSize(glm::i32vec2 s)
Definition: Window.cpp:59
static int initialize()
Definition: Window.cpp:21
static glm::i32vec2 getSize()
Definition: Window.cpp:71