Open Source Tomb Raider Engine
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

Window.h 829B

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