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 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
33extern "C" {
34#endif
35
40extern char const *const mir_default_cursor_name;
45extern char const *const mir_disabled_cursor_name;
46
50extern char const* const mir_arrow_cursor_name;
51
56extern char const* const mir_busy_cursor_name;
57
61extern char const* const mir_caret_cursor_name;
62
67extern char const* const mir_pointing_hand_cursor_name;
68
73extern char const* const mir_open_hand_cursor_name;
74
79extern char const* const mir_closed_hand_cursor_name;
80
84extern char const* const mir_horizontal_resize_cursor_name;
85
89extern char const* const mir_vertical_resize_cursor_name;
90
95
100
104extern char const* const mir_omnidirectional_resize_cursor_name;
105
110extern char const* const mir_vsplit_resize_cursor_name;
111
116extern char const* const mir_hsplit_resize_cursor_name;
117
122extern char const* const mir_crosshair_cursor_name;
123
124#ifdef __cplusplus
125}
126#endif
129#endif
char const *const mir_caret_cursor_name
The caret or ibeam cursor, indicating acceptance of text input.
char const *const mir_diagonal_resize_bottom_to_top_cursor_name
The cursor used to indicate diagonal resizing a top right corner.
char const *const mir_hsplit_resize_cursor_name
The cursor used for horizontal splitters, indicating that a handle may be dragged to adjust horizonta...
char const *const mir_horizontal_resize_cursor_name
The cursor used to indicate a horizontal resize operation.
char const *const mir_busy_cursor_name
The "wait" cursor, typically an hourglass or watch used during operations which prevent the user from...
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...
char const *const mir_vertical_resize_cursor_name
The cursor used to indicate a vertical resize operation.
char const *const mir_default_cursor_name
A special cursor name for use with mir_cursor_configuration_from_name representing the system default...
char const *const mir_pointing_hand_cursor_name
The pointing hand cursor, typically used for clickable elements such as hyperlinks.
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...
char const *const mir_crosshair_cursor_name
The cursor used for crosshair, which may be used for picking colors or finer precision.
char const *const mir_arrow_cursor_name
The standard arrow cursor (typically the system default)
char const *const mir_omnidirectional_resize_cursor_name
The cursor used to indicate resize with no directional constraint.
char const *const mir_diagonal_resize_top_to_bottom_cursor_name
The cursor used to indicate diagonal resizing a bottom right corner.
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...
char const *const mir_disabled_cursor_name
A special cursor name for use with mir_cursor_configuration_from_name representing a disabled cursor ...

Copyright © 2012-2022 Canonical Ltd.
Generated on Wed Dec 28 21:01:08 UTC 2022
This documentation is licensed under the GPL version 2 or 3.