Skip to content

Commit

Permalink
Merge pull request #9 from ricaun-io/develop
Browse files Browse the repository at this point in the history
Update to 0.0.6
  • Loading branch information
ricaun authored Feb 2, 2022
2 parents 93e9ebe + 95df152 commit 60f4747
Show file tree
Hide file tree
Showing 15 changed files with 512 additions and 141 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,27 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [0.0.6] / 2022-02-02
- Special Icons8 class
- Update Example Version
- Add Icon / InstallationFiles
- Add More Icons
- Update Readme
- Update `GetBitmapSource` base64orUri
- Add Icons8 on Example
- Change SetImage and SetLargeImage to RibbonItem
- Fix RemoveQuickAccessToolBar on `Remove` RibbonPanel
- Add GetName `Type`
- Add SetShowImage
- Add Action on `RibbonDescription`
- Add TRibbonButton on `RibbonDescriptionExtension`
- Add TRibbonItem on `RibbonDescriptionExtension`
- 2022-01-31
- Remove QuickAccessToolBar when Remove RibbonPanel
- Add QuickAccessToolBarExtension
- 2022-01-25
- Add GetRibbonTabs

## [0.0.5] / 2022-01-24
- Add SetImage / SetLongDescription
- Add UpdateRibbonDescription
Expand Down
17 changes: 13 additions & 4 deletions README.md
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)!
21 changes: 21 additions & 0 deletions ricaun.Revit.UI.Example/InstallationFiles/License.txt
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.
42 changes: 42 additions & 0 deletions ricaun.Revit.UI.Example/Proprieties/Icons8.cs
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
}
}
Loading

0 comments on commit 60f4747

Please sign in to comment.