Mir
mir_cursor_configuration.h
Go to the documentation of this file.
1 /*
2  * Copyright © 2014 Canonical Ltd.
3  *
4  * This program is free software: you can redistribute it and/or modify it
5  * under the terms of the GNU Lesser General Public License version 3,
6  * as published by the Free Software Foundation.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU Lesser General Public License for more details.
12  *
13  * You should have received a copy of the GNU Lesser General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  *
16  */
17 
18 #ifndef MIR_TOOLKIT_MIR_CURSOR_H_
19 #define MIR_TOOLKIT_MIR_CURSOR_H_
20 
21 #include <mir_toolkit/common.h>
24 
30 
31 #ifdef __cplusplus
32 
36 extern "C" {
37 #endif
38 
44 
56 MIR_FOR_REMOVAL_IN_VERSION_1("use mir_window_spec_set_cursor_name()")
60 
72  int hotspot_y);
73 
74 #ifdef __cplusplus
75 }
77 #endif
78 
79 #endif /* MIR_TOOLKIT_MIR_CURSOR_H_ */
struct MirBufferStream MirBufferStream
Definition: client_types.h:49
struct MirCursorConfiguration MirCursorConfiguration
Opaque structure containing cursor parameterization.
Definition: mir_cursor_configuration.h:29
void mir_cursor_configuration_destroy(MirCursorConfiguration *parameters)
Release resources assosciated with cursor parameters.
#define MIR_FOR_REMOVAL_IN_VERSION_1(message)
Definition: deprecations.h:30
MirCursorConfiguration * mir_cursor_configuration_from_name(char const *name)
Returns a new MirCursorConfiguration representing a named cursor from the system cursor theme...
MirCursorConfiguration * mir_cursor_configuration_from_buffer_stream(MirBufferStream const *stream, int hotspot_x, int hotspot_y)
Returns a new cursor configuration tied to a given buffer stream.
char const * name
Definition: client_types.h:170

Copyright © 2012-2016 Canonical Ltd.
Generated on Tue Oct 31 05:57:28 UTC 2017