Rename `FirmwaresConfig{,Info}` to `FirmwareConfig{,Info}`
This commit is contained in:
parent
03b1d353a7
commit
74e46227f5
|
@ -775,7 +775,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
private void OpenFWConfigRomLoadFailed(RomLoader.RomErrorArgs args)
|
||||
{
|
||||
using FirmwaresConfig configForm = new(
|
||||
using FirmwareConfig configForm = new(
|
||||
this,
|
||||
FirmwareManager,
|
||||
Config.FirmwareUserSpecifications,
|
||||
|
@ -787,7 +787,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
private void FirmwaresMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
using var configForm = new FirmwaresConfig(this, FirmwareManager, Config.FirmwareUserSpecifications, Config.PathEntries);
|
||||
using var configForm = new FirmwareConfig(this, FirmwareManager, Config.FirmwareUserSpecifications, Config.PathEntries);
|
||||
this.ShowDialogWithTempMute(configForm);
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
namespace BizHawk.Client.EmuHawk
|
||||
{
|
||||
partial class FirmwaresConfig
|
||||
partial class FirmwareConfig
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
|
@ -31,7 +31,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FirmwaresConfig));
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FirmwareConfig));
|
||||
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
|
||||
this.lvFirmware = new System.Windows.Forms.ListView();
|
||||
this.columnHeader5 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
|
@ -344,13 +344,13 @@ namespace BizHawk.Client.EmuHawk
|
|||
this.label2.Name = "label2";
|
||||
this.label2.Text = "Firmware such as BIOS files are copyrighted material and not provided by BizHawk";
|
||||
//
|
||||
// FirmwaresConfig
|
||||
// FirmwareConfig
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(830, 478);
|
||||
this.Controls.Add(this.tableLayoutPanel1);
|
||||
this.Name = "FirmwaresConfig";
|
||||
this.Name = "FirmwareConfig";
|
||||
this.ShowIcon = false;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
this.Text = "Firmware";
|
||||
|
|
|
@ -25,7 +25,7 @@ using BizHawk.Emulation.Common;
|
|||
// IDEA: prepop set customization to dir of current custom
|
||||
namespace BizHawk.Client.EmuHawk
|
||||
{
|
||||
public partial class FirmwaresConfig : Form, IDialogParent
|
||||
public partial class FirmwareConfig : Form, IDialogParent
|
||||
{
|
||||
private const string STATUS_DESC_UNUSED = "";
|
||||
|
||||
|
@ -121,7 +121,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
private string _currSelectorDir;
|
||||
private readonly ListViewSorter _listViewSorter;
|
||||
|
||||
public FirmwaresConfig(
|
||||
public FirmwareConfig(
|
||||
IDialogController dialogController,
|
||||
FirmwareManager firmwareManager,
|
||||
IDictionary<string, string> firmwareUserSpecifications,
|
||||
|
@ -180,7 +180,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
private void FirmwareConfig_Load(object sender, EventArgs e)
|
||||
{
|
||||
string GetSystemGroupName(string sysID)
|
||||
=> SystemGroupNames.TryGetValue(sysID, out var name) ? name : $"FIX ME ({nameof(FirmwaresConfig)}.{nameof(SystemGroupNames)})";
|
||||
=> SystemGroupNames.TryGetValue(sysID, out var name) ? name : $"FIX ME ({nameof(FirmwareConfig)}.{nameof(SystemGroupNames)})";
|
||||
ListViewGroup AddGroup(string sysID)
|
||||
{
|
||||
lvFirmware.Groups.Add(
|
||||
|
@ -529,7 +529,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
// get all options for this firmware (in order)
|
||||
var options = FirmwareDatabase.FirmwareOptions.Where(fo => fo.ID == fr.ID);
|
||||
|
||||
var fciDialog = new FirmwaresConfigInfo
|
||||
var fciDialog = new FirmwareConfigInfo
|
||||
{
|
||||
lblFirmware =
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
namespace BizHawk.Client.EmuHawk
|
||||
{
|
||||
partial class FirmwaresConfigInfo
|
||||
partial class FirmwareConfigInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
|
@ -177,7 +177,7 @@
|
|||
this.tsmiOptionsCopy.Text = "&Copy";
|
||||
this.tsmiOptionsCopy.Click += new System.EventHandler(this.TsmiOptionsCopy_Click);
|
||||
//
|
||||
// FirmwaresConfigInfo
|
||||
// FirmwareConfigInfo
|
||||
//
|
||||
this.AcceptButton = this.btnClose;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
|
@ -185,7 +185,7 @@
|
|||
this.CancelButton = this.btnClose;
|
||||
this.ClientSize = new System.Drawing.Size(728, 469);
|
||||
this.Controls.Add(this.tableLayoutPanel1);
|
||||
this.Name = "FirmwaresConfigInfo";
|
||||
this.Name = "FirmwareConfigInfo";
|
||||
this.ShowIcon = false;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
this.Text = "Firmware Info";
|
||||
|
|
|
@ -6,14 +6,14 @@ using System.Windows.Forms;
|
|||
// todo - turn top info into textboxes i guess, labels suck
|
||||
namespace BizHawk.Client.EmuHawk
|
||||
{
|
||||
public partial class FirmwaresConfigInfo : Form
|
||||
public partial class FirmwareConfigInfo : Form
|
||||
{
|
||||
public FirmwaresConfigInfo()
|
||||
public FirmwareConfigInfo()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
// prep imagelist for listview
|
||||
foreach (var kvp in FirmwaresConfig.StatusIcons.OrderBy(static kvp => kvp.Key)) imageList1.Images.Add(kvp.Value);
|
||||
foreach (var kvp in FirmwareConfig.StatusIcons.OrderBy(static kvp => kvp.Key)) imageList1.Images.Add(kvp.Value);
|
||||
}
|
||||
|
||||
private void LvOptions_KeyDown(object sender, KeyEventArgs e)
|
||||
|
|
Loading…
Reference in New Issue