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>
23 
29 
30 #ifdef __cplusplus
31 
35 extern "C" {
36 #endif
37 
43 
55 __attribute__ ((deprecated))
59 
71  int hotspot_y);
72 
73 #ifdef __cplusplus
74 }
76 #endif
77 
78 #endif /* MIR_TOOLKIT_MIR_CURSOR_H_ */
struct MirBufferStream MirBufferStream
Definition: client_types.h:48
struct MirCursorConfiguration MirCursorConfiguration
Opaque structure containing cursor parameterization.
Definition: mir_cursor_configuration.h:28
void mir_cursor_configuration_destroy(MirCursorConfiguration *parameters)
Release resources assosciated with cursor parameters.
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.
MirConnectedCallback mir_connected_callback __attribute__((deprecated("Use MirConnectedCallback instead")))
Release a platform message.
Definition: client_types.h:85
char const * name
Definition: client_types.h:170

Copyright © 2012-2016 Canonical Ltd.
Generated on Mon Mar 27 12:06:55 UTC 2017