1/*
2 *  Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
3 *
4 *  Use of this source code is governed by a BSD-style license
5 *  that can be found in the LICENSE file in the root of the source
6 *  tree. An additional intellectual property rights grant can be found
7 *  in the file PATENTS.  All contributing project authors may
8 *  be found in the AUTHORS file in the root of the source tree.
9 */
10
11#ifndef WEBRTC_MODULES_DESKTOP_CAPTURE_MOUSE_CURSOR_SHAPE_H_
12#define WEBRTC_MODULES_DESKTOP_CAPTURE_MOUSE_CURSOR_SHAPE_H_
13
14#include <string>
15
16#include "webrtc/modules/desktop_capture/desktop_geometry.h"
17
18namespace webrtc {
19
20// Type used to return mouse cursor shape from video capturers.
21//
22// TODO(sergeyu): Remove this type and use MouseCursor instead.
23struct MouseCursorShape {
24  // Size of the cursor in screen pixels.
25  DesktopSize size;
26
27  // Coordinates of the cursor hotspot relative to upper-left corner.
28  DesktopVector hotspot;
29
30  // Cursor pixmap data in 32-bit BGRA format.
31  std::string data;
32};
33
34}  // namespace webrtc
35
36#endif  // WEBRTC_MODULES_DESKTOP_CAPTURE_MOUSE_CURSOR_SHAPE_H_
37