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.

12345678910111213141516171819202122232425262728293031323334353637
  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 <glm/gtc/type_precision.hpp>
  10. class Window {
  11. public:
  12. static int initialize();
  13. static void eventHandling();
  14. static void swapBuffers();
  15. static void shutdown();
  16. static void setSize(glm::i32vec2 s);
  17. static glm::i32vec2 getSize();
  18. static void setFullscreen(bool f);
  19. static bool getFullscreen();
  20. static void setMousegrab(bool g);
  21. static bool getMousegrab();
  22. static void setTextInput(bool t);
  23. static bool getTextInput();
  24. static void setClipboard(const char* s);
  25. static const char* getClipboard();
  26. };
  27. #endif