Blender
V5.3
source
blender
windowmanager
wm_cursors.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2001-2002 NaN Holding BV. All rights reserved.
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9
#pragma once
10
11
namespace
blender
{
12
13
struct
wmEvent
;
14
struct
wmWindow
;
15
16
enum
wmCursorType
{
17
WM_CURSOR_DEFAULT
= 1,
18
WM_CURSOR_TEXT_EDIT
,
19
WM_CURSOR_WAIT
,
20
WM_CURSOR_STOP
,
21
WM_CURSOR_EDIT
,
22
WM_CURSOR_COPY
,
23
WM_CURSOR_MOVE
,
24
WM_CURSOR_HAND
,
25
WM_CURSOR_HAND_CLOSED
,
26
WM_CURSOR_HAND_POINT
,
27
28
WM_CURSOR_CROSS
,
29
WM_CURSOR_PAINT
,
30
WM_CURSOR_DOT
,
31
WM_CURSOR_CROSSC
,
32
33
WM_CURSOR_KNIFE
,
34
WM_CURSOR_BLADE
,
35
WM_CURSOR_VERTEX_LOOP
,
36
WM_CURSOR_PAINT_BRUSH
,
37
WM_CURSOR_ERASER
,
38
WM_CURSOR_EYEDROPPER
,
39
40
WM_CURSOR_SWAP_AREA
,
41
WM_CURSOR_X_MOVE
,
42
WM_CURSOR_Y_MOVE
,
43
WM_CURSOR_H_SPLIT
,
44
WM_CURSOR_V_SPLIT
,
45
46
WM_CURSOR_NW_ARROW
,
47
WM_CURSOR_NS_ARROW
,
48
WM_CURSOR_EW_ARROW
,
49
WM_CURSOR_N_ARROW
,
50
WM_CURSOR_S_ARROW
,
51
WM_CURSOR_E_ARROW
,
52
WM_CURSOR_W_ARROW
,
53
54
WM_CURSOR_NSEW_SCROLL
,
55
WM_CURSOR_NS_SCROLL
,
56
WM_CURSOR_EW_SCROLL
,
57
58
WM_CURSOR_ZOOM_IN
,
59
WM_CURSOR_ZOOM_OUT
,
60
61
WM_CURSOR_NONE
,
62
WM_CURSOR_MUTE
,
63
64
WM_CURSOR_PICK_AREA
,
65
66
WM_CURSOR_LEFT_HANDLE
,
67
WM_CURSOR_RIGHT_HANDLE
,
68
WM_CURSOR_BOTH_HANDLES
,
69
WM_CURSOR_SLIP
,
70
71
/* --- ALWAYS LAST ----- */
72
WM_CURSOR_NUM
,
73
};
74
75
void
wm_init_cursor_data
();
76
bool
wm_cursor_arrow_move
(wmWindow *win,
const
wmEvent *event);
77
78
}
// namespace blender
blender
BMesh Iterators.
Definition
ANIM_action.hh:30
blender::wm_init_cursor_data
void wm_init_cursor_data()
Definition
wm_cursors.cc:979
blender::wmCursorType
wmCursorType
Definition
wm_cursors.hh:16
blender::WM_CURSOR_NS_SCROLL
@ WM_CURSOR_NS_SCROLL
Definition
wm_cursors.hh:55
blender::WM_CURSOR_WAIT
@ WM_CURSOR_WAIT
Definition
wm_cursors.hh:19
blender::WM_CURSOR_LEFT_HANDLE
@ WM_CURSOR_LEFT_HANDLE
Definition
wm_cursors.hh:66
blender::WM_CURSOR_HAND_CLOSED
@ WM_CURSOR_HAND_CLOSED
Definition
wm_cursors.hh:25
blender::WM_CURSOR_MOVE
@ WM_CURSOR_MOVE
Definition
wm_cursors.hh:23
blender::WM_CURSOR_TEXT_EDIT
@ WM_CURSOR_TEXT_EDIT
Definition
wm_cursors.hh:18
blender::WM_CURSOR_MUTE
@ WM_CURSOR_MUTE
Definition
wm_cursors.hh:62
blender::WM_CURSOR_PAINT
@ WM_CURSOR_PAINT
Definition
wm_cursors.hh:29
blender::WM_CURSOR_Y_MOVE
@ WM_CURSOR_Y_MOVE
Definition
wm_cursors.hh:42
blender::WM_CURSOR_H_SPLIT
@ WM_CURSOR_H_SPLIT
Definition
wm_cursors.hh:43
blender::WM_CURSOR_BLADE
@ WM_CURSOR_BLADE
Definition
wm_cursors.hh:34
blender::WM_CURSOR_E_ARROW
@ WM_CURSOR_E_ARROW
Definition
wm_cursors.hh:51
blender::WM_CURSOR_EDIT
@ WM_CURSOR_EDIT
Definition
wm_cursors.hh:21
blender::WM_CURSOR_ZOOM_OUT
@ WM_CURSOR_ZOOM_OUT
Definition
wm_cursors.hh:59
blender::WM_CURSOR_CROSSC
@ WM_CURSOR_CROSSC
Definition
wm_cursors.hh:31
blender::WM_CURSOR_HAND
@ WM_CURSOR_HAND
Definition
wm_cursors.hh:24
blender::WM_CURSOR_ZOOM_IN
@ WM_CURSOR_ZOOM_IN
Definition
wm_cursors.hh:58
blender::WM_CURSOR_PAINT_BRUSH
@ WM_CURSOR_PAINT_BRUSH
Definition
wm_cursors.hh:36
blender::WM_CURSOR_NSEW_SCROLL
@ WM_CURSOR_NSEW_SCROLL
Definition
wm_cursors.hh:54
blender::WM_CURSOR_SWAP_AREA
@ WM_CURSOR_SWAP_AREA
Definition
wm_cursors.hh:40
blender::WM_CURSOR_DEFAULT
@ WM_CURSOR_DEFAULT
Definition
wm_cursors.hh:17
blender::WM_CURSOR_STOP
@ WM_CURSOR_STOP
Definition
wm_cursors.hh:20
blender::WM_CURSOR_X_MOVE
@ WM_CURSOR_X_MOVE
Definition
wm_cursors.hh:41
blender::WM_CURSOR_RIGHT_HANDLE
@ WM_CURSOR_RIGHT_HANDLE
Definition
wm_cursors.hh:67
blender::WM_CURSOR_HAND_POINT
@ WM_CURSOR_HAND_POINT
Definition
wm_cursors.hh:26
blender::WM_CURSOR_NS_ARROW
@ WM_CURSOR_NS_ARROW
Definition
wm_cursors.hh:47
blender::WM_CURSOR_SLIP
@ WM_CURSOR_SLIP
Definition
wm_cursors.hh:69
blender::WM_CURSOR_NUM
@ WM_CURSOR_NUM
Definition
wm_cursors.hh:72
blender::WM_CURSOR_DOT
@ WM_CURSOR_DOT
Definition
wm_cursors.hh:30
blender::WM_CURSOR_NONE
@ WM_CURSOR_NONE
Definition
wm_cursors.hh:61
blender::WM_CURSOR_EW_SCROLL
@ WM_CURSOR_EW_SCROLL
Definition
wm_cursors.hh:56
blender::WM_CURSOR_EW_ARROW
@ WM_CURSOR_EW_ARROW
Definition
wm_cursors.hh:48
blender::WM_CURSOR_BOTH_HANDLES
@ WM_CURSOR_BOTH_HANDLES
Definition
wm_cursors.hh:68
blender::WM_CURSOR_PICK_AREA
@ WM_CURSOR_PICK_AREA
Definition
wm_cursors.hh:64
blender::WM_CURSOR_VERTEX_LOOP
@ WM_CURSOR_VERTEX_LOOP
Definition
wm_cursors.hh:35
blender::WM_CURSOR_NW_ARROW
@ WM_CURSOR_NW_ARROW
Definition
wm_cursors.hh:46
blender::WM_CURSOR_CROSS
@ WM_CURSOR_CROSS
Definition
wm_cursors.hh:28
blender::WM_CURSOR_ERASER
@ WM_CURSOR_ERASER
Definition
wm_cursors.hh:37
blender::WM_CURSOR_EYEDROPPER
@ WM_CURSOR_EYEDROPPER
Definition
wm_cursors.hh:38
blender::WM_CURSOR_S_ARROW
@ WM_CURSOR_S_ARROW
Definition
wm_cursors.hh:50
blender::WM_CURSOR_COPY
@ WM_CURSOR_COPY
Definition
wm_cursors.hh:22
blender::WM_CURSOR_W_ARROW
@ WM_CURSOR_W_ARROW
Definition
wm_cursors.hh:52
blender::WM_CURSOR_V_SPLIT
@ WM_CURSOR_V_SPLIT
Definition
wm_cursors.hh:44
blender::WM_CURSOR_KNIFE
@ WM_CURSOR_KNIFE
Definition
wm_cursors.hh:33
blender::WM_CURSOR_N_ARROW
@ WM_CURSOR_N_ARROW
Definition
wm_cursors.hh:49
blender::wm_cursor_arrow_move
bool wm_cursor_arrow_move(wmWindow *win, const wmEvent *event)
Definition
wm_cursors.cc:596
blender::wmEvent
Definition
WM_types.hh:813
blender::wmWindow
Definition
DNA_windowmanager_types.h:167
Generated on
for Blender by
doxygen
1.18.0