-
Notifications
You must be signed in to change notification settings - Fork 694
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 #3376 from tig/v2_2144-3D-effect
Fixes #2114. Adds `View.ShadowStyle` - Enabled but not turned on by default
- Loading branch information
Showing
44 changed files
with
1,469 additions
and
377 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
namespace Terminal.Gui; | ||
|
||
/// <summary> | ||
/// Defines the style of shadow to be drawn on the right and bottom sides of the <see cref="View"/>. | ||
/// </summary> | ||
public enum ShadowStyle | ||
{ | ||
/// <summary> | ||
/// No shadow. | ||
/// </summary> | ||
None, | ||
|
||
/// <summary> | ||
/// A shadow that is drawn using block elements. Ideal for smaller views such as buttons. | ||
/// </summary> | ||
Opaque, | ||
|
||
/// <summary> | ||
/// A shadow that is drawn using the underlying text with a darker background. Ideal for larger views such as windows. | ||
/// </summary> | ||
Transparent | ||
} |
Oops, something went wrong.