TextBox, PropertyChangeHandler
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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; }
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
using FileTime.App.Core.Models;
|
||||
using GeneralInputKey;
|
||||
|
||||
namespace FileTime.ConsoleUI.App.KeyInputHandling;
|
||||
|
||||
|
||||
@@ -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; }
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using TerminalUI.Color;
|
||||
|
||||
namespace FileTime.ConsoleUI.App.Styling;
|
||||
|
||||
public record ListViewItemTheme(
|
||||
IColor? SelectedBackgroundColor,
|
||||
IColor? SelectedForegroundColor
|
||||
);
|
||||
Reference in New Issue
Block a user