summaryrefslogtreecommitdiff
path: root/src/lib/ecore_cocoa
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean@guyomarch.bzh>2016-06-07 21:08:08 +0200
committerJean Guyomarc'h <jean@guyomarch.bzh>2016-06-07 22:20:10 +0200
commit7ada74abcdab74ee8d87f4405dea596ccdc86e73 (patch)
treea995f70424b8fd0af17b890de26c76e1f82ba144 /src/lib/ecore_cocoa
parent7b29dff87e1468f77ed0607b77a49c238c121006 (diff)
ecore_cocoa: move the default cursor definition out of the enum
This makes the code more explicit and less awkward.
Diffstat (limited to 'src/lib/ecore_cocoa')
-rw-r--r--src/lib/ecore_cocoa/Ecore_Cocoa.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/lib/ecore_cocoa/Ecore_Cocoa.h b/src/lib/ecore_cocoa/Ecore_Cocoa.h
index aae6645c86..a94785cee7 100644
--- a/src/lib/ecore_cocoa/Ecore_Cocoa.h
+++ b/src/lib/ecore_cocoa/Ecore_Cocoa.h
@@ -109,11 +109,16 @@ typedef enum
109 ECORE_COCOA_CURSOR_RESIZE_UP_DOWN, /**< Resize up down cursor */ 109 ECORE_COCOA_CURSOR_RESIZE_UP_DOWN, /**< Resize up down cursor */
110 ECORE_COCOA_CURSOR_IBEAM_VERTICAL, /**< IBeam vertical cursor */ 110 ECORE_COCOA_CURSOR_IBEAM_VERTICAL, /**< IBeam vertical cursor */
111 111
112 __ECORE_COCOA_CURSOR_LAST, /**< Sentinel. DO NOT USE */ 112 __ECORE_COCOA_CURSOR_LAST /**< Sentinel. DO NOT USE */
113} Ecore_Cocoa_Cursor;
113 114
114 ECORE_COCOA_CURSOR_DEFAULT = ECORE_COCOA_CURSOR_ARROW /**< Default Cocoa cursor */
115 115
116} Ecore_Cocoa_Cursor; 116/**
117 * @def ECORE_COCOA_CURSOR_DEFAULT
118 * Defines the default Cocoa cursor, to be used when nothing
119 * is specified or as a fallback.
120 */
121#define ECORE_COCOA_CURSOR_DEFAULT ECORE_COCOA_CURSOR_ARROW
117 122
118 123
119/** Event triggered when a Cocoa window receives focus */ 124/** Event triggered when a Cocoa window receives focus */