Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
BarRaider committed Oct 1, 2020
1 parent 0df4392 commit 7939540
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,14 @@
* [StreamDeck-Tools Template](https://github.com/BarRaider/streamdeck-tools/raw/master/utils/StreamDeck-Tools%20Template.vsix) for Visual Studio - Automatically creates a project with all the files needed to compile a plugin
* [Profiles](https://barraider.com/profiles) Downloadable empty profiles for the XL (32-key), Classic (15-key), Mini (6-key) and Mobile devices at https://barraider.com/profiles

### Version 2.9 is out!
- Updated plugin creation logic to support issue where Stream Deck sends multiple WillAppear messages in Multi-Actions
- Updated API to support new State parameter in SetImageAsync/SetTitleAsync
- Added FIPS-compliant support to SHA512 in Tools module. MD5 functions are now obsolete
- New GraphicTools.WrapStringToFitImage() function will automatically wrap the text so it wil fit the key when using SetTitleAsync()

- Introduced `GraphicsUtils` class with a bunch of helper functions to manipulate the SD images
- Added new `Tools.FormatNumber()` function converts 54265 to 54.27k
- New ExtensionMethods for `Graphics` object: `DrawAndMeasureString` / `GetTextCenter`
### Version 3.0 is out!
- Updated file handling in `Tools.AutoPopulateSettings` and `Tools.FilenameFromPayload` methods
- Removed obsolete MD5 functions, use SHA512 functions instead
- `Tools.CenterText` function now has optional out `textFitsImage` value to verify the text does not exceed the image width
- New `Tools.FormatBytes` function converts bytes to human-readable value
- New `Graphics.GetFontSizeWhereTextFitsImage` function helps locate the best size for a text to fit an image on 1 line
- Updated dependency packages to latest versions
- Bug fix where SDConnection was not properly disposed.
- Bug fix where FileNameProperty attribute

## Features
- Sample plugin now included in this project on Github
Expand All @@ -41,6 +38,11 @@
- Optimized SetImage to not resubmit an image that was just posted to the device. Can be overridden with new property in Connection.SetImage() function.
- ExtensionMethods for Brush/Color/Graphics objects
- Helper functions in the `Tools` and `GraphicTools` classes
- GraphicTools.WrapStringToFitImage() function will automatically wrap the text so it wil fit the key when using SetTitleAsync()
- Introduced `GraphicsUtils` class with a bunch of helper functions to manipulate the SD images
- Added new `Tools.FormatNumber()` function converts 54265 to 54.27k
- New ExtensionMethods for `Graphics` object: `DrawAndMeasureString` / `GetTextCenter`


## How do I use this?
A list of plugins already using this library can be found [here][1]
Expand Down

0 comments on commit 7939540

Please sign in to comment.