// Unity C# reference source
// Copyright (c) Unity Technologies. For terms of use, see
// https://unity3d.com/legal/licenses/Unity_Reference_Only_License

using System;
using UnityEngine.Experimental.UIElements;

namespace UnityEditor.Experimental.UIElements
{
    public class ToolbarToggle : Toggle
    {
        public new class UxmlFactory : UxmlFactory<ToolbarToggle, UxmlTraits> {}
        public new class UxmlTraits : Toggle.UxmlTraits {}

        const string k_ClassName = "toolbarButton";
        public ToolbarToggle()
        {
            Toolbar.SetToolbarStyleSheet(this);
            AddToClassList(k_ClassName);
        }
    }
}
