diff --git a/BallanceTasEditor/BallanceTasEditor.csproj b/BallanceTasEditor/BallanceTasEditor.csproj
index b003af1..d3e4e8d 100644
--- a/BallanceTasEditor/BallanceTasEditor.csproj
+++ b/BallanceTasEditor/BallanceTasEditor.csproj
@@ -66,6 +66,12 @@
AboutDialog.xaml
+
+ AddFrameDialog.xaml
+
+
+ EditFpsDialog.xaml
+
GotoDialog.xaml
@@ -75,8 +81,8 @@
PreferenceDialog.xaml
-
- SetupCountAndFpsDialog.xaml
+
+ TasViewer.xaml
Designer
@@ -94,6 +100,14 @@
Designer
MSBuild:Compile
+
+ Designer
+ MSBuild:Compile
+
+
+ Designer
+ MSBuild:Compile
+
Designer
MSBuild:Compile
@@ -122,7 +136,7 @@
Designer
MSBuild:Compile
-
+
Designer
MSBuild:Compile
diff --git a/BallanceTasEditor/Views/AddFrameDialog.xaml b/BallanceTasEditor/Views/AddFrameDialog.xaml
new file mode 100644
index 0000000..4d533b5
--- /dev/null
+++ b/BallanceTasEditor/Views/AddFrameDialog.xaml
@@ -0,0 +1,58 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/BallanceTasEditor/Views/SetupCountAndFpsDialog.xaml.cs b/BallanceTasEditor/Views/AddFrameDialog.xaml.cs
similarity index 75%
rename from BallanceTasEditor/Views/SetupCountAndFpsDialog.xaml.cs
rename to BallanceTasEditor/Views/AddFrameDialog.xaml.cs
index 4ed872a..dcb6356 100644
--- a/BallanceTasEditor/Views/SetupCountAndFpsDialog.xaml.cs
+++ b/BallanceTasEditor/Views/AddFrameDialog.xaml.cs
@@ -14,10 +14,10 @@ using System.Windows.Shapes;
namespace BallanceTasEditor.Views {
///
- /// Interaction logic for SetupCountAndFpsDialog.xaml
+ /// Interaction logic for AddFrameDialog.xaml
///
- public partial class SetupCountAndFpsDialog : Window {
- public SetupCountAndFpsDialog() {
+ public partial class AddFrameDialog : Window {
+ public AddFrameDialog() {
InitializeComponent();
}
}
diff --git a/BallanceTasEditor/Views/EditFpsDialog.xaml b/BallanceTasEditor/Views/EditFpsDialog.xaml
new file mode 100644
index 0000000..719a3c7
--- /dev/null
+++ b/BallanceTasEditor/Views/EditFpsDialog.xaml
@@ -0,0 +1,53 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/BallanceTasEditor/Views/EditFpsDialog.xaml.cs b/BallanceTasEditor/Views/EditFpsDialog.xaml.cs
new file mode 100644
index 0000000..707f661
--- /dev/null
+++ b/BallanceTasEditor/Views/EditFpsDialog.xaml.cs
@@ -0,0 +1,24 @@
+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 BallanceTasEditor.Views {
+ ///
+ /// Interaction logic for EditFpsDialog.xaml
+ ///
+ public partial class EditFpsDialog : Window {
+ public EditFpsDialog() {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/BallanceTasEditor/Views/GotoDialog.xaml b/BallanceTasEditor/Views/GotoDialog.xaml
index b7548e9..05a0c68 100644
--- a/BallanceTasEditor/Views/GotoDialog.xaml
+++ b/BallanceTasEditor/Views/GotoDialog.xaml
@@ -4,9 +4,30 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:BallanceTasEditor.Views"
- mc:Ignorable="d"
- Title="GotoDialog" Height="450" Width="800">
+ mc:Ignorable="d" WindowStartupLocation="CenterOwner" WindowStyle="ToolWindow"
+ Title="Goto..." Height="180" Width="400" Icon="/Assets/Goto.ico">
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/BallanceTasEditor/Views/MainWindow.xaml b/BallanceTasEditor/Views/MainWindow.xaml
index 943ec8a..df7cacf 100644
--- a/BallanceTasEditor/Views/MainWindow.xaml
+++ b/BallanceTasEditor/Views/MainWindow.xaml
@@ -61,13 +61,14 @@
-
+
-
+
+
@@ -106,40 +107,42 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/BallanceTasEditor/Views/MainWindow.xaml.cs b/BallanceTasEditor/Views/MainWindow.xaml.cs
index 549183b..315ea80 100644
--- a/BallanceTasEditor/Views/MainWindow.xaml.cs
+++ b/BallanceTasEditor/Views/MainWindow.xaml.cs
@@ -40,9 +40,26 @@ namespace BallanceTasEditor.Views {
dialog.ShowDialog();
}
+ private void MenuItem_Click_4(object sender, RoutedEventArgs e) {
+ var dialog =new GotoDialog();
+ dialog.Owner = this;
+ dialog.ShowDialog();
+ }
+
+ private void MenuItem_Click_5(object sender, RoutedEventArgs e) {
+ var dialog = new EditFpsDialog();
+ dialog.Owner = this;
+ dialog.ShowDialog();
+ }
+
+ private void MenuItem_Click_6(object sender, RoutedEventArgs e) {
+ var dialog = new EditFpsDialog();
+ dialog.Owner = this;
+ dialog.ShowDialog();
+ }
+
private void MenuItem_Click_2(object sender, RoutedEventArgs e) {
- // TODO; Change Title and Icon
- var dialog = new SetupCountAndFpsDialog();
+ var dialog = new AddFrameDialog();
dialog.Owner = this;
dialog.ShowDialog();
}
diff --git a/BallanceTasEditor/Views/NewFileDialog.xaml b/BallanceTasEditor/Views/NewFileDialog.xaml
index 219f8bb..1fa7dde 100644
--- a/BallanceTasEditor/Views/NewFileDialog.xaml
+++ b/BallanceTasEditor/Views/NewFileDialog.xaml
@@ -5,7 +5,6 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:BallanceTasEditor.Views"
mc:Ignorable="d" WindowStartupLocation="CenterOwner" WindowStyle="ToolWindow"
- RenderOptions.BitmapScalingMode="HighQuality"
Title="New File" Height="250" Width="400" Icon="/Assets/NewFile.ico">
@@ -35,8 +34,10 @@
-
-
+
+
diff --git a/BallanceTasEditor/Views/SetupCountAndFpsDialog.xaml b/BallanceTasEditor/Views/SetupCountAndFpsDialog.xaml
deleted file mode 100644
index c2b2e48..0000000
--- a/BallanceTasEditor/Views/SetupCountAndFpsDialog.xaml
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/BallanceTasEditor/Views/TasViewer.xaml b/BallanceTasEditor/Views/TasViewer.xaml
new file mode 100644
index 0000000..2661d54
--- /dev/null
+++ b/BallanceTasEditor/Views/TasViewer.xaml
@@ -0,0 +1,12 @@
+
+
+
+
+
diff --git a/BallanceTasEditor/Views/TasViewer.xaml.cs b/BallanceTasEditor/Views/TasViewer.xaml.cs
new file mode 100644
index 0000000..4bc1c32
--- /dev/null
+++ b/BallanceTasEditor/Views/TasViewer.xaml.cs
@@ -0,0 +1,25 @@
+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.Navigation;
+using System.Windows.Shapes;
+
+namespace BallanceTasEditor.Views {
+ ///
+ /// Interaction logic for TasViewer.xaml
+ ///
+ public partial class TasViewer : UserControl {
+ public TasViewer() {
+ InitializeComponent();
+ }
+ }
+}