Ejemplo n.º 1
0
        //---------------------------------------------------------------------
        // Public
        //---------------------------------------------------------------------

        public FolderIconPair GetIconsByColor(FolderColorName color)
        {
            FolderColor colorFolder = ColorFolderIcons.Single(x => x.Color == color);

            return(new FolderIconPair {
                SmallIcon = colorFolder.SmallIcon, LargeIcon = colorFolder.LargeIcon
            });
        }
Ejemplo n.º 2
0
        public Texture2D GetBackgroundByColor(FolderColorName color)
        {
            FolderColor colorFolder = ColorFolderIcons.Single(x => x.Color == color);

            return(colorFolder.Background);
        }