A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

35 lines
862 B

// -----------------------------------------------------------------------
// <copyright file="GtkMouseDevice.cs" company="Steven Kirk">
// Copyright 2014 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Perspex.Gtk
{
using Perspex.Input;
public class GtkMouseDevice : MouseDevice
{
private static GtkMouseDevice instance;
private Point clientPosition;
static GtkMouseDevice()
{
instance = new GtkMouseDevice();
}
private GtkMouseDevice()
{
}
public static new GtkMouseDevice Instance
{
get { return instance; }
}
internal void SetClientPosition(Point p)
{
this.clientPosition = p;
}
}
}