// Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using Perspex.Controls;
namespace Perspex.Platform
{
///
/// Defines a platform-specific window implementation.
///
public interface IWindowImpl : ITopLevelImpl
{
///
/// Gets the maximum size of a window on the system.
///
Size MaxClientSize { get; }
///
/// Gets or sets the minimized/maximized state of the window.
///
WindowState WindowState { get; set; }
///
/// Sets the title of the window.
///
/// The title.
void SetTitle(string title);
///
/// Shows the window as a dialog.
///
///
/// An that should be used to close the window.
///
IDisposable ShowDialog();
///
/// Enables of disables system window decorations (title bar, buttons, etc)
///
void SetSystemDecorations(bool enabled);
}
}