Skip to content

Commit

Permalink
Merge pull request #7 from interisti/refactoring
Browse files Browse the repository at this point in the history
Refactoring
  • Loading branch information
interisti authored Aug 28, 2017
2 parents 2a5643c + 53736bb commit e815525
Show file tree
Hide file tree
Showing 86 changed files with 2,329 additions and 623 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Roadmap

- [ ] Ease process of removing already added icons
- [ ] [Support iOS](https://github.com/interisti/vs-material-icons-generator/issues/4)
- [ ] [Support UWP](https://github.com/interisti/vs-material-icons-generator/issues/4)

Features that have a checkmark are complete and available for
download in the
Expand All @@ -21,4 +22,9 @@ on the official Visual Studio extension gallery.
## 1.1
**2016-04-24**

- [x] New UI, with preview and VS styling
- [x] New UI, with preview and VS styling

## 1.2
**2017-08-29**

- [x] Support Vector icons
4 changes: 4 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
image: Visual Studio 2015

branches:
only:
- master

install:
- ps: (new-object Net.WebClient).DownloadString("https://raw.github.com/madskristensen/ExtensionScripts/master/AppVeyor/vsix.ps1") | iex

Expand Down
53 changes: 0 additions & 53 deletions src/Design/MainViewModelDesignData.xaml

This file was deleted.

19 changes: 19 additions & 0 deletions src/MaterialIconsGenerator.Core/Contracts/IIcon.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
using System.Collections.Generic;

namespace MaterialIconsGenerator.Core
{
public interface IIcon
{
string Id { get;}

string Name { get; }

IIconCategory Category { get; }

IEnumerable<string> Keywords { get; }

string PreviewUrl { get; }

IIconProvider Provider { get; }
}
}
9 changes: 9 additions & 0 deletions src/MaterialIconsGenerator.Core/Contracts/IIconCategory.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
namespace MaterialIconsGenerator.Core
{
public interface IIconCategory
{
string Id { get;}

string Name { get; }
}
}
11 changes: 11 additions & 0 deletions src/MaterialIconsGenerator.Core/Contracts/IIconColor.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
using System.Drawing;

namespace MaterialIconsGenerator.Core
{
public interface IIconColor
{
string Name { get; }

Color Color { get; }
}
}
20 changes: 20 additions & 0 deletions src/MaterialIconsGenerator.Core/Contracts/IIconProvider.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
using System.Collections.Generic;
using System.Threading.Tasks;

namespace MaterialIconsGenerator.Core
{
public interface IIconProvider
{
string Name { get; }

string Reference { get; }

IEnumerable<string> GetSizes();

IEnumerable<string> GetDensities();

Task<IEnumerable<IIcon>> Get();

IProjectIcon CreateProjectIcon(IIcon icon, IIconColor color, string size, string density);
}
}
11 changes: 11 additions & 0 deletions src/MaterialIconsGenerator.Core/Contracts/IProject.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
namespace MaterialIconsGenerator.Core
{
public interface IProject
{
string GetRootDirectory();

void AddFile(string filename, string type);

void Save();
}
}
20 changes: 20 additions & 0 deletions src/MaterialIconsGenerator.Core/Contracts/IProjectIcon.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
using System.Threading.Tasks;

namespace MaterialIconsGenerator.Core
{
public interface IProjectIcon
{
IIcon Icon { get; }

string FullName { get; }

IIconColor Color { get; set; }

string Size { get; set; }

string Density { get; set; }


Task<byte[]> Get();
}
}
9 changes: 9 additions & 0 deletions src/MaterialIconsGenerator.Core/Contracts/IProjectManager.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using System.Threading.Tasks;

namespace MaterialIconsGenerator.Core
{
public interface IProjectManager
{
Task AddIcon(IProject project, IProjectIcon icon);
}
}
Loading

0 comments on commit e815525

Please sign in to comment.