terminal/src/cascadia/TerminalCore/ICoreSettings.idl
Mike Griese 4e0f31337d
Add support for per-profile tab colors (#7162)
This PR adds support for per-profile tab colors, in accordance with
#7134. This adds a single `tabColor` property, that when set, specifies
the background color for profile's tab. This color can be overridden by
the color picker, and clearing the color with the color picker will
revert to this default color set for the tab.

* Full theming is covered in #3327 & #5772 

Validation: Played with setting this color, both on launch and via
hot-reload

Specified in #7134
Closes #1337
2020-08-07 16:07:42 -07:00

42 lines
1,003 B
Plaintext

// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
namespace Microsoft.Terminal.TerminalControl
{
enum CursorStyle
{
Vintage,
Bar,
Underscore,
FilledBox,
EmptyBox
};
interface ICoreSettings
{
UInt32 DefaultForeground;
UInt32 DefaultBackground;
UInt32 GetColorTableEntry(Int32 index);
void SetColorTableEntry(Int32 index, UInt32 value);
// TODO:MSFT:20642297 - define a sentinel for Infinite Scrollback
Int32 HistorySize;
Int32 InitialRows;
Int32 InitialCols;
Boolean SnapOnInput;
Boolean AltGrAliasing;
UInt32 CursorColor;
CursorStyle CursorShape;
UInt32 CursorHeight;
String StartingTitle;
Boolean SuppressApplicationTitle;
String WordDelimiters;
Boolean ForceVTInput;
Windows.Foundation.IReference<UInt32> TabColor;
};
}