Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-09-26 15:31:43 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-09-26 15:31:43 +0300
commit6292cab193a6aa2a80ceba929079b47de7d8f48a (patch)
tree2a8dc1a2c8814679a923d57be96d088b6e321c1d /intern/ghost/intern/GHOST_WindowX11.h
parentbab6ede28687ff0b6f3cf579652224c7fdd79596 (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.h3
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();