Loading files
using Godot;
using OpenScadGraphEditor.Library;
using OpenScadGraphEditor.Nodes;
using OpenScadGraphEditor.Utils;
namespace OpenScadGraphEditor.Widgets.ProjectTree
{
public class ScadVariableTreeEntry : ProjectTreeEntry<VariableDescription>
{
public override Texture Icon { get; }
public override string Id => Description.Id;
public override string Title => $"{Description.Name} <{Description.TypeHint.HumanReadableName()}>";
public override bool CanBeDragged => true;
public override bool CanBeActivated => true;
public override VariableDescription Description { get; }
public ScadVariableTreeEntry(VariableDescription description)
{
Description = description;
Icon = Resources.VariableIcon;
}
}
}7951eb9aaThis file is pinned to the selected release. Download the original to open it in your design tool.