Browse Source

Moved Show to ITopLevel

pull/315/head
Nikita Tsukanov 11 years ago
parent
commit
991a562179
  1. 5
      src/Perspex.Controls/Platform/IPopupImpl.cs
  2. 5
      src/Perspex.Controls/Platform/ITopLevelImpl.cs
  3. 5
      src/Perspex.Controls/Platform/IWindowImpl.cs

5
src/Perspex.Controls/Platform/IPopupImpl.cs

@ -14,11 +14,6 @@ namespace Perspex.Platform
/// <param name="p">The position, in screen coordinates.</param>
void SetPosition(Point p);
/// <summary>
/// Shows the popup.
/// </summary>
void Show();
/// <summary>
/// Hides the popup.
/// </summary>

5
src/Perspex.Controls/Platform/ITopLevelImpl.cs

@ -83,5 +83,10 @@ namespace Perspex.Platform
/// </summary>
/// <param name="cursor">The cursor. Use null for default cursor</param>
void SetCursor(IPlatformHandle cursor);
/// <summary>
/// Shows the toplevel.
/// </summary>
void Show();
}
}

5
src/Perspex.Controls/Platform/IWindowImpl.cs

@ -21,11 +21,6 @@ namespace Perspex.Platform
/// <param name="title">The title.</param>
void SetTitle(string title);
/// <summary>
/// Shows the window.
/// </summary>
void Show();
/// <summary>
/// Shows the window as a dialog.
/// </summary>

Loading…
Cancel
Save