-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from ricaun-io/develop
Update to 0.0.6
- Loading branch information
Showing
15 changed files
with
512 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,23 @@ | ||
# ricaun.Revit.UI | ||
|
||
[![Revit API](https://img.shields.io/badge/Revit%20API-2017+-blue.svg)](../..) | ||
[![Revit 2017](https://img.shields.io/badge/Revit-2017+-blue.svg)](../..) | ||
[![Visual Studio 2019](https://img.shields.io/badge/Visual%20Studio%202019-16.11.7+-blue)](../..) | ||
[![Nuke](https://img.shields.io/badge/Nuke-Build-blue)](https://nuke.build/) | ||
[![License MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) | ||
|
||
[![Publish](../../actions/workflows/Publish.yml/badge.svg)](../../actions) | ||
[![Develop](../../actions/workflows/Develop.yml/badge.svg)](../../actions) | ||
[![Release](https://img.shields.io/nuget/v/ricaun.Revit.UI?logo=nuget&label=release&color=blue)](https://www.nuget.org/packages/ricaun.Revit.UI) | ||
|
||
--- | ||
## Release | ||
|
||
* [Latest release](../../releases/latest) | ||
|
||
## License | ||
|
||
Copyright © 2021 ricaun | ||
This Project is [licensed](LICENSE) under the [MIT Licence](https://en.wikipedia.org/wiki/MIT_License). | ||
|
||
Credit to [icons8.com](https://icons8.com/) for the icons on the Example. | ||
|
||
--- | ||
|
||
Do you like this package? Please [star this project on GitHub](../../stargazers)! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2022 ricaun | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
using System; | ||
using System.Runtime.CompilerServices; | ||
using System.Windows.Media.Imaging; | ||
using ricaun.Revit.UI; | ||
|
||
namespace ricaun.Revit.UI.Example.Proprieties | ||
{ | ||
/// <summary> | ||
/// https://icons8.com/ | ||
/// https://img.icons8.com/small/32/000000/circled.png | ||
/// https://img.icons8.com/{0}/{1}/{2}/{3}.png | ||
/// </summary> | ||
public class Icons8 | ||
{ | ||
#region Private | ||
private static string Color => "000000"; | ||
private static string Type => "color"; | ||
private static string Size => "32"; | ||
private static string BaseUri => @"https://img.icons8.com/{0}/{1}/{2}/{3}.png"; | ||
#endregion | ||
|
||
#region Icons | ||
public static BitmapSource Icon([CallerMemberName] string name = null) => string.Format(BaseUri, Type, Size, Color, name.ToLower()).GetBitmapSource(); | ||
public static BitmapSource Ok => Icon(); | ||
public static BitmapSource Document => Icon(); | ||
public static BitmapSource File => Icon(); | ||
public static BitmapSource Support => Icon(); | ||
public static BitmapSource Settings => Icon(); | ||
public static BitmapSource About => Icon(); | ||
public static BitmapSource Restart => Icon(); | ||
public static BitmapSource Filter => Icon(); | ||
public static BitmapSource Search => Icon(); | ||
public static BitmapSource Trash => Icon(); | ||
public static BitmapSource Home => Icon(); | ||
public static BitmapSource Menu => Icon(); | ||
public static BitmapSource Info => Icon(); | ||
public static BitmapSource Circled => Icon(); | ||
public static BitmapSource Checked => Icon(); | ||
public static BitmapSource Cancel => Icon(); | ||
#endregion | ||
} | ||
} |
Oops, something went wrong.