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.

WindowGLUT.h 877B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /*!
  2. * \file include/WindowGLUT.h
  3. * \brief GLUT windowing implementation
  4. *
  5. * \author xythobuz
  6. */
  7. #ifndef _WINDOW_GLUT_H_
  8. #define _WINDOW_GLUT_H_
  9. #include "Window.h"
  10. /*!
  11. * \brief GLUT windowing implementation
  12. */
  13. class WindowGLUT : public Window {
  14. public:
  15. /*!
  16. * \brief Constructs an object of WindowGLUT
  17. */
  18. WindowGLUT();
  19. /*!
  20. * \brief Deconstructs an object of WindowGLUT
  21. */
  22. virtual ~WindowGLUT();
  23. virtual void setSize(unsigned int width, unsigned int height);
  24. virtual void setFullscreen(bool fullscreen);
  25. virtual void setMousegrab(bool grab);
  26. virtual bool getMousegrab();
  27. virtual int initialize();
  28. virtual void eventHandling();
  29. virtual void setTextInput(bool on);
  30. virtual bool getTextInput();
  31. virtual void delay(unsigned int ms);
  32. virtual void swapBuffersGL();
  33. private:
  34. };
  35. #endif