Pepper_56_C++_interfaces
Pepper_56_C++_interfaces
 All Classes Namespaces Files Functions Typedefs Enumerations Macros Groups
mouse_cursor.h
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef PPAPI_CPP_MOUSE_CURSOR_H_
6 #define PPAPI_CPP_MOUSE_CURSOR_H_
7 
8 #include "ppapi/c/ppb_mouse_cursor.h"
9 #include "ppapi/cpp/image_data.h"
11 #include "ppapi/cpp/point.h"
12 
13 namespace pp {
14 
15 class MouseCursor {
16  public:
48  static bool SetCursor(const InstanceHandle& instance,
49  PP_MouseCursor_Type type,
50  const ImageData& image = ImageData(),
51  const Point& hot_spot = Point(0, 0));
52 };
53 
54 } // namespace pp
55 
56 #endif // PPAPI_CPP_MOUSE_CURSOR_H_
static bool SetCursor(const InstanceHandle &instance, PP_MouseCursor_Type type, const ImageData &image=ImageData(), const Point &hot_spot=Point(0, 0))
Definition: image_data.h:22
A 2 dimensional point with 0,0 being the upper-left starting coordinate.
Definition: point.h:18
Definition: mouse_cursor.h:15
Definition: instance_handle.h:44