Start a PaletteViewer control for the NES PPU Viewer dialog
This commit is contained in:
parent
7c06a7174f
commit
fa45726e3c
|
@ -135,6 +135,9 @@
|
||||||
<Compile Include="NEStools\NESPPU.Designer.cs">
|
<Compile Include="NEStools\NESPPU.Designer.cs">
|
||||||
<DependentUpon>NESPPU.cs</DependentUpon>
|
<DependentUpon>NESPPU.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="NEStools\PaletteViewer.cs">
|
||||||
|
<SubType>Component</SubType>
|
||||||
|
</Compile>
|
||||||
<Compile Include="PlayMovie.cs">
|
<Compile Include="PlayMovie.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
|
|
@ -29,7 +29,9 @@
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||||
this.PalettesGroups = new System.Windows.Forms.GroupBox();
|
this.PalettesGroup = new System.Windows.Forms.GroupBox();
|
||||||
|
this.PaletteView = new PaletteViewer();
|
||||||
|
this.PalettesGroup.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// groupBox1
|
// groupBox1
|
||||||
|
@ -41,25 +43,34 @@
|
||||||
this.groupBox1.TabStop = false;
|
this.groupBox1.TabStop = false;
|
||||||
this.groupBox1.Text = "Pattern Tables";
|
this.groupBox1.Text = "Pattern Tables";
|
||||||
//
|
//
|
||||||
// PalettesGroups
|
// PalettesGroup
|
||||||
//
|
//
|
||||||
this.PalettesGroups.Location = new System.Drawing.Point(12, 262);
|
this.PalettesGroup.Controls.Add(this.PaletteView);
|
||||||
this.PalettesGroups.Name = "PalettesGroups";
|
this.PalettesGroup.Location = new System.Drawing.Point(12, 262);
|
||||||
this.PalettesGroups.Size = new System.Drawing.Size(415, 84);
|
this.PalettesGroup.Name = "PalettesGroup";
|
||||||
this.PalettesGroups.TabIndex = 1;
|
this.PalettesGroup.Size = new System.Drawing.Size(415, 84);
|
||||||
this.PalettesGroups.TabStop = false;
|
this.PalettesGroup.TabIndex = 1;
|
||||||
this.PalettesGroups.Text = "Palettes";
|
this.PalettesGroup.TabStop = false;
|
||||||
|
this.PalettesGroup.Text = "Palettes";
|
||||||
|
//
|
||||||
|
// PaletteView
|
||||||
|
//
|
||||||
|
this.PaletteView.Location = new System.Drawing.Point(69, 35);
|
||||||
|
this.PaletteView.Name = "PaletteView";
|
||||||
|
this.PaletteView.TabIndex = 0;
|
||||||
//
|
//
|
||||||
// NESPPU
|
// NESPPU
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.ClientSize = new System.Drawing.Size(443, 359);
|
this.ClientSize = new System.Drawing.Size(443, 359);
|
||||||
this.Controls.Add(this.PalettesGroups);
|
this.Controls.Add(this.PalettesGroup);
|
||||||
this.Controls.Add(this.groupBox1);
|
this.Controls.Add(this.groupBox1);
|
||||||
this.Name = "NESPPU";
|
this.Name = "NESPPU";
|
||||||
this.Text = "PPU Viewer";
|
this.Text = "PPU Viewer";
|
||||||
this.Load += new System.EventHandler(this.NESPPU_Load);
|
this.Load += new System.EventHandler(this.NESPPU_Load);
|
||||||
|
this.PalettesGroup.ResumeLayout(false);
|
||||||
|
this.PalettesGroup.PerformLayout();
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -67,6 +78,7 @@
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private System.Windows.Forms.GroupBox groupBox1;
|
private System.Windows.Forms.GroupBox groupBox1;
|
||||||
private System.Windows.Forms.GroupBox PalettesGroups;
|
private System.Windows.Forms.GroupBox PalettesGroup;
|
||||||
|
private PaletteViewer PaletteView;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue