diff options
author | Harley Acheson <harley.acheson@gmail.com> | 2019-09-26 15:31:47 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-09-26 15:31:47 +0300 |
commit | 3bf4610347376d326ac376e62a810e20661f1479 (patch) | |
tree | d1b2f67b0666b7028add304ce1b6f4713a21e9a8 /intern/ghost/GHOST_Types.h | |
parent | 6292cab193a6aa2a80ceba929079b47de7d8f48a (diff) |
GHOST: refresh standard cursors available for platforms
* Add more standard cursor types, that platforms can optionally support.
* Remove a few unused cursor types that were not properly supported and
would show the wrong cursor when used.
* Add native cursor files for Windows. These scale well with DPI and have
anti-aliasing. Designed by Duarte Farrajota Ramos.
Ref D5197
Diffstat (limited to 'intern/ghost/GHOST_Types.h')
-rw-r--r-- | intern/ghost/GHOST_Types.h | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/intern/ghost/GHOST_Types.h b/intern/ghost/GHOST_Types.h index 68516c3ecf8..891f9d982b9 100644 --- a/intern/ghost/GHOST_Types.h +++ b/intern/ghost/GHOST_Types.h @@ -197,11 +197,27 @@ typedef enum { GHOST_kStandardCursorInfo, GHOST_kStandardCursorDestroy, GHOST_kStandardCursorHelp, - GHOST_kStandardCursorCycle, - GHOST_kStandardCursorSpray, GHOST_kStandardCursorWait, GHOST_kStandardCursorText, GHOST_kStandardCursorCrosshair, + GHOST_kStandardCursorCrosshairA, + GHOST_kStandardCursorCrosshairB, + GHOST_kStandardCursorCrosshairC, + GHOST_kStandardCursorPencil, + GHOST_kStandardCursorUpArrow, + GHOST_kStandardCursorDownArrow, + GHOST_kStandardCursorVerticalSplit, + GHOST_kStandardCursorHorizontalSplit, + GHOST_kStandardCursorEraser, + GHOST_kStandardCursorKnife, + GHOST_kStandardCursorEyedropper, + GHOST_kStandardCursorZoomIn, + GHOST_kStandardCursorZoomOut, + GHOST_kStandardCursorMove, + GHOST_kStandardCursorNSEWScroll, + GHOST_kStandardCursorNSScroll, + GHOST_kStandardCursorEWScroll, + GHOST_kStandardCursorStop, GHOST_kStandardCursorUpDown, GHOST_kStandardCursorLeftRight, GHOST_kStandardCursorTopSide, @@ -214,7 +230,6 @@ typedef enum { GHOST_kStandardCursorBottomLeftCorner, GHOST_kStandardCursorCopy, GHOST_kStandardCursorCustom, - GHOST_kStandardCursorPencil, GHOST_kStandardCursorNumCursors } GHOST_TStandardCursor; |