//--------------------------------------------------------------------- // Public //--------------------------------------------------------------------- public FolderIconPair GetIconsByColor(FolderColorName color) { FolderColor colorFolder = ColorFolderIcons.Single(x => x.Color == color); return(new FolderIconPair { SmallIcon = colorFolder.SmallIcon, LargeIcon = colorFolder.LargeIcon }); }
public Texture2D GetBackgroundByColor(FolderColorName color) { FolderColor colorFolder = ColorFolderIcons.Single(x => x.Color == color); return(colorFolder.Background); }