Mir
cursors.h
Go to the documentation of this file.
1 /*
2  * Cursor name definitions.
3  *
4  * Copyright © 2014 Canonical Ltd.
5  *
6  * This program is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU Lesser General Public License version 3 as
8  * published by the Free Software Foundation.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public License
16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17  *
18  * Author: Robert Carr <robert.carr@canonical.com>
19  */
20 
21 #ifndef MIR_CURSORS_H_
22 #define MIR_CURSORS_H_
23 
29 /* This is C code. Not C++. */
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
38 extern char const *const mir_default_cursor_name;
43 extern char const *const mir_disabled_cursor_name;
44 
48 extern char const* const mir_arrow_cursor_name;
49 
54 extern char const* const mir_busy_cursor_name;
55 
59 extern char const* const mir_caret_cursor_name;
60 
65 extern char const* const mir_pointing_hand_cursor_name;
66 
71 extern char const* const mir_open_hand_cursor_name;
72 
77 extern char const* const mir_closed_hand_cursor_name;
78 
82 extern char const* const mir_horizontal_resize_cursor_name;
83 
87 extern char const* const mir_vertical_resize_cursor_name;
88 
92 extern char const* const mir_diagonal_resize_bottom_to_top_cursor_name;
93 
97 extern char const* const mir_diagonal_resize_top_to_bottom_cursor_name;
98 
102 extern char const* const mir_omnidirectional_resize_cursor_name;
103 
108 extern char const* const mir_vsplit_resize_cursor_name;
109 
114 extern char const* const mir_hsplit_resize_cursor_name;
115 
120 extern char const* const mir_crosshair_cursor_name;
121 
122 #ifdef __cplusplus
123 }
124 #endif
125 
127 #endif
char const *const mir_arrow_cursor_name
The standard arrow cursor (typically the system default)
Definition: mir_cursor_api.cpp:32
char const *const mir_crosshair_cursor_name
The cursor used for crosshair, which may be used for picking colors or finer precision.
Definition: mir_cursor_api.cpp:45
char const *const mir_omnidirectional_resize_cursor_name
The cursor used to indicate resize with no directional constraint.
Definition: mir_cursor_api.cpp:42
char const *const mir_closed_hand_cursor_name
The close handed cursor, typically used to indicate that a drag operation is in process which involve...
Definition: mir_cursor_api.cpp:37
char const *const mir_vertical_resize_cursor_name
The cursor used to indicate a vertical resize operation.
Definition: mir_cursor_api.cpp:39
char const *const mir_pointing_hand_cursor_name
The pointing hand cursor, typically used for clickable elements such as hyperlinks.
Definition: mir_cursor_api.cpp:35
char const *const mir_open_hand_cursor_name
The open handed cursor, typically used to indicate that the area beneath the cursor may be clicked an...
Definition: mir_cursor_api.cpp:36
char const *const mir_diagonal_resize_bottom_to_top_cursor_name
The cursor used to indicate diagonal resize from top-right and bottom-left corners.
Definition: mir_cursor_api.cpp:40
char const *const mir_diagonal_resize_top_to_bottom_cursor_name
The cursor used to indicate diagonal resize from bottom-left and top-right corners.
Definition: mir_cursor_api.cpp:41
char const *const mir_vsplit_resize_cursor_name
The cursor used for vertical splitters, indicating that a handle may be dragged to adjust vertical sp...
Definition: mir_cursor_api.cpp:43
char const *const mir_horizontal_resize_cursor_name
The cursor used to indicate a horizontal resize operation.
Definition: mir_cursor_api.cpp:38
char const *const mir_hsplit_resize_cursor_name
The cursor used for horizontal splitters, indicating that a handle may be dragged to adjust horizonta...
Definition: mir_cursor_api.cpp:44
char const *const mir_default_cursor_name
A special cursor name for use with mir_cursor_configuration_from_name representing the system default...
Definition: mir_cursor_api.cpp:30
char const *const mir_caret_cursor_name
The caret or ibeam cursor, indicating acceptance of text input.
Definition: mir_cursor_api.cpp:34
char const *const mir_disabled_cursor_name
A special cursor name for use with mir_cursor_configuration_from_name representing a disabled cursor ...
Definition: mir_cursor_api.cpp:31
char const *const mir_busy_cursor_name
The "wait" cursor, typically an hourglass or watch used during operations which prevent the user from...
Definition: mir_cursor_api.cpp:33

Copyright © 2012-2015 Canonical Ltd.
Generated on Wed Mar 30 00:29:56 UTC 2016