2021-11-29 18:25:50 +01:00
|
|
|
namespace zero.Api.Models;
|
2021-11-23 15:43:21 +01:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The modifier displays a small icon (with hover text) next to the main item icon
|
|
|
|
|
/// </summary>
|
2021-11-27 16:33:05 +01:00
|
|
|
public struct TreeItemModifier
|
2021-11-23 15:43:21 +01:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Name of the modifier
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Icon to display
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Icon { get; set; }
|
|
|
|
|
|
|
|
|
|
public TreeItemModifier(string name, string icon)
|
|
|
|
|
{
|
|
|
|
|
Name = name;
|
|
|
|
|
Icon = icon;
|
|
|
|
|
}
|
|
|
|
|
}
|