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 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