mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
final fixes
This commit is contained in:
@@ -540,7 +540,7 @@ namespace Terminal.Gui {
|
||||
/// <param name="paddingBottom">Number of rows to pad on the bottom (if 0 the border will not appear on the bottom).</param>
|
||||
/// <param name="textAlignment">Not yet immplemented.</param>
|
||||
/// <remarks></remarks>
|
||||
public void DrawWindowTitle (Rect region, ustring title, int paddingLeft, int paddingTop, int paddingRight, int paddingBottom, TextAlignment textAlignment = TextAlignment.Left)
|
||||
public virtual void DrawWindowTitle (Rect region, ustring title, int paddingLeft, int paddingTop, int paddingRight, int paddingBottom, TextAlignment textAlignment = TextAlignment.Left)
|
||||
{
|
||||
var width = region.Width - (paddingLeft + 2) * 2;
|
||||
if (!ustring.IsNullOrEmpty(title) && width > 4 && region.Y + paddingTop <= region.Y + paddingBottom) {
|
||||
@@ -562,7 +562,7 @@ namespace Terminal.Gui {
|
||||
/// <param name="paddingBottom">Number of rows to pad on the bottom (if 0 the border will not appear on the bottom).</param>
|
||||
/// <param name="border">If set to <c>true</c> and any padding dimension is > 0 the border will be drawn.</param>
|
||||
/// <param name="fill">If set to <c>true</c> it will clear the content area (the area inside the padding) with the current color, otherwise the content area will be left untouched.</param>
|
||||
public void DrawWindowFrame (Rect region, int paddingLeft = 0, int paddingTop = 0, int paddingRight = 0, int paddingBottom = 0, bool border = true, bool fill = false)
|
||||
public virtual void DrawWindowFrame (Rect region, int paddingLeft = 0, int paddingTop = 0, int paddingRight = 0, int paddingBottom = 0, bool border = true, bool fill = false)
|
||||
{
|
||||
void AddRuneAt (int col, int row, Rune ch)
|
||||
{
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace UICatalog {
|
||||
internal ProgressBar PulseProgressBar { get; private set; }
|
||||
internal Action StartBtnClick;
|
||||
internal Action StopBtnClick;
|
||||
internal Action PulseBtnClick;
|
||||
internal Action PulseBtnClick = null;
|
||||
private Label _startedLabel;
|
||||
internal bool Started {
|
||||
get {
|
||||
|
||||
Reference in New Issue
Block a user