Open Source Tomb Raider Engine
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Window.h 739B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*!
  2. * \file include/system/Window.h
  3. * \brief Windowing interface
  4. *
  5. * \author xythobuz
  6. */
  7. #ifndef _WINDOW_H_
  8. #define _WINDOW_H_
  9. #include <vector>
  10. #include <glm/mat4x4.hpp>
  11. #include <glm/vec2.hpp>
  12. #include <glm/vec3.hpp>
  13. #include <glm/vec4.hpp>
  14. #include <glm/gtc/type_precision.hpp>
  15. class Window {
  16. public:
  17. static int initialize();
  18. static void eventHandling();
  19. static void swapBuffers();
  20. static void shutdown();
  21. static void setSize(glm::i32vec2 s);
  22. static glm::i32vec2 getSize();
  23. static void setFullscreen(bool f);
  24. static bool getFullscreen();
  25. static void setMousegrab(bool g);
  26. static bool getMousegrab();
  27. static void setTextInput(bool t);
  28. static bool getTextInput();
  29. };
  30. #endif