Debugger: Fixed blurry pixels in CHR viewer

This commit is contained in:
Souryo 2017-11-14 20:56:56 -05:00
parent 13103551cf
commit ce1b190928
5 changed files with 30 additions and 31 deletions

View File

@ -100,7 +100,7 @@
//
this.grpDisplayOptions.Controls.Add(this.tableLayoutPanel1);
this.grpDisplayOptions.Dock = System.Windows.Forms.DockStyle.Top;
this.grpDisplayOptions.Location = new System.Drawing.Point(267, 300);
this.grpDisplayOptions.Location = new System.Drawing.Point(269, 300);
this.grpDisplayOptions.Name = "grpDisplayOptions";
this.grpDisplayOptions.Size = new System.Drawing.Size(264, 133);
this.grpDisplayOptions.TabIndex = 4;
@ -262,7 +262,7 @@
//
this.grpTileInfo.Controls.Add(this.tableLayoutPanel4);
this.grpTileInfo.Dock = System.Windows.Forms.DockStyle.Top;
this.grpTileInfo.Location = new System.Drawing.Point(267, 3);
this.grpTileInfo.Location = new System.Drawing.Point(269, 3);
this.grpTileInfo.Name = "grpTileInfo";
this.grpTileInfo.Size = new System.Drawing.Size(264, 291);
this.grpTileInfo.TabIndex = 4;
@ -412,7 +412,7 @@
this.tableLayoutPanel3.SetRowSpan(this.tableLayoutPanel2, 2);
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel2.Size = new System.Drawing.Size(258, 519);
this.tableLayoutPanel2.Size = new System.Drawing.Size(260, 520);
this.tableLayoutPanel2.TabIndex = 7;
//
// picChrBank1
@ -423,7 +423,7 @@
this.picChrBank1.Location = new System.Drawing.Point(1, 1);
this.picChrBank1.Margin = new System.Windows.Forms.Padding(1);
this.picChrBank1.Name = "picChrBank1";
this.picChrBank1.Size = new System.Drawing.Size(256, 257);
this.picChrBank1.Size = new System.Drawing.Size(258, 258);
this.picChrBank1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.picChrBank1.TabIndex = 0;
this.picChrBank1.TabStop = false;
@ -451,10 +451,10 @@
this.picChrBank2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.picChrBank2.ContextMenuStrip = this.ctxMenu;
this.picChrBank2.Cursor = System.Windows.Forms.Cursors.Hand;
this.picChrBank2.Location = new System.Drawing.Point(1, 260);
this.picChrBank2.Location = new System.Drawing.Point(1, 261);
this.picChrBank2.Margin = new System.Windows.Forms.Padding(1);
this.picChrBank2.Name = "picChrBank2";
this.picChrBank2.Size = new System.Drawing.Size(256, 257);
this.picChrBank2.Size = new System.Drawing.Size(258, 258);
this.picChrBank2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.picChrBank2.TabIndex = 1;
this.picChrBank2.TabStop = false;

View File

@ -91,8 +91,8 @@
//
this.picNametable.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.picNametable.ContextMenuStrip = this.ctxMenu;
this.picNametable.Location = new System.Drawing.Point(1, 1);
this.picNametable.Margin = new System.Windows.Forms.Padding(1);
this.picNametable.Location = new System.Drawing.Point(4, 4);
this.picNametable.Margin = new System.Windows.Forms.Padding(4);
this.picNametable.Name = "picNametable";
this.tableLayoutPanel1.SetRowSpan(this.picNametable, 2);
this.picNametable.Size = new System.Drawing.Size(514, 482);
@ -138,9 +138,9 @@
this.grpTileInfo.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.grpTileInfo.Controls.Add(this.tableLayoutPanel2);
this.grpTileInfo.Dock = System.Windows.Forms.DockStyle.Fill;
this.grpTileInfo.Location = new System.Drawing.Point(519, 3);
this.grpTileInfo.Location = new System.Drawing.Point(525, 3);
this.grpTileInfo.Name = "grpTileInfo";
this.grpTileInfo.Size = new System.Drawing.Size(175, 375);
this.grpTileInfo.Size = new System.Drawing.Size(169, 375);
this.grpTileInfo.TabIndex = 4;
this.grpTileInfo.TabStop = false;
this.grpTileInfo.Text = "Tile Info";
@ -187,7 +187,7 @@
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel2.Size = new System.Drawing.Size(169, 320);
this.tableLayoutPanel2.Size = new System.Drawing.Size(163, 356);
this.tableLayoutPanel2.TabIndex = 0;
//
// txtPpuAddress
@ -382,10 +382,10 @@
this.flowLayoutPanel1.Controls.Add(this.chkShowAttributeGrid);
this.flowLayoutPanel1.Controls.Add(this.chkHighlightChrTile);
this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.flowLayoutPanel1.Location = new System.Drawing.Point(516, 345);
this.flowLayoutPanel1.Location = new System.Drawing.Point(522, 381);
this.flowLayoutPanel1.Margin = new System.Windows.Forms.Padding(0);
this.flowLayoutPanel1.Name = "flowLayoutPanel1";
this.flowLayoutPanel1.Size = new System.Drawing.Size(181, 139);
this.flowLayoutPanel1.Size = new System.Drawing.Size(175, 109);
this.flowLayoutPanel1.TabIndex = 5;
//
// chkShowPpuScrollOverlay

View File

@ -53,10 +53,10 @@
//
this.grpColorInfo.Controls.Add(this.tableLayoutPanel4);
this.grpColorInfo.Dock = System.Windows.Forms.DockStyle.Fill;
this.grpColorInfo.Location = new System.Drawing.Point(135, 3);
this.grpColorInfo.Location = new System.Drawing.Point(141, 3);
this.grpColorInfo.Name = "grpColorInfo";
this.tableLayoutPanel3.SetRowSpan(this.grpColorInfo, 2);
this.grpColorInfo.Size = new System.Drawing.Size(544, 305);
this.grpColorInfo.Size = new System.Drawing.Size(538, 305);
this.grpColorInfo.TabIndex = 4;
this.grpColorInfo.TabStop = false;
this.grpColorInfo.Text = "Color Info";
@ -83,7 +83,7 @@
this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
this.tableLayoutPanel4.Size = new System.Drawing.Size(538, 286);
this.tableLayoutPanel4.Size = new System.Drawing.Size(532, 286);
this.tableLayoutPanel4.TabIndex = 0;
//
// txtPaletteAddress
@ -164,8 +164,8 @@
//
this.picPalette.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.picPalette.Cursor = System.Windows.Forms.Cursors.Hand;
this.picPalette.Location = new System.Drawing.Point(1, 1);
this.picPalette.Margin = new System.Windows.Forms.Padding(1);
this.picPalette.Location = new System.Drawing.Point(4, 4);
this.picPalette.Margin = new System.Windows.Forms.Padding(4);
this.picPalette.Name = "picPalette";
this.picPalette.Size = new System.Drawing.Size(130, 258);
this.picPalette.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
@ -180,9 +180,9 @@
this.flowLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.flowLayoutPanel1.Controls.Add(this.picHelp);
this.flowLayoutPanel1.Controls.Add(this.lblClickColorHint);
this.flowLayoutPanel1.Location = new System.Drawing.Point(3, 263);
this.flowLayoutPanel1.Location = new System.Drawing.Point(3, 269);
this.flowLayoutPanel1.Name = "flowLayoutPanel1";
this.flowLayoutPanel1.Size = new System.Drawing.Size(122, 42);
this.flowLayoutPanel1.Size = new System.Drawing.Size(122, 39);
this.flowLayoutPanel1.TabIndex = 5;
//
// picHelp

View File

@ -86,9 +86,9 @@
//
this.grpSpriteInfo.Controls.Add(this.tableLayoutPanel4);
this.grpSpriteInfo.Dock = System.Windows.Forms.DockStyle.Fill;
this.grpSpriteInfo.Location = new System.Drawing.Point(263, 3);
this.grpSpriteInfo.Location = new System.Drawing.Point(269, 3);
this.grpSpriteInfo.Name = "grpSpriteInfo";
this.grpSpriteInfo.Size = new System.Drawing.Size(416, 521);
this.grpSpriteInfo.Size = new System.Drawing.Size(410, 521);
this.grpSpriteInfo.TabIndex = 4;
this.grpSpriteInfo.TabStop = false;
this.grpSpriteInfo.Text = "Sprite Info";
@ -128,7 +128,7 @@
this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel4.Size = new System.Drawing.Size(410, 502);
this.tableLayoutPanel4.Size = new System.Drawing.Size(404, 502);
this.tableLayoutPanel4.TabIndex = 0;
//
// lblPalette
@ -385,8 +385,8 @@
//
this.picSprites.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.picSprites.ContextMenuStrip = this.ctxMenu;
this.picSprites.Location = new System.Drawing.Point(1, 1);
this.picSprites.Margin = new System.Windows.Forms.Padding(1);
this.picSprites.Location = new System.Drawing.Point(4, 4);
this.picSprites.Margin = new System.Windows.Forms.Padding(4);
this.picSprites.Name = "picSprites";
this.picSprites.Size = new System.Drawing.Size(258, 514);
this.picSprites.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;

View File

@ -144,7 +144,6 @@ namespace Mesen.GUI.Debugger
this.tpgNametableViewer.Controls.Add(this.ctrlNametableViewer);
this.tpgNametableViewer.Location = new System.Drawing.Point(4, 22);
this.tpgNametableViewer.Name = "tpgNametableViewer";
this.tpgNametableViewer.Padding = new System.Windows.Forms.Padding(3);
this.tpgNametableViewer.Size = new System.Drawing.Size(701, 526);
this.tpgNametableViewer.TabIndex = 0;
this.tpgNametableViewer.Text = "Nametable Viewer";
@ -153,9 +152,9 @@ namespace Mesen.GUI.Debugger
// ctrlNametableViewer
//
this.ctrlNametableViewer.Dock = System.Windows.Forms.DockStyle.Fill;
this.ctrlNametableViewer.Location = new System.Drawing.Point(3, 3);
this.ctrlNametableViewer.Location = new System.Drawing.Point(0, 0);
this.ctrlNametableViewer.Name = "ctrlNametableViewer";
this.ctrlNametableViewer.Size = new System.Drawing.Size(695, 520);
this.ctrlNametableViewer.Size = new System.Drawing.Size(701, 526);
this.ctrlNametableViewer.TabIndex = 0;
this.ctrlNametableViewer.OnSelectChrTile += new System.EventHandler(this.ctrlNametableViewer_OnSelectChrTile);
//
@ -164,7 +163,6 @@ namespace Mesen.GUI.Debugger
this.tpgChrViewer.Controls.Add(this.ctrlChrViewer);
this.tpgChrViewer.Location = new System.Drawing.Point(4, 22);
this.tpgChrViewer.Name = "tpgChrViewer";
this.tpgChrViewer.Padding = new System.Windows.Forms.Padding(3);
this.tpgChrViewer.Size = new System.Drawing.Size(701, 526);
this.tpgChrViewer.TabIndex = 1;
this.tpgChrViewer.Text = "CHR Viewer";
@ -173,9 +171,10 @@ namespace Mesen.GUI.Debugger
// ctrlChrViewer
//
this.ctrlChrViewer.Dock = System.Windows.Forms.DockStyle.Fill;
this.ctrlChrViewer.Location = new System.Drawing.Point(3, 3);
this.ctrlChrViewer.Location = new System.Drawing.Point(0, 0);
this.ctrlChrViewer.Margin = new System.Windows.Forms.Padding(0);
this.ctrlChrViewer.Name = "ctrlChrViewer";
this.ctrlChrViewer.Size = new System.Drawing.Size(695, 520);
this.ctrlChrViewer.Size = new System.Drawing.Size(701, 526);
this.ctrlChrViewer.TabIndex = 2;
//
// tpgSpriteViewer