Controller Config - add tooltip to default and save defaults buttons to clarify what they do, show defaults on release builds
This commit is contained in:
parent
48365516c0
commit
bc8f44a6c9
|
@ -44,6 +44,7 @@
|
||||||
this.buttonLoadDefaults = new System.Windows.Forms.Button();
|
this.buttonLoadDefaults = new System.Windows.Forms.Button();
|
||||||
this.buttonSaveDefaults = new System.Windows.Forms.Button();
|
this.buttonSaveDefaults = new System.Windows.Forms.Button();
|
||||||
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||||
|
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
|
||||||
this.tabControl1.SuspendLayout();
|
this.tabControl1.SuspendLayout();
|
||||||
this.tableLayoutPanel1.SuspendLayout();
|
this.tableLayoutPanel1.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||||
|
@ -176,23 +177,27 @@
|
||||||
//
|
//
|
||||||
// buttonLoadDefaults
|
// buttonLoadDefaults
|
||||||
//
|
//
|
||||||
this.buttonLoadDefaults.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
this.buttonLoadDefaults.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||||
this.buttonLoadDefaults.Location = new System.Drawing.Point(683, 514);
|
this.buttonLoadDefaults.Location = new System.Drawing.Point(465, 514);
|
||||||
this.buttonLoadDefaults.Name = "buttonLoadDefaults";
|
this.buttonLoadDefaults.Name = "buttonLoadDefaults";
|
||||||
this.buttonLoadDefaults.Size = new System.Drawing.Size(75, 23);
|
this.buttonLoadDefaults.Size = new System.Drawing.Size(75, 23);
|
||||||
this.buttonLoadDefaults.TabIndex = 8;
|
this.buttonLoadDefaults.TabIndex = 8;
|
||||||
this.buttonLoadDefaults.Text = "Defaults";
|
this.buttonLoadDefaults.Text = "Defaults";
|
||||||
|
this.toolTip1.SetToolTip(this.buttonLoadDefaults, "Set the default controller configuration to the current. Note: this affects all " +
|
||||||
|
"controllers!");
|
||||||
this.buttonLoadDefaults.UseVisualStyleBackColor = true;
|
this.buttonLoadDefaults.UseVisualStyleBackColor = true;
|
||||||
this.buttonLoadDefaults.Click += new System.EventHandler(this.ButtonLoadDefaults_Click);
|
this.buttonLoadDefaults.Click += new System.EventHandler(this.ButtonLoadDefaults_Click);
|
||||||
//
|
//
|
||||||
// buttonSaveDefaults
|
// buttonSaveDefaults
|
||||||
//
|
//
|
||||||
this.buttonSaveDefaults.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
this.buttonSaveDefaults.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||||
this.buttonSaveDefaults.Location = new System.Drawing.Point(602, 514);
|
this.buttonSaveDefaults.Location = new System.Drawing.Point(384, 514);
|
||||||
this.buttonSaveDefaults.Name = "buttonSaveDefaults";
|
this.buttonSaveDefaults.Name = "buttonSaveDefaults";
|
||||||
this.buttonSaveDefaults.Size = new System.Drawing.Size(75, 23);
|
this.buttonSaveDefaults.Size = new System.Drawing.Size(75, 23);
|
||||||
this.buttonSaveDefaults.TabIndex = 9;
|
this.buttonSaveDefaults.TabIndex = 9;
|
||||||
this.buttonSaveDefaults.Text = "Save Defs";
|
this.buttonSaveDefaults.Text = "Save Defs";
|
||||||
|
this.toolTip1.SetToolTip(this.buttonSaveDefaults, "Save the current configuration as your default controls. Note: this saves ALL con" +
|
||||||
|
"troller information!");
|
||||||
this.buttonSaveDefaults.UseVisualStyleBackColor = true;
|
this.buttonSaveDefaults.UseVisualStyleBackColor = true;
|
||||||
this.buttonSaveDefaults.Click += new System.EventHandler(this.ButtonSaveDefaults_Click);
|
this.buttonSaveDefaults.Click += new System.EventHandler(this.ButtonSaveDefaults_Click);
|
||||||
//
|
//
|
||||||
|
@ -245,5 +250,6 @@
|
||||||
private System.Windows.Forms.TabPage tabPage3;
|
private System.Windows.Forms.TabPage tabPage3;
|
||||||
private System.Windows.Forms.Button buttonSaveDefaults;
|
private System.Windows.Forms.Button buttonSaveDefaults;
|
||||||
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
||||||
|
private System.Windows.Forms.ToolTip toolTip1;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -153,11 +153,6 @@ namespace BizHawk.Client.EmuHawk
|
||||||
|
|
||||||
SetControllerPicture(def.Name);
|
SetControllerPicture(def.Name);
|
||||||
|
|
||||||
if (!VersionInfo.INTERIM)
|
|
||||||
{
|
|
||||||
buttonSaveDefaults.Hide();
|
|
||||||
}
|
|
||||||
|
|
||||||
ResumeLayout();
|
ResumeLayout();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -117,6 +117,9 @@
|
||||||
<resheader name="writer">
|
<resheader name="writer">
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
|
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>172, 17</value>
|
||||||
|
</metadata>
|
||||||
<metadata name="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>17, 17</value>
|
<value>17, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
|
Loading…
Reference in New Issue