| 1 | // Aseprite UI Library |
| 2 | // Copyright (C) 2001-2017 David Capello |
| 3 | // |
| 4 | // This file is released under the terms of the MIT license. |
| 5 | // Read LICENSE.txt for more information. |
| 6 | |
| 7 | #ifndef UI_CURSOR_TYPE_H_INCLUDED |
| 8 | #define UI_CURSOR_TYPE_H_INCLUDED |
| 9 | #pragma once |
| 10 | |
| 11 | namespace ui { |
| 12 | |
| 13 | enum CursorType { |
| 14 | kOutsideDisplay = -1, |
| 15 | |
| 16 | kFirstCursorType = 0, |
| 17 | kNoCursor = 0, |
| 18 | kArrowCursor, |
| 19 | kArrowPlusCursor, // Copy element |
| 20 | kCrosshairCursor, |
| 21 | kForbiddenCursor, |
| 22 | kHandCursor, // Hand to press a link |
| 23 | kScrollCursor, // Hand to scroll |
| 24 | kMoveCursor, // Drag and drop cursor |
| 25 | |
| 26 | kSizeNSCursor, |
| 27 | kSizeWECursor, |
| 28 | |
| 29 | kSizeNCursor, |
| 30 | kSizeNECursor, |
| 31 | kSizeECursor, |
| 32 | kSizeSECursor, |
| 33 | kSizeSCursor, |
| 34 | kSizeSWCursor, |
| 35 | kSizeWCursor, |
| 36 | kSizeNWCursor, |
| 37 | |
| 38 | kLastCursorType = kSizeNWCursor, |
| 39 | kCursorTypes, |
| 40 | |
| 41 | kCustomCursor, |
| 42 | }; |
| 43 | |
| 44 | } // namespace ui |
| 45 | |
| 46 | #endif |
| 47 | |