1
0
mirror of synced 2024-11-14 08:57:34 +01:00

UI changes

This commit is contained in:
NotImplementedLife 2023-07-29 11:25:06 +03:00
parent 3c3db06fb2
commit 880c0c3434
2 changed files with 23 additions and 3 deletions

View File

@ -58,13 +58,16 @@
//
// RightButton
//
this.RightButton.BackColor = System.Drawing.Color.Black;
this.RightButton.Dock = System.Windows.Forms.DockStyle.Right;
this.RightButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.RightButton.ForeColor = System.Drawing.Color.White;
this.RightButton.Location = new System.Drawing.Point(487, 32);
this.RightButton.Name = "RightButton";
this.RightButton.Size = new System.Drawing.Size(20, 265);
this.RightButton.TabIndex = 1;
this.RightButton.Text = ">";
this.RightButton.UseVisualStyleBackColor = true;
this.RightButton.UseVisualStyleBackColor = false;
this.RightButton.Click += new System.EventHandler(this.RightButton_Click);
//
// ControlsPanel
@ -190,13 +193,16 @@
//
// LeftButton
//
this.LeftButton.BackColor = System.Drawing.Color.Black;
this.LeftButton.Dock = System.Windows.Forms.DockStyle.Left;
this.LeftButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.LeftButton.ForeColor = System.Drawing.Color.White;
this.LeftButton.Location = new System.Drawing.Point(0, 32);
this.LeftButton.Name = "LeftButton";
this.LeftButton.Size = new System.Drawing.Size(20, 265);
this.LeftButton.TabIndex = 3;
this.LeftButton.Text = "<";
this.LeftButton.UseVisualStyleBackColor = true;
this.LeftButton.UseVisualStyleBackColor = false;
this.LeftButton.Click += new System.EventHandler(this.LeftButton_Click);
//
// MusicOrderViewer

View File

@ -16,6 +16,20 @@ namespace TaikoSoundEditor.Utils
.OrderBy(_ => ColorRand.Next())
.ToArray();
public static Color[] GenreColors = Colors.Where(c => 0.5 <= c.GetBrightness() && c.GetBrightness() < 0.7 && c.GetSaturation() > 0.5).ToArray();
public static Color[] GenreColors =
new Color[]
{
Color.FromArgb(73, 213, 235), // pop
Color.FromArgb(254, 144, 210), // anime
Color.FromArgb(253, 192, 0), // kids
Color.FromArgb(203, 207, 222), // vocaloid
Color.FromArgb(204, 138, 235), // game music
Color.FromArgb(255, 112, 40), // Namco Original
Color.FromArgb(255, 255, 255), // ??
Color.FromArgb(10, 204, 42), // variety
Color.FromArgb(222, 213, 35), // classic
}
.Concat(Colors.Where(c => 0.5 <= c.GetBrightness() && c.GetBrightness() < 0.7 && c.GetSaturation() > 0.5))
.ToArray();
}
}