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_WindowX11.h | |
parent | bab6ede28687ff0b6f3cf579652224c7fdd79596 (diff) |
GHOST: add GHOST_HasWindowCursorShape() to test if standard cursor exists
Ref D5197
Diffstat (limited to 'intern/ghost/intern/GHOST_WindowX11.h')
-rw-r--r-- | intern/ghost/intern/GHOST_WindowX11.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_WindowX11.h b/intern/ghost/intern/GHOST_WindowX11.h index 83e0a2b59db..0b8fe3a3a41 100644 --- a/intern/ghost/intern/GHOST_WindowX11.h +++ b/intern/ghost/intern/GHOST_WindowX11.h @@ -213,6 +213,7 @@ class GHOST_WindowX11 : 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 @@ -233,7 +234,7 @@ class GHOST_WindowX11 : public GHOST_Window { GHOST_WindowX11(const GHOST_WindowX11 &); - Cursor getStandardCursor(GHOST_TStandardCursor g_cursor); + GHOST_TSuccess getStandardCursor(GHOST_TStandardCursor g_cursor, Cursor &xcursor); Cursor getEmptyCursor(); |