// -----------------------------------------------------------------------
//
// Copyright 2014 MIT Licence. See licence.md for more information.
//
// -----------------------------------------------------------------------
namespace Perspex.Platform
{
using System;
using Perspex.Controls;
using Perspex.Input;
using Perspex.Input.Raw;
public interface ITopLevelImpl : IDisposable
{
Size ClientSize { get; set; }
IPlatformHandle Handle { get; }
Action Activated { get; set; }
Action Closed { get; set; }
Action Deactivated { get; set; }
Action Input { get; set; }
Action Paint { get; set; }
Action Resized { get; set; }
void Activate();
void Invalidate(Rect rect);
void SetOwner(TopLevel owner);
Point PointToScreen(Point point);
}
}