mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Updated the OnDrawingContent method across multiple classes to accept a DrawContext? context parameter, replacing the parameterless version. This change standardizes the drawing API and enables context-aware drawing operations.
The refactor includes: - Modifying method signatures in classes like `AnimationScenario`, `Images`, `DrawingArea`, `AttributeView`, `Snake`, and others. - Removing the parameterless `OnDrawingContent` method from the `View` class. - Updating calls to the base class implementation to pass the `context` parameter. - Adjusting comments and documentation to reflect the new method signature. This change ensures consistency and prepares the codebase for more advanced drawing capabilities.
This commit is contained in:
@@ -10,7 +10,7 @@ public class AdornmentTests
|
||||
// public bool PaddingDrawn { get; set; }
|
||||
|
||||
// /// <inheritdoc />
|
||||
// protected override bool OnDrawingContent ()
|
||||
// protected override bool OnDrawingContent (DrawContext? context)
|
||||
// {
|
||||
// if (Border is { } && Border.Thickness != Thickness.Empty)
|
||||
// {
|
||||
|
||||
Reference in New Issue
Block a user