1
0
mirror of synced 2024-12-03 19:47:29 +01:00
Switch-Toolbox/Switch_Toolbox_Library/Interfaces/Textures/ITextureIconLoader.cs

27 lines
690 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Toolbox.Library
{
/// <summary>
/// A texture list to display icons on a treeview
/// Note these will load and attach an icon when the parent treenode is expanded!
/// </summary>
public interface ITextureIconLoader
{
List<STGenericTexture> IconTextureList { get; set; }
}
/// <summary>
/// Reprenets a single texture that loads an icon.
/// These will check both on expand, and on root
/// </summary>
public interface ISingleTextureIconLoader
{
STGenericTexture IconTexture { get;}
}
}