1 using Mesen.GUI.Controls; 2 3 namespace Mesen.GUI.Debugger.Controls 4 { 5 partial class ctrlPaletteViewer 6 { 7 /// <summary> 8 /// Required designer variable. 9 /// </summary> 10 private System.ComponentModel.IContainer components = null; 11 12 /// <summary> 13 /// Clean up any resources being used. 14 /// </summary> 15 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> Dispose(bool disposing)16 protected override void Dispose(bool disposing) 17 { 18 if(disposing && (components != null)) { 19 components.Dispose(); 20 } 21 base.Dispose(disposing); 22 } 23 24 #region Component Designer generated code 25 26 /// <summary> 27 /// Required method for Designer support - do not modify 28 /// the contents of this method with the code editor. 29 /// </summary> InitializeComponent()30 private void InitializeComponent() 31 { 32 this.components = new System.ComponentModel.Container(); 33 this.grpColorInfo = new System.Windows.Forms.GroupBox(); 34 this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel(); 35 this.txtPaletteAddress = new System.Windows.Forms.TextBox(); 36 this.lblColor = new System.Windows.Forms.Label(); 37 this.lblPaletteAddress = new System.Windows.Forms.Label(); 38 this.lblColorTile = new System.Windows.Forms.Label(); 39 this.txtColor = new System.Windows.Forms.TextBox(); 40 this.picColor = new System.Windows.Forms.PictureBox(); 41 this.lblColorHex = new System.Windows.Forms.Label(); 42 this.label1 = new System.Windows.Forms.Label(); 43 this.txtColorCodeHex = new System.Windows.Forms.TextBox(); 44 this.txtColorCodeRgb = new System.Windows.Forms.TextBox(); 45 this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); 46 this.lblPaletteSprites = new System.Windows.Forms.Label(); 47 this.picPaletteSprites = new Mesen.GUI.Controls.ctrlMesenPictureBox(); 48 this.ctxMenu = new System.Windows.Forms.ContextMenuStrip(this.components); 49 this.mnuCopyHexColor = new System.Windows.Forms.ToolStripMenuItem(); 50 this.mnuCopyRgbColor = new System.Windows.Forms.ToolStripMenuItem(); 51 this.picPaletteBg = new Mesen.GUI.Controls.ctrlMesenPictureBox(); 52 this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); 53 this.picHelp = new System.Windows.Forms.PictureBox(); 54 this.lblClickColorHint = new System.Windows.Forms.Label(); 55 this.lblBgPalette = new System.Windows.Forms.Label(); 56 this.grpColorInfo.SuspendLayout(); 57 this.tableLayoutPanel4.SuspendLayout(); 58 ((System.ComponentModel.ISupportInitialize)(this.picColor)).BeginInit(); 59 this.tableLayoutPanel3.SuspendLayout(); 60 ((System.ComponentModel.ISupportInitialize)(this.picPaletteSprites)).BeginInit(); 61 this.ctxMenu.SuspendLayout(); 62 ((System.ComponentModel.ISupportInitialize)(this.picPaletteBg)).BeginInit(); 63 this.flowLayoutPanel1.SuspendLayout(); 64 ((System.ComponentModel.ISupportInitialize)(this.picHelp)).BeginInit(); 65 this.SuspendLayout(); 66 // 67 // grpColorInfo 68 // 69 this.grpColorInfo.Controls.Add(this.tableLayoutPanel4); 70 this.grpColorInfo.Location = new System.Drawing.Point(273, 3); 71 this.grpColorInfo.Name = "grpColorInfo"; 72 this.tableLayoutPanel3.SetRowSpan(this.grpColorInfo, 3); 73 this.grpColorInfo.Size = new System.Drawing.Size(425, 205); 74 this.grpColorInfo.TabIndex = 4; 75 this.grpColorInfo.TabStop = false; 76 this.grpColorInfo.Text = "Color Info"; 77 // 78 // tableLayoutPanel4 79 // 80 this.tableLayoutPanel4.ColumnCount = 2; 81 this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); 82 this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); 83 this.tableLayoutPanel4.Controls.Add(this.txtPaletteAddress, 1, 1); 84 this.tableLayoutPanel4.Controls.Add(this.lblColor, 0, 0); 85 this.tableLayoutPanel4.Controls.Add(this.lblPaletteAddress, 0, 1); 86 this.tableLayoutPanel4.Controls.Add(this.lblColorTile, 0, 2); 87 this.tableLayoutPanel4.Controls.Add(this.txtColor, 1, 0); 88 this.tableLayoutPanel4.Controls.Add(this.picColor, 1, 2); 89 this.tableLayoutPanel4.Controls.Add(this.lblColorHex, 0, 3); 90 this.tableLayoutPanel4.Controls.Add(this.label1, 0, 4); 91 this.tableLayoutPanel4.Controls.Add(this.txtColorCodeHex, 1, 3); 92 this.tableLayoutPanel4.Controls.Add(this.txtColorCodeRgb, 1, 4); 93 this.tableLayoutPanel4.Location = new System.Drawing.Point(3, 16); 94 this.tableLayoutPanel4.Name = "tableLayoutPanel4"; 95 this.tableLayoutPanel4.RowCount = 6; 96 this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle()); 97 this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle()); 98 this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle()); 99 this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle()); 100 this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle()); 101 this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); 102 this.tableLayoutPanel4.Size = new System.Drawing.Size(382, 183); 103 this.tableLayoutPanel4.TabIndex = 0; 104 // 105 // txtPaletteAddress 106 // 107 this.txtPaletteAddress.BackColor = System.Drawing.SystemColors.ControlLightLight; 108 this.txtPaletteAddress.Location = new System.Drawing.Point(103, 29); 109 this.txtPaletteAddress.Name = "txtPaletteAddress"; 110 this.txtPaletteAddress.ReadOnly = true; 111 this.txtPaletteAddress.Size = new System.Drawing.Size(42, 20); 112 this.txtPaletteAddress.TabIndex = 8; 113 // 114 // lblColor 115 // 116 this.lblColor.Anchor = System.Windows.Forms.AnchorStyles.Left; 117 this.lblColor.AutoSize = true; 118 this.lblColor.Location = new System.Drawing.Point(3, 6); 119 this.lblColor.Name = "lblColor"; 120 this.lblColor.Size = new System.Drawing.Size(34, 13); 121 this.lblColor.TabIndex = 0; 122 this.lblColor.Text = "Color:"; 123 // 124 // lblPaletteAddress 125 // 126 this.lblPaletteAddress.Anchor = System.Windows.Forms.AnchorStyles.Left; 127 this.lblPaletteAddress.AutoSize = true; 128 this.lblPaletteAddress.Location = new System.Drawing.Point(3, 32); 129 this.lblPaletteAddress.Name = "lblPaletteAddress"; 130 this.lblPaletteAddress.Size = new System.Drawing.Size(84, 13); 131 this.lblPaletteAddress.TabIndex = 1; 132 this.lblPaletteAddress.Text = "Palette Address:"; 133 // 134 // lblColorTile 135 // 136 this.lblColorTile.Anchor = System.Windows.Forms.AnchorStyles.Left; 137 this.lblColorTile.AutoSize = true; 138 this.lblColorTile.Location = new System.Drawing.Point(3, 81); 139 this.lblColorTile.Name = "lblColorTile"; 140 this.lblColorTile.Size = new System.Drawing.Size(48, 13); 141 this.lblColorTile.TabIndex = 6; 142 this.lblColorTile.Text = "Preview:"; 143 // 144 // txtColor 145 // 146 this.txtColor.BackColor = System.Drawing.SystemColors.ControlLightLight; 147 this.txtColor.Location = new System.Drawing.Point(103, 3); 148 this.txtColor.Name = "txtColor"; 149 this.txtColor.ReadOnly = true; 150 this.txtColor.Size = new System.Drawing.Size(26, 20); 151 this.txtColor.TabIndex = 7; 152 // 153 // picColor 154 // 155 this.picColor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; 156 this.picColor.Location = new System.Drawing.Point(103, 55); 157 this.picColor.Name = "picColor"; 158 this.picColor.Size = new System.Drawing.Size(66, 66); 159 this.picColor.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; 160 this.picColor.TabIndex = 12; 161 this.picColor.TabStop = false; 162 // 163 // lblColorHex 164 // 165 this.lblColorHex.Anchor = System.Windows.Forms.AnchorStyles.Left; 166 this.lblColorHex.AutoSize = true; 167 this.lblColorHex.Location = new System.Drawing.Point(3, 130); 168 this.lblColorHex.Name = "lblColorHex"; 169 this.lblColorHex.Size = new System.Drawing.Size(90, 13); 170 this.lblColorHex.TabIndex = 13; 171 this.lblColorHex.Text = "Color Code (Hex):"; 172 // 173 // label1 174 // 175 this.label1.Anchor = System.Windows.Forms.AnchorStyles.Left; 176 this.label1.AutoSize = true; 177 this.label1.Location = new System.Drawing.Point(3, 156); 178 this.label1.Name = "label1"; 179 this.label1.Size = new System.Drawing.Size(94, 13); 180 this.label1.TabIndex = 14; 181 this.label1.Text = "Color Code (RGB):"; 182 // 183 // txtColorCodeHex 184 // 185 this.txtColorCodeHex.BackColor = System.Drawing.SystemColors.ControlLightLight; 186 this.txtColorCodeHex.Location = new System.Drawing.Point(103, 127); 187 this.txtColorCodeHex.Name = "txtColorCodeHex"; 188 this.txtColorCodeHex.ReadOnly = true; 189 this.txtColorCodeHex.Size = new System.Drawing.Size(66, 20); 190 this.txtColorCodeHex.TabIndex = 15; 191 // 192 // txtColorCodeRgb 193 // 194 this.txtColorCodeRgb.BackColor = System.Drawing.SystemColors.ControlLightLight; 195 this.txtColorCodeRgb.Location = new System.Drawing.Point(103, 153); 196 this.txtColorCodeRgb.Name = "txtColorCodeRgb"; 197 this.txtColorCodeRgb.ReadOnly = true; 198 this.txtColorCodeRgb.Size = new System.Drawing.Size(108, 20); 199 this.txtColorCodeRgb.TabIndex = 16; 200 // 201 // tableLayoutPanel3 202 // 203 this.tableLayoutPanel3.ColumnCount = 3; 204 this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); 205 this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); 206 this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); 207 this.tableLayoutPanel3.Controls.Add(this.lblPaletteSprites, 1, 1); 208 this.tableLayoutPanel3.Controls.Add(this.picPaletteSprites, 1, 0); 209 this.tableLayoutPanel3.Controls.Add(this.grpColorInfo, 2, 0); 210 this.tableLayoutPanel3.Controls.Add(this.picPaletteBg, 0, 0); 211 this.tableLayoutPanel3.Controls.Add(this.flowLayoutPanel1, 0, 2); 212 this.tableLayoutPanel3.Controls.Add(this.lblBgPalette, 0, 1); 213 this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill; 214 this.tableLayoutPanel3.Location = new System.Drawing.Point(0, 0); 215 this.tableLayoutPanel3.Name = "tableLayoutPanel3"; 216 this.tableLayoutPanel3.RowCount = 3; 217 this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle()); 218 this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle()); 219 this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); 220 this.tableLayoutPanel3.Size = new System.Drawing.Size(701, 311); 221 this.tableLayoutPanel3.TabIndex = 3; 222 // 223 // lblPaletteSprites 224 // 225 this.lblPaletteSprites.Anchor = System.Windows.Forms.AnchorStyles.Top; 226 this.lblPaletteSprites.AutoSize = true; 227 this.lblPaletteSprites.Location = new System.Drawing.Point(183, 138); 228 this.lblPaletteSprites.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); 229 this.lblPaletteSprites.Name = "lblPaletteSprites"; 230 this.lblPaletteSprites.Size = new System.Drawing.Size(39, 13); 231 this.lblPaletteSprites.TabIndex = 8; 232 this.lblPaletteSprites.Text = "Sprites"; 233 // 234 // picPaletteSprites 235 // 236 this.picPaletteSprites.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; 237 this.picPaletteSprites.ContextMenuStrip = this.ctxMenu; 238 this.picPaletteSprites.Cursor = System.Windows.Forms.Cursors.Hand; 239 this.picPaletteSprites.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.Default; 240 this.picPaletteSprites.Location = new System.Drawing.Point(138, 4); 241 this.picPaletteSprites.Margin = new System.Windows.Forms.Padding(2, 4, 2, 4); 242 this.picPaletteSprites.Name = "picPaletteSprites"; 243 this.picPaletteSprites.Size = new System.Drawing.Size(130, 130); 244 this.picPaletteSprites.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; 245 this.picPaletteSprites.TabIndex = 6; 246 this.picPaletteSprites.TabStop = false; 247 this.picPaletteSprites.MouseDown += new System.Windows.Forms.MouseEventHandler(this.picPalette_MouseDown); 248 this.picPaletteSprites.MouseMove += new System.Windows.Forms.MouseEventHandler(this.picPalette_MouseMove); 249 // 250 // ctxMenu 251 // 252 this.ctxMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { 253 this.mnuCopyHexColor, 254 this.mnuCopyRgbColor}); 255 this.ctxMenu.Name = "ctxMenu"; 256 this.ctxMenu.Size = new System.Drawing.Size(160, 48); 257 this.ctxMenu.Opening += new System.ComponentModel.CancelEventHandler(this.ctxMenu_Opening); 258 // 259 // mnuCopyHexColor 260 // 261 this.mnuCopyHexColor.Name = "mnuCopyHexColor"; 262 this.mnuCopyHexColor.Size = new System.Drawing.Size(159, 22); 263 this.mnuCopyHexColor.Text = "Copy Hex Color"; 264 // 265 // mnuCopyRgbColor 266 // 267 this.mnuCopyRgbColor.Name = "mnuCopyRgbColor"; 268 this.mnuCopyRgbColor.Size = new System.Drawing.Size(159, 22); 269 this.mnuCopyRgbColor.Text = "Copy RGB Color"; 270 // 271 // picPaletteBg 272 // 273 this.picPaletteBg.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; 274 this.picPaletteBg.ContextMenuStrip = this.ctxMenu; 275 this.picPaletteBg.Cursor = System.Windows.Forms.Cursors.Hand; 276 this.picPaletteBg.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.Default; 277 this.picPaletteBg.Location = new System.Drawing.Point(4, 4); 278 this.picPaletteBg.Margin = new System.Windows.Forms.Padding(4, 4, 2, 4); 279 this.picPaletteBg.Name = "picPaletteBg"; 280 this.picPaletteBg.Size = new System.Drawing.Size(130, 130); 281 this.picPaletteBg.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; 282 this.picPaletteBg.TabIndex = 0; 283 this.picPaletteBg.TabStop = false; 284 this.picPaletteBg.MouseDown += new System.Windows.Forms.MouseEventHandler(this.picPalette_MouseDown); 285 this.picPaletteBg.MouseMove += new System.Windows.Forms.MouseEventHandler(this.picPalette_MouseMove); 286 // 287 // flowLayoutPanel1 288 // 289 this.flowLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; 290 this.tableLayoutPanel3.SetColumnSpan(this.flowLayoutPanel1, 2); 291 this.flowLayoutPanel1.Controls.Add(this.picHelp); 292 this.flowLayoutPanel1.Controls.Add(this.lblClickColorHint); 293 this.flowLayoutPanel1.Location = new System.Drawing.Point(3, 154); 294 this.flowLayoutPanel1.Name = "flowLayoutPanel1"; 295 this.flowLayoutPanel1.Size = new System.Drawing.Size(264, 26); 296 this.flowLayoutPanel1.TabIndex = 5; 297 // 298 // picHelp 299 // 300 this.picHelp.Image = global::Mesen.GUI.Properties.Resources.Help; 301 this.picHelp.Location = new System.Drawing.Point(3, 5); 302 this.picHelp.Margin = new System.Windows.Forms.Padding(3, 5, 3, 3); 303 this.picHelp.Name = "picHelp"; 304 this.picHelp.Size = new System.Drawing.Size(18, 18); 305 this.picHelp.TabIndex = 9; 306 this.picHelp.TabStop = false; 307 // 308 // lblClickColorHint 309 // 310 this.lblClickColorHint.Anchor = System.Windows.Forms.AnchorStyles.Left; 311 this.lblClickColorHint.AutoSize = true; 312 this.lblClickColorHint.Location = new System.Drawing.Point(27, 6); 313 this.lblClickColorHint.Name = "lblClickColorHint"; 314 this.lblClickColorHint.Size = new System.Drawing.Size(139, 13); 315 this.lblClickColorHint.TabIndex = 5; 316 this.lblClickColorHint.Text = "Click on a color to change it"; 317 // 318 // lblBgPalette 319 // 320 this.lblBgPalette.Anchor = System.Windows.Forms.AnchorStyles.Top; 321 this.lblBgPalette.AutoSize = true; 322 this.lblBgPalette.Location = new System.Drawing.Point(36, 138); 323 this.lblBgPalette.Margin = new System.Windows.Forms.Padding(4, 0, 2, 0); 324 this.lblBgPalette.Name = "lblBgPalette"; 325 this.lblBgPalette.Size = new System.Drawing.Size(65, 13); 326 this.lblBgPalette.TabIndex = 7; 327 this.lblBgPalette.Text = "Background"; 328 // 329 // ctrlPaletteViewer 330 // 331 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 332 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 333 this.Controls.Add(this.tableLayoutPanel3); 334 this.Name = "ctrlPaletteViewer"; 335 this.Size = new System.Drawing.Size(701, 311); 336 this.grpColorInfo.ResumeLayout(false); 337 this.tableLayoutPanel4.ResumeLayout(false); 338 this.tableLayoutPanel4.PerformLayout(); 339 ((System.ComponentModel.ISupportInitialize)(this.picColor)).EndInit(); 340 this.tableLayoutPanel3.ResumeLayout(false); 341 this.tableLayoutPanel3.PerformLayout(); 342 ((System.ComponentModel.ISupportInitialize)(this.picPaletteSprites)).EndInit(); 343 this.ctxMenu.ResumeLayout(false); 344 ((System.ComponentModel.ISupportInitialize)(this.picPaletteBg)).EndInit(); 345 this.flowLayoutPanel1.ResumeLayout(false); 346 this.flowLayoutPanel1.PerformLayout(); 347 ((System.ComponentModel.ISupportInitialize)(this.picHelp)).EndInit(); 348 this.ResumeLayout(false); 349 350 } 351 352 #endregion 353 354 private ctrlMesenPictureBox picPaletteBg; 355 private System.Windows.Forms.GroupBox grpColorInfo; 356 private System.Windows.Forms.TableLayoutPanel tableLayoutPanel4; 357 private System.Windows.Forms.TextBox txtPaletteAddress; 358 private System.Windows.Forms.Label lblColor; 359 private System.Windows.Forms.Label lblPaletteAddress; 360 private System.Windows.Forms.Label lblColorTile; 361 private System.Windows.Forms.TextBox txtColor; 362 private System.Windows.Forms.PictureBox picColor; 363 private System.Windows.Forms.TableLayoutPanel tableLayoutPanel3; 364 private System.Windows.Forms.Label lblClickColorHint; 365 private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1; 366 private System.Windows.Forms.PictureBox picHelp; 367 private System.Windows.Forms.Label lblColorHex; 368 private System.Windows.Forms.Label label1; 369 private System.Windows.Forms.TextBox txtColorCodeHex; 370 private System.Windows.Forms.TextBox txtColorCodeRgb; 371 private System.Windows.Forms.ContextMenuStrip ctxMenu; 372 private System.Windows.Forms.ToolStripMenuItem mnuCopyHexColor; 373 private System.Windows.Forms.ToolStripMenuItem mnuCopyRgbColor; 374 private ctrlMesenPictureBox picPaletteSprites; 375 private System.Windows.Forms.Label lblBgPalette; 376 private System.Windows.Forms.Label lblPaletteSprites; 377 } 378 } 379