using System.Diagnostics.CodeAnalysis;
using System.Numerics;
using Aetherium.Interface.Colors;

namespace Aetherium.Interface.Internal.Windows.Settings.Widgets;

[SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1600:Elements should be documented", Justification = "Internals")]
public class HintSettingsEntry : SettingsEntry
{
    private readonly string text;
    private readonly Vector4 color;

    public HintSettingsEntry(string text, Vector4? color = null)
    {
        this.text = text;
        this.color = color ?? ImGuiColors.AetheriumGrey;
    }

    public override void Load()
    {
        // ignore
    }

    public override void Save()
    {
        // ignore
    }

    public override void Draw()
    {
        ImGuiHelpers.SafeTextColoredWrapped(this.color, this.text);
    }
}
