helpful mouseover tooltips in firmwares config
This commit is contained in:
parent
4b321847a4
commit
f2ff432b3a
|
@ -38,6 +38,7 @@
|
||||||
this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||||
this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||||
this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||||
|
this.columnHeader8 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||||
this.columnHeader7 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.columnHeader7 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||||
this.lvFirmwaresContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
|
this.lvFirmwaresContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||||
this.tsmiSetCustomization = new System.Windows.Forms.ToolStripMenuItem();
|
this.tsmiSetCustomization = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
@ -56,7 +57,6 @@
|
||||||
this.linkBasePath = new System.Windows.Forms.LinkLabel();
|
this.linkBasePath = new System.Windows.Forms.LinkLabel();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
|
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
|
||||||
this.columnHeader8 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
|
||||||
this.lvFirmwaresContextMenuStrip.SuspendLayout();
|
this.lvFirmwaresContextMenuStrip.SuspendLayout();
|
||||||
this.panel1.SuspendLayout();
|
this.panel1.SuspendLayout();
|
||||||
this.toolStrip1.SuspendLayout();
|
this.toolStrip1.SuspendLayout();
|
||||||
|
@ -88,6 +88,7 @@
|
||||||
this.lvFirmwares.GridLines = true;
|
this.lvFirmwares.GridLines = true;
|
||||||
this.lvFirmwares.Location = new System.Drawing.Point(0, 25);
|
this.lvFirmwares.Location = new System.Drawing.Point(0, 25);
|
||||||
this.lvFirmwares.Name = "lvFirmwares";
|
this.lvFirmwares.Name = "lvFirmwares";
|
||||||
|
this.lvFirmwares.ShowItemToolTips = true;
|
||||||
this.lvFirmwares.Size = new System.Drawing.Size(824, 424);
|
this.lvFirmwares.Size = new System.Drawing.Size(824, 424);
|
||||||
this.lvFirmwares.SmallImageList = this.imageList1;
|
this.lvFirmwares.SmallImageList = this.imageList1;
|
||||||
this.lvFirmwares.TabIndex = 24;
|
this.lvFirmwares.TabIndex = 24;
|
||||||
|
@ -127,6 +128,10 @@
|
||||||
this.columnHeader3.Text = "Location";
|
this.columnHeader3.Text = "Location";
|
||||||
this.columnHeader3.Width = 252;
|
this.columnHeader3.Width = 252;
|
||||||
//
|
//
|
||||||
|
// columnHeader8
|
||||||
|
//
|
||||||
|
this.columnHeader8.Text = "Size";
|
||||||
|
//
|
||||||
// columnHeader7
|
// columnHeader7
|
||||||
//
|
//
|
||||||
this.columnHeader7.Text = "Hash";
|
this.columnHeader7.Text = "Hash";
|
||||||
|
@ -292,10 +297,6 @@
|
||||||
this.label1.TabIndex = 25;
|
this.label1.TabIndex = 25;
|
||||||
this.label1.Text = "Firmwares Search Path:";
|
this.label1.Text = "Firmwares Search Path:";
|
||||||
//
|
//
|
||||||
// columnHeader8
|
|
||||||
//
|
|
||||||
this.columnHeader8.Text = "Size";
|
|
||||||
//
|
|
||||||
// FirmwaresConfig
|
// FirmwaresConfig
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
|
|
|
@ -119,6 +119,7 @@ namespace BizHawk.Client.EmuHawk
|
||||||
lvi.Tag = fr;
|
lvi.Tag = fr;
|
||||||
lvi.UseItemStyleForSubItems = false;
|
lvi.UseItemStyleForSubItems = false;
|
||||||
lvi.ImageIndex = idUnsure;
|
lvi.ImageIndex = idUnsure;
|
||||||
|
lvi.ToolTipText = null;
|
||||||
lvi.SubItems.Add(fr.systemId);
|
lvi.SubItems.Add(fr.systemId);
|
||||||
lvi.SubItems.Add(fr.firmwareId);
|
lvi.SubItems.Add(fr.firmwareId);
|
||||||
lvi.SubItems.Add(fr.descr);
|
lvi.SubItems.Add(fr.descr);
|
||||||
|
@ -206,6 +207,7 @@ namespace BizHawk.Client.EmuHawk
|
||||||
if (ri == null)
|
if (ri == null)
|
||||||
{
|
{
|
||||||
lvi.ImageIndex = idMissing;
|
lvi.ImageIndex = idMissing;
|
||||||
|
lvi.ToolTipText = "Missing!";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -221,11 +223,13 @@ namespace BizHawk.Client.EmuHawk
|
||||||
if (ri.KnownFirmwareFile == null)
|
if (ri.KnownFirmwareFile == null)
|
||||||
{
|
{
|
||||||
lvi.ImageIndex = idUnsure;
|
lvi.ImageIndex = idUnsure;
|
||||||
|
lvi.ToolTipText = null;
|
||||||
lvi.SubItems[4].Text = "-custom-";
|
lvi.SubItems[4].Text = "-custom-";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
lvi.ImageIndex = idOk;
|
lvi.ImageIndex = idOk;
|
||||||
|
lvi.ToolTipText = "Good!";
|
||||||
lvi.SubItems[4].Text = ri.KnownFirmwareFile.descr;
|
lvi.SubItems[4].Text = ri.KnownFirmwareFile.descr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -242,8 +246,11 @@ namespace BizHawk.Client.EmuHawk
|
||||||
}
|
}
|
||||||
|
|
||||||
//if the user specified a file but its missing, mark it as such
|
//if the user specified a file but its missing, mark it as such
|
||||||
if(ri.Missing)
|
if (ri.Missing)
|
||||||
|
{
|
||||||
lvi.ImageIndex = idMissing;
|
lvi.ImageIndex = idMissing;
|
||||||
|
lvi.ToolTipText = "Missing!";
|
||||||
|
}
|
||||||
|
|
||||||
//if the user specified a known firmware file but its for some other firmware, it was probably a mistake. mark it as suspicious
|
//if the user specified a known firmware file but its for some other firmware, it was probably a mistake. mark it as suspicious
|
||||||
if (ri.KnownMismatching)
|
if (ri.KnownMismatching)
|
||||||
|
|
Loading…
Reference in New Issue