227ec3777a
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Adds a new bellStyle called `window`. When `window` is set and a BEL is emitted, we flash the pane that emitted it. Additionally, changes bellStyle in the SUI to a list of checkboxes instead of radio buttons, to match bellStyle being a flag-enum. Deprecates 'BellStyle::Visual' in the schema, but still allows it to be set in the json (it maps to `Window | Taskbar`) <!-- Other than the issue solved, is this relevant to any other issues/existing PRs? --> ## References #6700 <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [ ] Closes #xxx * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [ ] Tests added/passed * [ ] Documentation updated. If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx * [ ] Schema updated. * [x] I work here <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed GIF in Teams
173 lines
7.6 KiB
XML
173 lines
7.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup Label="Globals">
|
|
<ProjectGuid>{CA5CAD1A-44BD-4AC7-AC72-6CA5B3AB89ED}</ProjectGuid>
|
|
<Keyword>Win32Proj</Keyword>
|
|
<ProjectName>Microsoft.Terminal.Control.Lib</ProjectName>
|
|
<RootNamespace>Microsoft.Terminal.Control</RootNamespace>
|
|
<TargetName>Microsoft.Terminal.ControlLib</TargetName>
|
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
|
<SubSystem>Console</SubSystem>
|
|
<OpenConsoleUniversalApp>true</OpenConsoleUniversalApp>
|
|
|
|
<!-- C++/WinRT sets the depth to 1 if there is a XAML file in the project
|
|
Unfortunately for us, we need it to be 3. When the namespace merging
|
|
depth is 1, Microsoft.Terminal.Control becomes "Microsoft",
|
|
and our WinMD file becomes "Microsoft". Because WinRT is very
|
|
namespace-driven, this winmd is considered to contain the entire
|
|
Microsoft namespace. This is, obviously, not great. None of our other
|
|
projects compile properly when they depend on this "Microsoft.winmd."
|
|
-->
|
|
<CppWinRTNamespaceMergeDepth>3</CppWinRTNamespaceMergeDepth>
|
|
<XamlComponentResourceLocation>nested</XamlComponentResourceLocation>
|
|
|
|
</PropertyGroup>
|
|
<Import Project="..\..\..\common.openconsole.props" Condition="'$(OpenConsoleDir)'==''" />
|
|
<Import Project="$(OpenConsoleDir)src\cppwinrt.build.pre.props" />
|
|
|
|
<!-- ========================= Headers ======================== -->
|
|
<ItemGroup>
|
|
<ClInclude Include="pch.h" />
|
|
<ClInclude Include="ControlCore.h">
|
|
<DependentUpon>ControlCore.idl</DependentUpon>
|
|
</ClInclude>
|
|
<ClInclude Include="ControlInteractivity.h">
|
|
<DependentUpon>ControlInteractivity.idl</DependentUpon>
|
|
</ClInclude>
|
|
<ClInclude Include="KeyChord.h">
|
|
<DependentUpon>KeyChord.idl</DependentUpon>
|
|
</ClInclude>
|
|
<ClInclude Include="EventArgs.h">
|
|
<DependentUpon>EventArgs.idl</DependentUpon>
|
|
</ClInclude>
|
|
<ClInclude Include="SearchBoxControl.h">
|
|
<DependentUpon>SearchBoxControl.xaml</DependentUpon>
|
|
</ClInclude>
|
|
<ClInclude Include="XamlLights.h">
|
|
<DependentUpon>XamlLights.idl</DependentUpon>
|
|
</ClInclude>
|
|
<ClInclude Include="TermControl.h">
|
|
<DependentUpon>TermControl.xaml</DependentUpon>
|
|
</ClInclude>
|
|
<ClInclude Include="TermControlAutomationPeer.h">
|
|
<DependentUpon>TermControlAutomationPeer.idl</DependentUpon>
|
|
</ClInclude>
|
|
<ClInclude Include="ThrottledFunc.h" />
|
|
<ClInclude Include="TSFInputControl.h">
|
|
<DependentUpon>TSFInputControl.xaml</DependentUpon>
|
|
</ClInclude>
|
|
<ClInclude Include="XamlUiaTextRange.h" />
|
|
</ItemGroup>
|
|
<!-- ========================= Cpp Files ======================== -->
|
|
<ItemGroup>
|
|
<ClCompile Include="pch.cpp">
|
|
<PrecompiledHeader>Create</PrecompiledHeader>
|
|
</ClCompile>
|
|
<ClCompile Include="ControlCore.cpp">
|
|
<DependentUpon>ControlCore.idl</DependentUpon>
|
|
</ClCompile>
|
|
<ClCompile Include="ControlInteractivity.cpp">
|
|
<DependentUpon>ControlInteractivity.idl</DependentUpon>
|
|
</ClCompile>
|
|
<ClCompile Include="EventArgs.cpp">
|
|
<DependentUpon>EventArgs.idl</DependentUpon>
|
|
</ClCompile>
|
|
<ClCompile Include="init.cpp" />
|
|
<ClCompile Include="KeyChord.cpp">
|
|
<DependentUpon>KeyChord.idl</DependentUpon>
|
|
</ClCompile>
|
|
<ClCompile Include="SearchBoxControl.cpp">
|
|
<DependentUpon>SearchBoxControl.xaml</DependentUpon>
|
|
</ClCompile>
|
|
<ClCompile Include="XamlLights.cpp">
|
|
<DependentUpon>XamlLights.idl</DependentUpon>
|
|
</ClCompile>
|
|
<ClCompile Include="TermControl.cpp">
|
|
<DependentUpon>TermControl.xaml</DependentUpon>
|
|
</ClCompile>
|
|
<ClCompile Include="TSFInputControl.cpp">
|
|
<DependentUpon>TSFInputControl.xaml</DependentUpon>
|
|
</ClCompile>
|
|
<ClCompile Include="$(GeneratedFilesDir)module.g.cpp" />
|
|
<ClCompile Include="TermControlAutomationPeer.cpp">
|
|
<DependentUpon>TermControlAutomationPeer.idl</DependentUpon>
|
|
</ClCompile>
|
|
<ClCompile Include="XamlUiaTextRange.cpp" />
|
|
</ItemGroup>
|
|
<!-- ========================= idl Files ======================== -->
|
|
<ItemGroup>
|
|
<Midl Include="ControlCore.idl" />
|
|
<Midl Include="ControlInteractivity.idl" />
|
|
<Midl Include="ICoreState.idl" />
|
|
<Midl Include="IDirectKeyListener.idl" />
|
|
<Midl Include="KeyChord.idl" />
|
|
<Midl Include="EventArgs.idl" />
|
|
<Midl Include="IKeyBindings.idl" />
|
|
<Midl Include="IControlSettings.idl" />
|
|
<Midl Include="IControlAppearance.idl" />
|
|
<Midl Include="SearchBoxControl.idl">
|
|
<DependentUpon>SearchBoxControl.xaml</DependentUpon>
|
|
</Midl>
|
|
<Midl Include="XamlLights.idl" />
|
|
<Midl Include="TermControl.idl">
|
|
<DependentUpon>TermControl.xaml</DependentUpon>
|
|
</Midl>
|
|
<Midl Include="TermControlAutomationPeer.idl" />
|
|
<Midl Include="IMouseWheelListener.idl" />
|
|
<Midl Include="TSFInputControl.idl">
|
|
<DependentUpon>TSFInputControl.xaml</DependentUpon>
|
|
</Midl>
|
|
</ItemGroup>
|
|
<!-- ========================= XAML Files ======================== -->
|
|
<ItemGroup>
|
|
<Page Include="SearchBoxControl.xaml">
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
<Page Include="TermControl.xaml">
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
<Page Include="TSFInputControl.xaml">
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
</ItemGroup>
|
|
<!-- ========================= Misc Files ======================== -->
|
|
<ItemGroup>
|
|
<PRIResource Include="Resources\en-US\Resources.resw" />
|
|
<OCResourceDirectory Include="Resources" />
|
|
<None Include="packages.config" />
|
|
</ItemGroup>
|
|
<!-- ========================= Project References ======================== -->
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\types\lib\types.vcxproj" />
|
|
<ProjectReference Include="..\..\buffer\out\lib\bufferout.vcxproj" />
|
|
<ProjectReference Include="$(OpenConsoleDir)src\renderer\base\lib\base.vcxproj" />
|
|
<ProjectReference Include="..\..\renderer\dx\lib\dx.vcxproj" />
|
|
<ProjectReference Include="..\..\renderer\uia\lib\uia.vcxproj" />
|
|
<ProjectReference Include="..\..\terminal\parser\lib\parser.vcxproj" />
|
|
<ProjectReference Include="$(OpenConsoleDir)src\terminal\input\lib\terminalinput.vcxproj" />
|
|
<ProjectReference Include="$(OpenConsoleDir)src\cascadia\TerminalCore\lib\TerminalCore-lib.vcxproj" />
|
|
<ProjectReference Include="$(OpenConsoleDir)src\cascadia\TerminalConnection\TerminalConnection.vcxproj">
|
|
<Private>false</Private>
|
|
<CopyLocalSatelliteAssemblies>false</CopyLocalSatelliteAssemblies>
|
|
</ProjectReference>
|
|
<ProjectReference Include="$(OpenConsoleDir)src\cascadia\WinRTUtils\WinRTUtils.vcxproj">
|
|
<Project>{CA5CAD1A-039A-4929-BA2A-8BEB2E4106FE}</Project>
|
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<!-- ====================== Compiler & Linker Flags ===================== -->
|
|
<ItemDefinitionGroup>
|
|
<ClCompile>
|
|
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
|
<AdditionalIncludeDirectories>$(OpenConsoleDir)src\cascadia\inc;$(OpenConsoleDir)src\types\inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
</ClCompile>
|
|
<Reference>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
</ItemDefinitionGroup>
|
|
<!-- ========================= Globals ======================== -->
|
|
<Import Project="$(OpenConsoleDir)src\cppwinrt.build.post.props" />
|
|
|
|
<Import Project="$(SolutionDir)build\rules\CollectWildcardResources.targets" />
|
|
</Project>
|