mirror of
https://github.com/AdAstra-LD/DS-Pokemon-Rom-Editor.git
synced 2026-05-16 00:39:57 -05:00
912 lines
41 KiB
C#
912 lines
41 KiB
C#
/*
|
|
* Copyright (C) 2011 pleoNeX
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*
|
|
* By: pleoNeX
|
|
*
|
|
*/
|
|
namespace Ekona.Images.Dialogs
|
|
{
|
|
partial class OAMEditor
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(OAMEditor));
|
|
this.groupObj0 = new System.Windows.Forms.GroupBox();
|
|
this.comboShape = new System.Windows.Forms.ComboBox();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.comboDepth = new System.Windows.Forms.ComboBox();
|
|
this.comboObjMode = new System.Windows.Forms.ComboBox();
|
|
this.checkMosaic = new System.Windows.Forms.CheckBox();
|
|
this.checkDoubleSize = new System.Windows.Forms.CheckBox();
|
|
this.checkObjdisable = new System.Windows.Forms.CheckBox();
|
|
this.checkRSflag = new System.Windows.Forms.CheckBox();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.numYoffset = new System.Windows.Forms.NumericUpDown();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.groupObj1 = new System.Windows.Forms.GroupBox();
|
|
this.numSize = new System.Windows.Forms.NumericUpDown();
|
|
this.label7 = new System.Windows.Forms.Label();
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
this.checkFlipY = new System.Windows.Forms.CheckBox();
|
|
this.checkFlipX = new System.Windows.Forms.CheckBox();
|
|
this.numSelectPar = new System.Windows.Forms.NumericUpDown();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.numXpos = new System.Windows.Forms.NumericUpDown();
|
|
this.groupObj2 = new System.Windows.Forms.GroupBox();
|
|
this.numPal = new System.Windows.Forms.NumericUpDown();
|
|
this.label10 = new System.Windows.Forms.Label();
|
|
this.numPrio = new System.Windows.Forms.NumericUpDown();
|
|
this.label9 = new System.Windows.Forms.Label();
|
|
this.numOffset = new System.Windows.Forms.NumericUpDown();
|
|
this.label8 = new System.Windows.Forms.Label();
|
|
this.numOAM = new System.Windows.Forms.NumericUpDown();
|
|
this.label11 = new System.Windows.Forms.Label();
|
|
this.label12 = new System.Windows.Forms.Label();
|
|
this.picBox = new System.Windows.Forms.PictureBox();
|
|
this.label13 = new System.Windows.Forms.Label();
|
|
this.btnSave = new System.Windows.Forms.Button();
|
|
this.label14 = new System.Windows.Forms.Label();
|
|
this.comboSize = new System.Windows.Forms.ComboBox();
|
|
this.checkGrid = new System.Windows.Forms.CheckBox();
|
|
this.checkNumbers = new System.Windows.Forms.CheckBox();
|
|
this.checkImage = new System.Windows.Forms.CheckBox();
|
|
this.checkOAM = new System.Windows.Forms.CheckBox();
|
|
this.checkTrans = new System.Windows.Forms.CheckBox();
|
|
this.groupPreview = new System.Windows.Forms.GroupBox();
|
|
this.checkCurrOAM = new System.Windows.Forms.CheckBox();
|
|
this.btnAddOAM = new System.Windows.Forms.Button();
|
|
this.btnRemOAM = new System.Windows.Forms.Button();
|
|
this.numNumOAM = new System.Windows.Forms.NumericUpDown();
|
|
this.label15 = new System.Windows.Forms.Label();
|
|
this.numObj0 = new System.Windows.Forms.NumericUpDown();
|
|
this.label16 = new System.Windows.Forms.Label();
|
|
this.label17 = new System.Windows.Forms.Label();
|
|
this.numObj1 = new System.Windows.Forms.NumericUpDown();
|
|
this.label18 = new System.Windows.Forms.Label();
|
|
this.numObj2 = new System.Windows.Forms.NumericUpDown();
|
|
this.checkAddFirst = new System.Windows.Forms.CheckBox();
|
|
this.groupObj0.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.numYoffset)).BeginInit();
|
|
this.groupObj1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.numSize)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numSelectPar)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numXpos)).BeginInit();
|
|
this.groupObj2.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.numPal)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numPrio)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numOffset)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numOAM)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.picBox)).BeginInit();
|
|
this.groupPreview.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.numNumOAM)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numObj0)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numObj1)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numObj2)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// groupObj0
|
|
//
|
|
this.groupObj0.Controls.Add(this.comboShape);
|
|
this.groupObj0.Controls.Add(this.label5);
|
|
this.groupObj0.Controls.Add(this.comboDepth);
|
|
this.groupObj0.Controls.Add(this.comboObjMode);
|
|
this.groupObj0.Controls.Add(this.checkMosaic);
|
|
this.groupObj0.Controls.Add(this.checkDoubleSize);
|
|
this.groupObj0.Controls.Add(this.checkObjdisable);
|
|
this.groupObj0.Controls.Add(this.checkRSflag);
|
|
this.groupObj0.Controls.Add(this.label4);
|
|
this.groupObj0.Controls.Add(this.label3);
|
|
this.groupObj0.Controls.Add(this.numYoffset);
|
|
this.groupObj0.Controls.Add(this.label1);
|
|
this.groupObj0.Location = new System.Drawing.Point(14, 33);
|
|
this.groupObj0.Name = "groupObj0";
|
|
this.groupObj0.Size = new System.Drawing.Size(222, 197);
|
|
this.groupObj0.TabIndex = 0;
|
|
this.groupObj0.TabStop = false;
|
|
this.groupObj0.Text = "Object 0";
|
|
//
|
|
// comboShape
|
|
//
|
|
this.comboShape.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.comboShape.FormattingEnabled = true;
|
|
this.comboShape.Items.AddRange(new object[] {
|
|
"Square",
|
|
"Horizontal",
|
|
"Vertical",
|
|
"Invalid"});
|
|
this.comboShape.Location = new System.Drawing.Point(98, 169);
|
|
this.comboShape.Name = "comboShape";
|
|
this.comboShape.Size = new System.Drawing.Size(110, 21);
|
|
this.comboShape.TabIndex = 22;
|
|
this.comboShape.SelectedIndexChanged += new System.EventHandler(this.Change_OBJ0);
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.AutoSize = true;
|
|
this.label5.Location = new System.Drawing.Point(7, 143);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(39, 13);
|
|
this.label5.TabIndex = 21;
|
|
this.label5.Text = "Depth:";
|
|
//
|
|
// comboDepth
|
|
//
|
|
this.comboDepth.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.comboDepth.FormattingEnabled = true;
|
|
this.comboDepth.Items.AddRange(new object[] {
|
|
"4 bpp (16 colors)",
|
|
"8 bpp (256 colors)"});
|
|
this.comboDepth.Location = new System.Drawing.Point(98, 140);
|
|
this.comboDepth.Name = "comboDepth";
|
|
this.comboDepth.Size = new System.Drawing.Size(110, 21);
|
|
this.comboDepth.TabIndex = 20;
|
|
this.comboDepth.SelectedIndexChanged += new System.EventHandler(this.Change_OBJ0);
|
|
//
|
|
// comboObjMode
|
|
//
|
|
this.comboObjMode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.comboObjMode.FormattingEnabled = true;
|
|
this.comboObjMode.Items.AddRange(new object[] {
|
|
"Normal",
|
|
"Semi-transparent",
|
|
"Window",
|
|
"Invalid"});
|
|
this.comboObjMode.Location = new System.Drawing.Point(98, 91);
|
|
this.comboObjMode.Name = "comboObjMode";
|
|
this.comboObjMode.Size = new System.Drawing.Size(110, 21);
|
|
this.comboObjMode.TabIndex = 19;
|
|
this.comboObjMode.SelectedIndexChanged += new System.EventHandler(this.Change_OBJ0);
|
|
//
|
|
// checkMosaic
|
|
//
|
|
this.checkMosaic.AutoSize = true;
|
|
this.checkMosaic.Location = new System.Drawing.Point(9, 117);
|
|
this.checkMosaic.Name = "checkMosaic";
|
|
this.checkMosaic.Size = new System.Drawing.Size(60, 17);
|
|
this.checkMosaic.TabIndex = 17;
|
|
this.checkMosaic.Text = "Mosaic";
|
|
this.checkMosaic.UseVisualStyleBackColor = true;
|
|
this.checkMosaic.CheckedChanged += new System.EventHandler(this.Change_OBJ0);
|
|
//
|
|
// checkDoubleSize
|
|
//
|
|
this.checkDoubleSize.AutoSize = true;
|
|
this.checkDoubleSize.Location = new System.Drawing.Point(135, 68);
|
|
this.checkDoubleSize.Name = "checkDoubleSize";
|
|
this.checkDoubleSize.Size = new System.Drawing.Size(81, 17);
|
|
this.checkDoubleSize.TabIndex = 16;
|
|
this.checkDoubleSize.Text = "Double size";
|
|
this.checkDoubleSize.UseVisualStyleBackColor = true;
|
|
this.checkDoubleSize.CheckedChanged += new System.EventHandler(this.Change_OBJ0);
|
|
//
|
|
// checkObjdisable
|
|
//
|
|
this.checkObjdisable.AutoSize = true;
|
|
this.checkObjdisable.Location = new System.Drawing.Point(36, 68);
|
|
this.checkObjdisable.Name = "checkObjdisable";
|
|
this.checkObjdisable.Size = new System.Drawing.Size(93, 17);
|
|
this.checkObjdisable.TabIndex = 15;
|
|
this.checkObjdisable.Text = "Object disable";
|
|
this.checkObjdisable.UseVisualStyleBackColor = true;
|
|
this.checkObjdisable.CheckedChanged += new System.EventHandler(this.Change_OBJ0);
|
|
//
|
|
// checkRSflag
|
|
//
|
|
this.checkRSflag.AutoSize = true;
|
|
this.checkRSflag.Location = new System.Drawing.Point(10, 45);
|
|
this.checkRSflag.Name = "checkRSflag";
|
|
this.checkRSflag.Size = new System.Drawing.Size(104, 17);
|
|
this.checkRSflag.TabIndex = 14;
|
|
this.checkRSflag.Text = "Rotation / Scale";
|
|
this.checkRSflag.UseVisualStyleBackColor = true;
|
|
this.checkRSflag.CheckedChanged += new System.EventHandler(this.Change_OBJ0);
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(6, 169);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(41, 13);
|
|
this.label4.TabIndex = 4;
|
|
this.label4.Text = "Shape:";
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(6, 94);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(70, 13);
|
|
this.label3.TabIndex = 2;
|
|
this.label3.Text = "Object mode:";
|
|
//
|
|
// numYoffset
|
|
//
|
|
this.numYoffset.Location = new System.Drawing.Point(98, 19);
|
|
this.numYoffset.Maximum = new decimal(new int[] {
|
|
127,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numYoffset.Minimum = new decimal(new int[] {
|
|
128,
|
|
0,
|
|
0,
|
|
-2147483648});
|
|
this.numYoffset.Name = "numYoffset";
|
|
this.numYoffset.Size = new System.Drawing.Size(60, 20);
|
|
this.numYoffset.TabIndex = 1;
|
|
this.numYoffset.ValueChanged += new System.EventHandler(this.Change_OBJ0);
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(6, 21);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(56, 13);
|
|
this.label1.TabIndex = 0;
|
|
this.label1.Text = "Y position:";
|
|
//
|
|
// groupObj1
|
|
//
|
|
this.groupObj1.Controls.Add(this.numSize);
|
|
this.groupObj1.Controls.Add(this.label7);
|
|
this.groupObj1.Controls.Add(this.label6);
|
|
this.groupObj1.Controls.Add(this.checkFlipY);
|
|
this.groupObj1.Controls.Add(this.checkFlipX);
|
|
this.groupObj1.Controls.Add(this.numSelectPar);
|
|
this.groupObj1.Controls.Add(this.label2);
|
|
this.groupObj1.Controls.Add(this.numXpos);
|
|
this.groupObj1.Location = new System.Drawing.Point(242, 33);
|
|
this.groupObj1.Name = "groupObj1";
|
|
this.groupObj1.Size = new System.Drawing.Size(169, 118);
|
|
this.groupObj1.TabIndex = 1;
|
|
this.groupObj1.TabStop = false;
|
|
this.groupObj1.Text = "Object 1";
|
|
//
|
|
// numSize
|
|
//
|
|
this.numSize.Location = new System.Drawing.Point(99, 92);
|
|
this.numSize.Maximum = new decimal(new int[] {
|
|
3,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numSize.Name = "numSize";
|
|
this.numSize.Size = new System.Drawing.Size(60, 20);
|
|
this.numSize.TabIndex = 8;
|
|
this.numSize.ValueChanged += new System.EventHandler(this.Change_OBJ1);
|
|
//
|
|
// label7
|
|
//
|
|
this.label7.AutoSize = true;
|
|
this.label7.Location = new System.Drawing.Point(6, 94);
|
|
this.label7.Name = "label7";
|
|
this.label7.Size = new System.Drawing.Size(30, 13);
|
|
this.label7.TabIndex = 7;
|
|
this.label7.Text = "Size:";
|
|
//
|
|
// label6
|
|
//
|
|
this.label6.AutoSize = true;
|
|
this.label6.Location = new System.Drawing.Point(6, 48);
|
|
this.label6.Name = "label6";
|
|
this.label6.Size = new System.Drawing.Size(72, 13);
|
|
this.label6.TabIndex = 5;
|
|
this.label6.Text = "Select param:";
|
|
//
|
|
// checkFlipY
|
|
//
|
|
this.checkFlipY.AutoSize = true;
|
|
this.checkFlipY.Location = new System.Drawing.Point(99, 72);
|
|
this.checkFlipY.Name = "checkFlipY";
|
|
this.checkFlipY.Size = new System.Drawing.Size(52, 17);
|
|
this.checkFlipY.TabIndex = 4;
|
|
this.checkFlipY.Text = "Flip Y";
|
|
this.checkFlipY.UseVisualStyleBackColor = true;
|
|
this.checkFlipY.CheckedChanged += new System.EventHandler(this.Change_OBJ1);
|
|
//
|
|
// checkFlipX
|
|
//
|
|
this.checkFlipX.AutoSize = true;
|
|
this.checkFlipX.Location = new System.Drawing.Point(9, 72);
|
|
this.checkFlipX.Name = "checkFlipX";
|
|
this.checkFlipX.Size = new System.Drawing.Size(52, 17);
|
|
this.checkFlipX.TabIndex = 3;
|
|
this.checkFlipX.Text = "Flip X";
|
|
this.checkFlipX.UseVisualStyleBackColor = true;
|
|
this.checkFlipX.CheckedChanged += new System.EventHandler(this.Change_OBJ1);
|
|
//
|
|
// numSelectPar
|
|
//
|
|
this.numSelectPar.Location = new System.Drawing.Point(99, 46);
|
|
this.numSelectPar.Maximum = new decimal(new int[] {
|
|
31,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numSelectPar.Name = "numSelectPar";
|
|
this.numSelectPar.Size = new System.Drawing.Size(60, 20);
|
|
this.numSelectPar.TabIndex = 2;
|
|
this.numSelectPar.ValueChanged += new System.EventHandler(this.Change_OBJ1);
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(6, 21);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(56, 13);
|
|
this.label2.TabIndex = 1;
|
|
this.label2.Text = "X position:";
|
|
//
|
|
// numXpos
|
|
//
|
|
this.numXpos.Location = new System.Drawing.Point(99, 19);
|
|
this.numXpos.Maximum = new decimal(new int[] {
|
|
255,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numXpos.Minimum = new decimal(new int[] {
|
|
256,
|
|
0,
|
|
0,
|
|
-2147483648});
|
|
this.numXpos.Name = "numXpos";
|
|
this.numXpos.Size = new System.Drawing.Size(60, 20);
|
|
this.numXpos.TabIndex = 0;
|
|
this.numXpos.ValueChanged += new System.EventHandler(this.Change_OBJ1);
|
|
//
|
|
// groupObj2
|
|
//
|
|
this.groupObj2.Controls.Add(this.numPal);
|
|
this.groupObj2.Controls.Add(this.label10);
|
|
this.groupObj2.Controls.Add(this.numPrio);
|
|
this.groupObj2.Controls.Add(this.label9);
|
|
this.groupObj2.Controls.Add(this.numOffset);
|
|
this.groupObj2.Controls.Add(this.label8);
|
|
this.groupObj2.Location = new System.Drawing.Point(242, 157);
|
|
this.groupObj2.Name = "groupObj2";
|
|
this.groupObj2.Size = new System.Drawing.Size(169, 100);
|
|
this.groupObj2.TabIndex = 1;
|
|
this.groupObj2.TabStop = false;
|
|
this.groupObj2.Text = "Object 2";
|
|
//
|
|
// numPal
|
|
//
|
|
this.numPal.Location = new System.Drawing.Point(99, 71);
|
|
this.numPal.Maximum = new decimal(new int[] {
|
|
15,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numPal.Name = "numPal";
|
|
this.numPal.Size = new System.Drawing.Size(60, 20);
|
|
this.numPal.TabIndex = 7;
|
|
this.numPal.ValueChanged += new System.EventHandler(this.Change_OBJ2);
|
|
//
|
|
// label10
|
|
//
|
|
this.label10.AutoSize = true;
|
|
this.label10.Location = new System.Drawing.Point(7, 73);
|
|
this.label10.Name = "label10";
|
|
this.label10.Size = new System.Drawing.Size(71, 13);
|
|
this.label10.TabIndex = 6;
|
|
this.label10.Text = "Palette index:";
|
|
//
|
|
// numPrio
|
|
//
|
|
this.numPrio.Location = new System.Drawing.Point(99, 45);
|
|
this.numPrio.Maximum = new decimal(new int[] {
|
|
3,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numPrio.Name = "numPrio";
|
|
this.numPrio.Size = new System.Drawing.Size(60, 20);
|
|
this.numPrio.TabIndex = 5;
|
|
this.numPrio.ValueChanged += new System.EventHandler(this.Change_OBJ2);
|
|
//
|
|
// label9
|
|
//
|
|
this.label9.AutoSize = true;
|
|
this.label9.Location = new System.Drawing.Point(7, 47);
|
|
this.label9.Name = "label9";
|
|
this.label9.Size = new System.Drawing.Size(41, 13);
|
|
this.label9.TabIndex = 4;
|
|
this.label9.Text = "Priority:";
|
|
//
|
|
// numOffset
|
|
//
|
|
this.numOffset.Hexadecimal = true;
|
|
this.numOffset.Location = new System.Drawing.Point(99, 19);
|
|
this.numOffset.Maximum = new decimal(new int[] {
|
|
1023,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numOffset.Name = "numOffset";
|
|
this.numOffset.Size = new System.Drawing.Size(60, 20);
|
|
this.numOffset.TabIndex = 3;
|
|
this.numOffset.ValueChanged += new System.EventHandler(this.Change_OBJ2);
|
|
//
|
|
// label8
|
|
//
|
|
this.label8.AutoSize = true;
|
|
this.label8.Location = new System.Drawing.Point(7, 21);
|
|
this.label8.Name = "label8";
|
|
this.label8.Size = new System.Drawing.Size(56, 13);
|
|
this.label8.TabIndex = 2;
|
|
this.label8.Text = "Tile offset:";
|
|
//
|
|
// numOAM
|
|
//
|
|
this.numOAM.Location = new System.Drawing.Point(52, 7);
|
|
this.numOAM.Name = "numOAM";
|
|
this.numOAM.Size = new System.Drawing.Size(60, 20);
|
|
this.numOAM.TabIndex = 2;
|
|
this.numOAM.ValueChanged += new System.EventHandler(this.numOAM_ValueChanged);
|
|
//
|
|
// label11
|
|
//
|
|
this.label11.AutoSize = true;
|
|
this.label11.Location = new System.Drawing.Point(12, 9);
|
|
this.label11.Name = "label11";
|
|
this.label11.Size = new System.Drawing.Size(34, 13);
|
|
this.label11.TabIndex = 3;
|
|
this.label11.Text = "OAM:";
|
|
//
|
|
// label12
|
|
//
|
|
this.label12.AutoSize = true;
|
|
this.label12.Location = new System.Drawing.Point(118, 9);
|
|
this.label12.Name = "label12";
|
|
this.label12.Size = new System.Drawing.Size(19, 13);
|
|
this.label12.TabIndex = 4;
|
|
this.label12.Text = "of ";
|
|
//
|
|
// picBox
|
|
//
|
|
this.picBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.picBox.Location = new System.Drawing.Point(14, 289);
|
|
this.picBox.Name = "picBox";
|
|
this.picBox.Size = new System.Drawing.Size(512, 256);
|
|
this.picBox.TabIndex = 5;
|
|
this.picBox.TabStop = false;
|
|
//
|
|
// label13
|
|
//
|
|
this.label13.AutoSize = true;
|
|
this.label13.Location = new System.Drawing.Point(13, 270);
|
|
this.label13.Name = "label13";
|
|
this.label13.Size = new System.Drawing.Size(48, 13);
|
|
this.label13.TabIndex = 6;
|
|
this.label13.Text = "Preview:";
|
|
//
|
|
// btnSave
|
|
//
|
|
this.btnSave.DialogResult = System.Windows.Forms.DialogResult.OK;
|
|
this.btnSave.Location = new System.Drawing.Point(449, 4);
|
|
this.btnSave.Name = "btnSave";
|
|
this.btnSave.Size = new System.Drawing.Size(80, 40);
|
|
this.btnSave.TabIndex = 7;
|
|
this.btnSave.Text = "Save";
|
|
this.btnSave.UseVisualStyleBackColor = true;
|
|
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
|
|
//
|
|
// label14
|
|
//
|
|
this.label14.AutoSize = true;
|
|
this.label14.Location = new System.Drawing.Point(415, 57);
|
|
this.label14.Name = "label14";
|
|
this.label14.Size = new System.Drawing.Size(70, 13);
|
|
this.label14.TabIndex = 8;
|
|
this.label14.Text = "Auto set size:";
|
|
//
|
|
// comboSize
|
|
//
|
|
this.comboSize.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.comboSize.FormattingEnabled = true;
|
|
this.comboSize.Items.AddRange(new object[] {
|
|
"08x08",
|
|
"16x16",
|
|
"32x32",
|
|
"64x64",
|
|
"16x08",
|
|
"32x08",
|
|
"32x16",
|
|
"64x32",
|
|
"08x16",
|
|
"08x32",
|
|
"16x32",
|
|
"32x64"});
|
|
this.comboSize.Location = new System.Drawing.Point(415, 73);
|
|
this.comboSize.Name = "comboSize";
|
|
this.comboSize.Size = new System.Drawing.Size(110, 21);
|
|
this.comboSize.TabIndex = 9;
|
|
this.comboSize.SelectedIndexChanged += new System.EventHandler(this.comboSize_SelectedIndexChanged);
|
|
//
|
|
// checkGrid
|
|
//
|
|
this.checkGrid.AutoSize = true;
|
|
this.checkGrid.Checked = true;
|
|
this.checkGrid.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
this.checkGrid.Location = new System.Drawing.Point(3, 108);
|
|
this.checkGrid.Name = "checkGrid";
|
|
this.checkGrid.Size = new System.Drawing.Size(69, 17);
|
|
this.checkGrid.TabIndex = 10;
|
|
this.checkGrid.Text = "View grid";
|
|
this.checkGrid.UseVisualStyleBackColor = true;
|
|
this.checkGrid.CheckedChanged += new System.EventHandler(this.Change_Preview);
|
|
//
|
|
// checkNumbers
|
|
//
|
|
this.checkNumbers.AutoSize = true;
|
|
this.checkNumbers.Location = new System.Drawing.Point(3, 85);
|
|
this.checkNumbers.Name = "checkNumbers";
|
|
this.checkNumbers.Size = new System.Drawing.Size(92, 17);
|
|
this.checkNumbers.TabIndex = 11;
|
|
this.checkNumbers.Text = "View numbers";
|
|
this.checkNumbers.UseVisualStyleBackColor = true;
|
|
this.checkNumbers.CheckedChanged += new System.EventHandler(this.Change_Preview);
|
|
//
|
|
// checkImage
|
|
//
|
|
this.checkImage.AutoSize = true;
|
|
this.checkImage.Checked = true;
|
|
this.checkImage.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
this.checkImage.Location = new System.Drawing.Point(3, 62);
|
|
this.checkImage.Name = "checkImage";
|
|
this.checkImage.Size = new System.Drawing.Size(80, 17);
|
|
this.checkImage.TabIndex = 12;
|
|
this.checkImage.Text = "View image";
|
|
this.checkImage.UseVisualStyleBackColor = true;
|
|
this.checkImage.CheckedChanged += new System.EventHandler(this.Change_Preview);
|
|
//
|
|
// checkOAM
|
|
//
|
|
this.checkOAM.AutoSize = true;
|
|
this.checkOAM.Checked = true;
|
|
this.checkOAM.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
this.checkOAM.Location = new System.Drawing.Point(3, 42);
|
|
this.checkOAM.Name = "checkOAM";
|
|
this.checkOAM.Size = new System.Drawing.Size(105, 17);
|
|
this.checkOAM.TabIndex = 13;
|
|
this.checkOAM.Text = "View oam border";
|
|
this.checkOAM.UseVisualStyleBackColor = true;
|
|
this.checkOAM.CheckedChanged += new System.EventHandler(this.Change_Preview);
|
|
//
|
|
// checkTrans
|
|
//
|
|
this.checkTrans.AutoSize = true;
|
|
this.checkTrans.Location = new System.Drawing.Point(3, 19);
|
|
this.checkTrans.Name = "checkTrans";
|
|
this.checkTrans.Size = new System.Drawing.Size(91, 17);
|
|
this.checkTrans.TabIndex = 14;
|
|
this.checkTrans.Text = "Transparency";
|
|
this.checkTrans.UseVisualStyleBackColor = true;
|
|
this.checkTrans.CheckedChanged += new System.EventHandler(this.Change_Preview);
|
|
//
|
|
// groupPreview
|
|
//
|
|
this.groupPreview.Controls.Add(this.checkCurrOAM);
|
|
this.groupPreview.Controls.Add(this.checkTrans);
|
|
this.groupPreview.Controls.Add(this.checkGrid);
|
|
this.groupPreview.Controls.Add(this.checkOAM);
|
|
this.groupPreview.Controls.Add(this.checkNumbers);
|
|
this.groupPreview.Controls.Add(this.checkImage);
|
|
this.groupPreview.Location = new System.Drawing.Point(418, 105);
|
|
this.groupPreview.Name = "groupPreview";
|
|
this.groupPreview.Size = new System.Drawing.Size(111, 152);
|
|
this.groupPreview.TabIndex = 15;
|
|
this.groupPreview.TabStop = false;
|
|
this.groupPreview.Text = "Preview options";
|
|
//
|
|
// checkCurrOAM
|
|
//
|
|
this.checkCurrOAM.AutoSize = true;
|
|
this.checkCurrOAM.Checked = true;
|
|
this.checkCurrOAM.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
this.checkCurrOAM.Location = new System.Drawing.Point(3, 129);
|
|
this.checkCurrOAM.Name = "checkCurrOAM";
|
|
this.checkCurrOAM.Size = new System.Drawing.Size(79, 17);
|
|
this.checkCurrOAM.TabIndex = 15;
|
|
this.checkCurrOAM.Text = "Select oam";
|
|
this.checkCurrOAM.UseVisualStyleBackColor = true;
|
|
this.checkCurrOAM.CheckedChanged += new System.EventHandler(this.Change_Preview);
|
|
//
|
|
// btnAddOAM
|
|
//
|
|
this.btnAddOAM.Location = new System.Drawing.Point(225, 4);
|
|
this.btnAddOAM.Name = "btnAddOAM";
|
|
this.btnAddOAM.Size = new System.Drawing.Size(90, 23);
|
|
this.btnAddOAM.TabIndex = 16;
|
|
this.btnAddOAM.Text = "Add OAM";
|
|
this.btnAddOAM.UseVisualStyleBackColor = true;
|
|
this.btnAddOAM.Click += new System.EventHandler(this.btnAddOAM_Click);
|
|
//
|
|
// btnRemOAM
|
|
//
|
|
this.btnRemOAM.Location = new System.Drawing.Point(321, 4);
|
|
this.btnRemOAM.Name = "btnRemOAM";
|
|
this.btnRemOAM.Size = new System.Drawing.Size(90, 23);
|
|
this.btnRemOAM.TabIndex = 17;
|
|
this.btnRemOAM.Text = "Remove OAM";
|
|
this.btnRemOAM.UseVisualStyleBackColor = true;
|
|
this.btnRemOAM.Click += new System.EventHandler(this.btnRemOAM_Click);
|
|
//
|
|
// numNumOAM
|
|
//
|
|
this.numNumOAM.Location = new System.Drawing.Point(176, 236);
|
|
this.numNumOAM.Maximum = new decimal(new int[] {
|
|
65535,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numNumOAM.Name = "numNumOAM";
|
|
this.numNumOAM.Size = new System.Drawing.Size(60, 20);
|
|
this.numNumOAM.TabIndex = 18;
|
|
this.numNumOAM.ValueChanged += new System.EventHandler(this.numNumOAM_ValueChanged);
|
|
//
|
|
// label15
|
|
//
|
|
this.label15.AutoSize = true;
|
|
this.label15.Location = new System.Drawing.Point(125, 238);
|
|
this.label15.Name = "label15";
|
|
this.label15.Size = new System.Drawing.Size(45, 13);
|
|
this.label15.TabIndex = 19;
|
|
this.label15.Text = "OAM id:";
|
|
//
|
|
// numObj0
|
|
//
|
|
this.numObj0.Hexadecimal = true;
|
|
this.numObj0.Location = new System.Drawing.Point(176, 263);
|
|
this.numObj0.Maximum = new decimal(new int[] {
|
|
65535,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numObj0.Name = "numObj0";
|
|
this.numObj0.Size = new System.Drawing.Size(60, 20);
|
|
this.numObj0.TabIndex = 20;
|
|
this.numObj0.Value = new decimal(new int[] {
|
|
65535,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numObj0.ValueChanged += new System.EventHandler(this.numObj_ValueChanged);
|
|
//
|
|
// label16
|
|
//
|
|
this.label16.AutoSize = true;
|
|
this.label16.Location = new System.Drawing.Point(126, 265);
|
|
this.label16.Name = "label16";
|
|
this.label16.Size = new System.Drawing.Size(32, 13);
|
|
this.label16.TabIndex = 21;
|
|
this.label16.Text = "Obj0:";
|
|
//
|
|
// label17
|
|
//
|
|
this.label17.AutoSize = true;
|
|
this.label17.Location = new System.Drawing.Point(257, 265);
|
|
this.label17.Name = "label17";
|
|
this.label17.Size = new System.Drawing.Size(32, 13);
|
|
this.label17.TabIndex = 23;
|
|
this.label17.Text = "Obj1:";
|
|
//
|
|
// numObj1
|
|
//
|
|
this.numObj1.Hexadecimal = true;
|
|
this.numObj1.Location = new System.Drawing.Point(307, 263);
|
|
this.numObj1.Maximum = new decimal(new int[] {
|
|
65535,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numObj1.Name = "numObj1";
|
|
this.numObj1.Size = new System.Drawing.Size(60, 20);
|
|
this.numObj1.TabIndex = 22;
|
|
this.numObj1.Value = new decimal(new int[] {
|
|
65535,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numObj1.ValueChanged += new System.EventHandler(this.numObj_ValueChanged);
|
|
//
|
|
// label18
|
|
//
|
|
this.label18.AutoSize = true;
|
|
this.label18.Location = new System.Drawing.Point(383, 265);
|
|
this.label18.Name = "label18";
|
|
this.label18.Size = new System.Drawing.Size(32, 13);
|
|
this.label18.TabIndex = 25;
|
|
this.label18.Text = "Obj2:";
|
|
//
|
|
// numObj2
|
|
//
|
|
this.numObj2.Hexadecimal = true;
|
|
this.numObj2.Location = new System.Drawing.Point(433, 263);
|
|
this.numObj2.Maximum = new decimal(new int[] {
|
|
65535,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numObj2.Name = "numObj2";
|
|
this.numObj2.Size = new System.Drawing.Size(60, 20);
|
|
this.numObj2.TabIndex = 24;
|
|
this.numObj2.Value = new decimal(new int[] {
|
|
65535,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numObj2.ValueChanged += new System.EventHandler(this.numObj_ValueChanged);
|
|
//
|
|
// checkAddFirst
|
|
//
|
|
this.checkAddFirst.AutoSize = true;
|
|
this.checkAddFirst.Checked = true;
|
|
this.checkAddFirst.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
this.checkAddFirst.Location = new System.Drawing.Point(14, 234);
|
|
this.checkAddFirst.Name = "checkAddFirst";
|
|
this.checkAddFirst.Size = new System.Drawing.Size(78, 17);
|
|
this.checkAddFirst.TabIndex = 26;
|
|
this.checkAddFirst.Text = "Add first ID";
|
|
this.checkAddFirst.UseVisualStyleBackColor = true;
|
|
//
|
|
// OAMEditor
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
|
|
this.ClientSize = new System.Drawing.Size(533, 550);
|
|
this.Controls.Add(this.checkAddFirst);
|
|
this.Controls.Add(this.label18);
|
|
this.Controls.Add(this.numObj2);
|
|
this.Controls.Add(this.label17);
|
|
this.Controls.Add(this.numObj1);
|
|
this.Controls.Add(this.label16);
|
|
this.Controls.Add(this.numObj0);
|
|
this.Controls.Add(this.label15);
|
|
this.Controls.Add(this.numNumOAM);
|
|
this.Controls.Add(this.btnRemOAM);
|
|
this.Controls.Add(this.btnAddOAM);
|
|
this.Controls.Add(this.groupPreview);
|
|
this.Controls.Add(this.comboSize);
|
|
this.Controls.Add(this.label14);
|
|
this.Controls.Add(this.btnSave);
|
|
this.Controls.Add(this.label13);
|
|
this.Controls.Add(this.picBox);
|
|
this.Controls.Add(this.label12);
|
|
this.Controls.Add(this.label11);
|
|
this.Controls.Add(this.numOAM);
|
|
this.Controls.Add(this.groupObj1);
|
|
this.Controls.Add(this.groupObj2);
|
|
this.Controls.Add(this.groupObj0);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.MaximizeBox = false;
|
|
this.Name = "OAMEditor";
|
|
this.Text = "OAM Editor";
|
|
this.Load += new System.EventHandler(this.OAMEditor_Load);
|
|
this.groupObj0.ResumeLayout(false);
|
|
this.groupObj0.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.numYoffset)).EndInit();
|
|
this.groupObj1.ResumeLayout(false);
|
|
this.groupObj1.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.numSize)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numSelectPar)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numXpos)).EndInit();
|
|
this.groupObj2.ResumeLayout(false);
|
|
this.groupObj2.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.numPal)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numPrio)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numOffset)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numOAM)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.picBox)).EndInit();
|
|
this.groupPreview.ResumeLayout(false);
|
|
this.groupPreview.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.numNumOAM)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numObj0)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numObj1)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numObj2)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.GroupBox groupObj0;
|
|
private System.Windows.Forms.GroupBox groupObj1;
|
|
private System.Windows.Forms.GroupBox groupObj2;
|
|
private System.Windows.Forms.NumericUpDown numYoffset;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.NumericUpDown numXpos;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.CheckBox checkRSflag;
|
|
private System.Windows.Forms.CheckBox checkObjdisable;
|
|
private System.Windows.Forms.CheckBox checkDoubleSize;
|
|
private System.Windows.Forms.CheckBox checkMosaic;
|
|
private System.Windows.Forms.ComboBox comboObjMode;
|
|
private System.Windows.Forms.ComboBox comboDepth;
|
|
private System.Windows.Forms.Label label5;
|
|
private System.Windows.Forms.ComboBox comboShape;
|
|
private System.Windows.Forms.Label label6;
|
|
private System.Windows.Forms.CheckBox checkFlipY;
|
|
private System.Windows.Forms.CheckBox checkFlipX;
|
|
private System.Windows.Forms.NumericUpDown numSelectPar;
|
|
private System.Windows.Forms.Label label7;
|
|
private System.Windows.Forms.NumericUpDown numSize;
|
|
private System.Windows.Forms.NumericUpDown numPal;
|
|
private System.Windows.Forms.Label label10;
|
|
private System.Windows.Forms.NumericUpDown numPrio;
|
|
private System.Windows.Forms.Label label9;
|
|
private System.Windows.Forms.NumericUpDown numOffset;
|
|
private System.Windows.Forms.Label label8;
|
|
private System.Windows.Forms.NumericUpDown numOAM;
|
|
private System.Windows.Forms.Label label11;
|
|
private System.Windows.Forms.Label label12;
|
|
private System.Windows.Forms.PictureBox picBox;
|
|
private System.Windows.Forms.Label label13;
|
|
private System.Windows.Forms.Button btnSave;
|
|
private System.Windows.Forms.Label label14;
|
|
private System.Windows.Forms.ComboBox comboSize;
|
|
private System.Windows.Forms.CheckBox checkGrid;
|
|
private System.Windows.Forms.CheckBox checkNumbers;
|
|
private System.Windows.Forms.CheckBox checkImage;
|
|
private System.Windows.Forms.CheckBox checkOAM;
|
|
private System.Windows.Forms.CheckBox checkTrans;
|
|
private System.Windows.Forms.GroupBox groupPreview;
|
|
private System.Windows.Forms.CheckBox checkCurrOAM;
|
|
private System.Windows.Forms.Button btnAddOAM;
|
|
private System.Windows.Forms.Button btnRemOAM;
|
|
private System.Windows.Forms.NumericUpDown numNumOAM;
|
|
private System.Windows.Forms.Label label15;
|
|
private System.Windows.Forms.NumericUpDown numObj0;
|
|
private System.Windows.Forms.Label label16;
|
|
private System.Windows.Forms.Label label17;
|
|
private System.Windows.Forms.NumericUpDown numObj1;
|
|
private System.Windows.Forms.Label label18;
|
|
private System.Windows.Forms.NumericUpDown numObj2;
|
|
private System.Windows.Forms.CheckBox checkAddFirst;
|
|
}
|
|
} |