30 lines
924 B
C#
30 lines
924 B
C#
// Copyright (c) Wojciech Figat. All rights reserved.
|
|
|
|
namespace FlaxEngine
|
|
{
|
|
partial struct CreateWindowSettings
|
|
{
|
|
/// <summary>
|
|
/// Gets the default settings.
|
|
/// </summary>
|
|
public static CreateWindowSettings Default => new CreateWindowSettings
|
|
{
|
|
Position = new Float2(100, 100),
|
|
Size = new Float2(640, 480),
|
|
MinimumSize = new Float2(24, 24),
|
|
MaximumSize = Float2.Zero, // Unlimited size
|
|
StartPosition = WindowStartPosition.CenterParent,
|
|
HasBorder = true,
|
|
ShowInTaskbar = true,
|
|
ActivateWhenFirstShown = true,
|
|
AllowInput = true,
|
|
AllowMinimize = true,
|
|
AllowMaximize = true,
|
|
AllowDragAndDrop = true,
|
|
Type = WindowType.Regular,
|
|
HasSizingFrame = true,
|
|
ShowAfterFirstPaint = true,
|
|
};
|
|
}
|
|
}
|