Skip to content

Commit aa4f8bd

Browse files
mdtauk0x5bfa
authored andcommitted
Init
1 parent e88e313 commit aa4f8bd

24 files changed

+6229
-2
lines changed

src/Files.App.Controls/Files.App.Controls.csproj

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- Copyright (c) 2024 Files Community. Licensed under the MIT License. See the LICENSE. -->
1+
<!-- Copyright (c) 2024 Files Community. Licensed under the MIT License. See the LICENSE. -->
22
<Project Sdk="Microsoft.NET.Sdk">
33

44
<PropertyGroup>
@@ -26,4 +26,23 @@
2626
<ProjectReference Include="..\Files.Core.SourceGenerator\Files.Core.SourceGenerator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
2727
</ItemGroup>
2828

29+
<ItemGroup>
30+
<CustomAdditionalCompileInputs Remove="Storage\StorageBar\StorageBar.xaml" />
31+
</ItemGroup>
32+
33+
<ItemGroup>
34+
<None Remove="Storage\StorageBar\StorageBar.ThemeResources.xaml" />
35+
<None Remove="Storage\StorageBar\StorageBar.xaml" />
36+
</ItemGroup>
37+
38+
<ItemGroup>
39+
<Resource Remove="Storage\StorageBar\StorageBar.xaml" />
40+
</ItemGroup>
41+
42+
<ItemGroup>
43+
<Page Update="Storage\StorageBar\StorageBar.ThemeResources.xaml">
44+
<Generator>MSBuild:Compile</Generator>
45+
</Page>
46+
</ItemGroup>
47+
2948
</Project>
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// Copyright (c) 2024 Files Community
2+
// Licensed under the MIT License. See the LICENSE.
3+
4+
namespace Files.App.Controls
5+
{
6+
/// <summary>
7+
/// Defines BarShape for <see cref="StorageBar"/>.
8+
/// </summary>
9+
public enum BarShapes
10+
{
11+
/// <summary>
12+
/// The BarShape for Round StorageBars. Default state.
13+
/// </summary>
14+
Round,
15+
16+
/// <summary>
17+
/// The BarShape for Soft StorageBars.
18+
/// </summary>
19+
Soft,
20+
21+
/// <summary>
22+
/// The BarShape for Flat StorageBars.
23+
/// </summary>
24+
Flat,
25+
}
26+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
// Copyright (c) 2024 Files Community
2+
// Licensed under the MIT License. See the LICENSE.
3+
4+
namespace Files.App.Controls
5+
{
6+
/// <summary>
7+
/// Defines ThicknessCheck values for <see cref="StorageRing"/> and <see cref="StorageBar"/>.
8+
/// </summary>
9+
public enum ThicknessCheck
10+
{
11+
/// <summary>
12+
/// The ThicknessCheck for when the Value Thickness is thickest.
13+
/// </summary>
14+
Value,
15+
16+
/// <summary>
17+
/// The ThicknessCheck for when the Track Thickness is thickest.
18+
/// </summary>
19+
Track,
20+
21+
/// <summary>
22+
/// The ThicknessCheck for when the both Value and Track
23+
/// Thickness is equal.
24+
/// </summary>
25+
Equal,
26+
}
27+
}

0 commit comments

Comments
 (0)