mirror of
https://github.com/libretro/Mesen.git
synced 2024-11-27 11:00:50 +00:00
Linux: Fixed trackbar background color in Mono
This commit is contained in:
parent
35979c6291
commit
4a5e3e0478
@ -55,7 +55,6 @@
|
||||
//
|
||||
// trackBar
|
||||
//
|
||||
this.trackBar.BackColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
this.trackBar.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.trackBar.Location = new System.Drawing.Point(0, 20);
|
||||
this.trackBar.Margin = new System.Windows.Forms.Padding(0);
|
||||
|
@ -21,6 +21,10 @@ namespace Mesen.GUI.Controls
|
||||
public ctrlHorizontalTrackbar()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
if(!Program.IsMono) {
|
||||
this.trackBar.BackColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
}
|
||||
}
|
||||
|
||||
public int Maximum
|
||||
|
1
GUI.NET/Controls/ctrlTrackbar.Designer.cs
generated
1
GUI.NET/Controls/ctrlTrackbar.Designer.cs
generated
@ -67,7 +67,6 @@
|
||||
//
|
||||
this.trackBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.trackBar.BackColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
this.trackBar.Location = new System.Drawing.Point(17, 0);
|
||||
this.trackBar.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.trackBar.Maximum = 100;
|
||||
|
@ -21,6 +21,10 @@ namespace Mesen.GUI.Controls
|
||||
public ctrlTrackbar()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
if(!Program.IsMono) {
|
||||
this.trackBar.BackColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
}
|
||||
}
|
||||
|
||||
public int Maximum
|
||||
|
4
GUI.NET/Forms/Config/frmAudioConfig.Designer.cs
generated
4
GUI.NET/Forms/Config/frmAudioConfig.Designer.cs
generated
@ -1002,7 +1002,6 @@
|
||||
//
|
||||
// trkReverbDelay
|
||||
//
|
||||
this.trkReverbDelay.BackColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
this.trkReverbDelay.Location = new System.Drawing.Point(59, 58);
|
||||
this.trkReverbDelay.Maximum = 30;
|
||||
this.trkReverbDelay.Minimum = 1;
|
||||
@ -1013,8 +1012,7 @@
|
||||
this.trkReverbDelay.Value = 1;
|
||||
//
|
||||
// trkReverbStrength
|
||||
//
|
||||
this.trkReverbStrength.BackColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
//
|
||||
this.trkReverbStrength.Location = new System.Drawing.Point(59, 26);
|
||||
this.trkReverbStrength.Minimum = 1;
|
||||
this.trkReverbStrength.Name = "trkReverbStrength";
|
||||
|
@ -17,6 +17,11 @@ namespace Mesen.GUI.Forms.Config
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
if(!Program.IsMono) {
|
||||
this.trkReverbDelay.BackColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
this.trkReverbStrength.BackColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
}
|
||||
|
||||
Icon = Properties.Resources.Audio;
|
||||
Entity = ConfigManager.Config.AudioInfo;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user