-
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.
🌟 functional Dialog element | add enum to list and clarify outputs
- Loading branch information
1 parent
958d2b7
commit 467bcd1
Showing
2 changed files
with
183 additions
and
36 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,33 @@ | ||
/* | ||
GNU GPL License 2024 MorganKryze(Yann Vidamment) | ||
For full license information, please visit: https://github.com/MorganKryze/ConsoleAppVisuals/blob/main/LICENSE | ||
*/ | ||
namespace ConsoleAppVisuals.Enums; | ||
|
||
/// <summary> | ||
/// The <see cref="DialogOption"/> enum defines the outputs of a dialog. | ||
/// </summary> | ||
/// <remarks> | ||
/// For more information, refer to the following resources: | ||
/// <list type="bullet"> | ||
/// <item><description><a href="https://morgankryze.github.io/ConsoleAppVisuals/">Documentation</a></description></item> | ||
/// <item><description><a href="https://github.com/MorganKryze/ConsoleAppVisuals/blob/main/example/">Example Project</a></description></item> | ||
/// </list> | ||
/// </remarks> | ||
public enum DialogOption | ||
{ | ||
/// <summary> | ||
/// No options are set or escape pressed. | ||
/// </summary> | ||
None, | ||
|
||
/// <summary> | ||
/// Left option selected. | ||
/// </summary> | ||
Left, | ||
|
||
/// <summary> | ||
/// Right option selected. | ||
/// </summary> | ||
Right, | ||
} |