TextBox, PropertyChangeHandler

This commit is contained in:
2023-08-11 21:51:44 +02:00
parent e989a65e81
commit 1fde0df2d6
81 changed files with 1539 additions and 390 deletions

View File

@@ -8,6 +8,7 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\AppCommon\FileTime.App.CommandPalette.Abstractions\FileTime.App.CommandPalette.Abstractions.csproj" />
<ProjectReference Include="..\..\AppCommon\FileTime.App.Core.Abstraction\FileTime.App.Core.Abstraction.csproj" />
<ProjectReference Include="..\..\Library\TerminalUI\TerminalUI.csproj" />
</ItemGroup>

View File

@@ -1,4 +1,5 @@
using FileTime.App.Core.ViewModels;
using FileTime.App.CommandPalette.ViewModels;
using FileTime.App.Core.ViewModels;
namespace FileTime.ConsoleUI.App;
@@ -8,4 +9,5 @@ public interface IRootViewModel
IPossibleCommandsViewModel PossibleCommands { get; }
string UserName { get; }
string MachineName { get; }
ICommandPaletteViewModel CommandPalette { get; }
}

View File

@@ -1,4 +1,5 @@
using FileTime.App.Core.Models;
using GeneralInputKey;
namespace FileTime.ConsoleUI.App.KeyInputHandling;

View File

@@ -1,6 +1,6 @@
using TerminalUI.Color;
namespace FileTime.ConsoleUI.App;
namespace FileTime.ConsoleUI.App.Styling;
public interface ITheme
{
@@ -14,4 +14,5 @@ public interface ITheme
IColor? MarkedSelectedItemBackgroundColor { get; }
IColor? SelectedItemColor { get; }
IColor? SelectedTabBackgroundColor { get; }
ListViewItemTheme ListViewItemTheme { get; }
}

View File

@@ -0,0 +1,8 @@
using TerminalUI.Color;
namespace FileTime.ConsoleUI.App.Styling;
public record ListViewItemTheme(
IColor? SelectedBackgroundColor,
IColor? SelectedForegroundColor
);