Browse Source

Make Perspex.Gtk compile again.

pull/39/head
Steven Kirk 11 years ago
parent
commit
450141a1d8
  1. 17
      Gtk/Perspex.Gtk/WindowImpl.cs

17
Gtk/Perspex.Gtk/WindowImpl.cs

@ -14,7 +14,7 @@ namespace Perspex.Gtk
public class WindowImpl : Gtk.Window, IWindowImpl
{
private Window owner;
private TopLevel owner;
private IPlatformHandle windowHandle;
@ -33,9 +33,10 @@ namespace Perspex.Gtk
public Size ClientSize
{
get { return this.clientSize; }
set { this.Resize((int)value.Width, (int)value.Height); }
}
IPlatformHandle IWindowImpl.Handle
IPlatformHandle ITopLevelImpl.Handle
{
get { return this.windowHandle; }
}
@ -44,6 +45,8 @@ namespace Perspex.Gtk
public Action Closed { get; set; }
public Action Deactivated { get; set; }
public Action<RawInputEventArgs> Input { get; set; }
public Action<Rect, IPlatformHandle> Paint { get; set; }
@ -60,9 +63,15 @@ namespace Perspex.Gtk
this.QueueDraw();
}
public void SetOwner(Window window)
public Point PointToScreen(Point point)
{
// TODO: Implement.
return new Point();
}
public void SetOwner(TopLevel owner)
{
this.owner = window;
this.owner = owner;
}
public void SetTitle(string title)

Loading…
Cancel
Save