~ubuntu-branches/ubuntu/wily/mir/wily-proposed

« back to all changes in this revision

Viewing changes to src/client/cursor_configuration.h

  • Committer: Package Import Robot
  • Author(s): CI Train Bot
  • Date: 2015-05-12 13:12:55 UTC
  • mto: This revision was merged to the branch mainline in revision 96.
  • Revision ID: package-import@ubuntu.com-20150512131255-y7z12i8n4pbvo70x
Tags: upstream-0.13.0+15.10.20150512
ImportĀ upstreamĀ versionĀ 0.13.0+15.10.20150512

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
#include <string>
23
23
 
 
24
namespace mir
 
25
{
 
26
namespace client
 
27
{
 
28
class ClientBufferStream;
 
29
}
 
30
}
 
31
 
24
32
// Parameters for configuring the apperance and behavior of the system cursor. 
25
33
// Will grow to include cursors specified by raw RGBA data, hotspots, etc...
26
34
struct MirCursorConfiguration 
27
35
{
28
36
    MirCursorConfiguration(char const* name);
 
37
    MirCursorConfiguration(mir::client::ClientBufferStream const* stream, int hotspot_x, int hotspot_y);
29
38
 
30
39
    std::string name;
 
40
    mir::client::ClientBufferStream const* stream;
 
41
    int hotspot_x;
 
42
    int hotspot_y;
31
43
};
32
44
 
33
45
#endif // MIR_CLIENT_CURSOR_CONFIGURATION_H_