final fixes

This commit is contained in:
Charlie Kindel
2020-05-26 23:08:01 -06:00
parent c84bdd09b2
commit fe340deed8
2 changed files with 3 additions and 3 deletions

View File

@@ -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)
{

View File

@@ -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 {