inital
This commit is contained in:
37
F4SD-AdaptableIcon/IconData.cs
Normal file
37
F4SD-AdaptableIcon/IconData.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
using F4SD_AdaptableIcon.Enums;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace F4SD_AdaptableIcon
|
||||
{
|
||||
public readonly struct IconData
|
||||
{
|
||||
public IconData(enumInternIcons intern)
|
||||
{
|
||||
Intern = intern;
|
||||
Gif = null;
|
||||
Material = null;
|
||||
}
|
||||
|
||||
public IconData(enumInternGif gif)
|
||||
{
|
||||
Intern = null;
|
||||
Gif = gif;
|
||||
Material = null;
|
||||
}
|
||||
|
||||
public IconData(MaterialIcons.MaterialIconType material)
|
||||
{
|
||||
Intern = null;
|
||||
Gif = null;
|
||||
Material = material;
|
||||
}
|
||||
|
||||
public enumInternIcons? Intern { get; }
|
||||
public enumInternGif? Gif { get; }
|
||||
public MaterialIcons.MaterialIconType? Material { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user