2026-02-06 16:12:44 -08:00
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
2024-08-09 09:18:56 -07:00
|
|
|
<!-- Look at Directory.Build.props in root for common stuff as well -->
|
2026-02-06 16:12:44 -08:00
|
|
|
<Import Project="$(RepoRoot)src\Common.Dotnet.CsWinRT.props" />
|
|
|
|
|
<Import Project="$(RepoRoot)src\Common.Dotnet.AotCompatibility.props" />
|
2020-06-18 12:56:12 -07:00
|
|
|
|
|
|
|
|
<PropertyGroup>
|
2020-06-24 18:36:37 +03:00
|
|
|
<Description>PowerToys ManagedCommon</Description>
|
2021-12-06 14:40:41 +01:00
|
|
|
<AssemblyName>PowerToys.ManagedCommon</AssemblyName>
|
2020-06-18 12:56:12 -07:00
|
|
|
</PropertyGroup>
|
2020-06-18 15:18:38 -07:00
|
|
|
|
2024-08-08 15:26:43 +01:00
|
|
|
<!-- See https://learn.microsoft.com/windows/apps/develop/platform/csharp-winrt/net-projection-from-cppwinrt-component for more info -->
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<CsWinRTIncludes>PowerToys.Interop</CsWinRTIncludes>
|
|
|
|
|
<CsWinRTGeneratedFilesDir>$(OutDir)</CsWinRTGeneratedFilesDir>
|
|
|
|
|
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
2020-06-18 12:56:12 -07:00
|
|
|
<ItemGroup>
|
2023-02-13 12:10:33 -05:00
|
|
|
<PackageReference Include="System.Management" />
|
2020-06-18 12:56:12 -07:00
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
2023-03-21 10:27:29 +01:00
|
|
|
<ProjectReference Include="..\interop\PowerToys.Interop.vcxproj" />
|
2020-12-15 15:16:09 +03:00
|
|
|
<ProjectReference Include="..\ManagedTelemetry\Telemetry\ManagedTelemetry.csproj" />
|
2020-06-18 12:56:12 -07:00
|
|
|
</ItemGroup>
|
2022-12-01 09:40:41 -05:00
|
|
|
|
[ColorPicker]Custom color formats (#22141)
* [ColorPicker] Development: custom color formats, first steps
* ColorPicker development of custom format handling.
* Custom color format developmnet.
Added common helper class for format string
Fixed settings loading
Added numbering if default name exists (My format (1))
* Custom color format implementation.
Extended the colorPicker settings with the format string
Updated the color to string conversion
* Custom color format in color picker, development.
Adding edit, delete buttons. Implement functionality
Re-arranging settings panel (newly created formats at the top)
Implementing details (valid parameters, more format elements, more types)
* Minor commit
* Development color picker custom formats. "Last" steps.
Replacing hard coded english strings with resources, polishing.
* Adding help to the format edit dialog.
* Undoing changes unwillingly commited in Host module
* Fixing bug unable to delete a custom format after renaming it - use the colorformat object as reference (and not the name)
Modifying the default custom formula
Removing unnecessary using directives
* Udating the default user defined color format
* Removing unnecessary using directive
* ColorPicker Implementing custom color formats: adding custom formats to the default format selection (dropdown box).
* Fix binding of name and example
* Custom color formats, implemented steps:
vorwarts compatibility loading settings.
Fixed UI as requested (removed one settings panel, added button to the first panel)
* Minor change in the UI: description modified
* ColorPicker Custom Color Formats develepoment.
Added conversion from old predefined formats to customizable formats.
Extended default settings (in case settings file is deleted/corrupted).
Minor fixes.
* Fixing color format parameters.
Implementing 3 different Saturation calculations, 2 Hue calculations and 2 Lightness calculations (depending color format)
* Color Picker: New/Edit Color format. Fixing bug when cancelling addition/edit
* ColorPicker. Updating help section, available parameters
* Fix spellchecker
* Remove the MinWidth so that scrollviewers can be drawn
* ColorPicker bugfix: Not allowing to delete the last color format.
2022-12-02 17:44:53 +01:00
|
|
|
<ItemGroup>
|
|
|
|
|
<Compile Update="CommonResources.Designer.cs">
|
|
|
|
|
<DependentUpon>CommonResources.resx</DependentUpon>
|
|
|
|
|
<DesignTime>True</DesignTime>
|
|
|
|
|
<AutoGen>True</AutoGen>
|
|
|
|
|
</Compile>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<EmbeddedResource Update="CommonResources.resx">
|
|
|
|
|
<SubType>Designer</SubType>
|
|
|
|
|
<LastGenOutput>CommonResources.Designer.cs</LastGenOutput>
|
|
|
|
|
<Generator>PublicResXFileCodeGenerator</Generator>
|
|
|
|
|
</EmbeddedResource>
|
|
|
|
|
</ItemGroup>
|
2020-06-18 12:56:12 -07:00
|
|
|
</Project>
|