-
Notifications
You must be signed in to change notification settings - Fork 3
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 #51 from XanatosX/feature/40_add-missing-hotkey-view
Add hotkey window to the application
- Loading branch information
Showing
22 changed files
with
707 additions
and
3 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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace ModularToolManager.Models; | ||
|
||
/// <summary> | ||
/// Model representing a single hotkey | ||
/// </summary> | ||
internal class HotkeyModel | ||
{ | ||
/// <summary> | ||
/// The name of the hotkey | ||
/// </summary> | ||
public string? Name { get; init; } | ||
|
||
/// <summary> | ||
/// The description of the hotkey | ||
/// </summary> | ||
public string? Description { get; init; } | ||
|
||
/// <summary> | ||
/// Where does the hotkey work | ||
/// </summary> | ||
public string? WorkingOn { get; init; } | ||
|
||
/// <summary> | ||
/// The keys to press to trigger the hotkey | ||
/// </summary> | ||
public List<string>? Keys { get; init; } | ||
|
||
/// <summary> | ||
/// The order id for the hotkey | ||
/// </summary> | ||
public int OrderId { get; init; } | ||
} |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
198 changes: 198 additions & 0 deletions
198
src/ModularToolManager/Properties/Resources.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.