Graphics.pkg 1.0 KB

123456789101112131415161718192021222324252627282930
  1. $#include "Graphics.h"
  2. class Graphics : public Object
  3. {
  4. void SetWindowTitle(const char* windowTitle);
  5. void SetSRGB(bool enable);
  6. bool ToggleFullscreen();
  7. bool TakeScreenShot(Image& destImage);
  8. bool IsInitialized() const;
  9. int GetWidth() const;
  10. int GetHeight() const;
  11. int GetMultiSample() const;
  12. bool GetFullscreen() const;
  13. bool GetResizable() const;
  14. bool GetVSync() const;
  15. bool GetTripleBuffer() const;
  16. bool GetSRGB() const;
  17. tolua_readonly tolua_property__is_set bool initialized;
  18. tolua_readonly tolua_property__get_set int width;
  19. tolua_readonly tolua_property__get_set int height;
  20. tolua_readonly tolua_property__get_set int multiSample;
  21. tolua_readonly tolua_property__get_set bool fullscreen;
  22. tolua_readonly tolua_property__get_set bool resizable;
  23. tolua_readonly tolua_property__get_set bool vSync;
  24. tolua_readonly tolua_property__get_set bool tripleBuffer;
  25. tolua_property__get_set bool sRGB;
  26. };