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.
 
 
 

37 lines
894 B

// -----------------------------------------------------------------------
// <copyright file="IWindowImpl.cs" company="Steven Kirk">
// Copyright 2014 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Perspex.Platform
{
using System;
using Perspex.Controls;
using Perspex.Input.Raw;
public interface IWindowImpl
{
Size ClientSize { get; }
IPlatformHandle Handle { get; }
Action Activated { get; set; }
Action Closed { get; set; }
Action<RawInputEventArgs> Input { get; set; }
Action<Rect, IPlatformHandle> Paint { get; set; }
Action<Size> Resized { get; set; }
void Invalidate(Rect rect);
void SetTitle(string title);
void SetOwner(Window window);
void Show();
}
}