Mir
include
client
mir_toolkit
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 2 or 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
/* XXX Deprecate this header? Tell people to just use CSS cursor names. */
22
23
#ifndef MIR_CURSORS_H_
24
#define MIR_CURSORS_H_
25
31
/* This is C code. Not C++. */
32
#ifdef __cplusplus
33
extern
"C"
{
34
#endif
35
40
extern
char
const
*
const
mir_default_cursor_name
;
45
extern
char
const
*
const
mir_disabled_cursor_name
;
46
50
extern
char
const
*
const
mir_arrow_cursor_name
;
51
56
extern
char
const
*
const
mir_busy_cursor_name
;
57
61
extern
char
const
*
const
mir_caret_cursor_name
;
62
67
extern
char
const
*
const
mir_pointing_hand_cursor_name
;
68
73
extern
char
const
*
const
mir_open_hand_cursor_name
;
74
79
extern
char
const
*
const
mir_closed_hand_cursor_name
;
80
84
extern
char
const
*
const
mir_horizontal_resize_cursor_name
;
85
89
extern
char
const
*
const
mir_vertical_resize_cursor_name
;
90
94
extern
char
const
*
const
mir_diagonal_resize_bottom_to_top_cursor_name
;
95
99
extern
char
const
*
const
mir_diagonal_resize_top_to_bottom_cursor_name
;
100
104
extern
char
const
*
const
mir_omnidirectional_resize_cursor_name
;
105
110
extern
char
const
*
const
mir_vsplit_resize_cursor_name
;
111
116
extern
char
const
*
const
mir_hsplit_resize_cursor_name
;
117
122
extern
char
const
*
const
mir_crosshair_cursor_name
;
123
124
#ifdef __cplusplus
125
}
126
#endif
127
129
#endif
mir_arrow_cursor_name
char const *const mir_arrow_cursor_name
The standard arrow cursor (typically the system default)
mir_crosshair_cursor_name
char const *const mir_crosshair_cursor_name
The cursor used for crosshair, which may be used for picking colors or finer precision.
mir_omnidirectional_resize_cursor_name
char const *const mir_omnidirectional_resize_cursor_name
The cursor used to indicate resize with no directional constraint.
mir_closed_hand_cursor_name
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...
mir_vertical_resize_cursor_name
char const *const mir_vertical_resize_cursor_name
The cursor used to indicate a vertical resize operation.
mir_pointing_hand_cursor_name
char const *const mir_pointing_hand_cursor_name
The pointing hand cursor, typically used for clickable elements such as hyperlinks.
mir_open_hand_cursor_name
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...
mir_diagonal_resize_bottom_to_top_cursor_name
char const *const mir_diagonal_resize_bottom_to_top_cursor_name
The cursor used to indicate diagonal resizing a top right corner.
mir_diagonal_resize_top_to_bottom_cursor_name
char const *const mir_diagonal_resize_top_to_bottom_cursor_name
The cursor used to indicate diagonal resizing a bottom right corner.
mir_vsplit_resize_cursor_name
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...
mir_horizontal_resize_cursor_name
char const *const mir_horizontal_resize_cursor_name
The cursor used to indicate a horizontal resize operation.
mir_hsplit_resize_cursor_name
char const *const mir_hsplit_resize_cursor_name
The cursor used for horizontal splitters, indicating that a handle may be dragged to adjust horizonta...
mir_default_cursor_name
char const *const mir_default_cursor_name
A special cursor name for use with mir_cursor_configuration_from_name representing the system default...
mir_caret_cursor_name
char const *const mir_caret_cursor_name
The caret or ibeam cursor, indicating acceptance of text input.
mir_disabled_cursor_name
char const *const mir_disabled_cursor_name
A special cursor name for use with mir_cursor_configuration_from_name representing a disabled cursor ...
mir_busy_cursor_name
char const *const mir_busy_cursor_name
The "wait" cursor, typically an hourglass or watch used during operations which prevent the user from...
Copyright © 2012-2018 Canonical Ltd.
Generated on Thu Mar 15 13:06:27 UTC 2018