-
Notifications
You must be signed in to change notification settings - Fork 696
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
156 changed files
with
2,612 additions
and
1,833 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
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
36 changes: 36 additions & 0 deletions
36
Terminal.Gui/Configuration/ConfigurationManagerEventArgs.cs
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,36 @@ | ||
using System; | ||
|
||
#nullable enable | ||
|
||
namespace Terminal.Gui.Configuration { | ||
/// <summary> | ||
/// Event arguments for the <see cref="ConfigurationManager"/> events. | ||
/// </summary> | ||
public class ConfigurationManagerEventArgs : EventArgs { | ||
|
||
/// <summary> | ||
/// Initializes a new instance of <see cref="ConfigurationManagerEventArgs"/> | ||
/// </summary> | ||
public ConfigurationManagerEventArgs () | ||
{ | ||
} | ||
} | ||
|
||
/// <summary> | ||
/// Event arguments for the <see cref="ConfigurationManager.ThemeManager"/> events. | ||
/// </summary> | ||
public class ThemeManagerEventArgs : EventArgs { | ||
/// <summary> | ||
/// The name of the new active theme.. | ||
/// </summary> | ||
public string NewTheme { get; set; } = string.Empty; | ||
|
||
/// <summary> | ||
/// Initializes a new instance of <see cref="ThemeManagerEventArgs"/> | ||
/// </summary> | ||
public ThemeManagerEventArgs (string newTheme) | ||
{ | ||
NewTheme = newTheme; | ||
} | ||
} | ||
} |
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
Oops, something went wrong.