31 lines
769 B
C#
31 lines
769 B
C#
// Copyright (c) 2012-2023 Wojciech Figat. All rights reserved.
|
|
|
|
using FlaxEditor.GUI;
|
|
using FlaxEngine.GUI;
|
|
|
|
namespace FlaxEditor.CustomEditors.Elements
|
|
{
|
|
/// <summary>
|
|
/// The combobox element.
|
|
/// </summary>
|
|
/// <seealso cref="FlaxEditor.CustomEditors.LayoutElement" />
|
|
public class ComboBoxElement : LayoutElement
|
|
{
|
|
/// <summary>
|
|
/// The combo box.
|
|
/// </summary>
|
|
public readonly ComboBox ComboBox;
|
|
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="ComboBoxElement"/> class.
|
|
/// </summary>
|
|
public ComboBoxElement()
|
|
{
|
|
ComboBox = new ComboBox();
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
public override Control Control => ComboBox;
|
|
}
|
|
}
|