Add CreatePhysicalWindow().
This commit is contained in:
parent
edc85c3f24
commit
6e8888df48
@ -71,6 +71,17 @@ namespace Dashboard.Pal
|
||||
/// </summary>
|
||||
/// <returns>A physical window.</returns>
|
||||
public abstract IPhysicalWindow CreatePhysicalWindow();
|
||||
|
||||
/// <summary>
|
||||
/// Create a physical window with a window manager.
|
||||
/// </summary>
|
||||
/// <returns>A physical window with the given window manager.</returns>
|
||||
public IPhysicalWindow CreatePhysicalWindow(IWindowManager wm)
|
||||
{
|
||||
IPhysicalWindow window = CreatePhysicalWindow();
|
||||
window.WindowManager = wm;
|
||||
return window;
|
||||
}
|
||||
#endregion
|
||||
|
||||
public bool IsExtensionAvailable<T>() where T : IAppContextExtension
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user