mouse-cursor.hpp 562 B

12345678910111213141516171819202122232425
  1. #if defined(Hiro_MouseCursor)
  2. struct MouseCursor {
  3. using type = MouseCursor;
  4. MouseCursor(const string& name = "");
  5. explicit operator bool() const;
  6. auto operator==(const MouseCursor& source) const -> bool;
  7. auto operator!=(const MouseCursor& source) const -> bool;
  8. auto name() const -> string;
  9. auto setName(const string& name = "") -> type&;
  10. static const string Default;
  11. static const string Hand;
  12. static const string HorizontalResize;
  13. static const string VerticalResize;
  14. //private:
  15. struct State {
  16. string name;
  17. } state;
  18. };
  19. #endif