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
5  * it under the terms of the GNU Lesser General Public License version 3 as
6  * 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  * Authored by: Robert Carr <robert.carr@canonical.com>
17  */
18 
19 #ifndef MIR_CLIENT_CURSOR_CONFIGURATION_H_
20 #define MIR_CLIENT_CURSOR_CONFIGURATION_H_
21 
22 #include <string>
23 
24 namespace mir
25 {
26 namespace client
27 {
28 class ClientBufferStream;
29 }
30 }
31 
32 // Parameters for configuring the apperance and behavior of the system cursor.
33 // Will grow to include cursors specified by raw RGBA data, hotspots, etc...
35 {
36  MirCursorConfiguration(char const* name);
38 
39  std::string name;
41  int hotspot_x;
42  int hotspot_y;
43 };
44 
45 #endif // MIR_CLIENT_CURSOR_CONFIGURATION_H_
All things Mir.
Definition: atomic_callback.h:25
MirCursorConfiguration(char const *name)
Definition: mir_cursor_api.cpp:47
mir::client::ClientBufferStream const * stream
Definition: cursor_configuration.h:40
Definition: cursor_configuration.h:34
int hotspot_y
Definition: cursor_configuration.h:42
Definition: client_buffer_stream.h:45
std::string name
Definition: cursor_configuration.h:39
int hotspot_x
Definition: cursor_configuration.h:41

Copyright © 2012-2015 Canonical Ltd.
Generated on Thu Oct 8 16:20:16 UTC 2015