mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-06 04:00:07 +00:00
b492905cea
- Move the less likely to be used structs/enums into the relevant namespaces, would ideally like to move them all, would likely cause a few issues for some when upgrading though, so deferring for now. - Remove Geoposition as it's no longer used (Geolocation API was removed in CEF)
25 lines
624 B
C#
25 lines
624 B
C#
// Copyright © 2010-2017 The CefSharp Authors. All rights reserved.
|
|
//
|
|
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
|
|
|
using System;
|
|
|
|
namespace CefSharp.Structs
|
|
{
|
|
public struct CursorInfo
|
|
{
|
|
public IntPtr Buffer { get; set; }
|
|
public Point Hotspot { get; private set; }
|
|
public float ImageScaleFactor { get; private set; }
|
|
public Size Size { get; private set; }
|
|
|
|
public CursorInfo(IntPtr buffer, Point hotspot, float imageScaleFactor, Size size)
|
|
{
|
|
Buffer = buffer;
|
|
Hotspot = hotspot;
|
|
ImageScaleFactor = imageScaleFactor;
|
|
Size = size;
|
|
}
|
|
}
|
|
}
|