diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-09-26 15:31:43 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-09-26 15:31:43 +0300 |
commit | 6292cab193a6aa2a80ceba929079b47de7d8f48a (patch) | |
tree | 2a8dc1a2c8814679a923d57be96d088b6e321c1d /intern/ghost/intern/GHOST_WindowCocoa.h | |
parent | bab6ede28687ff0b6f3cf579652224c7fdd79596 (diff) |
GHOST: add GHOST_HasWindowCursorShape() to test if standard cursor exists
Ref D5197
Diffstat (limited to 'intern/ghost/intern/GHOST_WindowCocoa.h')
-rw-r--r-- | intern/ghost/intern/GHOST_WindowCocoa.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_WindowCocoa.h b/intern/ghost/intern/GHOST_WindowCocoa.h index 5e857c05a09..66de8bcf7cc 100644 --- a/intern/ghost/intern/GHOST_WindowCocoa.h +++ b/intern/ghost/intern/GHOST_WindowCocoa.h @@ -215,6 +215,7 @@ class GHOST_WindowCocoa : public GHOST_Window { */ GHOST_TSuccess setOrder(GHOST_TWindowOrder order); + NSCursor *getStandardCursor(GHOST_TStandardCursor cursor) const; void loadCursor(bool visible, GHOST_TStandardCursor cursor) const; const GHOST_TabletData *GetTabletData() @@ -296,6 +297,7 @@ class GHOST_WindowCocoa : public GHOST_Window { * native window system calls. */ GHOST_TSuccess setWindowCursorShape(GHOST_TStandardCursor shape); + GHOST_TSuccess hasCursorShape(GHOST_TStandardCursor shape); /** * Sets the cursor shape on the window using |