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.

WindowSDL.h 739B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*!
  2. * \file include/WindowSDL.h
  3. * \brief SDL windowing implementation
  4. *
  5. * \author xythobuz
  6. */
  7. #ifndef _WINDOW_SDL_H_
  8. #define _WINDOW_SDL_H_
  9. #include "Window.h"
  10. /*!
  11. * \brief SDL windowing implementation
  12. */
  13. class WindowSDL : public Window {
  14. public:
  15. /*!
  16. * \brief Constructs an object of WindowSDL
  17. */
  18. WindowSDL();
  19. /*!
  20. * \brief Deconstructs an object of WindowSDL
  21. */
  22. virtual ~WindowSDL();
  23. virtual void setSize(unsigned int width, unsigned int height);
  24. virtual void setFullscreen(bool fullscreen);
  25. virtual void setMousegrab(bool grab);
  26. virtual int initialize();
  27. private:
  28. unsigned int mWidth;
  29. unsigned int mHeight;
  30. bool mFullscreen;
  31. bool mMousegrab;
  32. };
  33. #endif