added music order fast navigation buttons
This commit is contained in:
parent
5cdbdfc032
commit
04a86f755a
96
Controls/MusicOrderViewer.Designer.cs
generated
96
Controls/MusicOrderViewer.Designer.cs
generated
@ -31,11 +31,15 @@
|
|||||||
this.MusicOrdersPanel = new System.Windows.Forms.Panel();
|
this.MusicOrdersPanel = new System.Windows.Forms.Panel();
|
||||||
this.RightButton = new System.Windows.Forms.Button();
|
this.RightButton = new System.Windows.Forms.Button();
|
||||||
this.ControlsPanel = new System.Windows.Forms.Panel();
|
this.ControlsPanel = new System.Windows.Forms.Panel();
|
||||||
|
this.ListStartButton = new System.Windows.Forms.Button();
|
||||||
|
this.ListEndButton = new System.Windows.Forms.Button();
|
||||||
|
this.Left10Button = new System.Windows.Forms.Button();
|
||||||
|
this.Right10Button = new System.Windows.Forms.Button();
|
||||||
|
this.RemoveButton = new System.Windows.Forms.Button();
|
||||||
this.PasteButton = new System.Windows.Forms.Button();
|
this.PasteButton = new System.Windows.Forms.Button();
|
||||||
this.CutButton = new System.Windows.Forms.Button();
|
this.CutButton = new System.Windows.Forms.Button();
|
||||||
this.PageLabel = new System.Windows.Forms.Label();
|
this.PageLabel = new System.Windows.Forms.Label();
|
||||||
this.LeftButton = new System.Windows.Forms.Button();
|
this.LeftButton = new System.Windows.Forms.Button();
|
||||||
this.RemoveButton = new System.Windows.Forms.Button();
|
|
||||||
this.ControlsPanel.SuspendLayout();
|
this.ControlsPanel.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
@ -65,6 +69,10 @@
|
|||||||
//
|
//
|
||||||
// ControlsPanel
|
// ControlsPanel
|
||||||
//
|
//
|
||||||
|
this.ControlsPanel.Controls.Add(this.ListStartButton);
|
||||||
|
this.ControlsPanel.Controls.Add(this.ListEndButton);
|
||||||
|
this.ControlsPanel.Controls.Add(this.Left10Button);
|
||||||
|
this.ControlsPanel.Controls.Add(this.Right10Button);
|
||||||
this.ControlsPanel.Controls.Add(this.RemoveButton);
|
this.ControlsPanel.Controls.Add(this.RemoveButton);
|
||||||
this.ControlsPanel.Controls.Add(this.PasteButton);
|
this.ControlsPanel.Controls.Add(this.PasteButton);
|
||||||
this.ControlsPanel.Controls.Add(this.CutButton);
|
this.ControlsPanel.Controls.Add(this.CutButton);
|
||||||
@ -75,6 +83,75 @@
|
|||||||
this.ControlsPanel.Size = new System.Drawing.Size(507, 32);
|
this.ControlsPanel.Size = new System.Drawing.Size(507, 32);
|
||||||
this.ControlsPanel.TabIndex = 2;
|
this.ControlsPanel.TabIndex = 2;
|
||||||
//
|
//
|
||||||
|
// ListStartButton
|
||||||
|
//
|
||||||
|
this.ListStartButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.ListStartButton.BackgroundImage = global::TaikoSoundEditor.Properties.Resources.ic_list_start;
|
||||||
|
this.ListStartButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
||||||
|
this.ListStartButton.FlatAppearance.BorderSize = 0;
|
||||||
|
this.ListStartButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||||
|
this.ListStartButton.Location = new System.Drawing.Point(390, 3);
|
||||||
|
this.ListStartButton.Name = "ListStartButton";
|
||||||
|
this.ListStartButton.Size = new System.Drawing.Size(24, 24);
|
||||||
|
this.ListStartButton.TabIndex = 7;
|
||||||
|
this.ListStartButton.UseVisualStyleBackColor = true;
|
||||||
|
this.ListStartButton.Click += new System.EventHandler(this.ListStartButton_Click);
|
||||||
|
//
|
||||||
|
// ListEndButton
|
||||||
|
//
|
||||||
|
this.ListEndButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.ListEndButton.BackgroundImage = global::TaikoSoundEditor.Properties.Resources.ic_list_end;
|
||||||
|
this.ListEndButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
||||||
|
this.ListEndButton.FlatAppearance.BorderSize = 0;
|
||||||
|
this.ListEndButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||||
|
this.ListEndButton.Location = new System.Drawing.Point(480, 3);
|
||||||
|
this.ListEndButton.Name = "ListEndButton";
|
||||||
|
this.ListEndButton.Size = new System.Drawing.Size(24, 24);
|
||||||
|
this.ListEndButton.TabIndex = 6;
|
||||||
|
this.ListEndButton.UseVisualStyleBackColor = true;
|
||||||
|
this.ListEndButton.Click += new System.EventHandler(this.ListEndButton_Click);
|
||||||
|
//
|
||||||
|
// Left10Button
|
||||||
|
//
|
||||||
|
this.Left10Button.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.Left10Button.BackgroundImage = global::TaikoSoundEditor.Properties.Resources.ic_left_10;
|
||||||
|
this.Left10Button.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
||||||
|
this.Left10Button.FlatAppearance.BorderSize = 0;
|
||||||
|
this.Left10Button.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||||
|
this.Left10Button.Location = new System.Drawing.Point(420, 3);
|
||||||
|
this.Left10Button.Name = "Left10Button";
|
||||||
|
this.Left10Button.Size = new System.Drawing.Size(24, 24);
|
||||||
|
this.Left10Button.TabIndex = 5;
|
||||||
|
this.Left10Button.UseVisualStyleBackColor = true;
|
||||||
|
this.Left10Button.Click += new System.EventHandler(this.Left10Button_Click);
|
||||||
|
//
|
||||||
|
// Right10Button
|
||||||
|
//
|
||||||
|
this.Right10Button.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.Right10Button.BackgroundImage = global::TaikoSoundEditor.Properties.Resources.ic_right_10;
|
||||||
|
this.Right10Button.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
||||||
|
this.Right10Button.FlatAppearance.BorderSize = 0;
|
||||||
|
this.Right10Button.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||||
|
this.Right10Button.Location = new System.Drawing.Point(450, 3);
|
||||||
|
this.Right10Button.Name = "Right10Button";
|
||||||
|
this.Right10Button.Size = new System.Drawing.Size(24, 24);
|
||||||
|
this.Right10Button.TabIndex = 4;
|
||||||
|
this.Right10Button.UseVisualStyleBackColor = true;
|
||||||
|
this.Right10Button.Click += new System.EventHandler(this.Right10Button_Click);
|
||||||
|
//
|
||||||
|
// RemoveButton
|
||||||
|
//
|
||||||
|
this.RemoveButton.BackgroundImage = global::TaikoSoundEditor.Properties.Resources.ic_remove_gs;
|
||||||
|
this.RemoveButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
||||||
|
this.RemoveButton.FlatAppearance.BorderSize = 0;
|
||||||
|
this.RemoveButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||||
|
this.RemoveButton.Location = new System.Drawing.Point(63, 3);
|
||||||
|
this.RemoveButton.Name = "RemoveButton";
|
||||||
|
this.RemoveButton.Size = new System.Drawing.Size(24, 24);
|
||||||
|
this.RemoveButton.TabIndex = 3;
|
||||||
|
this.RemoveButton.UseVisualStyleBackColor = true;
|
||||||
|
this.RemoveButton.Click += new System.EventHandler(this.RemoveButton_Click);
|
||||||
|
//
|
||||||
// PasteButton
|
// PasteButton
|
||||||
//
|
//
|
||||||
this.PasteButton.BackgroundImage = global::TaikoSoundEditor.Properties.Resources.ic_paste_gs;
|
this.PasteButton.BackgroundImage = global::TaikoSoundEditor.Properties.Resources.ic_paste_gs;
|
||||||
@ -122,19 +199,6 @@
|
|||||||
this.LeftButton.UseVisualStyleBackColor = true;
|
this.LeftButton.UseVisualStyleBackColor = true;
|
||||||
this.LeftButton.Click += new System.EventHandler(this.LeftButton_Click);
|
this.LeftButton.Click += new System.EventHandler(this.LeftButton_Click);
|
||||||
//
|
//
|
||||||
// RemoveButton
|
|
||||||
//
|
|
||||||
this.RemoveButton.BackgroundImage = global::TaikoSoundEditor.Properties.Resources.ic_remove_gs;
|
|
||||||
this.RemoveButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
|
||||||
this.RemoveButton.FlatAppearance.BorderSize = 0;
|
|
||||||
this.RemoveButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
||||||
this.RemoveButton.Location = new System.Drawing.Point(63, 3);
|
|
||||||
this.RemoveButton.Name = "RemoveButton";
|
|
||||||
this.RemoveButton.Size = new System.Drawing.Size(24, 24);
|
|
||||||
this.RemoveButton.TabIndex = 3;
|
|
||||||
this.RemoveButton.UseVisualStyleBackColor = true;
|
|
||||||
this.RemoveButton.Click += new System.EventHandler(this.RemoveButton_Click);
|
|
||||||
//
|
|
||||||
// MusicOrderViewer
|
// MusicOrderViewer
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||||||
@ -161,5 +225,9 @@
|
|||||||
private Button CutButton;
|
private Button CutButton;
|
||||||
private Button PasteButton;
|
private Button PasteButton;
|
||||||
private Button RemoveButton;
|
private Button RemoveButton;
|
||||||
|
private Button Left10Button;
|
||||||
|
private Button Right10Button;
|
||||||
|
private Button ListStartButton;
|
||||||
|
private Button ListEndButton;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -401,5 +401,29 @@ namespace TaikoSoundEditor.Controls
|
|||||||
|
|
||||||
public delegate void OnSongRemoved(MusicOrderViewer sender, MusicOrder mo);
|
public delegate void OnSongRemoved(MusicOrderViewer sender, MusicOrder mo);
|
||||||
public event OnSongRemoved SongRemoved;
|
public event OnSongRemoved SongRemoved;
|
||||||
|
|
||||||
|
private void ListStartButton_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
CurrentPage = 0;
|
||||||
|
MusicOrdersPanel.Invalidate();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void ListEndButton_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
CurrentPage = PagesCount - 1;
|
||||||
|
MusicOrdersPanel.Invalidate();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Left10Button_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
CurrentPage -= 10;
|
||||||
|
MusicOrdersPanel.Invalidate();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Right10Button_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
CurrentPage += 10;
|
||||||
|
MusicOrdersPanel.Invalidate();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
40
Properties/Resources.Designer.cs
generated
40
Properties/Resources.Designer.cs
generated
@ -80,6 +80,36 @@ namespace TaikoSoundEditor.Properties {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap ic_left_10 {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("ic_left_10", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap ic_list_end {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("ic_list_end", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap ic_list_start {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("ic_list_start", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -120,6 +150,16 @@ namespace TaikoSoundEditor.Properties {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap ic_right_10 {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("ic_right_10", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized resource of type System.Byte[].
|
/// Looks up a localized resource of type System.Byte[].
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -124,6 +124,15 @@
|
|||||||
<data name="ic_cut_gs" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="ic_cut_gs" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\ic_cut_gs.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\ic_cut_gs.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="ic_left_10" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\ic_left_10.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="ic_list_end" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\ic_list_end.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="ic_list_start" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\ic_list_start.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
<data name="ic_paste" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="ic_paste" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\ic_paste.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\ic_paste.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
@ -136,6 +145,9 @@
|
|||||||
<data name="ic_remove_gs" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="ic_remove_gs" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\ic_remove_gs.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\ic_remove_gs.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="ic_right_10" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\ic_right_10.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
<data name="song_ABCDEF_nus3bank" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="song_ABCDEF_nus3bank" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\song_ABCDEF_nus3bank.bin;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>..\Resources\song_ABCDEF_nus3bank.bin;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</data>
|
</data>
|
||||||
|
BIN
Resources/ic_left_10.png
Normal file
BIN
Resources/ic_left_10.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 757 B |
BIN
Resources/ic_list_end.png
Normal file
BIN
Resources/ic_list_end.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 610 B |
BIN
Resources/ic_list_start.png
Normal file
BIN
Resources/ic_list_start.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 617 B |
BIN
Resources/ic_right_10.png
Normal file
BIN
Resources/ic_right_10.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 769 B |
Loading…
Reference in New Issue
Block a user