diff --git a/BizHawk.Client.EmuHawk/BizHawk.Client.EmuHawk.csproj b/BizHawk.Client.EmuHawk/BizHawk.Client.EmuHawk.csproj
index 02146e7246..0e982ad2e1 100644
--- a/BizHawk.Client.EmuHawk/BizHawk.Client.EmuHawk.csproj
+++ b/BizHawk.Client.EmuHawk/BizHawk.Client.EmuHawk.csproj
@@ -270,11 +270,11 @@
ControllerConfigPanel.cs
-
+
Form
-
- DisplayConfigLite.cs
+
+ DisplayConfig.cs
Form
@@ -1328,8 +1328,8 @@
ControllerConfigPanel.cs
-
- DisplayConfigLite.cs
+
+ DisplayConfig.cs
Designer
diff --git a/BizHawk.Client.EmuHawk/MainForm.Events.cs b/BizHawk.Client.EmuHawk/MainForm.Events.cs
index 5a0adfbc76..527e737ff9 100644
--- a/BizHawk.Client.EmuHawk/MainForm.Events.cs
+++ b/BizHawk.Client.EmuHawk/MainForm.Events.cs
@@ -3061,7 +3061,7 @@ namespace BizHawk.Client.EmuHawk
private void DisplayConfigMenuItem_Click(object sender, EventArgs e)
{
- using var window = new DisplayConfigLite();
+ using var window = new DisplayConfig();
var result = window.ShowDialog();
if (result == DialogResult.OK)
{
diff --git a/BizHawk.Client.EmuHawk/config/DisplayConfigLite.Designer.cs b/BizHawk.Client.EmuHawk/config/DisplayConfig.Designer.cs
similarity index 97%
rename from BizHawk.Client.EmuHawk/config/DisplayConfigLite.Designer.cs
rename to BizHawk.Client.EmuHawk/config/DisplayConfig.Designer.cs
index e9d9cbf8c2..1c62a50ce6 100644
--- a/BizHawk.Client.EmuHawk/config/DisplayConfigLite.Designer.cs
+++ b/BizHawk.Client.EmuHawk/config/DisplayConfig.Designer.cs
@@ -1,1094 +1,1094 @@
-namespace BizHawk.Client.EmuHawk
-{
- partial class DisplayConfigLite
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- this.components = new System.ComponentModel.Container();
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DisplayConfigLite));
- this.btnCancel = new System.Windows.Forms.Button();
- this.btnOk = new System.Windows.Forms.Button();
- this.groupBox1 = new System.Windows.Forms.GroupBox();
- this.lblScanlines = new System.Windows.Forms.Label();
- this.lblUserFilterName = new System.Windows.Forms.Label();
- this.btnSelectUserFilter = new System.Windows.Forms.Button();
- this.rbUser = new System.Windows.Forms.RadioButton();
- this.tbScanlineIntensity = new BizHawk.Client.EmuHawk.TransparentTrackBar();
- this.rbNone = new System.Windows.Forms.RadioButton();
- this.rbScanlines = new System.Windows.Forms.RadioButton();
- this.rbHq2x = new System.Windows.Forms.RadioButton();
- this.checkLetterbox = new System.Windows.Forms.CheckBox();
- this.checkPadInteger = new System.Windows.Forms.CheckBox();
- this.grpFinalFilter = new System.Windows.Forms.GroupBox();
- this.rbFinalFilterBicubic = new System.Windows.Forms.RadioButton();
- this.rbFinalFilterNone = new System.Windows.Forms.RadioButton();
- this.rbFinalFilterBilinear = new System.Windows.Forms.RadioButton();
- this.rbUseRaw = new System.Windows.Forms.RadioButton();
- this.rbUseSystem = new System.Windows.Forms.RadioButton();
- this.grpARSelection = new System.Windows.Forms.GroupBox();
- this.txtCustomARY = new System.Windows.Forms.TextBox();
- this.label12 = new System.Windows.Forms.Label();
- this.txtCustomARX = new System.Windows.Forms.TextBox();
- this.rbUseCustomRatio = new System.Windows.Forms.RadioButton();
- this.label4 = new System.Windows.Forms.Label();
- this.txtCustomARHeight = new System.Windows.Forms.TextBox();
- this.label3 = new System.Windows.Forms.Label();
- this.txtCustomARWidth = new System.Windows.Forms.TextBox();
- this.rbUseCustom = new System.Windows.Forms.RadioButton();
- this.rbOpenGL = new System.Windows.Forms.RadioButton();
- this.label5 = new System.Windows.Forms.Label();
- this.tabControl1 = new System.Windows.Forms.TabControl();
- this.tpAR = new System.Windows.Forms.TabPage();
- this.groupBox6 = new System.Windows.Forms.GroupBox();
- this.label16 = new System.Windows.Forms.Label();
- this.label15 = new System.Windows.Forms.Label();
- this.txtCropBottom = new System.Windows.Forms.TextBox();
- this.label17 = new System.Windows.Forms.Label();
- this.txtCropRight = new System.Windows.Forms.TextBox();
- this.txtCropTop = new System.Windows.Forms.TextBox();
- this.label14 = new System.Windows.Forms.Label();
- this.txtCropLeft = new System.Windows.Forms.TextBox();
- this.btnDefaults = new System.Windows.Forms.Button();
- this.cbAutoPrescale = new System.Windows.Forms.CheckBox();
- this.label11 = new System.Windows.Forms.Label();
- this.label10 = new System.Windows.Forms.Label();
- this.nudPrescale = new System.Windows.Forms.NumericUpDown();
- this.tpDispMethod = new System.Windows.Forms.TabPage();
- this.label6 = new System.Windows.Forms.Label();
- this.groupBox3 = new System.Windows.Forms.GroupBox();
- this.label13 = new System.Windows.Forms.Label();
- this.cbAlternateVsync = new System.Windows.Forms.CheckBox();
- this.label8 = new System.Windows.Forms.Label();
- this.rbD3D9 = new System.Windows.Forms.RadioButton();
- this.label7 = new System.Windows.Forms.Label();
- this.rbGDIPlus = new System.Windows.Forms.RadioButton();
- this.tpMisc = new System.Windows.Forms.TabPage();
- this.groupBox5 = new System.Windows.Forms.GroupBox();
- this.rbDisplayAbsoluteZero = new System.Windows.Forms.RadioButton();
- this.rbDisplayMinimal = new System.Windows.Forms.RadioButton();
- this.rbDisplayFull = new System.Windows.Forms.RadioButton();
- this.tabPage1 = new System.Windows.Forms.TabPage();
- this.cbAllowDoubleclickFullscreen = new System.Windows.Forms.CheckBox();
- this.groupBox4 = new System.Windows.Forms.GroupBox();
- this.cbFSAutohideMouse = new System.Windows.Forms.CheckBox();
- this.label1 = new System.Windows.Forms.Label();
- this.cbFullscreenHacks = new System.Windows.Forms.CheckBox();
- this.cbStatusBarFullscreen = new System.Windows.Forms.CheckBox();
- this.cbMenuFullscreen = new System.Windows.Forms.CheckBox();
- this.groupBox2 = new System.Windows.Forms.GroupBox();
- this.lblFrameTypeWindowed = new System.Windows.Forms.Label();
- this.cbStatusBarWindowed = new System.Windows.Forms.CheckBox();
- this.label9 = new System.Windows.Forms.Label();
- this.cbMenuWindowed = new System.Windows.Forms.CheckBox();
- this.trackbarFrameSizeWindowed = new BizHawk.Client.EmuHawk.TransparentTrackBar();
- this.cbCaptionWindowed = new System.Windows.Forms.CheckBox();
- this.linkLabel1 = new System.Windows.Forms.LinkLabel();
- this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
- this.groupBox1.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.tbScanlineIntensity)).BeginInit();
- this.grpFinalFilter.SuspendLayout();
- this.grpARSelection.SuspendLayout();
- this.tabControl1.SuspendLayout();
- this.tpAR.SuspendLayout();
- this.groupBox6.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.nudPrescale)).BeginInit();
- this.tpDispMethod.SuspendLayout();
- this.groupBox3.SuspendLayout();
- this.tpMisc.SuspendLayout();
- this.groupBox5.SuspendLayout();
- this.tabPage1.SuspendLayout();
- this.groupBox4.SuspendLayout();
- this.groupBox2.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.trackbarFrameSizeWindowed)).BeginInit();
- this.SuspendLayout();
- //
- // btnCancel
- //
- this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- this.btnCancel.Location = new System.Drawing.Point(473, 339);
- this.btnCancel.Name = "btnCancel";
- this.btnCancel.Size = new System.Drawing.Size(75, 23);
- this.btnCancel.TabIndex = 5;
- this.btnCancel.Text = "Cancel";
- this.btnCancel.UseVisualStyleBackColor = true;
- //
- // btnOk
- //
- this.btnOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.btnOk.Location = new System.Drawing.Point(392, 339);
- this.btnOk.Name = "btnOk";
- this.btnOk.Size = new System.Drawing.Size(75, 23);
- this.btnOk.TabIndex = 4;
- this.btnOk.Text = "OK";
- this.btnOk.UseVisualStyleBackColor = true;
- this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
- //
- // groupBox1
- //
- this.groupBox1.Controls.Add(this.lblScanlines);
- this.groupBox1.Controls.Add(this.lblUserFilterName);
- this.groupBox1.Controls.Add(this.btnSelectUserFilter);
- this.groupBox1.Controls.Add(this.rbUser);
- this.groupBox1.Controls.Add(this.tbScanlineIntensity);
- this.groupBox1.Controls.Add(this.rbNone);
- this.groupBox1.Controls.Add(this.rbScanlines);
- this.groupBox1.Controls.Add(this.rbHq2x);
- this.groupBox1.Location = new System.Drawing.Point(6, 33);
- this.groupBox1.Name = "groupBox1";
- this.groupBox1.Size = new System.Drawing.Size(193, 132);
- this.groupBox1.TabIndex = 7;
- this.groupBox1.TabStop = false;
- this.groupBox1.Text = "Scaling Filter";
- //
- // lblScanlines
- //
- this.lblScanlines.AutoSize = true;
- this.lblScanlines.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.lblScanlines.Location = new System.Drawing.Point(104, 39);
- this.lblScanlines.Name = "lblScanlines";
- this.lblScanlines.Size = new System.Drawing.Size(15, 13);
- this.lblScanlines.TabIndex = 11;
- this.lblScanlines.Text = "%";
- //
- // lblUserFilterName
- //
- this.lblUserFilterName.Location = new System.Drawing.Point(6, 114);
- this.lblUserFilterName.Name = "lblUserFilterName";
- this.lblUserFilterName.Size = new System.Drawing.Size(161, 15);
- this.lblUserFilterName.TabIndex = 10;
- this.lblUserFilterName.Text = "Will contain user filter name";
- //
- // btnSelectUserFilter
- //
- this.btnSelectUserFilter.Location = new System.Drawing.Point(83, 88);
- this.btnSelectUserFilter.Name = "btnSelectUserFilter";
- this.btnSelectUserFilter.Size = new System.Drawing.Size(75, 23);
- this.btnSelectUserFilter.TabIndex = 5;
- this.btnSelectUserFilter.Text = "Select";
- this.btnSelectUserFilter.UseVisualStyleBackColor = true;
- this.btnSelectUserFilter.Click += new System.EventHandler(this.btnSelectUserFilter_Click);
- //
- // rbUser
- //
- this.rbUser.AutoSize = true;
- this.rbUser.Location = new System.Drawing.Point(6, 88);
- this.rbUser.Name = "rbUser";
- this.rbUser.Size = new System.Drawing.Size(47, 17);
- this.rbUser.TabIndex = 4;
- this.rbUser.TabStop = true;
- this.rbUser.Text = "User";
- this.rbUser.UseVisualStyleBackColor = true;
- //
- // tbScanlineIntensity
- //
- this.tbScanlineIntensity.LargeChange = 32;
- this.tbScanlineIntensity.Location = new System.Drawing.Point(83, 55);
- this.tbScanlineIntensity.Maximum = 256;
- this.tbScanlineIntensity.Name = "tbScanlineIntensity";
- this.tbScanlineIntensity.Size = new System.Drawing.Size(70, 42);
- this.tbScanlineIntensity.TabIndex = 3;
- this.tbScanlineIntensity.TickFrequency = 32;
- this.tbScanlineIntensity.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
- this.tbScanlineIntensity.Scroll += new System.EventHandler(this.tbScanlineIntensity_Scroll);
- this.tbScanlineIntensity.ValueChanged += new System.EventHandler(this.tbScanlineIntensity_Scroll);
- //
- // rbNone
- //
- this.rbNone.AutoSize = true;
- this.rbNone.Location = new System.Drawing.Point(6, 19);
- this.rbNone.Name = "rbNone";
- this.rbNone.Size = new System.Drawing.Size(51, 17);
- this.rbNone.TabIndex = 2;
- this.rbNone.TabStop = true;
- this.rbNone.Text = "None";
- this.rbNone.UseVisualStyleBackColor = true;
- //
- // rbScanlines
- //
- this.rbScanlines.AutoSize = true;
- this.rbScanlines.Location = new System.Drawing.Point(6, 65);
- this.rbScanlines.Name = "rbScanlines";
- this.rbScanlines.Size = new System.Drawing.Size(71, 17);
- this.rbScanlines.TabIndex = 1;
- this.rbScanlines.TabStop = true;
- this.rbScanlines.Text = "Scanlines";
- this.rbScanlines.UseVisualStyleBackColor = true;
- //
- // rbHq2x
- //
- this.rbHq2x.AutoSize = true;
- this.rbHq2x.Location = new System.Drawing.Point(6, 42);
- this.rbHq2x.Name = "rbHq2x";
- this.rbHq2x.Size = new System.Drawing.Size(50, 17);
- this.rbHq2x.TabIndex = 0;
- this.rbHq2x.TabStop = true;
- this.rbHq2x.Text = "Hq2x";
- this.rbHq2x.UseVisualStyleBackColor = true;
- //
- // checkLetterbox
- //
- this.checkLetterbox.AutoSize = true;
- this.checkLetterbox.Location = new System.Drawing.Point(209, 12);
- this.checkLetterbox.Name = "checkLetterbox";
- this.checkLetterbox.Size = new System.Drawing.Size(173, 17);
- this.checkLetterbox.TabIndex = 8;
- this.checkLetterbox.Text = "Maintain aspect ratio (letterbox)";
- this.checkLetterbox.UseVisualStyleBackColor = true;
- this.checkLetterbox.CheckedChanged += new System.EventHandler(this.checkLetterbox_CheckedChanged);
- //
- // checkPadInteger
- //
- this.checkPadInteger.AutoSize = true;
- this.checkPadInteger.Location = new System.Drawing.Point(218, 171);
- this.checkPadInteger.Name = "checkPadInteger";
- this.checkPadInteger.Size = new System.Drawing.Size(250, 17);
- this.checkPadInteger.TabIndex = 9;
- this.checkPadInteger.Text = "Expand pixels by integers only (e.g. no 1.3333x)";
- this.checkPadInteger.UseVisualStyleBackColor = true;
- this.checkPadInteger.CheckedChanged += new System.EventHandler(this.checkPadInteger_CheckedChanged);
- //
- // grpFinalFilter
- //
- this.grpFinalFilter.Controls.Add(this.rbFinalFilterBicubic);
- this.grpFinalFilter.Controls.Add(this.rbFinalFilterNone);
- this.grpFinalFilter.Controls.Add(this.rbFinalFilterBilinear);
- this.grpFinalFilter.Location = new System.Drawing.Point(6, 194);
- this.grpFinalFilter.Name = "grpFinalFilter";
- this.grpFinalFilter.Size = new System.Drawing.Size(187, 90);
- this.grpFinalFilter.TabIndex = 8;
- this.grpFinalFilter.TabStop = false;
- this.grpFinalFilter.Text = "Final Filter";
- //
- // rbFinalFilterBicubic
- //
- this.rbFinalFilterBicubic.AutoSize = true;
- this.rbFinalFilterBicubic.Location = new System.Drawing.Point(6, 64);
- this.rbFinalFilterBicubic.Name = "rbFinalFilterBicubic";
- this.rbFinalFilterBicubic.Size = new System.Drawing.Size(142, 17);
- this.rbFinalFilterBicubic.TabIndex = 3;
- this.rbFinalFilterBicubic.TabStop = true;
- this.rbFinalFilterBicubic.Text = "Bicubic (shader. buggy?)";
- this.rbFinalFilterBicubic.UseVisualStyleBackColor = true;
- //
- // rbFinalFilterNone
- //
- this.rbFinalFilterNone.AutoSize = true;
- this.rbFinalFilterNone.Location = new System.Drawing.Point(6, 18);
- this.rbFinalFilterNone.Name = "rbFinalFilterNone";
- this.rbFinalFilterNone.Size = new System.Drawing.Size(51, 17);
- this.rbFinalFilterNone.TabIndex = 2;
- this.rbFinalFilterNone.TabStop = true;
- this.rbFinalFilterNone.Text = "None";
- this.rbFinalFilterNone.UseVisualStyleBackColor = true;
- //
- // rbFinalFilterBilinear
- //
- this.rbFinalFilterBilinear.AutoSize = true;
- this.rbFinalFilterBilinear.Location = new System.Drawing.Point(6, 41);
- this.rbFinalFilterBilinear.Name = "rbFinalFilterBilinear";
- this.rbFinalFilterBilinear.Size = new System.Drawing.Size(59, 17);
- this.rbFinalFilterBilinear.TabIndex = 0;
- this.rbFinalFilterBilinear.TabStop = true;
- this.rbFinalFilterBilinear.Text = "Bilinear";
- this.rbFinalFilterBilinear.UseVisualStyleBackColor = true;
- //
- // rbUseRaw
- //
- this.rbUseRaw.AutoSize = true;
- this.rbUseRaw.Location = new System.Drawing.Point(6, 19);
- this.rbUseRaw.Name = "rbUseRaw";
- this.rbUseRaw.Size = new System.Drawing.Size(240, 17);
- this.rbUseRaw.TabIndex = 11;
- this.rbUseRaw.TabStop = true;
- this.rbUseRaw.Text = "Use 1:1 pixel size (for crispness or debugging)";
- this.rbUseRaw.UseVisualStyleBackColor = true;
- this.rbUseRaw.CheckedChanged += new System.EventHandler(this.rbUseRaw_CheckedChanged);
- //
- // rbUseSystem
- //
- this.rbUseSystem.AutoSize = true;
- this.rbUseSystem.Location = new System.Drawing.Point(16, 58);
- this.rbUseSystem.Name = "rbUseSystem";
- this.rbUseSystem.Size = new System.Drawing.Size(167, 17);
- this.rbUseSystem.TabIndex = 12;
- this.rbUseSystem.TabStop = true;
- this.rbUseSystem.Text = "Use system\'s recommendation";
- this.rbUseSystem.UseVisualStyleBackColor = true;
- this.rbUseSystem.CheckedChanged += new System.EventHandler(this.rbUseSystem_CheckedChanged);
- //
- // grpARSelection
- //
- this.grpARSelection.Controls.Add(this.txtCustomARY);
- this.grpARSelection.Controls.Add(this.label12);
- this.grpARSelection.Controls.Add(this.txtCustomARX);
- this.grpARSelection.Controls.Add(this.rbUseCustomRatio);
- this.grpARSelection.Controls.Add(this.label4);
- this.grpARSelection.Controls.Add(this.txtCustomARHeight);
- this.grpARSelection.Controls.Add(this.label3);
- this.grpARSelection.Controls.Add(this.txtCustomARWidth);
- this.grpARSelection.Controls.Add(this.rbUseCustom);
- this.grpARSelection.Controls.Add(this.rbUseRaw);
- this.grpARSelection.Controls.Add(this.rbUseSystem);
- this.grpARSelection.Location = new System.Drawing.Point(218, 35);
- this.grpARSelection.Name = "grpARSelection";
- this.grpARSelection.Size = new System.Drawing.Size(302, 130);
- this.grpARSelection.TabIndex = 13;
- this.grpARSelection.TabStop = false;
- this.grpARSelection.Text = "Aspect Ratio Selection";
- //
- // txtCustomARY
- //
- this.txtCustomARY.Location = new System.Drawing.Point(220, 102);
- this.txtCustomARY.Name = "txtCustomARY";
- this.txtCustomARY.Size = new System.Drawing.Size(72, 20);
- this.txtCustomARY.TabIndex = 19;
- //
- // label12
- //
- this.label12.AutoSize = true;
- this.label12.Location = new System.Drawing.Point(202, 107);
- this.label12.Name = "label12";
- this.label12.Size = new System.Drawing.Size(10, 13);
- this.label12.TabIndex = 17;
- this.label12.Text = ":";
- //
- // txtCustomARX
- //
- this.txtCustomARX.Location = new System.Drawing.Point(124, 102);
- this.txtCustomARX.Name = "txtCustomARX";
- this.txtCustomARX.Size = new System.Drawing.Size(72, 20);
- this.txtCustomARX.TabIndex = 18;
- //
- // rbUseCustomRatio
- //
- this.rbUseCustomRatio.AutoSize = true;
- this.rbUseCustomRatio.Location = new System.Drawing.Point(16, 103);
- this.rbUseCustomRatio.Name = "rbUseCustomRatio";
- this.rbUseCustomRatio.Size = new System.Drawing.Size(102, 17);
- this.rbUseCustomRatio.TabIndex = 16;
- this.rbUseCustomRatio.TabStop = true;
- this.rbUseCustomRatio.Text = "Use custom AR:";
- this.rbUseCustomRatio.UseVisualStyleBackColor = true;
- //
- // label4
- //
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(13, 41);
- this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(257, 13);
- this.label4.TabIndex = 12;
- this.label4.Text = "Allow pixel distortion (e.g. 2x1 pixels, for better AR fit):";
- //
- // txtCustomARHeight
- //
- this.txtCustomARHeight.Location = new System.Drawing.Point(220, 79);
- this.txtCustomARHeight.Name = "txtCustomARHeight";
- this.txtCustomARHeight.Size = new System.Drawing.Size(72, 20);
- this.txtCustomARHeight.TabIndex = 15;
- //
- // label3
- //
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(202, 84);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(12, 13);
- this.label3.TabIndex = 12;
- this.label3.Text = "x";
- //
- // txtCustomARWidth
- //
- this.txtCustomARWidth.Location = new System.Drawing.Point(124, 79);
- this.txtCustomARWidth.Name = "txtCustomARWidth";
- this.txtCustomARWidth.Size = new System.Drawing.Size(72, 20);
- this.txtCustomARWidth.TabIndex = 14;
- //
- // rbUseCustom
- //
- this.rbUseCustom.AutoSize = true;
- this.rbUseCustom.Location = new System.Drawing.Point(16, 80);
- this.rbUseCustom.Name = "rbUseCustom";
- this.rbUseCustom.Size = new System.Drawing.Size(105, 17);
- this.rbUseCustom.TabIndex = 13;
- this.rbUseCustom.TabStop = true;
- this.rbUseCustom.Text = "Use custom size:";
- this.rbUseCustom.UseVisualStyleBackColor = true;
- //
- // rbOpenGL
- //
- this.rbOpenGL.AutoSize = true;
- this.rbOpenGL.Checked = true;
- this.rbOpenGL.Location = new System.Drawing.Point(6, 103);
- this.rbOpenGL.Name = "rbOpenGL";
- this.rbOpenGL.Size = new System.Drawing.Size(65, 17);
- this.rbOpenGL.TabIndex = 3;
- this.rbOpenGL.TabStop = true;
- this.rbOpenGL.Text = "OpenGL";
- this.rbOpenGL.UseVisualStyleBackColor = true;
- //
- // label5
- //
- this.label5.Location = new System.Drawing.Point(21, 123);
- this.label5.Name = "label5";
- this.label5.Size = new System.Drawing.Size(359, 47);
- this.label5.TabIndex = 16;
- this.label5.Text = " • May malfunction on some systems.\r\n • May have increased performance for OpenGL" +
- "-based emulation cores.\r\n • May have reduced performance on some systems.\r\n";
- //
- // tabControl1
- //
- this.tabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.tabControl1.Controls.Add(this.tpAR);
- this.tabControl1.Controls.Add(this.tpDispMethod);
- this.tabControl1.Controls.Add(this.tpMisc);
- this.tabControl1.Controls.Add(this.tabPage1);
- this.tabControl1.Location = new System.Drawing.Point(12, 12);
- this.tabControl1.Name = "tabControl1";
- this.tabControl1.SelectedIndex = 0;
- this.tabControl1.Size = new System.Drawing.Size(536, 317);
- this.tabControl1.TabIndex = 17;
- //
- // tpAR
- //
- this.tpAR.Controls.Add(this.groupBox6);
- this.tpAR.Controls.Add(this.btnDefaults);
- this.tpAR.Controls.Add(this.cbAutoPrescale);
- this.tpAR.Controls.Add(this.label11);
- this.tpAR.Controls.Add(this.groupBox1);
- this.tpAR.Controls.Add(this.label10);
- this.tpAR.Controls.Add(this.checkLetterbox);
- this.tpAR.Controls.Add(this.nudPrescale);
- this.tpAR.Controls.Add(this.checkPadInteger);
- this.tpAR.Controls.Add(this.grpARSelection);
- this.tpAR.Controls.Add(this.grpFinalFilter);
- this.tpAR.Location = new System.Drawing.Point(4, 22);
- this.tpAR.Name = "tpAR";
- this.tpAR.Padding = new System.Windows.Forms.Padding(3);
- this.tpAR.Size = new System.Drawing.Size(528, 291);
- this.tpAR.TabIndex = 0;
- this.tpAR.Text = "Scaling & Filtering";
- this.tpAR.UseVisualStyleBackColor = true;
- //
- // groupBox6
- //
- this.groupBox6.Controls.Add(this.label16);
- this.groupBox6.Controls.Add(this.label15);
- this.groupBox6.Controls.Add(this.txtCropBottom);
- this.groupBox6.Controls.Add(this.label17);
- this.groupBox6.Controls.Add(this.txtCropRight);
- this.groupBox6.Controls.Add(this.txtCropTop);
- this.groupBox6.Controls.Add(this.label14);
- this.groupBox6.Controls.Add(this.txtCropLeft);
- this.groupBox6.Location = new System.Drawing.Point(218, 195);
- this.groupBox6.Name = "groupBox6";
- this.groupBox6.Size = new System.Drawing.Size(302, 61);
- this.groupBox6.TabIndex = 9;
- this.groupBox6.TabStop = false;
- this.groupBox6.Text = "Cropping";
- //
- // label16
- //
- this.label16.AutoSize = true;
- this.label16.Location = new System.Drawing.Point(217, 25);
- this.label16.Name = "label16";
- this.label16.Size = new System.Drawing.Size(43, 13);
- this.label16.TabIndex = 30;
- this.label16.Text = "Bottom:";
- //
- // label15
- //
- this.label15.AutoSize = true;
- this.label15.Location = new System.Drawing.Point(74, 25);
- this.label15.Name = "label15";
- this.label15.Size = new System.Drawing.Size(29, 13);
- this.label15.TabIndex = 29;
- this.label15.Text = "Top:";
- //
- // txtCropBottom
- //
- this.txtCropBottom.Location = new System.Drawing.Point(261, 22);
- this.txtCropBottom.Name = "txtCropBottom";
- this.txtCropBottom.Size = new System.Drawing.Size(34, 20);
- this.txtCropBottom.TabIndex = 28;
- this.txtCropBottom.Text = "8000";
- //
- // label17
- //
- this.label17.AutoSize = true;
- this.label17.Location = new System.Drawing.Point(144, 25);
- this.label17.Name = "label17";
- this.label17.Size = new System.Drawing.Size(35, 13);
- this.label17.TabIndex = 26;
- this.label17.Text = "Right:";
- //
- // txtCropRight
- //
- this.txtCropRight.Location = new System.Drawing.Point(180, 22);
- this.txtCropRight.Name = "txtCropRight";
- this.txtCropRight.Size = new System.Drawing.Size(34, 20);
- this.txtCropRight.TabIndex = 25;
- this.txtCropRight.Text = "8000";
- //
- // txtCropTop
- //
- this.txtCropTop.Location = new System.Drawing.Point(104, 22);
- this.txtCropTop.Name = "txtCropTop";
- this.txtCropTop.Size = new System.Drawing.Size(34, 20);
- this.txtCropTop.TabIndex = 24;
- this.txtCropTop.Text = "8000";
- //
- // label14
- //
- this.label14.AutoSize = true;
- this.label14.Location = new System.Drawing.Point(6, 25);
- this.label14.Name = "label14";
- this.label14.Size = new System.Drawing.Size(28, 13);
- this.label14.TabIndex = 16;
- this.label14.Text = "Left:";
- //
- // txtCropLeft
- //
- this.txtCropLeft.Location = new System.Drawing.Point(34, 22);
- this.txtCropLeft.Name = "txtCropLeft";
- this.txtCropLeft.Size = new System.Drawing.Size(34, 20);
- this.txtCropLeft.TabIndex = 15;
- this.txtCropLeft.Text = "8000";
- //
- // btnDefaults
- //
- this.btnDefaults.Location = new System.Drawing.Point(447, 262);
- this.btnDefaults.Name = "btnDefaults";
- this.btnDefaults.Size = new System.Drawing.Size(75, 23);
- this.btnDefaults.TabIndex = 18;
- this.btnDefaults.Text = "Defaults";
- this.toolTip1.SetToolTip(this.btnDefaults, "Unless I forgot to update the button\'s code when I changed a default");
- this.btnDefaults.UseVisualStyleBackColor = true;
- this.btnDefaults.Click += new System.EventHandler(this.btnDefaults_Click);
- //
- // cbAutoPrescale
- //
- this.cbAutoPrescale.AutoSize = true;
- this.cbAutoPrescale.Location = new System.Drawing.Point(6, 171);
- this.cbAutoPrescale.Name = "cbAutoPrescale";
- this.cbAutoPrescale.Size = new System.Drawing.Size(92, 17);
- this.cbAutoPrescale.TabIndex = 17;
- this.cbAutoPrescale.Text = "Auto Prescale";
- this.cbAutoPrescale.UseVisualStyleBackColor = true;
- //
- // label11
- //
- this.label11.AutoSize = true;
- this.label11.Location = new System.Drawing.Point(140, 11);
- this.label11.Name = "label11";
- this.label11.Size = new System.Drawing.Size(14, 13);
- this.label11.TabIndex = 16;
- this.label11.Text = "X";
- //
- // label10
- //
- this.label10.AutoSize = true;
- this.label10.Location = new System.Drawing.Point(7, 11);
- this.label10.Name = "label10";
- this.label10.Size = new System.Drawing.Size(76, 13);
- this.label10.TabIndex = 15;
- this.label10.Text = "User Prescale:";
- //
- // nudPrescale
- //
- this.nudPrescale.Location = new System.Drawing.Point(93, 7);
- this.nudPrescale.Maximum = new decimal(new int[] {
- 16,
- 0,
- 0,
- 0});
- this.nudPrescale.Minimum = new decimal(new int[] {
- 1,
- 0,
- 0,
- 0});
- this.nudPrescale.Name = "nudPrescale";
- this.nudPrescale.Size = new System.Drawing.Size(45, 20);
- this.nudPrescale.TabIndex = 14;
- this.nudPrescale.Value = new decimal(new int[] {
- 1,
- 0,
- 0,
- 0});
- //
- // tpDispMethod
- //
- this.tpDispMethod.Controls.Add(this.label6);
- this.tpDispMethod.Controls.Add(this.groupBox3);
- this.tpDispMethod.Location = new System.Drawing.Point(4, 22);
- this.tpDispMethod.Name = "tpDispMethod";
- this.tpDispMethod.Size = new System.Drawing.Size(528, 291);
- this.tpDispMethod.TabIndex = 2;
- this.tpDispMethod.Text = "Display Method";
- this.tpDispMethod.UseVisualStyleBackColor = true;
- //
- // label6
- //
- this.label6.Location = new System.Drawing.Point(3, 258);
- this.label6.Name = "label6";
- this.label6.Size = new System.Drawing.Size(359, 23);
- this.label6.TabIndex = 18;
- this.label6.Text = "Changes require restart of program to take effect.\r\n";
- //
- // groupBox3
- //
- this.groupBox3.Controls.Add(this.label13);
- this.groupBox3.Controls.Add(this.cbAlternateVsync);
- this.groupBox3.Controls.Add(this.label8);
- this.groupBox3.Controls.Add(this.rbD3D9);
- this.groupBox3.Controls.Add(this.label7);
- this.groupBox3.Controls.Add(this.rbGDIPlus);
- this.groupBox3.Controls.Add(this.label5);
- this.groupBox3.Controls.Add(this.rbOpenGL);
- this.groupBox3.Location = new System.Drawing.Point(6, 5);
- this.groupBox3.Name = "groupBox3";
- this.groupBox3.Size = new System.Drawing.Size(415, 241);
- this.groupBox3.TabIndex = 16;
- this.groupBox3.TabStop = false;
- //
- // label13
- //
- this.label13.Location = new System.Drawing.Point(45, 60);
- this.label13.Name = "label13";
- this.label13.Size = new System.Drawing.Size(359, 43);
- this.label13.TabIndex = 22;
- this.label13.Text = resources.GetString("label13.Text");
- this.label13.Click += new System.EventHandler(this.label13_Click);
- this.label13.DoubleClick += new System.EventHandler(this.label13_Click);
- //
- // cbAlternateVsync
- //
- this.cbAlternateVsync.AutoSize = true;
- this.cbAlternateVsync.Location = new System.Drawing.Point(28, 60);
- this.cbAlternateVsync.Name = "cbAlternateVsync";
- this.cbAlternateVsync.Size = new System.Drawing.Size(15, 14);
- this.cbAlternateVsync.TabIndex = 21;
- this.cbAlternateVsync.UseVisualStyleBackColor = true;
- //
- // label8
- //
- this.label8.Location = new System.Drawing.Point(21, 30);
- this.label8.Name = "label8";
- this.label8.Size = new System.Drawing.Size(359, 27);
- this.label8.TabIndex = 20;
- this.label8.Text = " • Best compatibility\r\n • May have trouble with OpenGL-based cores (N64)\r\n";
- //
- // rbD3D9
- //
- this.rbD3D9.AutoSize = true;
- this.rbD3D9.Checked = true;
- this.rbD3D9.Location = new System.Drawing.Point(6, 10);
- this.rbD3D9.Name = "rbD3D9";
- this.rbD3D9.Size = new System.Drawing.Size(73, 17);
- this.rbD3D9.TabIndex = 19;
- this.rbD3D9.TabStop = true;
- this.rbD3D9.Text = "Direct3D9";
- this.rbD3D9.UseVisualStyleBackColor = true;
- //
- // label7
- //
- this.label7.Location = new System.Drawing.Point(21, 191);
- this.label7.Name = "label7";
- this.label7.Size = new System.Drawing.Size(359, 47);
- this.label7.TabIndex = 18;
- this.label7.Text = " • Slow; Mainly for compatibility purposes\r\n • Missing many features\r\n • Works be" +
- "tter over Remote Desktop, etc.\r\n";
- //
- // rbGDIPlus
- //
- this.rbGDIPlus.AutoSize = true;
- this.rbGDIPlus.Checked = true;
- this.rbGDIPlus.Location = new System.Drawing.Point(6, 171);
- this.rbGDIPlus.Name = "rbGDIPlus";
- this.rbGDIPlus.Size = new System.Drawing.Size(50, 17);
- this.rbGDIPlus.TabIndex = 17;
- this.rbGDIPlus.TabStop = true;
- this.rbGDIPlus.Text = "GDI+";
- this.rbGDIPlus.UseVisualStyleBackColor = true;
- //
- // tpMisc
- //
- this.tpMisc.Controls.Add(this.groupBox5);
- this.tpMisc.Location = new System.Drawing.Point(4, 22);
- this.tpMisc.Name = "tpMisc";
- this.tpMisc.Size = new System.Drawing.Size(528, 291);
- this.tpMisc.TabIndex = 3;
- this.tpMisc.Text = "Misc";
- this.tpMisc.UseVisualStyleBackColor = true;
- //
- // groupBox5
- //
- this.groupBox5.Controls.Add(this.rbDisplayAbsoluteZero);
- this.groupBox5.Controls.Add(this.rbDisplayMinimal);
- this.groupBox5.Controls.Add(this.rbDisplayFull);
- this.groupBox5.Location = new System.Drawing.Point(6, 6);
- this.groupBox5.Name = "groupBox5";
- this.groupBox5.Size = new System.Drawing.Size(371, 96);
- this.groupBox5.TabIndex = 20;
- this.groupBox5.TabStop = false;
- this.groupBox5.Text = "Display Features (for speeding up replays)";
- //
- // rbDisplayAbsoluteZero
- //
- this.rbDisplayAbsoluteZero.AutoSize = true;
- this.rbDisplayAbsoluteZero.Location = new System.Drawing.Point(7, 66);
- this.rbDisplayAbsoluteZero.Name = "rbDisplayAbsoluteZero";
- this.rbDisplayAbsoluteZero.Size = new System.Drawing.Size(174, 17);
- this.rbDisplayAbsoluteZero.TabIndex = 2;
- this.rbDisplayAbsoluteZero.TabStop = true;
- this.rbDisplayAbsoluteZero.Text = "Absolute Zero - Display Nothing";
- this.rbDisplayAbsoluteZero.UseVisualStyleBackColor = true;
- //
- // rbDisplayMinimal
- //
- this.rbDisplayMinimal.AutoSize = true;
- this.rbDisplayMinimal.Enabled = false;
- this.rbDisplayMinimal.Location = new System.Drawing.Point(7, 43);
- this.rbDisplayMinimal.Name = "rbDisplayMinimal";
- this.rbDisplayMinimal.Size = new System.Drawing.Size(185, 17);
- this.rbDisplayMinimal.TabIndex = 1;
- this.rbDisplayMinimal.TabStop = true;
- this.rbDisplayMinimal.Text = "Minimal - Display HUD Only (TBD)";
- this.rbDisplayMinimal.UseVisualStyleBackColor = true;
- //
- // rbDisplayFull
- //
- this.rbDisplayFull.AutoSize = true;
- this.rbDisplayFull.Location = new System.Drawing.Point(7, 20);
- this.rbDisplayFull.Name = "rbDisplayFull";
- this.rbDisplayFull.Size = new System.Drawing.Size(137, 17);
- this.rbDisplayFull.TabIndex = 0;
- this.rbDisplayFull.TabStop = true;
- this.rbDisplayFull.Text = "Full - Display Everything";
- this.rbDisplayFull.UseVisualStyleBackColor = true;
- //
- // tabPage1
- //
- this.tabPage1.Controls.Add(this.cbAllowDoubleclickFullscreen);
- this.tabPage1.Controls.Add(this.groupBox4);
- this.tabPage1.Controls.Add(this.groupBox2);
- this.tabPage1.Location = new System.Drawing.Point(4, 22);
- this.tabPage1.Name = "tabPage1";
- this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
- this.tabPage1.Size = new System.Drawing.Size(528, 291);
- this.tabPage1.TabIndex = 4;
- this.tabPage1.Text = "Window";
- this.tabPage1.UseVisualStyleBackColor = true;
- //
- // cbAllowDoubleclickFullscreen
- //
- this.cbAllowDoubleclickFullscreen.AutoSize = true;
- this.cbAllowDoubleclickFullscreen.Location = new System.Drawing.Point(12, 223);
- this.cbAllowDoubleclickFullscreen.Name = "cbAllowDoubleclickFullscreen";
- this.cbAllowDoubleclickFullscreen.Size = new System.Drawing.Size(471, 17);
- this.cbAllowDoubleclickFullscreen.TabIndex = 27;
- this.cbAllowDoubleclickFullscreen.Text = "Allow Double-Click Fullscreen (hold shift to force fullscreen to toggle in case u" +
- "sing zapper, etc.)";
- this.cbAllowDoubleclickFullscreen.UseVisualStyleBackColor = true;
- //
- // groupBox4
- //
- this.groupBox4.Controls.Add(this.cbFSAutohideMouse);
- this.groupBox4.Controls.Add(this.label1);
- this.groupBox4.Controls.Add(this.cbFullscreenHacks);
- this.groupBox4.Controls.Add(this.cbStatusBarFullscreen);
- this.groupBox4.Controls.Add(this.cbMenuFullscreen);
- this.groupBox4.Location = new System.Drawing.Point(143, 6);
- this.groupBox4.Name = "groupBox4";
- this.groupBox4.Size = new System.Drawing.Size(266, 211);
- this.groupBox4.TabIndex = 27;
- this.groupBox4.TabStop = false;
- this.groupBox4.Text = "Fullscreen";
- //
- // cbFSAutohideMouse
- //
- this.cbFSAutohideMouse.AutoSize = true;
- this.cbFSAutohideMouse.Location = new System.Drawing.Point(87, 19);
- this.cbFSAutohideMouse.Name = "cbFSAutohideMouse";
- this.cbFSAutohideMouse.Size = new System.Drawing.Size(141, 17);
- this.cbFSAutohideMouse.TabIndex = 28;
- this.cbFSAutohideMouse.Text = "Auto-Hide Mouse Cursor";
- this.cbFSAutohideMouse.UseVisualStyleBackColor = true;
- //
- // label1
- //
- this.label1.Location = new System.Drawing.Point(7, 88);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(240, 115);
- this.label1.TabIndex = 27;
- this.label1.Text = resources.GetString("label1.Text");
- //
- // cbFullscreenHacks
- //
- this.cbFullscreenHacks.AutoSize = true;
- this.cbFullscreenHacks.Location = new System.Drawing.Point(6, 65);
- this.cbFullscreenHacks.Name = "cbFullscreenHacks";
- this.cbFullscreenHacks.Size = new System.Drawing.Size(191, 17);
- this.cbFullscreenHacks.TabIndex = 26;
- this.cbFullscreenHacks.Text = "Enable Windows Fullscreen Hacks";
- this.cbFullscreenHacks.UseVisualStyleBackColor = true;
- //
- // cbStatusBarFullscreen
- //
- this.cbStatusBarFullscreen.AutoSize = true;
- this.cbStatusBarFullscreen.Location = new System.Drawing.Point(6, 19);
- this.cbStatusBarFullscreen.Name = "cbStatusBarFullscreen";
- this.cbStatusBarFullscreen.Size = new System.Drawing.Size(75, 17);
- this.cbStatusBarFullscreen.TabIndex = 23;
- this.cbStatusBarFullscreen.Text = "Status Bar";
- this.cbStatusBarFullscreen.UseVisualStyleBackColor = true;
- //
- // cbMenuFullscreen
- //
- this.cbMenuFullscreen.AutoSize = true;
- this.cbMenuFullscreen.Location = new System.Drawing.Point(6, 42);
- this.cbMenuFullscreen.Name = "cbMenuFullscreen";
- this.cbMenuFullscreen.Size = new System.Drawing.Size(53, 17);
- this.cbMenuFullscreen.TabIndex = 25;
- this.cbMenuFullscreen.Text = "Menu";
- this.cbMenuFullscreen.UseVisualStyleBackColor = true;
- //
- // groupBox2
- //
- this.groupBox2.Controls.Add(this.lblFrameTypeWindowed);
- this.groupBox2.Controls.Add(this.cbStatusBarWindowed);
- this.groupBox2.Controls.Add(this.label9);
- this.groupBox2.Controls.Add(this.cbMenuWindowed);
- this.groupBox2.Controls.Add(this.trackbarFrameSizeWindowed);
- this.groupBox2.Controls.Add(this.cbCaptionWindowed);
- this.groupBox2.Location = new System.Drawing.Point(6, 6);
- this.groupBox2.Name = "groupBox2";
- this.groupBox2.Size = new System.Drawing.Size(131, 211);
- this.groupBox2.TabIndex = 26;
- this.groupBox2.TabStop = false;
- this.groupBox2.Text = "Windowed";
- //
- // lblFrameTypeWindowed
- //
- this.lblFrameTypeWindowed.AutoSize = true;
- this.lblFrameTypeWindowed.Location = new System.Drawing.Point(51, 17);
- this.lblFrameTypeWindowed.Name = "lblFrameTypeWindowed";
- this.lblFrameTypeWindowed.Size = new System.Drawing.Size(62, 13);
- this.lblFrameTypeWindowed.TabIndex = 26;
- this.lblFrameTypeWindowed.Text = "(frame type)";
- //
- // cbStatusBarWindowed
- //
- this.cbStatusBarWindowed.AutoSize = true;
- this.cbStatusBarWindowed.Location = new System.Drawing.Point(9, 81);
- this.cbStatusBarWindowed.Name = "cbStatusBarWindowed";
- this.cbStatusBarWindowed.Size = new System.Drawing.Size(75, 17);
- this.cbStatusBarWindowed.TabIndex = 23;
- this.cbStatusBarWindowed.Text = "Status Bar";
- this.cbStatusBarWindowed.UseVisualStyleBackColor = true;
- //
- // label9
- //
- this.label9.AutoSize = true;
- this.label9.Location = new System.Drawing.Point(6, 17);
- this.label9.Name = "label9";
- this.label9.Size = new System.Drawing.Size(39, 13);
- this.label9.TabIndex = 22;
- this.label9.Text = "Frame:";
- //
- // cbMenuWindowed
- //
- this.cbMenuWindowed.AutoSize = true;
- this.cbMenuWindowed.Location = new System.Drawing.Point(9, 127);
- this.cbMenuWindowed.Name = "cbMenuWindowed";
- this.cbMenuWindowed.Size = new System.Drawing.Size(53, 17);
- this.cbMenuWindowed.TabIndex = 25;
- this.cbMenuWindowed.Text = "Menu";
- this.cbMenuWindowed.UseVisualStyleBackColor = true;
- //
- // trackbarFrameSizeWindowed
- //
- this.trackbarFrameSizeWindowed.LargeChange = 1;
- this.trackbarFrameSizeWindowed.Location = new System.Drawing.Point(6, 33);
- this.trackbarFrameSizeWindowed.Maximum = 2;
- this.trackbarFrameSizeWindowed.Name = "trackbarFrameSizeWindowed";
- this.trackbarFrameSizeWindowed.Size = new System.Drawing.Size(99, 42);
- this.trackbarFrameSizeWindowed.TabIndex = 21;
- this.trackbarFrameSizeWindowed.Value = 1;
- this.trackbarFrameSizeWindowed.ValueChanged += new System.EventHandler(this.TrackBarFrameSizeWindowed_ValueChanged);
- //
- // cbCaptionWindowed
- //
- this.cbCaptionWindowed.AutoSize = true;
- this.cbCaptionWindowed.Location = new System.Drawing.Point(9, 104);
- this.cbCaptionWindowed.Name = "cbCaptionWindowed";
- this.cbCaptionWindowed.Size = new System.Drawing.Size(62, 17);
- this.cbCaptionWindowed.TabIndex = 24;
- this.cbCaptionWindowed.Text = "Caption";
- this.cbCaptionWindowed.UseVisualStyleBackColor = true;
- //
- // linkLabel1
- //
- this.linkLabel1.AutoSize = true;
- this.linkLabel1.Location = new System.Drawing.Point(12, 404);
- this.linkLabel1.Name = "linkLabel1";
- this.linkLabel1.Size = new System.Drawing.Size(79, 13);
- this.linkLabel1.TabIndex = 18;
- this.linkLabel1.TabStop = true;
- this.linkLabel1.Text = "Documentation";
- this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
- //
- // DisplayConfigLite
- //
- this.AcceptButton = this.btnOk;
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.CancelButton = this.btnCancel;
- this.ClientSize = new System.Drawing.Size(564, 374);
- this.Controls.Add(this.linkLabel1);
- this.Controls.Add(this.tabControl1);
- this.Controls.Add(this.btnCancel);
- this.Controls.Add(this.btnOk);
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
- this.Name = "DisplayConfigLite";
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
- this.Text = "Display Configuration";
- this.groupBox1.ResumeLayout(false);
- this.groupBox1.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.tbScanlineIntensity)).EndInit();
- this.grpFinalFilter.ResumeLayout(false);
- this.grpFinalFilter.PerformLayout();
- this.grpARSelection.ResumeLayout(false);
- this.grpARSelection.PerformLayout();
- this.tabControl1.ResumeLayout(false);
- this.tpAR.ResumeLayout(false);
- this.tpAR.PerformLayout();
- this.groupBox6.ResumeLayout(false);
- this.groupBox6.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.nudPrescale)).EndInit();
- this.tpDispMethod.ResumeLayout(false);
- this.groupBox3.ResumeLayout(false);
- this.groupBox3.PerformLayout();
- this.tpMisc.ResumeLayout(false);
- this.tpMisc.PerformLayout();
- this.groupBox5.ResumeLayout(false);
- this.groupBox5.PerformLayout();
- this.tabPage1.ResumeLayout(false);
- this.tabPage1.PerformLayout();
- this.groupBox4.ResumeLayout(false);
- this.groupBox4.PerformLayout();
- this.groupBox2.ResumeLayout(false);
- this.groupBox2.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.trackbarFrameSizeWindowed)).EndInit();
- this.ResumeLayout(false);
- this.PerformLayout();
-
- }
-
- #endregion
-
- private System.Windows.Forms.Button btnCancel;
- private System.Windows.Forms.Button btnOk;
- private System.Windows.Forms.GroupBox groupBox1;
- private System.Windows.Forms.RadioButton rbNone;
- private System.Windows.Forms.RadioButton rbScanlines;
- private System.Windows.Forms.RadioButton rbHq2x;
- private BizHawk.Client.EmuHawk.TransparentTrackBar tbScanlineIntensity;
- private System.Windows.Forms.CheckBox checkLetterbox;
- private System.Windows.Forms.CheckBox checkPadInteger;
- private System.Windows.Forms.GroupBox grpFinalFilter;
- private System.Windows.Forms.RadioButton rbFinalFilterBicubic;
- private System.Windows.Forms.RadioButton rbFinalFilterNone;
- private System.Windows.Forms.RadioButton rbFinalFilterBilinear;
- private System.Windows.Forms.Button btnSelectUserFilter;
- private System.Windows.Forms.RadioButton rbUser;
- private System.Windows.Forms.Label lblUserFilterName;
- private System.Windows.Forms.RadioButton rbUseRaw;
- private System.Windows.Forms.RadioButton rbUseSystem;
- private System.Windows.Forms.GroupBox grpARSelection;
- private System.Windows.Forms.Label lblScanlines;
- private System.Windows.Forms.TextBox txtCustomARHeight;
- private System.Windows.Forms.Label label3;
- private System.Windows.Forms.TextBox txtCustomARWidth;
- private System.Windows.Forms.RadioButton rbUseCustom;
- private System.Windows.Forms.Label label4;
- private System.Windows.Forms.RadioButton rbOpenGL;
- private System.Windows.Forms.Label label5;
- private System.Windows.Forms.TabControl tabControl1;
- private System.Windows.Forms.TabPage tpAR;
- private System.Windows.Forms.TabPage tpDispMethod;
- private System.Windows.Forms.Label label6;
- private System.Windows.Forms.GroupBox groupBox3;
- private System.Windows.Forms.Label label7;
- private System.Windows.Forms.RadioButton rbGDIPlus;
- private System.Windows.Forms.TabPage tpMisc;
- private System.Windows.Forms.Label label8;
- private System.Windows.Forms.RadioButton rbD3D9;
- private System.Windows.Forms.TabPage tabPage1;
- private System.Windows.Forms.CheckBox cbStatusBarWindowed;
- private System.Windows.Forms.Label label9;
- private BizHawk.Client.EmuHawk.TransparentTrackBar trackbarFrameSizeWindowed;
- private System.Windows.Forms.CheckBox cbMenuWindowed;
- private System.Windows.Forms.CheckBox cbCaptionWindowed;
- private System.Windows.Forms.GroupBox groupBox4;
- private System.Windows.Forms.CheckBox cbStatusBarFullscreen;
- private System.Windows.Forms.CheckBox cbMenuFullscreen;
- private System.Windows.Forms.GroupBox groupBox2;
- private System.Windows.Forms.Label lblFrameTypeWindowed;
- private System.Windows.Forms.Label label11;
- private System.Windows.Forms.Label label10;
- private System.Windows.Forms.NumericUpDown nudPrescale;
- private System.Windows.Forms.CheckBox cbFSAutohideMouse;
- private System.Windows.Forms.GroupBox groupBox5;
- private System.Windows.Forms.RadioButton rbDisplayAbsoluteZero;
- private System.Windows.Forms.RadioButton rbDisplayMinimal;
- private System.Windows.Forms.RadioButton rbDisplayFull;
- private System.Windows.Forms.CheckBox cbAllowDoubleclickFullscreen;
- private System.Windows.Forms.LinkLabel linkLabel1;
- private System.Windows.Forms.RadioButton rbUseCustomRatio;
- private System.Windows.Forms.TextBox txtCustomARY;
- private System.Windows.Forms.Label label12;
- private System.Windows.Forms.TextBox txtCustomARX;
- private System.Windows.Forms.CheckBox cbAutoPrescale;
- private System.Windows.Forms.Label label13;
- private System.Windows.Forms.CheckBox cbAlternateVsync;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.CheckBox cbFullscreenHacks;
- private System.Windows.Forms.Button btnDefaults;
- private System.Windows.Forms.ToolTip toolTip1;
- private System.Windows.Forms.GroupBox groupBox6;
- private System.Windows.Forms.Label label16;
- private System.Windows.Forms.Label label15;
- private System.Windows.Forms.TextBox txtCropBottom;
- private System.Windows.Forms.Label label17;
- private System.Windows.Forms.TextBox txtCropRight;
- private System.Windows.Forms.TextBox txtCropTop;
- private System.Windows.Forms.Label label14;
- private System.Windows.Forms.TextBox txtCropLeft;
- }
+namespace BizHawk.Client.EmuHawk
+{
+ partial class DisplayConfig
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.components = new System.ComponentModel.Container();
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DisplayConfig));
+ this.btnCancel = new System.Windows.Forms.Button();
+ this.btnOk = new System.Windows.Forms.Button();
+ this.groupBox1 = new System.Windows.Forms.GroupBox();
+ this.lblScanlines = new System.Windows.Forms.Label();
+ this.lblUserFilterName = new System.Windows.Forms.Label();
+ this.btnSelectUserFilter = new System.Windows.Forms.Button();
+ this.rbUser = new System.Windows.Forms.RadioButton();
+ this.tbScanlineIntensity = new BizHawk.Client.EmuHawk.TransparentTrackBar();
+ this.rbNone = new System.Windows.Forms.RadioButton();
+ this.rbScanlines = new System.Windows.Forms.RadioButton();
+ this.rbHq2x = new System.Windows.Forms.RadioButton();
+ this.checkLetterbox = new System.Windows.Forms.CheckBox();
+ this.checkPadInteger = new System.Windows.Forms.CheckBox();
+ this.grpFinalFilter = new System.Windows.Forms.GroupBox();
+ this.rbFinalFilterBicubic = new System.Windows.Forms.RadioButton();
+ this.rbFinalFilterNone = new System.Windows.Forms.RadioButton();
+ this.rbFinalFilterBilinear = new System.Windows.Forms.RadioButton();
+ this.rbUseRaw = new System.Windows.Forms.RadioButton();
+ this.rbUseSystem = new System.Windows.Forms.RadioButton();
+ this.grpARSelection = new System.Windows.Forms.GroupBox();
+ this.txtCustomARY = new System.Windows.Forms.TextBox();
+ this.label12 = new System.Windows.Forms.Label();
+ this.txtCustomARX = new System.Windows.Forms.TextBox();
+ this.rbUseCustomRatio = new System.Windows.Forms.RadioButton();
+ this.label4 = new System.Windows.Forms.Label();
+ this.txtCustomARHeight = new System.Windows.Forms.TextBox();
+ this.label3 = new System.Windows.Forms.Label();
+ this.txtCustomARWidth = new System.Windows.Forms.TextBox();
+ this.rbUseCustom = new System.Windows.Forms.RadioButton();
+ this.rbOpenGL = new System.Windows.Forms.RadioButton();
+ this.label5 = new System.Windows.Forms.Label();
+ this.tabControl1 = new System.Windows.Forms.TabControl();
+ this.tpAR = new System.Windows.Forms.TabPage();
+ this.groupBox6 = new System.Windows.Forms.GroupBox();
+ this.label16 = new System.Windows.Forms.Label();
+ this.label15 = new System.Windows.Forms.Label();
+ this.txtCropBottom = new System.Windows.Forms.TextBox();
+ this.label17 = new System.Windows.Forms.Label();
+ this.txtCropRight = new System.Windows.Forms.TextBox();
+ this.txtCropTop = new System.Windows.Forms.TextBox();
+ this.label14 = new System.Windows.Forms.Label();
+ this.txtCropLeft = new System.Windows.Forms.TextBox();
+ this.btnDefaults = new System.Windows.Forms.Button();
+ this.cbAutoPrescale = new System.Windows.Forms.CheckBox();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.nudPrescale = new System.Windows.Forms.NumericUpDown();
+ this.tpDispMethod = new System.Windows.Forms.TabPage();
+ this.label6 = new System.Windows.Forms.Label();
+ this.groupBox3 = new System.Windows.Forms.GroupBox();
+ this.label13 = new System.Windows.Forms.Label();
+ this.cbAlternateVsync = new System.Windows.Forms.CheckBox();
+ this.label8 = new System.Windows.Forms.Label();
+ this.rbD3D9 = new System.Windows.Forms.RadioButton();
+ this.label7 = new System.Windows.Forms.Label();
+ this.rbGDIPlus = new System.Windows.Forms.RadioButton();
+ this.tpMisc = new System.Windows.Forms.TabPage();
+ this.groupBox5 = new System.Windows.Forms.GroupBox();
+ this.rbDisplayAbsoluteZero = new System.Windows.Forms.RadioButton();
+ this.rbDisplayMinimal = new System.Windows.Forms.RadioButton();
+ this.rbDisplayFull = new System.Windows.Forms.RadioButton();
+ this.tabPage1 = new System.Windows.Forms.TabPage();
+ this.cbAllowDoubleclickFullscreen = new System.Windows.Forms.CheckBox();
+ this.groupBox4 = new System.Windows.Forms.GroupBox();
+ this.cbFSAutohideMouse = new System.Windows.Forms.CheckBox();
+ this.label1 = new System.Windows.Forms.Label();
+ this.cbFullscreenHacks = new System.Windows.Forms.CheckBox();
+ this.cbStatusBarFullscreen = new System.Windows.Forms.CheckBox();
+ this.cbMenuFullscreen = new System.Windows.Forms.CheckBox();
+ this.groupBox2 = new System.Windows.Forms.GroupBox();
+ this.lblFrameTypeWindowed = new System.Windows.Forms.Label();
+ this.cbStatusBarWindowed = new System.Windows.Forms.CheckBox();
+ this.label9 = new System.Windows.Forms.Label();
+ this.cbMenuWindowed = new System.Windows.Forms.CheckBox();
+ this.trackbarFrameSizeWindowed = new BizHawk.Client.EmuHawk.TransparentTrackBar();
+ this.cbCaptionWindowed = new System.Windows.Forms.CheckBox();
+ this.linkLabel1 = new System.Windows.Forms.LinkLabel();
+ this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
+ this.groupBox1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.tbScanlineIntensity)).BeginInit();
+ this.grpFinalFilter.SuspendLayout();
+ this.grpARSelection.SuspendLayout();
+ this.tabControl1.SuspendLayout();
+ this.tpAR.SuspendLayout();
+ this.groupBox6.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.nudPrescale)).BeginInit();
+ this.tpDispMethod.SuspendLayout();
+ this.groupBox3.SuspendLayout();
+ this.tpMisc.SuspendLayout();
+ this.groupBox5.SuspendLayout();
+ this.tabPage1.SuspendLayout();
+ this.groupBox4.SuspendLayout();
+ this.groupBox2.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.trackbarFrameSizeWindowed)).BeginInit();
+ this.SuspendLayout();
+ //
+ // btnCancel
+ //
+ this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
+ this.btnCancel.Location = new System.Drawing.Point(473, 339);
+ this.btnCancel.Name = "btnCancel";
+ this.btnCancel.Size = new System.Drawing.Size(75, 23);
+ this.btnCancel.TabIndex = 5;
+ this.btnCancel.Text = "Cancel";
+ this.btnCancel.UseVisualStyleBackColor = true;
+ //
+ // btnOk
+ //
+ this.btnOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnOk.Location = new System.Drawing.Point(392, 339);
+ this.btnOk.Name = "btnOk";
+ this.btnOk.Size = new System.Drawing.Size(75, 23);
+ this.btnOk.TabIndex = 4;
+ this.btnOk.Text = "OK";
+ this.btnOk.UseVisualStyleBackColor = true;
+ this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
+ //
+ // groupBox1
+ //
+ this.groupBox1.Controls.Add(this.lblScanlines);
+ this.groupBox1.Controls.Add(this.lblUserFilterName);
+ this.groupBox1.Controls.Add(this.btnSelectUserFilter);
+ this.groupBox1.Controls.Add(this.rbUser);
+ this.groupBox1.Controls.Add(this.tbScanlineIntensity);
+ this.groupBox1.Controls.Add(this.rbNone);
+ this.groupBox1.Controls.Add(this.rbScanlines);
+ this.groupBox1.Controls.Add(this.rbHq2x);
+ this.groupBox1.Location = new System.Drawing.Point(6, 33);
+ this.groupBox1.Name = "groupBox1";
+ this.groupBox1.Size = new System.Drawing.Size(193, 132);
+ this.groupBox1.TabIndex = 7;
+ this.groupBox1.TabStop = false;
+ this.groupBox1.Text = "Scaling Filter";
+ //
+ // lblScanlines
+ //
+ this.lblScanlines.AutoSize = true;
+ this.lblScanlines.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.lblScanlines.Location = new System.Drawing.Point(104, 39);
+ this.lblScanlines.Name = "lblScanlines";
+ this.lblScanlines.Size = new System.Drawing.Size(15, 13);
+ this.lblScanlines.TabIndex = 11;
+ this.lblScanlines.Text = "%";
+ //
+ // lblUserFilterName
+ //
+ this.lblUserFilterName.Location = new System.Drawing.Point(6, 114);
+ this.lblUserFilterName.Name = "lblUserFilterName";
+ this.lblUserFilterName.Size = new System.Drawing.Size(161, 15);
+ this.lblUserFilterName.TabIndex = 10;
+ this.lblUserFilterName.Text = "Will contain user filter name";
+ //
+ // btnSelectUserFilter
+ //
+ this.btnSelectUserFilter.Location = new System.Drawing.Point(83, 88);
+ this.btnSelectUserFilter.Name = "btnSelectUserFilter";
+ this.btnSelectUserFilter.Size = new System.Drawing.Size(75, 23);
+ this.btnSelectUserFilter.TabIndex = 5;
+ this.btnSelectUserFilter.Text = "Select";
+ this.btnSelectUserFilter.UseVisualStyleBackColor = true;
+ this.btnSelectUserFilter.Click += new System.EventHandler(this.btnSelectUserFilter_Click);
+ //
+ // rbUser
+ //
+ this.rbUser.AutoSize = true;
+ this.rbUser.Location = new System.Drawing.Point(6, 88);
+ this.rbUser.Name = "rbUser";
+ this.rbUser.Size = new System.Drawing.Size(47, 17);
+ this.rbUser.TabIndex = 4;
+ this.rbUser.TabStop = true;
+ this.rbUser.Text = "User";
+ this.rbUser.UseVisualStyleBackColor = true;
+ //
+ // tbScanlineIntensity
+ //
+ this.tbScanlineIntensity.LargeChange = 32;
+ this.tbScanlineIntensity.Location = new System.Drawing.Point(83, 55);
+ this.tbScanlineIntensity.Maximum = 256;
+ this.tbScanlineIntensity.Name = "tbScanlineIntensity";
+ this.tbScanlineIntensity.Size = new System.Drawing.Size(70, 42);
+ this.tbScanlineIntensity.TabIndex = 3;
+ this.tbScanlineIntensity.TickFrequency = 32;
+ this.tbScanlineIntensity.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
+ this.tbScanlineIntensity.Scroll += new System.EventHandler(this.tbScanlineIntensity_Scroll);
+ this.tbScanlineIntensity.ValueChanged += new System.EventHandler(this.tbScanlineIntensity_Scroll);
+ //
+ // rbNone
+ //
+ this.rbNone.AutoSize = true;
+ this.rbNone.Location = new System.Drawing.Point(6, 19);
+ this.rbNone.Name = "rbNone";
+ this.rbNone.Size = new System.Drawing.Size(51, 17);
+ this.rbNone.TabIndex = 2;
+ this.rbNone.TabStop = true;
+ this.rbNone.Text = "None";
+ this.rbNone.UseVisualStyleBackColor = true;
+ //
+ // rbScanlines
+ //
+ this.rbScanlines.AutoSize = true;
+ this.rbScanlines.Location = new System.Drawing.Point(6, 65);
+ this.rbScanlines.Name = "rbScanlines";
+ this.rbScanlines.Size = new System.Drawing.Size(71, 17);
+ this.rbScanlines.TabIndex = 1;
+ this.rbScanlines.TabStop = true;
+ this.rbScanlines.Text = "Scanlines";
+ this.rbScanlines.UseVisualStyleBackColor = true;
+ //
+ // rbHq2x
+ //
+ this.rbHq2x.AutoSize = true;
+ this.rbHq2x.Location = new System.Drawing.Point(6, 42);
+ this.rbHq2x.Name = "rbHq2x";
+ this.rbHq2x.Size = new System.Drawing.Size(50, 17);
+ this.rbHq2x.TabIndex = 0;
+ this.rbHq2x.TabStop = true;
+ this.rbHq2x.Text = "Hq2x";
+ this.rbHq2x.UseVisualStyleBackColor = true;
+ //
+ // checkLetterbox
+ //
+ this.checkLetterbox.AutoSize = true;
+ this.checkLetterbox.Location = new System.Drawing.Point(209, 12);
+ this.checkLetterbox.Name = "checkLetterbox";
+ this.checkLetterbox.Size = new System.Drawing.Size(173, 17);
+ this.checkLetterbox.TabIndex = 8;
+ this.checkLetterbox.Text = "Maintain aspect ratio (letterbox)";
+ this.checkLetterbox.UseVisualStyleBackColor = true;
+ this.checkLetterbox.CheckedChanged += new System.EventHandler(this.checkLetterbox_CheckedChanged);
+ //
+ // checkPadInteger
+ //
+ this.checkPadInteger.AutoSize = true;
+ this.checkPadInteger.Location = new System.Drawing.Point(218, 171);
+ this.checkPadInteger.Name = "checkPadInteger";
+ this.checkPadInteger.Size = new System.Drawing.Size(250, 17);
+ this.checkPadInteger.TabIndex = 9;
+ this.checkPadInteger.Text = "Expand pixels by integers only (e.g. no 1.3333x)";
+ this.checkPadInteger.UseVisualStyleBackColor = true;
+ this.checkPadInteger.CheckedChanged += new System.EventHandler(this.checkPadInteger_CheckedChanged);
+ //
+ // grpFinalFilter
+ //
+ this.grpFinalFilter.Controls.Add(this.rbFinalFilterBicubic);
+ this.grpFinalFilter.Controls.Add(this.rbFinalFilterNone);
+ this.grpFinalFilter.Controls.Add(this.rbFinalFilterBilinear);
+ this.grpFinalFilter.Location = new System.Drawing.Point(6, 194);
+ this.grpFinalFilter.Name = "grpFinalFilter";
+ this.grpFinalFilter.Size = new System.Drawing.Size(187, 90);
+ this.grpFinalFilter.TabIndex = 8;
+ this.grpFinalFilter.TabStop = false;
+ this.grpFinalFilter.Text = "Final Filter";
+ //
+ // rbFinalFilterBicubic
+ //
+ this.rbFinalFilterBicubic.AutoSize = true;
+ this.rbFinalFilterBicubic.Location = new System.Drawing.Point(6, 64);
+ this.rbFinalFilterBicubic.Name = "rbFinalFilterBicubic";
+ this.rbFinalFilterBicubic.Size = new System.Drawing.Size(142, 17);
+ this.rbFinalFilterBicubic.TabIndex = 3;
+ this.rbFinalFilterBicubic.TabStop = true;
+ this.rbFinalFilterBicubic.Text = "Bicubic (shader. buggy?)";
+ this.rbFinalFilterBicubic.UseVisualStyleBackColor = true;
+ //
+ // rbFinalFilterNone
+ //
+ this.rbFinalFilterNone.AutoSize = true;
+ this.rbFinalFilterNone.Location = new System.Drawing.Point(6, 18);
+ this.rbFinalFilterNone.Name = "rbFinalFilterNone";
+ this.rbFinalFilterNone.Size = new System.Drawing.Size(51, 17);
+ this.rbFinalFilterNone.TabIndex = 2;
+ this.rbFinalFilterNone.TabStop = true;
+ this.rbFinalFilterNone.Text = "None";
+ this.rbFinalFilterNone.UseVisualStyleBackColor = true;
+ //
+ // rbFinalFilterBilinear
+ //
+ this.rbFinalFilterBilinear.AutoSize = true;
+ this.rbFinalFilterBilinear.Location = new System.Drawing.Point(6, 41);
+ this.rbFinalFilterBilinear.Name = "rbFinalFilterBilinear";
+ this.rbFinalFilterBilinear.Size = new System.Drawing.Size(59, 17);
+ this.rbFinalFilterBilinear.TabIndex = 0;
+ this.rbFinalFilterBilinear.TabStop = true;
+ this.rbFinalFilterBilinear.Text = "Bilinear";
+ this.rbFinalFilterBilinear.UseVisualStyleBackColor = true;
+ //
+ // rbUseRaw
+ //
+ this.rbUseRaw.AutoSize = true;
+ this.rbUseRaw.Location = new System.Drawing.Point(6, 19);
+ this.rbUseRaw.Name = "rbUseRaw";
+ this.rbUseRaw.Size = new System.Drawing.Size(240, 17);
+ this.rbUseRaw.TabIndex = 11;
+ this.rbUseRaw.TabStop = true;
+ this.rbUseRaw.Text = "Use 1:1 pixel size (for crispness or debugging)";
+ this.rbUseRaw.UseVisualStyleBackColor = true;
+ this.rbUseRaw.CheckedChanged += new System.EventHandler(this.rbUseRaw_CheckedChanged);
+ //
+ // rbUseSystem
+ //
+ this.rbUseSystem.AutoSize = true;
+ this.rbUseSystem.Location = new System.Drawing.Point(16, 58);
+ this.rbUseSystem.Name = "rbUseSystem";
+ this.rbUseSystem.Size = new System.Drawing.Size(167, 17);
+ this.rbUseSystem.TabIndex = 12;
+ this.rbUseSystem.TabStop = true;
+ this.rbUseSystem.Text = "Use system\'s recommendation";
+ this.rbUseSystem.UseVisualStyleBackColor = true;
+ this.rbUseSystem.CheckedChanged += new System.EventHandler(this.rbUseSystem_CheckedChanged);
+ //
+ // grpARSelection
+ //
+ this.grpARSelection.Controls.Add(this.txtCustomARY);
+ this.grpARSelection.Controls.Add(this.label12);
+ this.grpARSelection.Controls.Add(this.txtCustomARX);
+ this.grpARSelection.Controls.Add(this.rbUseCustomRatio);
+ this.grpARSelection.Controls.Add(this.label4);
+ this.grpARSelection.Controls.Add(this.txtCustomARHeight);
+ this.grpARSelection.Controls.Add(this.label3);
+ this.grpARSelection.Controls.Add(this.txtCustomARWidth);
+ this.grpARSelection.Controls.Add(this.rbUseCustom);
+ this.grpARSelection.Controls.Add(this.rbUseRaw);
+ this.grpARSelection.Controls.Add(this.rbUseSystem);
+ this.grpARSelection.Location = new System.Drawing.Point(218, 35);
+ this.grpARSelection.Name = "grpARSelection";
+ this.grpARSelection.Size = new System.Drawing.Size(302, 130);
+ this.grpARSelection.TabIndex = 13;
+ this.grpARSelection.TabStop = false;
+ this.grpARSelection.Text = "Aspect Ratio Selection";
+ //
+ // txtCustomARY
+ //
+ this.txtCustomARY.Location = new System.Drawing.Point(220, 102);
+ this.txtCustomARY.Name = "txtCustomARY";
+ this.txtCustomARY.Size = new System.Drawing.Size(72, 20);
+ this.txtCustomARY.TabIndex = 19;
+ //
+ // label12
+ //
+ this.label12.AutoSize = true;
+ this.label12.Location = new System.Drawing.Point(202, 107);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(10, 13);
+ this.label12.TabIndex = 17;
+ this.label12.Text = ":";
+ //
+ // txtCustomARX
+ //
+ this.txtCustomARX.Location = new System.Drawing.Point(124, 102);
+ this.txtCustomARX.Name = "txtCustomARX";
+ this.txtCustomARX.Size = new System.Drawing.Size(72, 20);
+ this.txtCustomARX.TabIndex = 18;
+ //
+ // rbUseCustomRatio
+ //
+ this.rbUseCustomRatio.AutoSize = true;
+ this.rbUseCustomRatio.Location = new System.Drawing.Point(16, 103);
+ this.rbUseCustomRatio.Name = "rbUseCustomRatio";
+ this.rbUseCustomRatio.Size = new System.Drawing.Size(102, 17);
+ this.rbUseCustomRatio.TabIndex = 16;
+ this.rbUseCustomRatio.TabStop = true;
+ this.rbUseCustomRatio.Text = "Use custom AR:";
+ this.rbUseCustomRatio.UseVisualStyleBackColor = true;
+ //
+ // label4
+ //
+ this.label4.AutoSize = true;
+ this.label4.Location = new System.Drawing.Point(13, 41);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(257, 13);
+ this.label4.TabIndex = 12;
+ this.label4.Text = "Allow pixel distortion (e.g. 2x1 pixels, for better AR fit):";
+ //
+ // txtCustomARHeight
+ //
+ this.txtCustomARHeight.Location = new System.Drawing.Point(220, 79);
+ this.txtCustomARHeight.Name = "txtCustomARHeight";
+ this.txtCustomARHeight.Size = new System.Drawing.Size(72, 20);
+ this.txtCustomARHeight.TabIndex = 15;
+ //
+ // label3
+ //
+ this.label3.AutoSize = true;
+ this.label3.Location = new System.Drawing.Point(202, 84);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(12, 13);
+ this.label3.TabIndex = 12;
+ this.label3.Text = "x";
+ //
+ // txtCustomARWidth
+ //
+ this.txtCustomARWidth.Location = new System.Drawing.Point(124, 79);
+ this.txtCustomARWidth.Name = "txtCustomARWidth";
+ this.txtCustomARWidth.Size = new System.Drawing.Size(72, 20);
+ this.txtCustomARWidth.TabIndex = 14;
+ //
+ // rbUseCustom
+ //
+ this.rbUseCustom.AutoSize = true;
+ this.rbUseCustom.Location = new System.Drawing.Point(16, 80);
+ this.rbUseCustom.Name = "rbUseCustom";
+ this.rbUseCustom.Size = new System.Drawing.Size(105, 17);
+ this.rbUseCustom.TabIndex = 13;
+ this.rbUseCustom.TabStop = true;
+ this.rbUseCustom.Text = "Use custom size:";
+ this.rbUseCustom.UseVisualStyleBackColor = true;
+ //
+ // rbOpenGL
+ //
+ this.rbOpenGL.AutoSize = true;
+ this.rbOpenGL.Checked = true;
+ this.rbOpenGL.Location = new System.Drawing.Point(6, 103);
+ this.rbOpenGL.Name = "rbOpenGL";
+ this.rbOpenGL.Size = new System.Drawing.Size(65, 17);
+ this.rbOpenGL.TabIndex = 3;
+ this.rbOpenGL.TabStop = true;
+ this.rbOpenGL.Text = "OpenGL";
+ this.rbOpenGL.UseVisualStyleBackColor = true;
+ //
+ // label5
+ //
+ this.label5.Location = new System.Drawing.Point(21, 123);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(359, 47);
+ this.label5.TabIndex = 16;
+ this.label5.Text = " • May malfunction on some systems.\r\n • May have increased performance for OpenGL" +
+ "-based emulation cores.\r\n • May have reduced performance on some systems.\r\n";
+ //
+ // tabControl1
+ //
+ this.tabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.tabControl1.Controls.Add(this.tpAR);
+ this.tabControl1.Controls.Add(this.tpDispMethod);
+ this.tabControl1.Controls.Add(this.tpMisc);
+ this.tabControl1.Controls.Add(this.tabPage1);
+ this.tabControl1.Location = new System.Drawing.Point(12, 12);
+ this.tabControl1.Name = "tabControl1";
+ this.tabControl1.SelectedIndex = 0;
+ this.tabControl1.Size = new System.Drawing.Size(536, 317);
+ this.tabControl1.TabIndex = 17;
+ //
+ // tpAR
+ //
+ this.tpAR.Controls.Add(this.groupBox6);
+ this.tpAR.Controls.Add(this.btnDefaults);
+ this.tpAR.Controls.Add(this.cbAutoPrescale);
+ this.tpAR.Controls.Add(this.label11);
+ this.tpAR.Controls.Add(this.groupBox1);
+ this.tpAR.Controls.Add(this.label10);
+ this.tpAR.Controls.Add(this.checkLetterbox);
+ this.tpAR.Controls.Add(this.nudPrescale);
+ this.tpAR.Controls.Add(this.checkPadInteger);
+ this.tpAR.Controls.Add(this.grpARSelection);
+ this.tpAR.Controls.Add(this.grpFinalFilter);
+ this.tpAR.Location = new System.Drawing.Point(4, 22);
+ this.tpAR.Name = "tpAR";
+ this.tpAR.Padding = new System.Windows.Forms.Padding(3);
+ this.tpAR.Size = new System.Drawing.Size(528, 291);
+ this.tpAR.TabIndex = 0;
+ this.tpAR.Text = "Scaling & Filtering";
+ this.tpAR.UseVisualStyleBackColor = true;
+ //
+ // groupBox6
+ //
+ this.groupBox6.Controls.Add(this.label16);
+ this.groupBox6.Controls.Add(this.label15);
+ this.groupBox6.Controls.Add(this.txtCropBottom);
+ this.groupBox6.Controls.Add(this.label17);
+ this.groupBox6.Controls.Add(this.txtCropRight);
+ this.groupBox6.Controls.Add(this.txtCropTop);
+ this.groupBox6.Controls.Add(this.label14);
+ this.groupBox6.Controls.Add(this.txtCropLeft);
+ this.groupBox6.Location = new System.Drawing.Point(218, 195);
+ this.groupBox6.Name = "groupBox6";
+ this.groupBox6.Size = new System.Drawing.Size(302, 61);
+ this.groupBox6.TabIndex = 9;
+ this.groupBox6.TabStop = false;
+ this.groupBox6.Text = "Cropping";
+ //
+ // label16
+ //
+ this.label16.AutoSize = true;
+ this.label16.Location = new System.Drawing.Point(217, 25);
+ this.label16.Name = "label16";
+ this.label16.Size = new System.Drawing.Size(43, 13);
+ this.label16.TabIndex = 30;
+ this.label16.Text = "Bottom:";
+ //
+ // label15
+ //
+ this.label15.AutoSize = true;
+ this.label15.Location = new System.Drawing.Point(74, 25);
+ this.label15.Name = "label15";
+ this.label15.Size = new System.Drawing.Size(29, 13);
+ this.label15.TabIndex = 29;
+ this.label15.Text = "Top:";
+ //
+ // txtCropBottom
+ //
+ this.txtCropBottom.Location = new System.Drawing.Point(261, 22);
+ this.txtCropBottom.Name = "txtCropBottom";
+ this.txtCropBottom.Size = new System.Drawing.Size(34, 20);
+ this.txtCropBottom.TabIndex = 28;
+ this.txtCropBottom.Text = "8000";
+ //
+ // label17
+ //
+ this.label17.AutoSize = true;
+ this.label17.Location = new System.Drawing.Point(144, 25);
+ this.label17.Name = "label17";
+ this.label17.Size = new System.Drawing.Size(35, 13);
+ this.label17.TabIndex = 26;
+ this.label17.Text = "Right:";
+ //
+ // txtCropRight
+ //
+ this.txtCropRight.Location = new System.Drawing.Point(180, 22);
+ this.txtCropRight.Name = "txtCropRight";
+ this.txtCropRight.Size = new System.Drawing.Size(34, 20);
+ this.txtCropRight.TabIndex = 25;
+ this.txtCropRight.Text = "8000";
+ //
+ // txtCropTop
+ //
+ this.txtCropTop.Location = new System.Drawing.Point(104, 22);
+ this.txtCropTop.Name = "txtCropTop";
+ this.txtCropTop.Size = new System.Drawing.Size(34, 20);
+ this.txtCropTop.TabIndex = 24;
+ this.txtCropTop.Text = "8000";
+ //
+ // label14
+ //
+ this.label14.AutoSize = true;
+ this.label14.Location = new System.Drawing.Point(6, 25);
+ this.label14.Name = "label14";
+ this.label14.Size = new System.Drawing.Size(28, 13);
+ this.label14.TabIndex = 16;
+ this.label14.Text = "Left:";
+ //
+ // txtCropLeft
+ //
+ this.txtCropLeft.Location = new System.Drawing.Point(34, 22);
+ this.txtCropLeft.Name = "txtCropLeft";
+ this.txtCropLeft.Size = new System.Drawing.Size(34, 20);
+ this.txtCropLeft.TabIndex = 15;
+ this.txtCropLeft.Text = "8000";
+ //
+ // btnDefaults
+ //
+ this.btnDefaults.Location = new System.Drawing.Point(447, 262);
+ this.btnDefaults.Name = "btnDefaults";
+ this.btnDefaults.Size = new System.Drawing.Size(75, 23);
+ this.btnDefaults.TabIndex = 18;
+ this.btnDefaults.Text = "Defaults";
+ this.toolTip1.SetToolTip(this.btnDefaults, "Unless I forgot to update the button\'s code when I changed a default");
+ this.btnDefaults.UseVisualStyleBackColor = true;
+ this.btnDefaults.Click += new System.EventHandler(this.btnDefaults_Click);
+ //
+ // cbAutoPrescale
+ //
+ this.cbAutoPrescale.AutoSize = true;
+ this.cbAutoPrescale.Location = new System.Drawing.Point(6, 171);
+ this.cbAutoPrescale.Name = "cbAutoPrescale";
+ this.cbAutoPrescale.Size = new System.Drawing.Size(92, 17);
+ this.cbAutoPrescale.TabIndex = 17;
+ this.cbAutoPrescale.Text = "Auto Prescale";
+ this.cbAutoPrescale.UseVisualStyleBackColor = true;
+ //
+ // label11
+ //
+ this.label11.AutoSize = true;
+ this.label11.Location = new System.Drawing.Point(140, 11);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(14, 13);
+ this.label11.TabIndex = 16;
+ this.label11.Text = "X";
+ //
+ // label10
+ //
+ this.label10.AutoSize = true;
+ this.label10.Location = new System.Drawing.Point(7, 11);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(76, 13);
+ this.label10.TabIndex = 15;
+ this.label10.Text = "User Prescale:";
+ //
+ // nudPrescale
+ //
+ this.nudPrescale.Location = new System.Drawing.Point(93, 7);
+ this.nudPrescale.Maximum = new decimal(new int[] {
+ 16,
+ 0,
+ 0,
+ 0});
+ this.nudPrescale.Minimum = new decimal(new int[] {
+ 1,
+ 0,
+ 0,
+ 0});
+ this.nudPrescale.Name = "nudPrescale";
+ this.nudPrescale.Size = new System.Drawing.Size(45, 20);
+ this.nudPrescale.TabIndex = 14;
+ this.nudPrescale.Value = new decimal(new int[] {
+ 1,
+ 0,
+ 0,
+ 0});
+ //
+ // tpDispMethod
+ //
+ this.tpDispMethod.Controls.Add(this.label6);
+ this.tpDispMethod.Controls.Add(this.groupBox3);
+ this.tpDispMethod.Location = new System.Drawing.Point(4, 22);
+ this.tpDispMethod.Name = "tpDispMethod";
+ this.tpDispMethod.Size = new System.Drawing.Size(528, 291);
+ this.tpDispMethod.TabIndex = 2;
+ this.tpDispMethod.Text = "Display Method";
+ this.tpDispMethod.UseVisualStyleBackColor = true;
+ //
+ // label6
+ //
+ this.label6.Location = new System.Drawing.Point(3, 258);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(359, 23);
+ this.label6.TabIndex = 18;
+ this.label6.Text = "Changes require restart of program to take effect.\r\n";
+ //
+ // groupBox3
+ //
+ this.groupBox3.Controls.Add(this.label13);
+ this.groupBox3.Controls.Add(this.cbAlternateVsync);
+ this.groupBox3.Controls.Add(this.label8);
+ this.groupBox3.Controls.Add(this.rbD3D9);
+ this.groupBox3.Controls.Add(this.label7);
+ this.groupBox3.Controls.Add(this.rbGDIPlus);
+ this.groupBox3.Controls.Add(this.label5);
+ this.groupBox3.Controls.Add(this.rbOpenGL);
+ this.groupBox3.Location = new System.Drawing.Point(6, 5);
+ this.groupBox3.Name = "groupBox3";
+ this.groupBox3.Size = new System.Drawing.Size(415, 241);
+ this.groupBox3.TabIndex = 16;
+ this.groupBox3.TabStop = false;
+ //
+ // label13
+ //
+ this.label13.Location = new System.Drawing.Point(45, 60);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(359, 43);
+ this.label13.TabIndex = 22;
+ this.label13.Text = resources.GetString("label13.Text");
+ this.label13.Click += new System.EventHandler(this.label13_Click);
+ this.label13.DoubleClick += new System.EventHandler(this.label13_Click);
+ //
+ // cbAlternateVsync
+ //
+ this.cbAlternateVsync.AutoSize = true;
+ this.cbAlternateVsync.Location = new System.Drawing.Point(28, 60);
+ this.cbAlternateVsync.Name = "cbAlternateVsync";
+ this.cbAlternateVsync.Size = new System.Drawing.Size(15, 14);
+ this.cbAlternateVsync.TabIndex = 21;
+ this.cbAlternateVsync.UseVisualStyleBackColor = true;
+ //
+ // label8
+ //
+ this.label8.Location = new System.Drawing.Point(21, 30);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(359, 27);
+ this.label8.TabIndex = 20;
+ this.label8.Text = " • Best compatibility\r\n • May have trouble with OpenGL-based cores (N64)\r\n";
+ //
+ // rbD3D9
+ //
+ this.rbD3D9.AutoSize = true;
+ this.rbD3D9.Checked = true;
+ this.rbD3D9.Location = new System.Drawing.Point(6, 10);
+ this.rbD3D9.Name = "rbD3D9";
+ this.rbD3D9.Size = new System.Drawing.Size(73, 17);
+ this.rbD3D9.TabIndex = 19;
+ this.rbD3D9.TabStop = true;
+ this.rbD3D9.Text = "Direct3D9";
+ this.rbD3D9.UseVisualStyleBackColor = true;
+ //
+ // label7
+ //
+ this.label7.Location = new System.Drawing.Point(21, 191);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(359, 47);
+ this.label7.TabIndex = 18;
+ this.label7.Text = " • Slow; Mainly for compatibility purposes\r\n • Missing many features\r\n • Works be" +
+ "tter over Remote Desktop, etc.\r\n";
+ //
+ // rbGDIPlus
+ //
+ this.rbGDIPlus.AutoSize = true;
+ this.rbGDIPlus.Checked = true;
+ this.rbGDIPlus.Location = new System.Drawing.Point(6, 171);
+ this.rbGDIPlus.Name = "rbGDIPlus";
+ this.rbGDIPlus.Size = new System.Drawing.Size(50, 17);
+ this.rbGDIPlus.TabIndex = 17;
+ this.rbGDIPlus.TabStop = true;
+ this.rbGDIPlus.Text = "GDI+";
+ this.rbGDIPlus.UseVisualStyleBackColor = true;
+ //
+ // tpMisc
+ //
+ this.tpMisc.Controls.Add(this.groupBox5);
+ this.tpMisc.Location = new System.Drawing.Point(4, 22);
+ this.tpMisc.Name = "tpMisc";
+ this.tpMisc.Size = new System.Drawing.Size(528, 291);
+ this.tpMisc.TabIndex = 3;
+ this.tpMisc.Text = "Misc";
+ this.tpMisc.UseVisualStyleBackColor = true;
+ //
+ // groupBox5
+ //
+ this.groupBox5.Controls.Add(this.rbDisplayAbsoluteZero);
+ this.groupBox5.Controls.Add(this.rbDisplayMinimal);
+ this.groupBox5.Controls.Add(this.rbDisplayFull);
+ this.groupBox5.Location = new System.Drawing.Point(6, 6);
+ this.groupBox5.Name = "groupBox5";
+ this.groupBox5.Size = new System.Drawing.Size(371, 96);
+ this.groupBox5.TabIndex = 20;
+ this.groupBox5.TabStop = false;
+ this.groupBox5.Text = "Display Features (for speeding up replays)";
+ //
+ // rbDisplayAbsoluteZero
+ //
+ this.rbDisplayAbsoluteZero.AutoSize = true;
+ this.rbDisplayAbsoluteZero.Location = new System.Drawing.Point(7, 66);
+ this.rbDisplayAbsoluteZero.Name = "rbDisplayAbsoluteZero";
+ this.rbDisplayAbsoluteZero.Size = new System.Drawing.Size(174, 17);
+ this.rbDisplayAbsoluteZero.TabIndex = 2;
+ this.rbDisplayAbsoluteZero.TabStop = true;
+ this.rbDisplayAbsoluteZero.Text = "Absolute Zero - Display Nothing";
+ this.rbDisplayAbsoluteZero.UseVisualStyleBackColor = true;
+ //
+ // rbDisplayMinimal
+ //
+ this.rbDisplayMinimal.AutoSize = true;
+ this.rbDisplayMinimal.Enabled = false;
+ this.rbDisplayMinimal.Location = new System.Drawing.Point(7, 43);
+ this.rbDisplayMinimal.Name = "rbDisplayMinimal";
+ this.rbDisplayMinimal.Size = new System.Drawing.Size(185, 17);
+ this.rbDisplayMinimal.TabIndex = 1;
+ this.rbDisplayMinimal.TabStop = true;
+ this.rbDisplayMinimal.Text = "Minimal - Display HUD Only (TBD)";
+ this.rbDisplayMinimal.UseVisualStyleBackColor = true;
+ //
+ // rbDisplayFull
+ //
+ this.rbDisplayFull.AutoSize = true;
+ this.rbDisplayFull.Location = new System.Drawing.Point(7, 20);
+ this.rbDisplayFull.Name = "rbDisplayFull";
+ this.rbDisplayFull.Size = new System.Drawing.Size(137, 17);
+ this.rbDisplayFull.TabIndex = 0;
+ this.rbDisplayFull.TabStop = true;
+ this.rbDisplayFull.Text = "Full - Display Everything";
+ this.rbDisplayFull.UseVisualStyleBackColor = true;
+ //
+ // tabPage1
+ //
+ this.tabPage1.Controls.Add(this.cbAllowDoubleclickFullscreen);
+ this.tabPage1.Controls.Add(this.groupBox4);
+ this.tabPage1.Controls.Add(this.groupBox2);
+ this.tabPage1.Location = new System.Drawing.Point(4, 22);
+ this.tabPage1.Name = "tabPage1";
+ this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
+ this.tabPage1.Size = new System.Drawing.Size(528, 291);
+ this.tabPage1.TabIndex = 4;
+ this.tabPage1.Text = "Window";
+ this.tabPage1.UseVisualStyleBackColor = true;
+ //
+ // cbAllowDoubleclickFullscreen
+ //
+ this.cbAllowDoubleclickFullscreen.AutoSize = true;
+ this.cbAllowDoubleclickFullscreen.Location = new System.Drawing.Point(12, 223);
+ this.cbAllowDoubleclickFullscreen.Name = "cbAllowDoubleclickFullscreen";
+ this.cbAllowDoubleclickFullscreen.Size = new System.Drawing.Size(471, 17);
+ this.cbAllowDoubleclickFullscreen.TabIndex = 27;
+ this.cbAllowDoubleclickFullscreen.Text = "Allow Double-Click Fullscreen (hold shift to force fullscreen to toggle in case u" +
+ "sing zapper, etc.)";
+ this.cbAllowDoubleclickFullscreen.UseVisualStyleBackColor = true;
+ //
+ // groupBox4
+ //
+ this.groupBox4.Controls.Add(this.cbFSAutohideMouse);
+ this.groupBox4.Controls.Add(this.label1);
+ this.groupBox4.Controls.Add(this.cbFullscreenHacks);
+ this.groupBox4.Controls.Add(this.cbStatusBarFullscreen);
+ this.groupBox4.Controls.Add(this.cbMenuFullscreen);
+ this.groupBox4.Location = new System.Drawing.Point(143, 6);
+ this.groupBox4.Name = "groupBox4";
+ this.groupBox4.Size = new System.Drawing.Size(266, 211);
+ this.groupBox4.TabIndex = 27;
+ this.groupBox4.TabStop = false;
+ this.groupBox4.Text = "Fullscreen";
+ //
+ // cbFSAutohideMouse
+ //
+ this.cbFSAutohideMouse.AutoSize = true;
+ this.cbFSAutohideMouse.Location = new System.Drawing.Point(87, 19);
+ this.cbFSAutohideMouse.Name = "cbFSAutohideMouse";
+ this.cbFSAutohideMouse.Size = new System.Drawing.Size(141, 17);
+ this.cbFSAutohideMouse.TabIndex = 28;
+ this.cbFSAutohideMouse.Text = "Auto-Hide Mouse Cursor";
+ this.cbFSAutohideMouse.UseVisualStyleBackColor = true;
+ //
+ // label1
+ //
+ this.label1.Location = new System.Drawing.Point(7, 88);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(240, 115);
+ this.label1.TabIndex = 27;
+ this.label1.Text = resources.GetString("label1.Text");
+ //
+ // cbFullscreenHacks
+ //
+ this.cbFullscreenHacks.AutoSize = true;
+ this.cbFullscreenHacks.Location = new System.Drawing.Point(6, 65);
+ this.cbFullscreenHacks.Name = "cbFullscreenHacks";
+ this.cbFullscreenHacks.Size = new System.Drawing.Size(191, 17);
+ this.cbFullscreenHacks.TabIndex = 26;
+ this.cbFullscreenHacks.Text = "Enable Windows Fullscreen Hacks";
+ this.cbFullscreenHacks.UseVisualStyleBackColor = true;
+ //
+ // cbStatusBarFullscreen
+ //
+ this.cbStatusBarFullscreen.AutoSize = true;
+ this.cbStatusBarFullscreen.Location = new System.Drawing.Point(6, 19);
+ this.cbStatusBarFullscreen.Name = "cbStatusBarFullscreen";
+ this.cbStatusBarFullscreen.Size = new System.Drawing.Size(75, 17);
+ this.cbStatusBarFullscreen.TabIndex = 23;
+ this.cbStatusBarFullscreen.Text = "Status Bar";
+ this.cbStatusBarFullscreen.UseVisualStyleBackColor = true;
+ //
+ // cbMenuFullscreen
+ //
+ this.cbMenuFullscreen.AutoSize = true;
+ this.cbMenuFullscreen.Location = new System.Drawing.Point(6, 42);
+ this.cbMenuFullscreen.Name = "cbMenuFullscreen";
+ this.cbMenuFullscreen.Size = new System.Drawing.Size(53, 17);
+ this.cbMenuFullscreen.TabIndex = 25;
+ this.cbMenuFullscreen.Text = "Menu";
+ this.cbMenuFullscreen.UseVisualStyleBackColor = true;
+ //
+ // groupBox2
+ //
+ this.groupBox2.Controls.Add(this.lblFrameTypeWindowed);
+ this.groupBox2.Controls.Add(this.cbStatusBarWindowed);
+ this.groupBox2.Controls.Add(this.label9);
+ this.groupBox2.Controls.Add(this.cbMenuWindowed);
+ this.groupBox2.Controls.Add(this.trackbarFrameSizeWindowed);
+ this.groupBox2.Controls.Add(this.cbCaptionWindowed);
+ this.groupBox2.Location = new System.Drawing.Point(6, 6);
+ this.groupBox2.Name = "groupBox2";
+ this.groupBox2.Size = new System.Drawing.Size(131, 211);
+ this.groupBox2.TabIndex = 26;
+ this.groupBox2.TabStop = false;
+ this.groupBox2.Text = "Windowed";
+ //
+ // lblFrameTypeWindowed
+ //
+ this.lblFrameTypeWindowed.AutoSize = true;
+ this.lblFrameTypeWindowed.Location = new System.Drawing.Point(51, 17);
+ this.lblFrameTypeWindowed.Name = "lblFrameTypeWindowed";
+ this.lblFrameTypeWindowed.Size = new System.Drawing.Size(62, 13);
+ this.lblFrameTypeWindowed.TabIndex = 26;
+ this.lblFrameTypeWindowed.Text = "(frame type)";
+ //
+ // cbStatusBarWindowed
+ //
+ this.cbStatusBarWindowed.AutoSize = true;
+ this.cbStatusBarWindowed.Location = new System.Drawing.Point(9, 81);
+ this.cbStatusBarWindowed.Name = "cbStatusBarWindowed";
+ this.cbStatusBarWindowed.Size = new System.Drawing.Size(75, 17);
+ this.cbStatusBarWindowed.TabIndex = 23;
+ this.cbStatusBarWindowed.Text = "Status Bar";
+ this.cbStatusBarWindowed.UseVisualStyleBackColor = true;
+ //
+ // label9
+ //
+ this.label9.AutoSize = true;
+ this.label9.Location = new System.Drawing.Point(6, 17);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(39, 13);
+ this.label9.TabIndex = 22;
+ this.label9.Text = "Frame:";
+ //
+ // cbMenuWindowed
+ //
+ this.cbMenuWindowed.AutoSize = true;
+ this.cbMenuWindowed.Location = new System.Drawing.Point(9, 127);
+ this.cbMenuWindowed.Name = "cbMenuWindowed";
+ this.cbMenuWindowed.Size = new System.Drawing.Size(53, 17);
+ this.cbMenuWindowed.TabIndex = 25;
+ this.cbMenuWindowed.Text = "Menu";
+ this.cbMenuWindowed.UseVisualStyleBackColor = true;
+ //
+ // trackbarFrameSizeWindowed
+ //
+ this.trackbarFrameSizeWindowed.LargeChange = 1;
+ this.trackbarFrameSizeWindowed.Location = new System.Drawing.Point(6, 33);
+ this.trackbarFrameSizeWindowed.Maximum = 2;
+ this.trackbarFrameSizeWindowed.Name = "trackbarFrameSizeWindowed";
+ this.trackbarFrameSizeWindowed.Size = new System.Drawing.Size(99, 42);
+ this.trackbarFrameSizeWindowed.TabIndex = 21;
+ this.trackbarFrameSizeWindowed.Value = 1;
+ this.trackbarFrameSizeWindowed.ValueChanged += new System.EventHandler(this.TrackBarFrameSizeWindowed_ValueChanged);
+ //
+ // cbCaptionWindowed
+ //
+ this.cbCaptionWindowed.AutoSize = true;
+ this.cbCaptionWindowed.Location = new System.Drawing.Point(9, 104);
+ this.cbCaptionWindowed.Name = "cbCaptionWindowed";
+ this.cbCaptionWindowed.Size = new System.Drawing.Size(62, 17);
+ this.cbCaptionWindowed.TabIndex = 24;
+ this.cbCaptionWindowed.Text = "Caption";
+ this.cbCaptionWindowed.UseVisualStyleBackColor = true;
+ //
+ // linkLabel1
+ //
+ this.linkLabel1.AutoSize = true;
+ this.linkLabel1.Location = new System.Drawing.Point(12, 404);
+ this.linkLabel1.Name = "linkLabel1";
+ this.linkLabel1.Size = new System.Drawing.Size(79, 13);
+ this.linkLabel1.TabIndex = 18;
+ this.linkLabel1.TabStop = true;
+ this.linkLabel1.Text = "Documentation";
+ this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
+ //
+ // DisplayConfigLite
+ //
+ this.AcceptButton = this.btnOk;
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.CancelButton = this.btnCancel;
+ this.ClientSize = new System.Drawing.Size(564, 374);
+ this.Controls.Add(this.linkLabel1);
+ this.Controls.Add(this.tabControl1);
+ this.Controls.Add(this.btnCancel);
+ this.Controls.Add(this.btnOk);
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
+ this.Name = "DisplayConfig";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
+ this.Text = "Display Configuration";
+ this.groupBox1.ResumeLayout(false);
+ this.groupBox1.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.tbScanlineIntensity)).EndInit();
+ this.grpFinalFilter.ResumeLayout(false);
+ this.grpFinalFilter.PerformLayout();
+ this.grpARSelection.ResumeLayout(false);
+ this.grpARSelection.PerformLayout();
+ this.tabControl1.ResumeLayout(false);
+ this.tpAR.ResumeLayout(false);
+ this.tpAR.PerformLayout();
+ this.groupBox6.ResumeLayout(false);
+ this.groupBox6.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.nudPrescale)).EndInit();
+ this.tpDispMethod.ResumeLayout(false);
+ this.groupBox3.ResumeLayout(false);
+ this.groupBox3.PerformLayout();
+ this.tpMisc.ResumeLayout(false);
+ this.tpMisc.PerformLayout();
+ this.groupBox5.ResumeLayout(false);
+ this.groupBox5.PerformLayout();
+ this.tabPage1.ResumeLayout(false);
+ this.tabPage1.PerformLayout();
+ this.groupBox4.ResumeLayout(false);
+ this.groupBox4.PerformLayout();
+ this.groupBox2.ResumeLayout(false);
+ this.groupBox2.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.trackbarFrameSizeWindowed)).EndInit();
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Button btnCancel;
+ private System.Windows.Forms.Button btnOk;
+ private System.Windows.Forms.GroupBox groupBox1;
+ private System.Windows.Forms.RadioButton rbNone;
+ private System.Windows.Forms.RadioButton rbScanlines;
+ private System.Windows.Forms.RadioButton rbHq2x;
+ private BizHawk.Client.EmuHawk.TransparentTrackBar tbScanlineIntensity;
+ private System.Windows.Forms.CheckBox checkLetterbox;
+ private System.Windows.Forms.CheckBox checkPadInteger;
+ private System.Windows.Forms.GroupBox grpFinalFilter;
+ private System.Windows.Forms.RadioButton rbFinalFilterBicubic;
+ private System.Windows.Forms.RadioButton rbFinalFilterNone;
+ private System.Windows.Forms.RadioButton rbFinalFilterBilinear;
+ private System.Windows.Forms.Button btnSelectUserFilter;
+ private System.Windows.Forms.RadioButton rbUser;
+ private System.Windows.Forms.Label lblUserFilterName;
+ private System.Windows.Forms.RadioButton rbUseRaw;
+ private System.Windows.Forms.RadioButton rbUseSystem;
+ private System.Windows.Forms.GroupBox grpARSelection;
+ private System.Windows.Forms.Label lblScanlines;
+ private System.Windows.Forms.TextBox txtCustomARHeight;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.TextBox txtCustomARWidth;
+ private System.Windows.Forms.RadioButton rbUseCustom;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.RadioButton rbOpenGL;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.TabControl tabControl1;
+ private System.Windows.Forms.TabPage tpAR;
+ private System.Windows.Forms.TabPage tpDispMethod;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.GroupBox groupBox3;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.RadioButton rbGDIPlus;
+ private System.Windows.Forms.TabPage tpMisc;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.RadioButton rbD3D9;
+ private System.Windows.Forms.TabPage tabPage1;
+ private System.Windows.Forms.CheckBox cbStatusBarWindowed;
+ private System.Windows.Forms.Label label9;
+ private BizHawk.Client.EmuHawk.TransparentTrackBar trackbarFrameSizeWindowed;
+ private System.Windows.Forms.CheckBox cbMenuWindowed;
+ private System.Windows.Forms.CheckBox cbCaptionWindowed;
+ private System.Windows.Forms.GroupBox groupBox4;
+ private System.Windows.Forms.CheckBox cbStatusBarFullscreen;
+ private System.Windows.Forms.CheckBox cbMenuFullscreen;
+ private System.Windows.Forms.GroupBox groupBox2;
+ private System.Windows.Forms.Label lblFrameTypeWindowed;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.NumericUpDown nudPrescale;
+ private System.Windows.Forms.CheckBox cbFSAutohideMouse;
+ private System.Windows.Forms.GroupBox groupBox5;
+ private System.Windows.Forms.RadioButton rbDisplayAbsoluteZero;
+ private System.Windows.Forms.RadioButton rbDisplayMinimal;
+ private System.Windows.Forms.RadioButton rbDisplayFull;
+ private System.Windows.Forms.CheckBox cbAllowDoubleclickFullscreen;
+ private System.Windows.Forms.LinkLabel linkLabel1;
+ private System.Windows.Forms.RadioButton rbUseCustomRatio;
+ private System.Windows.Forms.TextBox txtCustomARY;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.TextBox txtCustomARX;
+ private System.Windows.Forms.CheckBox cbAutoPrescale;
+ private System.Windows.Forms.Label label13;
+ private System.Windows.Forms.CheckBox cbAlternateVsync;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.CheckBox cbFullscreenHacks;
+ private System.Windows.Forms.Button btnDefaults;
+ private System.Windows.Forms.ToolTip toolTip1;
+ private System.Windows.Forms.GroupBox groupBox6;
+ private System.Windows.Forms.Label label16;
+ private System.Windows.Forms.Label label15;
+ private System.Windows.Forms.TextBox txtCropBottom;
+ private System.Windows.Forms.Label label17;
+ private System.Windows.Forms.TextBox txtCropRight;
+ private System.Windows.Forms.TextBox txtCropTop;
+ private System.Windows.Forms.Label label14;
+ private System.Windows.Forms.TextBox txtCropLeft;
+ }
}
\ No newline at end of file
diff --git a/BizHawk.Client.EmuHawk/config/DisplayConfigLite.cs b/BizHawk.Client.EmuHawk/config/DisplayConfig.cs
similarity index 96%
rename from BizHawk.Client.EmuHawk/config/DisplayConfigLite.cs
rename to BizHawk.Client.EmuHawk/config/DisplayConfig.cs
index f49158adba..2b22ce8be4 100644
--- a/BizHawk.Client.EmuHawk/config/DisplayConfigLite.cs
+++ b/BizHawk.Client.EmuHawk/config/DisplayConfig.cs
@@ -1,308 +1,308 @@
-using System;
-using System.IO;
-using System.Windows.Forms;
-using BizHawk.Client.Common;
-using BizHawk.Common;
-
-namespace BizHawk.Client.EmuHawk
-{
- public partial class DisplayConfigLite : Form
- {
- public bool NeedReset;
-
- string _pathSelection;
-
- public DisplayConfigLite()
- {
- InitializeComponent();
-
- rbNone.Checked = Global.Config.TargetDisplayFilter == 0;
- rbHq2x.Checked = Global.Config.TargetDisplayFilter == 1;
- rbScanlines.Checked = Global.Config.TargetDisplayFilter == 2;
- rbUser.Checked = Global.Config.TargetDisplayFilter == 3;
-
- _pathSelection = Global.Config.DispUserFilterPath ?? "";
- RefreshState();
-
- rbFinalFilterNone.Checked = Global.Config.DispFinalFilter == 0;
- rbFinalFilterBilinear.Checked = Global.Config.DispFinalFilter == 1;
- rbFinalFilterBicubic.Checked = Global.Config.DispFinalFilter == 2;
-
- tbScanlineIntensity.Value = Global.Config.TargetScanlineFilterIntensity;
- checkLetterbox.Checked = Global.Config.DispFixAspectRatio;
- checkPadInteger.Checked = Global.Config.DispFixScaleInteger;
- cbFullscreenHacks.Checked = Global.Config.DispFullscreenHacks;
- cbAutoPrescale.Checked = Global.Config.DispAutoPrescale;
-
- cbAlternateVsync.Checked = Global.Config.DispAlternateVsync;
-
- if (Global.Config.DispSpeedupFeatures == 2) rbDisplayFull.Checked = true;
- if (Global.Config.DispSpeedupFeatures == 1) rbDisplayMinimal.Checked = true;
- if (Global.Config.DispSpeedupFeatures == 0) rbDisplayAbsoluteZero.Checked = true;
-
- rbOpenGL.Checked = Global.Config.DispMethod == Config.EDispMethod.OpenGL;
- rbGDIPlus.Checked = Global.Config.DispMethod == Config.EDispMethod.GdiPlus;
- rbD3D9.Checked = Global.Config.DispMethod == Config.EDispMethod.SlimDX9;
-
- cbStatusBarWindowed.Checked = Global.Config.DispChrome_StatusBarWindowed;
- cbCaptionWindowed.Checked = Global.Config.DispChrome_CaptionWindowed;
- cbMenuWindowed.Checked = Global.Config.DispChrome_MenuWindowed;
- cbStatusBarFullscreen.Checked = Global.Config.DispChrome_StatusBarFullscreen;
- cbMenuFullscreen.Checked = Global.Config.DispChrome_MenuFullscreen;
- trackbarFrameSizeWindowed.Value = Global.Config.DispChrome_FrameWindowed;
- cbFSAutohideMouse.Checked = Global.Config.DispChrome_Fullscreen_AutohideMouse;
- SyncTrackBar();
-
- cbAllowDoubleclickFullscreen.Checked = Global.Config.DispChrome_AllowDoubleClickFullscreen;
-
- nudPrescale.Value = Global.Config.DispPrescale;
-
- if (Global.Config.DispManagerAR == Config.EDispManagerAR.None)
- rbUseRaw.Checked = true;
- else if (Global.Config.DispManagerAR == Config.EDispManagerAR.System)
- rbUseSystem.Checked = true;
- else if (Global.Config.DispManagerAR == Config.EDispManagerAR.Custom)
- rbUseCustom.Checked = true;
- else if (Global.Config.DispManagerAR == Config.EDispManagerAR.CustomRatio)
- rbUseCustomRatio.Checked = true;
-
- if(Global.Config.DispCustomUserARWidth != -1)
- txtCustomARWidth.Text = Global.Config.DispCustomUserARWidth.ToString();
- if (Global.Config.DispCustomUserARHeight != -1)
- txtCustomARHeight.Text = Global.Config.DispCustomUserARHeight.ToString();
- if (Global.Config.DispCustomUserARX != -1)
- txtCustomARX.Text = Global.Config.DispCustomUserARX.ToString();
- if (Global.Config.DispCustomUserARY != -1)
- txtCustomARY.Text = Global.Config.DispCustomUserARY.ToString();
-
- txtCropLeft.Text = Global.Config.DispCropLeft.ToString();
- txtCropTop.Text = Global.Config.DispCropTop.ToString();
- txtCropRight.Text = Global.Config.DispCropRight.ToString();
- txtCropBottom.Text = Global.Config.DispCropBottom.ToString();
-
- RefreshAspectRatioOptions();
-
- if (OSTailoredCode.IsUnixHost)
- {
- // Disable SlimDX on Unix
- rbD3D9.Enabled = false;
- rbD3D9.AutoCheck = false;
- cbAlternateVsync.Enabled = false;
- label13.Enabled = false;
- label8.Enabled = false;
- }
- }
-
- private void btnOk_Click(object sender, EventArgs e)
- {
- if (rbNone.Checked)
- Global.Config.TargetDisplayFilter = 0;
- if (rbHq2x.Checked)
- Global.Config.TargetDisplayFilter = 1;
- if (rbScanlines.Checked)
- Global.Config.TargetDisplayFilter = 2;
- if (rbUser.Checked)
- Global.Config.TargetDisplayFilter = 3;
-
- if (rbFinalFilterNone.Checked)
- Global.Config.DispFinalFilter = 0;
- if (rbFinalFilterBilinear.Checked)
- Global.Config.DispFinalFilter = 1;
- if (rbFinalFilterBicubic.Checked)
- Global.Config.DispFinalFilter = 2;
-
- Global.Config.DispPrescale = (int)nudPrescale.Value;
-
- Global.Config.TargetScanlineFilterIntensity = tbScanlineIntensity.Value;
- Global.Config.DispFixAspectRatio = checkLetterbox.Checked;
- Global.Config.DispFixScaleInteger = checkPadInteger.Checked;
- Global.Config.DispFullscreenHacks = cbFullscreenHacks.Checked;
- Global.Config.DispAutoPrescale = cbAutoPrescale.Checked;
-
- Global.Config.DispAlternateVsync = cbAlternateVsync.Checked;
-
- Global.Config.DispChrome_StatusBarWindowed = cbStatusBarWindowed.Checked;
- Global.Config.DispChrome_CaptionWindowed = cbCaptionWindowed.Checked;
- Global.Config.DispChrome_MenuWindowed = cbMenuWindowed.Checked;
- Global.Config.DispChrome_StatusBarFullscreen = cbStatusBarFullscreen.Checked;
- Global.Config.DispChrome_MenuFullscreen = cbMenuFullscreen.Checked;
- Global.Config.DispChrome_FrameWindowed = trackbarFrameSizeWindowed.Value;
- Global.Config.DispChrome_Fullscreen_AutohideMouse = cbFSAutohideMouse.Checked;
- Global.Config.DispChrome_AllowDoubleClickFullscreen = cbAllowDoubleclickFullscreen.Checked;
-
- if (rbDisplayFull.Checked) Global.Config.DispSpeedupFeatures = 2;
- if (rbDisplayMinimal.Checked) Global.Config.DispSpeedupFeatures = 1;
- if (rbDisplayAbsoluteZero.Checked) Global.Config.DispSpeedupFeatures = 0;
-
- if (rbUseRaw.Checked)
- Global.Config.DispManagerAR = Config.EDispManagerAR.None;
- else if (rbUseSystem.Checked)
- Global.Config.DispManagerAR = Config.EDispManagerAR.System;
- else if (rbUseCustom.Checked)
- Global.Config.DispManagerAR = Config.EDispManagerAR.Custom;
- else if (rbUseCustomRatio.Checked)
- Global.Config.DispManagerAR = Config.EDispManagerAR.CustomRatio;
-
- if (txtCustomARWidth.Text != "")
- int.TryParse(txtCustomARWidth.Text, out Global.Config.DispCustomUserARWidth);
- else Global.Config.DispCustomUserARWidth = -1;
- if (txtCustomARHeight.Text != "")
- int.TryParse(txtCustomARHeight.Text, out Global.Config.DispCustomUserARHeight);
- else Global.Config.DispCustomUserARHeight = -1;
- if (txtCustomARX.Text != "")
- float.TryParse(txtCustomARX.Text, out Global.Config.DispCustomUserARX);
- else Global.Config.DispCustomUserARX = -1;
- if (txtCustomARY.Text != "")
- float.TryParse(txtCustomARY.Text, out Global.Config.DispCustomUserARY);
- else Global.Config.DispCustomUserARY = -1;
-
- var oldDisplayMethod = Global.Config.DispMethod;
- if(rbOpenGL.Checked)
- Global.Config.DispMethod = Config.EDispMethod.OpenGL;
- if(rbGDIPlus.Checked)
- Global.Config.DispMethod = Config.EDispMethod.GdiPlus;
- if(rbD3D9.Checked)
- Global.Config.DispMethod = Config.EDispMethod.SlimDX9;
-
- int.TryParse(txtCropLeft.Text, out Global.Config.DispCropLeft);
- int.TryParse(txtCropTop.Text, out Global.Config.DispCropTop);
- int.TryParse(txtCropRight.Text, out Global.Config.DispCropRight);
- int.TryParse(txtCropBottom.Text, out Global.Config.DispCropBottom);
-
- if (oldDisplayMethod != Global.Config.DispMethod)
- NeedReset = true;
-
- Global.Config.DispUserFilterPath = _pathSelection;
- GlobalWin.DisplayManager.RefreshUserShader();
-
- DialogResult = DialogResult.OK;
- Close();
- }
-
- void RefreshState()
- {
- lblUserFilterName.Text = Path.GetFileNameWithoutExtension(_pathSelection);
- }
-
- private void btnSelectUserFilter_Click(object sender, EventArgs e)
- {
- using var ofd = new OpenFileDialog
- {
- Filter = ".CGP (*.cgp)|*.cgp",
- FileName = _pathSelection
- };
- if (ofd.ShowDialog() == DialogResult.OK)
- {
- rbUser.Checked = true;
- var choice = Path.GetFullPath(ofd.FileName);
-
- //test the preset
- using (var stream = File.OpenRead(choice))
- {
- var cgp = new BizHawk.Client.EmuHawk.Filters.RetroShaderPreset(stream);
- if (cgp.ContainsGLSL)
- {
- MessageBox.Show("Specified CGP contains references to .glsl files. This is illegal. Use .cg");
- return;
- }
-
- //try compiling it
- bool ok = false;
- string errors = "";
- try
- {
- var filter = new BizHawk.Client.EmuHawk.Filters.RetroShaderChain(GlobalWin.GL, cgp, Path.GetDirectoryName(choice));
- ok = filter.Available;
- errors = filter.Errors;
- }
- catch {}
- if (!ok)
- {
- using var errorForm = new ExceptionBox(errors);
- errorForm.ShowDialog();
- return;
- }
- }
-
- _pathSelection = choice;
- RefreshState();
- }
- }
-
- private void checkLetterbox_CheckedChanged(object sender, EventArgs e)
- {
- RefreshAspectRatioOptions();
- }
- private void checkPadInteger_CheckedChanged(object sender, EventArgs e)
- {
- RefreshAspectRatioOptions();
- }
-
- private void rbUseRaw_CheckedChanged(object sender, EventArgs e)
- {
- RefreshAspectRatioOptions();
- }
-
- private void rbUseSystem_CheckedChanged(object sender, EventArgs e)
- {
- RefreshAspectRatioOptions();
- }
-
- void RefreshAspectRatioOptions()
- {
- grpARSelection.Enabled = checkLetterbox.Checked;
- checkPadInteger.Enabled = checkLetterbox.Checked;
- }
-
- public void tbScanlineIntensity_Scroll(object sender, EventArgs e)
- {
- Global.Config.TargetScanlineFilterIntensity = tbScanlineIntensity.Value;
- int scanlines = Global.Config.TargetScanlineFilterIntensity;
- float percentage = (float) scanlines / 256 * 100;
- lblScanlines.Text = $"{percentage:F2}%";
- }
-
- private void TrackBarFrameSizeWindowed_ValueChanged(object sender, EventArgs e)
- {
- SyncTrackBar();
- }
-
- void SyncTrackBar()
- {
- if (trackbarFrameSizeWindowed.Value == 0)
- {
- lblFrameTypeWindowed.Text = "None";
- }
-
- if (trackbarFrameSizeWindowed.Value == 1)
- {
- lblFrameTypeWindowed.Text = "Thin";
- }
-
- if (trackbarFrameSizeWindowed.Value == 2)
- {
- lblFrameTypeWindowed.Text = "Thick";
- }
- }
-
- private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
- {
- System.Diagnostics.Process.Start("http://tasvideos.org/Bizhawk/DisplayConfig.html");
- }
-
- private void label13_Click(object sender, EventArgs e)
- {
- cbAlternateVsync.Checked ^= true;
- }
-
- private void btnDefaults_Click(object sender, EventArgs e)
- {
- nudPrescale.Value = 1;
- rbNone.Checked = true;
- cbAutoPrescale.Checked = true;
- rbFinalFilterBilinear.Checked = true;
- checkLetterbox.Checked = true;
- rbUseSystem.Checked = true;
- }
- }
-}
+using System;
+using System.IO;
+using System.Windows.Forms;
+using BizHawk.Client.Common;
+using BizHawk.Common;
+
+namespace BizHawk.Client.EmuHawk
+{
+ public partial class DisplayConfig : Form
+ {
+ public bool NeedReset;
+
+ string _pathSelection;
+
+ public DisplayConfig()
+ {
+ InitializeComponent();
+
+ rbNone.Checked = Global.Config.TargetDisplayFilter == 0;
+ rbHq2x.Checked = Global.Config.TargetDisplayFilter == 1;
+ rbScanlines.Checked = Global.Config.TargetDisplayFilter == 2;
+ rbUser.Checked = Global.Config.TargetDisplayFilter == 3;
+
+ _pathSelection = Global.Config.DispUserFilterPath ?? "";
+ RefreshState();
+
+ rbFinalFilterNone.Checked = Global.Config.DispFinalFilter == 0;
+ rbFinalFilterBilinear.Checked = Global.Config.DispFinalFilter == 1;
+ rbFinalFilterBicubic.Checked = Global.Config.DispFinalFilter == 2;
+
+ tbScanlineIntensity.Value = Global.Config.TargetScanlineFilterIntensity;
+ checkLetterbox.Checked = Global.Config.DispFixAspectRatio;
+ checkPadInteger.Checked = Global.Config.DispFixScaleInteger;
+ cbFullscreenHacks.Checked = Global.Config.DispFullscreenHacks;
+ cbAutoPrescale.Checked = Global.Config.DispAutoPrescale;
+
+ cbAlternateVsync.Checked = Global.Config.DispAlternateVsync;
+
+ if (Global.Config.DispSpeedupFeatures == 2) rbDisplayFull.Checked = true;
+ if (Global.Config.DispSpeedupFeatures == 1) rbDisplayMinimal.Checked = true;
+ if (Global.Config.DispSpeedupFeatures == 0) rbDisplayAbsoluteZero.Checked = true;
+
+ rbOpenGL.Checked = Global.Config.DispMethod == Config.EDispMethod.OpenGL;
+ rbGDIPlus.Checked = Global.Config.DispMethod == Config.EDispMethod.GdiPlus;
+ rbD3D9.Checked = Global.Config.DispMethod == Config.EDispMethod.SlimDX9;
+
+ cbStatusBarWindowed.Checked = Global.Config.DispChrome_StatusBarWindowed;
+ cbCaptionWindowed.Checked = Global.Config.DispChrome_CaptionWindowed;
+ cbMenuWindowed.Checked = Global.Config.DispChrome_MenuWindowed;
+ cbStatusBarFullscreen.Checked = Global.Config.DispChrome_StatusBarFullscreen;
+ cbMenuFullscreen.Checked = Global.Config.DispChrome_MenuFullscreen;
+ trackbarFrameSizeWindowed.Value = Global.Config.DispChrome_FrameWindowed;
+ cbFSAutohideMouse.Checked = Global.Config.DispChrome_Fullscreen_AutohideMouse;
+ SyncTrackBar();
+
+ cbAllowDoubleclickFullscreen.Checked = Global.Config.DispChrome_AllowDoubleClickFullscreen;
+
+ nudPrescale.Value = Global.Config.DispPrescale;
+
+ if (Global.Config.DispManagerAR == Config.EDispManagerAR.None)
+ rbUseRaw.Checked = true;
+ else if (Global.Config.DispManagerAR == Config.EDispManagerAR.System)
+ rbUseSystem.Checked = true;
+ else if (Global.Config.DispManagerAR == Config.EDispManagerAR.Custom)
+ rbUseCustom.Checked = true;
+ else if (Global.Config.DispManagerAR == Config.EDispManagerAR.CustomRatio)
+ rbUseCustomRatio.Checked = true;
+
+ if(Global.Config.DispCustomUserARWidth != -1)
+ txtCustomARWidth.Text = Global.Config.DispCustomUserARWidth.ToString();
+ if (Global.Config.DispCustomUserARHeight != -1)
+ txtCustomARHeight.Text = Global.Config.DispCustomUserARHeight.ToString();
+ if (Global.Config.DispCustomUserARX != -1)
+ txtCustomARX.Text = Global.Config.DispCustomUserARX.ToString();
+ if (Global.Config.DispCustomUserARY != -1)
+ txtCustomARY.Text = Global.Config.DispCustomUserARY.ToString();
+
+ txtCropLeft.Text = Global.Config.DispCropLeft.ToString();
+ txtCropTop.Text = Global.Config.DispCropTop.ToString();
+ txtCropRight.Text = Global.Config.DispCropRight.ToString();
+ txtCropBottom.Text = Global.Config.DispCropBottom.ToString();
+
+ RefreshAspectRatioOptions();
+
+ if (OSTailoredCode.IsUnixHost)
+ {
+ // Disable SlimDX on Unix
+ rbD3D9.Enabled = false;
+ rbD3D9.AutoCheck = false;
+ cbAlternateVsync.Enabled = false;
+ label13.Enabled = false;
+ label8.Enabled = false;
+ }
+ }
+
+ private void btnOk_Click(object sender, EventArgs e)
+ {
+ if (rbNone.Checked)
+ Global.Config.TargetDisplayFilter = 0;
+ if (rbHq2x.Checked)
+ Global.Config.TargetDisplayFilter = 1;
+ if (rbScanlines.Checked)
+ Global.Config.TargetDisplayFilter = 2;
+ if (rbUser.Checked)
+ Global.Config.TargetDisplayFilter = 3;
+
+ if (rbFinalFilterNone.Checked)
+ Global.Config.DispFinalFilter = 0;
+ if (rbFinalFilterBilinear.Checked)
+ Global.Config.DispFinalFilter = 1;
+ if (rbFinalFilterBicubic.Checked)
+ Global.Config.DispFinalFilter = 2;
+
+ Global.Config.DispPrescale = (int)nudPrescale.Value;
+
+ Global.Config.TargetScanlineFilterIntensity = tbScanlineIntensity.Value;
+ Global.Config.DispFixAspectRatio = checkLetterbox.Checked;
+ Global.Config.DispFixScaleInteger = checkPadInteger.Checked;
+ Global.Config.DispFullscreenHacks = cbFullscreenHacks.Checked;
+ Global.Config.DispAutoPrescale = cbAutoPrescale.Checked;
+
+ Global.Config.DispAlternateVsync = cbAlternateVsync.Checked;
+
+ Global.Config.DispChrome_StatusBarWindowed = cbStatusBarWindowed.Checked;
+ Global.Config.DispChrome_CaptionWindowed = cbCaptionWindowed.Checked;
+ Global.Config.DispChrome_MenuWindowed = cbMenuWindowed.Checked;
+ Global.Config.DispChrome_StatusBarFullscreen = cbStatusBarFullscreen.Checked;
+ Global.Config.DispChrome_MenuFullscreen = cbMenuFullscreen.Checked;
+ Global.Config.DispChrome_FrameWindowed = trackbarFrameSizeWindowed.Value;
+ Global.Config.DispChrome_Fullscreen_AutohideMouse = cbFSAutohideMouse.Checked;
+ Global.Config.DispChrome_AllowDoubleClickFullscreen = cbAllowDoubleclickFullscreen.Checked;
+
+ if (rbDisplayFull.Checked) Global.Config.DispSpeedupFeatures = 2;
+ if (rbDisplayMinimal.Checked) Global.Config.DispSpeedupFeatures = 1;
+ if (rbDisplayAbsoluteZero.Checked) Global.Config.DispSpeedupFeatures = 0;
+
+ if (rbUseRaw.Checked)
+ Global.Config.DispManagerAR = Config.EDispManagerAR.None;
+ else if (rbUseSystem.Checked)
+ Global.Config.DispManagerAR = Config.EDispManagerAR.System;
+ else if (rbUseCustom.Checked)
+ Global.Config.DispManagerAR = Config.EDispManagerAR.Custom;
+ else if (rbUseCustomRatio.Checked)
+ Global.Config.DispManagerAR = Config.EDispManagerAR.CustomRatio;
+
+ if (txtCustomARWidth.Text != "")
+ int.TryParse(txtCustomARWidth.Text, out Global.Config.DispCustomUserARWidth);
+ else Global.Config.DispCustomUserARWidth = -1;
+ if (txtCustomARHeight.Text != "")
+ int.TryParse(txtCustomARHeight.Text, out Global.Config.DispCustomUserARHeight);
+ else Global.Config.DispCustomUserARHeight = -1;
+ if (txtCustomARX.Text != "")
+ float.TryParse(txtCustomARX.Text, out Global.Config.DispCustomUserARX);
+ else Global.Config.DispCustomUserARX = -1;
+ if (txtCustomARY.Text != "")
+ float.TryParse(txtCustomARY.Text, out Global.Config.DispCustomUserARY);
+ else Global.Config.DispCustomUserARY = -1;
+
+ var oldDisplayMethod = Global.Config.DispMethod;
+ if(rbOpenGL.Checked)
+ Global.Config.DispMethod = Config.EDispMethod.OpenGL;
+ if(rbGDIPlus.Checked)
+ Global.Config.DispMethod = Config.EDispMethod.GdiPlus;
+ if(rbD3D9.Checked)
+ Global.Config.DispMethod = Config.EDispMethod.SlimDX9;
+
+ int.TryParse(txtCropLeft.Text, out Global.Config.DispCropLeft);
+ int.TryParse(txtCropTop.Text, out Global.Config.DispCropTop);
+ int.TryParse(txtCropRight.Text, out Global.Config.DispCropRight);
+ int.TryParse(txtCropBottom.Text, out Global.Config.DispCropBottom);
+
+ if (oldDisplayMethod != Global.Config.DispMethod)
+ NeedReset = true;
+
+ Global.Config.DispUserFilterPath = _pathSelection;
+ GlobalWin.DisplayManager.RefreshUserShader();
+
+ DialogResult = DialogResult.OK;
+ Close();
+ }
+
+ void RefreshState()
+ {
+ lblUserFilterName.Text = Path.GetFileNameWithoutExtension(_pathSelection);
+ }
+
+ private void btnSelectUserFilter_Click(object sender, EventArgs e)
+ {
+ using var ofd = new OpenFileDialog
+ {
+ Filter = ".CGP (*.cgp)|*.cgp",
+ FileName = _pathSelection
+ };
+ if (ofd.ShowDialog() == DialogResult.OK)
+ {
+ rbUser.Checked = true;
+ var choice = Path.GetFullPath(ofd.FileName);
+
+ //test the preset
+ using (var stream = File.OpenRead(choice))
+ {
+ var cgp = new BizHawk.Client.EmuHawk.Filters.RetroShaderPreset(stream);
+ if (cgp.ContainsGLSL)
+ {
+ MessageBox.Show("Specified CGP contains references to .glsl files. This is illegal. Use .cg");
+ return;
+ }
+
+ //try compiling it
+ bool ok = false;
+ string errors = "";
+ try
+ {
+ var filter = new BizHawk.Client.EmuHawk.Filters.RetroShaderChain(GlobalWin.GL, cgp, Path.GetDirectoryName(choice));
+ ok = filter.Available;
+ errors = filter.Errors;
+ }
+ catch {}
+ if (!ok)
+ {
+ using var errorForm = new ExceptionBox(errors);
+ errorForm.ShowDialog();
+ return;
+ }
+ }
+
+ _pathSelection = choice;
+ RefreshState();
+ }
+ }
+
+ private void checkLetterbox_CheckedChanged(object sender, EventArgs e)
+ {
+ RefreshAspectRatioOptions();
+ }
+ private void checkPadInteger_CheckedChanged(object sender, EventArgs e)
+ {
+ RefreshAspectRatioOptions();
+ }
+
+ private void rbUseRaw_CheckedChanged(object sender, EventArgs e)
+ {
+ RefreshAspectRatioOptions();
+ }
+
+ private void rbUseSystem_CheckedChanged(object sender, EventArgs e)
+ {
+ RefreshAspectRatioOptions();
+ }
+
+ void RefreshAspectRatioOptions()
+ {
+ grpARSelection.Enabled = checkLetterbox.Checked;
+ checkPadInteger.Enabled = checkLetterbox.Checked;
+ }
+
+ public void tbScanlineIntensity_Scroll(object sender, EventArgs e)
+ {
+ Global.Config.TargetScanlineFilterIntensity = tbScanlineIntensity.Value;
+ int scanlines = Global.Config.TargetScanlineFilterIntensity;
+ float percentage = (float) scanlines / 256 * 100;
+ lblScanlines.Text = $"{percentage:F2}%";
+ }
+
+ private void TrackBarFrameSizeWindowed_ValueChanged(object sender, EventArgs e)
+ {
+ SyncTrackBar();
+ }
+
+ void SyncTrackBar()
+ {
+ if (trackbarFrameSizeWindowed.Value == 0)
+ {
+ lblFrameTypeWindowed.Text = "None";
+ }
+
+ if (trackbarFrameSizeWindowed.Value == 1)
+ {
+ lblFrameTypeWindowed.Text = "Thin";
+ }
+
+ if (trackbarFrameSizeWindowed.Value == 2)
+ {
+ lblFrameTypeWindowed.Text = "Thick";
+ }
+ }
+
+ private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
+ {
+ System.Diagnostics.Process.Start("http://tasvideos.org/Bizhawk/DisplayConfig.html");
+ }
+
+ private void label13_Click(object sender, EventArgs e)
+ {
+ cbAlternateVsync.Checked ^= true;
+ }
+
+ private void btnDefaults_Click(object sender, EventArgs e)
+ {
+ nudPrescale.Value = 1;
+ rbNone.Checked = true;
+ cbAutoPrescale.Checked = true;
+ rbFinalFilterBilinear.Checked = true;
+ checkLetterbox.Checked = true;
+ rbUseSystem.Checked = true;
+ }
+ }
+}
diff --git a/BizHawk.Client.EmuHawk/config/DisplayConfigLite.resx b/BizHawk.Client.EmuHawk/config/DisplayConfig.resx
similarity index 98%
rename from BizHawk.Client.EmuHawk/config/DisplayConfigLite.resx
rename to BizHawk.Client.EmuHawk/config/DisplayConfig.resx
index c5e4444e45..b5f9f6fbec 100644
--- a/BizHawk.Client.EmuHawk/config/DisplayConfigLite.resx
+++ b/BizHawk.Client.EmuHawk/config/DisplayConfig.resx
@@ -1,132 +1,132 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 17, 17
-
-
- Alternate VSync Method: Some GPUs have problems VSyncing. It seems to manifest on full-screen windows. There will be hiccups when throttling to VSync. Use this to try and solve it (busy loop; burns major CPU)
-
-
- For Windows operating systems >= Vista, with some video cards, the monitors may flicker when going 'windowed fullscreen' while the system disobeys us and goes actual fullscreen instead. This hack prevents that, but may increase frame latency (since in Microsoft's new and disimproved operating systems, windowed mode things may have higher latency)
-
-
- 17, 17
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 17, 17
+
+
+ Alternate VSync Method: Some GPUs have problems VSyncing. It seems to manifest on full-screen windows. There will be hiccups when throttling to VSync. Use this to try and solve it (busy loop; burns major CPU)
+
+
+ For Windows operating systems >= Vista, with some video cards, the monitors may flicker when going 'windowed fullscreen' while the system disobeys us and goes actual fullscreen instead. This hack prevents that, but may increase frame latency (since in Microsoft's new and disimproved operating systems, windowed mode things may have higher latency)
+
+
+ 17, 17
+
\ No newline at end of file