Open Source Tomb Raider Engine
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

Window.h 496B

12345678910111213141516171819202122232425262728293031
  1. /*!
  2. * \file include/Window.h
  3. * \brief Windowing interface
  4. *
  5. * \author xythobuz
  6. */
  7. #ifndef _WINDOW_H_
  8. #define _WINDOW_H_
  9. /*!
  10. * \brief Windowing interface
  11. */
  12. class Window {
  13. public:
  14. /*!
  15. * \brief Deconstructs an object of Window
  16. */
  17. virtual ~Window() {}
  18. virtual void setSize(unsigned int width, unsigned int height) = 0;
  19. virtual void setFullscreen(bool fullscreen) = 0;
  20. virtual void setMousegrab(bool grab) = 0;
  21. virtual int initialize() = 0;
  22. };
  23. #endif