-
Notifications
You must be signed in to change notification settings - Fork 8.1k
/
ColorSchemeViewModel.idl
39 lines (31 loc) · 1.3 KB
/
ColorSchemeViewModel.idl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import "ColorSchemes.idl";
namespace Microsoft.Terminal.Settings.Editor
{
runtimeclass ColorSchemeViewModel : Windows.UI.Xaml.Data.INotifyPropertyChanged, Windows.Foundation.IStringable
{
String Name;
Boolean IsInBoxScheme;
Boolean IsDefaultScheme { get; };
Boolean RequestRename(String newName);
// Terminal Colors
Windows.Foundation.Collections.IVector<ColorTableEntry> NonBrightColorTable;
Windows.Foundation.Collections.IVector<ColorTableEntry> BrightColorTable;
ColorTableEntry ColorEntryAt(UInt32 Index);
// System Colors
ColorTableEntry ForegroundColor;
ColorTableEntry BackgroundColor;
ColorTableEntry CursorColor;
ColorTableEntry SelectionBackgroundColor;
void DeleteConfirmation_Click(IInspectable sender, Windows.UI.Xaml.RoutedEventArgs args);
void SetAsDefault_Click(IInspectable sender, Windows.UI.Xaml.RoutedEventArgs args);
}
[default_interface] runtimeclass ColorTableEntry : Windows.UI.Xaml.Data.INotifyPropertyChanged
{
String Name { get; };
IInspectable Tag;
Windows.UI.Color Color;
String AccessibleName { get; };
}
}