CmOSCursorImpl.h 491 B

123456789101112131415161718192021222324252627
  1. #pragma once
  2. #include "CmPrerequisitesUtil.h"
  3. #include "CmInt2.h"
  4. #if defined(__OBJC__)
  5. #import <Cocoa/Cocoa.h>
  6. #else
  7. #include <ApplicationServices/ApplicationServices.h>
  8. typedef void *id;
  9. #endif
  10. namespace CamelotEngine
  11. {
  12. /**
  13. * @brief Provides controls for Windows operating system cursor.
  14. */
  15. class CM_UTILITY_EXPORT OSCursor
  16. {
  17. public:
  18. static Int2 getPosition();
  19. static void setPosition(const Int2& pos);
  20. static void hide();
  21. static void show();
  22. };
  23. }