blindly make control settings read-only, there's only 2 build breaks?
This commit is contained in:
parent
c070be12d3
commit
43ec102343
|
@ -5,18 +5,18 @@ namespace Microsoft.Terminal.Control
|
|||
{
|
||||
interface IControlAppearance requires Microsoft.Terminal.Core.ICoreAppearance
|
||||
{
|
||||
Microsoft.Terminal.Core.Color SelectionBackground;
|
||||
String BackgroundImage;
|
||||
Double BackgroundImageOpacity;
|
||||
Windows.UI.Xaml.Media.Stretch BackgroundImageStretchMode;
|
||||
Windows.UI.Xaml.HorizontalAlignment BackgroundImageHorizontalAlignment;
|
||||
Windows.UI.Xaml.VerticalAlignment BackgroundImageVerticalAlignment;
|
||||
Boolean IntenseIsBold;
|
||||
Microsoft.Terminal.Core.Color SelectionBackground { get; };
|
||||
String BackgroundImage { get; };
|
||||
Double BackgroundImageOpacity { get; };
|
||||
Windows.UI.Xaml.Media.Stretch BackgroundImageStretchMode { get; };
|
||||
Windows.UI.Xaml.HorizontalAlignment BackgroundImageHorizontalAlignment { get; };
|
||||
Windows.UI.Xaml.VerticalAlignment BackgroundImageVerticalAlignment { get; };
|
||||
Boolean IntenseIsBold { get; };
|
||||
// IntenseIsBright is in Core Appearance
|
||||
Double Opacity;
|
||||
Double Opacity { get; };
|
||||
|
||||
// Experimental settings
|
||||
Boolean RetroTerminalEffect;
|
||||
String PixelShaderPath;
|
||||
Boolean RetroTerminalEffect { get; };
|
||||
String PixelShaderPath { get; };
|
||||
};
|
||||
}
|
||||
|
|
|
@ -24,33 +24,34 @@ namespace Microsoft.Terminal.Control
|
|||
// TermControl's behavior. In these settings there is both the entirety
|
||||
// of the Core ITerminalSettings interface, and any additional settings
|
||||
// for specifically the control.
|
||||
interface IControlSettings requires Microsoft.Terminal.Core.ICoreSettings, Microsoft.Terminal.Control.IControlAppearance
|
||||
interface IControlSettings requires Microsoft.Terminal.Core.ICoreSettings,
|
||||
Microsoft.Terminal.Control.IControlAppearance
|
||||
{
|
||||
String ProfileName;
|
||||
|
||||
Boolean UseAcrylic;
|
||||
ScrollbarState ScrollState;
|
||||
Boolean UseAcrylic { get; };
|
||||
ScrollbarState ScrollState { get; };
|
||||
|
||||
String FontFace;
|
||||
Int32 FontSize;
|
||||
Windows.UI.Text.FontWeight FontWeight;
|
||||
String Padding;
|
||||
Windows.Foundation.Collections.IMap<String, UInt32> FontFeatures;
|
||||
Windows.Foundation.Collections.IMap<String, Single> FontAxes;
|
||||
String FontFace { get; };
|
||||
Int32 FontSize { get; };
|
||||
Windows.UI.Text.FontWeight FontWeight { get; };
|
||||
String Padding { get; };
|
||||
Windows.Foundation.Collections.IMap<String, UInt32> FontFeatures { get; };
|
||||
Windows.Foundation.Collections.IMap<String, Single> FontAxes { get; };
|
||||
|
||||
Microsoft.Terminal.Control.IKeyBindings KeyBindings;
|
||||
Microsoft.Terminal.Control.IKeyBindings KeyBindings { get; };
|
||||
|
||||
Boolean CopyOnSelect;
|
||||
Boolean FocusFollowMouse;
|
||||
Boolean CopyOnSelect { get; };
|
||||
Boolean FocusFollowMouse { get; };
|
||||
|
||||
String Commandline;
|
||||
String StartingDirectory;
|
||||
String EnvironmentVariables;
|
||||
String Commandline { get; };
|
||||
String StartingDirectory { get; };
|
||||
String EnvironmentVariables { get; };
|
||||
|
||||
TextAntialiasingMode AntialiasingMode;
|
||||
TextAntialiasingMode AntialiasingMode { get; };
|
||||
|
||||
// Experimental Settings
|
||||
Boolean ForceFullRepaintRendering;
|
||||
Boolean SoftwareRendering;
|
||||
Boolean ForceFullRepaintRendering { get; };
|
||||
Boolean SoftwareRendering { get; };
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue