mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Remove Fluent Design
This commit is contained in:
parent
c474c6c922
commit
397d865fa1
@ -3,14 +3,11 @@
|
|||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:local="clr-namespace:VideoLinkDownloader"
|
xmlns:local="clr-namespace:VideoLinkDownloader"
|
||||||
xmlns:fw="clr-namespace:SourceChord.FluentWPF;assembly=FluentWPF"
|
|
||||||
StartupUri="MainWindow.xaml">
|
StartupUri="MainWindow.xaml">
|
||||||
<Application.Resources>
|
<Application.Resources>
|
||||||
<ResourceDictionary>
|
<ResourceDictionary>
|
||||||
<ResourceDictionary.MergedDictionaries>
|
<ResourceDictionary.MergedDictionaries>
|
||||||
<!-- FluentWPF Controls -->
|
|
||||||
<ResourceDictionary
|
|
||||||
Source="pack://application:,,,/FluentWPF;component/Styles/Controls.xaml" />
|
|
||||||
</ResourceDictionary.MergedDictionaries>
|
</ResourceDictionary.MergedDictionaries>
|
||||||
</ResourceDictionary>
|
</ResourceDictionary>
|
||||||
</Application.Resources>
|
</Application.Resources>
|
||||||
|
|||||||
@ -5,10 +5,9 @@
|
|||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:local="clr-namespace:VideoLinkDownloader"
|
xmlns:local="clr-namespace:VideoLinkDownloader"
|
||||||
xmlns:fw="clr-namespace:SourceChord.FluentWPF;assembly=FluentWPF"
|
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
Background="#222"
|
Background="White"
|
||||||
Foreground="White"
|
Foreground="Black"
|
||||||
Title="MainWindow"
|
Title="MainWindow"
|
||||||
Height="450"
|
Height="450"
|
||||||
Width="800">
|
Width="800">
|
||||||
@ -16,20 +15,16 @@
|
|||||||
<WindowChrome
|
<WindowChrome
|
||||||
GlassFrameThickness="1"
|
GlassFrameThickness="1"
|
||||||
ResizeBorderThickness="4"
|
ResizeBorderThickness="4"
|
||||||
CaptionHeight="0"
|
CaptionHeight="0" />
|
||||||
/>
|
|
||||||
</WindowChrome.WindowChrome>
|
</WindowChrome.WindowChrome>
|
||||||
<Grid
|
<Grid
|
||||||
fw:PointerTracker.Enabled="True"
|
Background="#222">
|
||||||
Background="#0000">
|
|
||||||
<Button
|
<Button
|
||||||
x:Name="button"
|
x:Name="button"
|
||||||
Content="Button"
|
Content="Button"
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
Margin="5"
|
Margin="5"
|
||||||
Width="75"
|
Width="75"
|
||||||
Height="32"
|
Height="32"/>
|
||||||
Foreground="White"
|
|
||||||
Style="{StaticResource ButtonRevealStyle}" />
|
|
||||||
</Grid>
|
</Grid>
|
||||||
</Window>
|
</Window>
|
||||||
@ -21,8 +21,8 @@ namespace VideoLinkDownloader
|
|||||||
public MainWindow()
|
public MainWindow()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
//button.Click += (s,e) =>
|
button.Click += (s, e) =>
|
||||||
//{
|
{
|
||||||
//AcrylicBlur.Apply(this, new Color
|
//AcrylicBlur.Apply(this, new Color
|
||||||
//{
|
//{
|
||||||
// A = 0,
|
// A = 0,
|
||||||
@ -30,14 +30,14 @@ namespace VideoLinkDownloader
|
|||||||
// G = 255,
|
// G = 255,
|
||||||
// B = 255,
|
// B = 255,
|
||||||
//}, AccentState.Diabled);
|
//}, AccentState.Diabled);
|
||||||
// AcrylicBlur.Apply(this, new Color
|
AcrylicBlur.Apply(this, new Color
|
||||||
// {
|
{
|
||||||
// A = 0,
|
A = 0,
|
||||||
// R = 255,
|
R = 255,
|
||||||
// G = 255,
|
G = 255,
|
||||||
// B = 255,
|
B = 255,
|
||||||
// }, AccentState.AcrylicBlurBehind);
|
}, AccentState.AcrylicBlurBehind);
|
||||||
//};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,23 +0,0 @@
|
|||||||
<Window
|
|
||||||
x:Class="VideoLinkDownloader.TestWindow"
|
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
||||||
xmlns:local="clr-namespace:VideoLinkDownloader"
|
|
||||||
mc:Ignorable="d"
|
|
||||||
Title="TestWindow"
|
|
||||||
Background="Transparent"
|
|
||||||
Height="450"
|
|
||||||
Width="800">
|
|
||||||
<WindowChrome.WindowChrome>
|
|
||||||
<WindowChrome
|
|
||||||
CaptionHeight="0"
|
|
||||||
GlassFrameThickness="1"
|
|
||||||
ResizeBorderThickness="4"
|
|
||||||
UseAeroCaptionButtons="False" />
|
|
||||||
</WindowChrome.WindowChrome>
|
|
||||||
<Grid>
|
|
||||||
|
|
||||||
</Grid>
|
|
||||||
</Window>
|
|
||||||
@ -1,34 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using System.Windows;
|
|
||||||
using System.Windows.Controls;
|
|
||||||
using System.Windows.Data;
|
|
||||||
using System.Windows.Documents;
|
|
||||||
using System.Windows.Input;
|
|
||||||
using System.Windows.Media;
|
|
||||||
using System.Windows.Media.Imaging;
|
|
||||||
using System.Windows.Shapes;
|
|
||||||
|
|
||||||
namespace VideoLinkDownloader
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// TestWindow.xaml 的交互逻辑
|
|
||||||
/// </summary>
|
|
||||||
public partial class TestWindow : Window
|
|
||||||
{
|
|
||||||
public TestWindow()
|
|
||||||
{
|
|
||||||
InitializeComponent();
|
|
||||||
Loaded += (s, e) => AcrylicBlur.Apply(this, new Color
|
|
||||||
{
|
|
||||||
A = 1,
|
|
||||||
R = 255,
|
|
||||||
G = 255,
|
|
||||||
B = 255,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -41,9 +41,6 @@
|
|||||||
<ApplicationIcon>Bilibili-Evolved.ico</ApplicationIcon>
|
<ApplicationIcon>Bilibili-Evolved.ico</ApplicationIcon>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="FluentWPF, Version=0.6.1.0, Culture=neutral, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\FluentWPF.0.6.1\lib\net45\FluentWPF.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Data" />
|
<Reference Include="System.Data" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
@ -64,9 +61,6 @@
|
|||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</ApplicationDefinition>
|
</ApplicationDefinition>
|
||||||
<Compile Include="TestWindow.xaml.cs">
|
|
||||||
<DependentUpon>TestWindow.xaml</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Page Include="MainWindow.xaml">
|
<Page Include="MainWindow.xaml">
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
@ -84,10 +78,6 @@
|
|||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
</Page>
|
</Page>
|
||||||
<Page Include="TestWindow.xaml">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
<Generator>MSBuild:Compile</Generator>
|
|
||||||
</Page>
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="Pages\MainPage.xaml.cs">
|
<Compile Include="Pages\MainPage.xaml.cs">
|
||||||
@ -110,7 +100,6 @@
|
|||||||
<Generator>ResXFileCodeGenerator</Generator>
|
<Generator>ResXFileCodeGenerator</Generator>
|
||||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<None Include="packages.config" />
|
|
||||||
<None Include="Properties\Settings.settings">
|
<None Include="Properties\Settings.settings">
|
||||||
<Generator>SettingsSingleFileGenerator</Generator>
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||||
|
|||||||
@ -1,4 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<packages>
|
|
||||||
<package id="FluentWPF" version="0.6.1" targetFramework="net472" />
|
|
||||||
</packages>
|
|
||||||
@ -108,13 +108,13 @@ export const map = new Map([
|
|||||||
[`单机`, `Console`],
|
[`单机`, `Console`],
|
||||||
[`电台`, `Radio`],
|
[`电台`, `Radio`],
|
||||||
[`绘画`, `Drawing`],
|
[`绘画`, `Drawing`],
|
||||||
[`热门话题`, `Hot #Tags#`],
|
[`热门话题`, `Trending #Tags#`],
|
||||||
[`热门排行`, `Hot ranking`],
|
[`热门排行`, `Hot ranking`],
|
||||||
[`我关注的话题`, `Following #Tags#`],
|
[`我关注的话题`, `Following #Tags#`],
|
||||||
[`前往TA的直播间`, `Open live room`],
|
[`前往TA的直播间`, `Open live room`],
|
||||||
[`今天你想了解什么呢?(☆▽☆)`, `Search ~~~ (☆▽☆)`],
|
[`今天你想了解什么呢?(☆▽☆)`, `Search ~~~ (☆▽☆)`],
|
||||||
[`请输入弹幕 DA☆ZE~`, `Enter your danmaku DA☆ZE~`],
|
[`请输入弹幕 DA☆ZE~`, `Enter your danmaku DA☆ZE~`],
|
||||||
[`有什么想和大家分享的?`, `Share your fancy!`],
|
[`有什么想和大家分享的?`, `What's happening?`],
|
||||||
[`有新动态,点击查看`, `New activities, click to view`],
|
[`有新动态,点击查看`, `New activities, click to view`],
|
||||||
[`以上为热门评论,`, `Aboves are hot comments`],
|
[`以上为热门评论,`, `Aboves are hot comments`],
|
||||||
[`请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。`, `Post your comments ε=ε=(ノ≧∇≦)ノ`],
|
[`请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。`, `Post your comments ε=ε=(ノ≧∇≦)ノ`],
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user