7 changed files with 170 additions and 9 deletions
@ -1,22 +1,40 @@ |
|||||
// -----------------------------------------------------------------------
|
// -----------------------------------------------------------------------
|
||||
// <copyright file="IWindowImpl.cs" company="Steven Kirk">
|
// <copyright file="IWindowImpl.cs" company="Steven Kirk">
|
||||
// Copyright 2014 MIT Licence. See licence.md for more information.
|
// Copyright 2015 MIT Licence. See licence.md for more information.
|
||||
// </copyright>
|
// </copyright>
|
||||
// -----------------------------------------------------------------------
|
// -----------------------------------------------------------------------
|
||||
|
|
||||
namespace Perspex.Platform |
namespace Perspex.Platform |
||||
{ |
{ |
||||
using System; |
using System; |
||||
using System.Threading.Tasks; |
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Defines a platform-specific window implementation.
|
||||
|
/// </summary>
|
||||
public interface IWindowImpl : ITopLevelImpl |
public interface IWindowImpl : ITopLevelImpl |
||||
{ |
{ |
||||
|
/// <summary>
|
||||
|
/// Sets the title of the window.
|
||||
|
/// </summary>
|
||||
|
/// <param name="title">The title.</param>
|
||||
void SetTitle(string title); |
void SetTitle(string title); |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Shows the window.
|
||||
|
/// </summary>
|
||||
void Show(); |
void Show(); |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Shows the window as a dialog.
|
||||
|
/// </summary>
|
||||
|
/// <returns>
|
||||
|
/// An <see cref="IDisposable"/> that should be used to close the window.
|
||||
|
/// </returns>
|
||||
IDisposable ShowDialog(); |
IDisposable ShowDialog(); |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Hides the window.
|
||||
|
/// </summary>
|
||||
void Hide(); |
void Hide(); |
||||
} |
} |
||||
} |
} |
||||
|
|||||
Loading…
Reference in new issue