Files
FlaxEngine/Source/Engine/Platform/CreateWindowSettings.cs

30 lines
913 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 = Float2.One,
MaximumSize = Float2.Zero, // Unlimited size
StartPosition = WindowStartPosition.CenterParent,
HasBorder = true,
ShowInTaskbar = true,
ActivateWhenFirstShown = true,
AllowInput = true,
AllowMinimize = true,
AllowMaximize = true,
AllowDragAndDrop = true,
IsRegularWindow = true,
HasSizingFrame = true,
ShowAfterFirstPaint = true,
};
}
}