// Copyright (c) Wojciech Figat. All rights reserved.

using FlaxEngine;

namespace FlaxEditor.Surface
{
    /// <summary>
    /// Set of static properties for the surface.
    /// </summary>
    [HideInEditor]
    public static class Constants
    {
        /// <summary>
        /// The node close button size.
        /// </summary>
        public const float NodeCloseButtonSize = 10.0f;

        /// <summary>
        /// The node close button margin from the edges.
        /// </summary>
        public const float NodeCloseButtonMargin = 5.0f;

        /// <summary>
        /// The node header height.
        /// </summary>
        public const float NodeHeaderHeight = 25.0f;

        /// <summary>
        /// The scale of the header text.
        /// </summary>
        public const float NodeHeaderTextScale = 0.8f;

        /// <summary>
        /// The node footer height.
        /// </summary>
        public const float NodeFooterSize = 2.0f;

        /// <summary>
        /// The horizontal node margin.
        /// </summary>
        public const float NodeMarginX = 6.0f;

        /// <summary>
        /// The vertical node right margin.
        /// </summary>
        public const float NodeMarginY = 8.0f;

        /// <summary>
        /// The size of the row that is started by a box.
        /// </summary>
        public const float BoxRowHeight = 19.0f;

        /// <summary>
        /// The box size (with and height).
        /// </summary>
        public const float BoxSize = 15.0f;

        /// <summary>
        /// The node layout offset on the y axis (height of the boxes rows, etc.). It's used to make the design more consistent.
        /// </summary>
        public const float LayoutOffsetY = 24.0f;

        /// <summary>
        /// The offset between the box text and the box
        /// </summary>
        public const float BoxTextOffset = 1.65f;

        /// <summary>
        /// The width of the rectangle used to draw the box text.
        /// </summary>
        public const float BoxTextRectWidth = 500.0f;
    }
}
