From f1efa825b4b39e5f28082f4b0dcf014267162873 Mon Sep 17 00:00:00 2001 From: LancerComet Date: Wed, 26 Jun 2019 16:26:52 +0800 Subject: [PATCH] + Add more info to interface. --- .editorconfig | 6 + Svga.sln | 9 +- Svga/MainPage.xaml | 49 +++++- Svga/MainPage.xaml.cs | 34 ++-- Svga/Svga.csproj | 11 +- Svga/SvgaPlayer/Controls/SvgaPlayer.Data.cs | 135 ++++++++++++--- Svga/SvgaPlayer/Controls/SvgaPlayer.Draw.cs | 48 ------ Svga/SvgaPlayer/Controls/SvgaPlayer.Stage.cs | 166 +++++++------------ Svga/SvgaPlayer/Controls/SvgaPlayer.xaml | 4 +- Svga/SvgaPlayer/Controls/SvgaPlayer.xaml.cs | 77 +++++++-- 10 files changed, 325 insertions(+), 214 deletions(-) create mode 100644 .editorconfig delete mode 100644 Svga/SvgaPlayer/Controls/SvgaPlayer.Draw.cs diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..3e1e1e0 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,6 @@ +# 若要了解有关 .editorconfig 的详细信息,请参阅 https://aka.ms/editorconfigdocs + +# All files +[*] +indent_style = space +indent_size = 2 diff --git a/Svga.sln b/Svga.sln index 799cb9e..a24829d 100644 --- a/Svga.sln +++ b/Svga.sln @@ -1,10 +1,15 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.28307.329 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.29001.49 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Svga", "Svga\Svga.csproj", "{F0F7B6EC-3DAF-4D81-AA3C-D4EEB2508943}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{90C0113A-9866-4EEF-AB49-2C146A0B57C6}" + ProjectSection(SolutionItems) = preProject + .editorconfig = .editorconfig + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|ARM = Debug|ARM diff --git a/Svga/MainPage.xaml b/Svga/MainPage.xaml index dfb16fb..7912946 100644 --- a/Svga/MainPage.xaml +++ b/Svga/MainPage.xaml @@ -10,11 +10,15 @@ Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" > - - - + + + + - +