forked from enlightenment/efl
ecore_cocoa: move the default cursor definition out of the enum
This makes the code more explicit and less awkward.
This commit is contained in:
parent
7b29dff87e
commit
7ada74abcd
|
@ -109,13 +109,18 @@ typedef enum
|
|||
ECORE_COCOA_CURSOR_RESIZE_UP_DOWN, /**< Resize up down cursor */
|
||||
ECORE_COCOA_CURSOR_IBEAM_VERTICAL, /**< IBeam vertical cursor */
|
||||
|
||||
__ECORE_COCOA_CURSOR_LAST, /**< Sentinel. DO NOT USE */
|
||||
|
||||
ECORE_COCOA_CURSOR_DEFAULT = ECORE_COCOA_CURSOR_ARROW /**< Default Cocoa cursor */
|
||||
|
||||
__ECORE_COCOA_CURSOR_LAST /**< Sentinel. DO NOT USE */
|
||||
} Ecore_Cocoa_Cursor;
|
||||
|
||||
|
||||
/**
|
||||
* @def ECORE_COCOA_CURSOR_DEFAULT
|
||||
* Defines the default Cocoa cursor, to be used when nothing
|
||||
* is specified or as a fallback.
|
||||
*/
|
||||
#define ECORE_COCOA_CURSOR_DEFAULT ECORE_COCOA_CURSOR_ARROW
|
||||
|
||||
|
||||
/** Event triggered when a Cocoa window receives focus */
|
||||
EAPI extern int ECORE_COCOA_EVENT_WINDOW_FOCUSED;
|
||||
|
||||
|
|
Loading…
Reference in New Issue