Skip to content

Commit a73bdaa

Browse files
author
tznind
committed
WIP more compilation error fixes
1 parent bc955ba commit a73bdaa

37 files changed

Lines changed: 83 additions & 32 deletions

src/ColorSchemeManager.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using System.Collections.ObjectModel;
22
using System.Reflection;
33
using Terminal.Gui;
4+
using Terminal.Gui.Drawing;
45
using TerminalGuiDesigner;
56
using TerminalGuiDesigner.Operations;
67

src/DefaultColorSchemes.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using Terminal.Gui;
2+
using Terminal.Gui.Drawing;
23

34
namespace TerminalGuiDesigner;
45

src/Design.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
using System.Xml.Linq;
66
using NLog;
77
using Terminal.Gui;
8+
using Terminal.Gui.Drawing;
89
using Terminal.Gui.Input;
910
using Terminal.Gui.ViewBase;
1011
using Terminal.Gui.Views;
@@ -93,7 +94,7 @@ public Design(SourceCodeFile sourceCode, string fieldName, View view)
9394

9495
/// <summary>
9596
/// Gets the record of user configured values of otherwise volatile <see cref="View"/> settings.
96-
/// <para>For example while <see cref="View.Scheme"/> can change based on selection
97+
/// <para>For example while <see cref="Scheme"/> can change based on selection
9798
/// (see <see cref="SelectionManager.SelectedScheme"/> the <see cref="DesignState.OriginalScheme"/>
9899
/// will not change.
99100
/// </para>

src/DesignState.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System.Text;
22
using Terminal.Gui;
3+
using Terminal.Gui.Drawing;
34
using Terminal.Gui.ViewBase;
45
using TerminalGuiDesigner.UI;
56

src/NamedColorScheme.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using Terminal.Gui;
2+
using Terminal.Gui.Drawing;
23
using Terminal.Gui.ViewBase;
34
using TerminalGuiDesigner.ToCode;
45

src/Operations/DeleteColorSchemeOperation.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using Terminal.Gui;
2+
using Terminal.Gui.Drawing;
23
using Terminal.Gui.Views;
34

45
namespace TerminalGuiDesigner.Operations;

src/Operations/StatusBarOperations/SetShortcutOperation.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using Terminal.Gui;
2+
using Terminal.Gui.Input;
23
using Terminal.Gui.Views;
34
using TerminalGuiDesigner.Operations.Generics;
45
using TerminalGuiDesigner.UI.Windows;

src/ToCode/ColorPickerToCode.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System.CodeDom;
22
using Terminal.Gui;
3+
using Terminal.Gui.Views;
34

45
namespace TerminalGuiDesigner.ToCode
56
{

src/ToCode/ColorSchemeProperty.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
using System.CodeDom;
22
using Terminal.Gui;
3+
using Terminal.Gui.Drawing;
34
using Terminal.Gui.ViewBase;
45

56
namespace TerminalGuiDesigner.ToCode;
67

78
/// <summary>
8-
/// <para><see cref="Property"/> wrapper for <see cref="View.Scheme"/>.
9+
/// <para><see cref="Property"/> wrapper for <see cref="Scheme"/>.
910
/// </para>
1011
/// <para>
11-
/// In Terminal.Gui the <see cref="View.Scheme"/> has inbuilt inheritance
12+
/// In Terminal.Gui the <see cref="Scheme"/> has inbuilt inheritance
1213
/// to parental containers. This class handles detecting if the current value comes
1314
/// from a parent or is explicitly declared. Also interacts with <see cref="SchemeManager"/>
1415
/// which tracks what <see cref="Scheme"/> user has declared and/or is using in
@@ -21,9 +22,9 @@ public class SchemeProperty : Property
2122
/// Initializes a new instance of the <see cref="SchemeProperty"/> class.
2223
/// </summary>
2324
/// <param name="design">Wrapper for a <see cref="View"/> upon which the
24-
/// <see cref="View.Scheme"/> is to be managed.</param>
25+
/// <see cref="Scheme"/> is to be managed.</param>
2526
/// <exception cref="Exception">Thrown if Terminal.Gui public API is
26-
/// changed and <see cref="View.Scheme"/> can no longer be found
27+
/// changed and <see cref="Scheme"/> can no longer be found
2728
/// with reflection.</exception>
2829
public SchemeProperty(Design design)
2930
: base(

src/ToCode/ColorSchemeToCode.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System.CodeDom;
22
using Terminal.Gui;
3+
using Terminal.Gui.Drawing;
34
using Attribute = Terminal.Gui.Drawing.Attribute;
45

56
namespace TerminalGuiDesigner.ToCode;

0 commit comments

Comments
 (0)