You're breathtaking!
This commit is contained in:
29
Source/Editor/CustomEditors/Elements/CheckBoxElement.cs
Normal file
29
Source/Editor/CustomEditors/Elements/CheckBoxElement.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
|
||||
|
||||
using FlaxEngine.GUI;
|
||||
|
||||
namespace FlaxEditor.CustomEditors.Elements
|
||||
{
|
||||
/// <summary>
|
||||
/// The checkbox element.
|
||||
/// </summary>
|
||||
/// <seealso cref="FlaxEditor.CustomEditors.LayoutElement" />
|
||||
public class CheckBoxElement : LayoutElement
|
||||
{
|
||||
/// <summary>
|
||||
/// The check box.
|
||||
/// </summary>
|
||||
public readonly CheckBox CheckBox;
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="CheckBoxElement"/> class.
|
||||
/// </summary>
|
||||
public CheckBoxElement()
|
||||
{
|
||||
CheckBox = new CheckBox(0, 0);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override Control Control => CheckBox;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user