Program Listing for File cursors.h

↰ Return to documentation for file (/home/docs/checkouts/readthedocs.org/user_builds/canonical-mir-documentation/checkouts/2.26/include/common/mir_toolkit/cursors.h)

/*
 * Cursor name definitions.
 *
 * Copyright © Canonical Ltd.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License version 2 or 3 as
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

/* XXX Deprecate this header? Tell people to just use CSS cursor names. */

#ifndef MIR_CURSORS_H_
#define MIR_CURSORS_H_

/* This is C code. Not C++. */
#ifdef __cplusplus
extern "C" {
#endif

extern char const *const mir_default_cursor_name;
extern char const *const mir_disabled_cursor_name;

extern char const* const mir_arrow_cursor_name;

extern char const* const mir_busy_cursor_name;

extern char const* const mir_caret_cursor_name;

extern char const* const mir_pointing_hand_cursor_name;

extern char const* const mir_open_hand_cursor_name;

extern char const* const mir_closed_hand_cursor_name;

extern char const* const mir_horizontal_resize_cursor_name;

extern char const* const mir_vertical_resize_cursor_name;

extern char const* const mir_diagonal_resize_bottom_to_top_cursor_name;

extern char const* const mir_diagonal_resize_top_to_bottom_cursor_name;

extern char const* const mir_diagonal_resize_top_to_left_cursor_name;

extern char const* const mir_diagonal_resize_bottom_to_left_cursor_name;

extern char const* const mir_omnidirectional_resize_cursor_name;

extern char const* const mir_vsplit_resize_cursor_name;

extern char const* const mir_hsplit_resize_cursor_name;

extern char const* const mir_crosshair_cursor_name;

#ifdef __cplusplus
}
#endif

#endif