forked from DeadlyBrad42/SpriteStitcher
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStitchForm.Designer.cs
More file actions
334 lines (326 loc) · 16.4 KB
/
StitchForm.Designer.cs
File metadata and controls
334 lines (326 loc) · 16.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
namespace SpriteBitcher
{
partial class StitchForm
{
/// <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()
{
this.panel1 = new System.Windows.Forms.Panel();
this.label2 = new System.Windows.Forms.Label();
this.btn_loadStitch = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.cbx_template = new System.Windows.Forms.ComboBox();
this.panel2 = new System.Windows.Forms.Panel();
this.btn_chooseSprites = new System.Windows.Forms.Button();
this.lbl_outputSizeVw = new System.Windows.Forms.Label();
this.lbl_outputSize = new System.Windows.Forms.Label();
this.lbl_frameSizeVw = new System.Windows.Forms.Label();
this.lbl_frameSize = new System.Windows.Forms.Label();
this.tbx_sheetCols = new System.Windows.Forms.TextBox();
this.lbl_sheetCols = new System.Windows.Forms.Label();
this.btn_saveStitch = new System.Windows.Forms.Button();
this.btn_saveOutput = new System.Windows.Forms.Button();
this.tbx_sheetRows = new System.Windows.Forms.TextBox();
this.lbl_sheetRows = new System.Windows.Forms.Label();
this.ofd_spriteChooser = new System.Windows.Forms.OpenFileDialog();
this.sfd_spritesheetSaver = new System.Windows.Forms.SaveFileDialog();
this.pnl_stitchPreview = new System.Windows.Forms.Panel();
this.pbx_stitchPreview = new System.Windows.Forms.PictureBox();
this.sfd_stitchSaver = new System.Windows.Forms.SaveFileDialog();
this.ofd_stitchLoader = new System.Windows.Forms.OpenFileDialog();
this.panel1.SuspendLayout();
this.pnl_stitchPreview.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pbx_stitchPreview)).BeginInit();
this.SuspendLayout();
//
// panel1
//
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.panel1.BackColor = System.Drawing.SystemColors.Control;
this.panel1.Controls.Add(this.label2);
this.panel1.Controls.Add(this.btn_loadStitch);
this.panel1.Controls.Add(this.label1);
this.panel1.Controls.Add(this.cbx_template);
this.panel1.Controls.Add(this.panel2);
this.panel1.Controls.Add(this.btn_chooseSprites);
this.panel1.Controls.Add(this.lbl_outputSizeVw);
this.panel1.Controls.Add(this.lbl_outputSize);
this.panel1.Controls.Add(this.lbl_frameSizeVw);
this.panel1.Controls.Add(this.lbl_frameSize);
this.panel1.Controls.Add(this.tbx_sheetCols);
this.panel1.Controls.Add(this.lbl_sheetCols);
this.panel1.Controls.Add(this.btn_saveStitch);
this.panel1.Controls.Add(this.btn_saveOutput);
this.panel1.Controls.Add(this.tbx_sheetRows);
this.panel1.Controls.Add(this.lbl_sheetRows);
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(984, 100);
this.panel1.TabIndex = 1;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(14, 23);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(51, 13);
this.label2.TabIndex = 10;
this.label2.Text = "Template";
//
// btn_loadStitch
//
this.btn_loadStitch.Location = new System.Drawing.Point(683, 9);
this.btn_loadStitch.Name = "btn_loadStitch";
this.btn_loadStitch.Size = new System.Drawing.Size(75, 32);
this.btn_loadStitch.TabIndex = 9;
this.btn_loadStitch.Text = "Load Stitch";
this.btn_loadStitch.UseVisualStyleBackColor = true;
this.btn_loadStitch.Click += new System.EventHandler(this.btn_loadStitch_Click);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(20, 23);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(0, 13);
this.label1.TabIndex = 8;
//
// cbx_template
//
this.cbx_template.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbx_template.FormattingEnabled = true;
this.cbx_template.Items.AddRange(new object[] {
"4x4 character style [XP]",
"4x3 character style [VX MV MZ]",
"8x12 multi-character style [VX MV MZ]",
"6x9 SV Battler style [MV MZ]",
"Custom"});
this.cbx_template.Location = new System.Drawing.Point(83, 20);
this.cbx_template.Name = "cbx_template";
this.cbx_template.Size = new System.Drawing.Size(216, 21);
this.cbx_template.TabIndex = 7;
this.cbx_template.SelectedIndexChanged += new System.EventHandler(this.cbx_template_SelectedIndexChanged);
//
// panel2
//
this.panel2.BackColor = System.Drawing.SystemColors.AppWorkspace;
this.panel2.Location = new System.Drawing.Point(3, 101);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(648, 360);
this.panel2.TabIndex = 2;
//
// btn_chooseSprites
//
this.btn_chooseSprites.Location = new System.Drawing.Point(502, 9);
this.btn_chooseSprites.Name = "btn_chooseSprites";
this.btn_chooseSprites.Size = new System.Drawing.Size(75, 75);
this.btn_chooseSprites.TabIndex = 3;
this.btn_chooseSprites.Text = "Choose Sprites";
this.btn_chooseSprites.UseVisualStyleBackColor = true;
this.btn_chooseSprites.Click += new System.EventHandler(this.btn_addSprite_Click);
//
// lbl_outputSizeVw
//
this.lbl_outputSizeVw.AutoSize = true;
this.lbl_outputSizeVw.Location = new System.Drawing.Point(424, 61);
this.lbl_outputSizeVw.Name = "lbl_outputSizeVw";
this.lbl_outputSizeVw.Size = new System.Drawing.Size(30, 13);
this.lbl_outputSizeVw.TabIndex = 6;
this.lbl_outputSizeVw.Text = "a x b";
//
// lbl_outputSize
//
this.lbl_outputSize.AutoSize = true;
this.lbl_outputSize.Location = new System.Drawing.Point(341, 61);
this.lbl_outputSize.Name = "lbl_outputSize";
this.lbl_outputSize.Size = new System.Drawing.Size(65, 13);
this.lbl_outputSize.TabIndex = 6;
this.lbl_outputSize.Text = "Output Size:";
//
// lbl_frameSizeVw
//
this.lbl_frameSizeVw.AutoSize = true;
this.lbl_frameSizeVw.Location = new System.Drawing.Point(424, 23);
this.lbl_frameSizeVw.Name = "lbl_frameSizeVw";
this.lbl_frameSizeVw.Size = new System.Drawing.Size(30, 13);
this.lbl_frameSizeVw.TabIndex = 5;
this.lbl_frameSizeVw.Text = "a x b";
//
// lbl_frameSize
//
this.lbl_frameSize.AutoSize = true;
this.lbl_frameSize.Location = new System.Drawing.Point(341, 23);
this.lbl_frameSize.Name = "lbl_frameSize";
this.lbl_frameSize.Size = new System.Drawing.Size(62, 13);
this.lbl_frameSize.TabIndex = 5;
this.lbl_frameSize.Text = "Frame Size:";
//
// tbx_sheetCols
//
this.tbx_sheetCols.Location = new System.Drawing.Point(239, 58);
this.tbx_sheetCols.Name = "tbx_sheetCols";
this.tbx_sheetCols.ReadOnly = true;
this.tbx_sheetCols.Size = new System.Drawing.Size(60, 20);
this.tbx_sheetCols.TabIndex = 2;
this.tbx_sheetCols.TextChanged += new System.EventHandler(this.tbx_sheetCols_TextChanged);
//
// lbl_sheetCols
//
this.lbl_sheetCols.AutoSize = true;
this.lbl_sheetCols.Location = new System.Drawing.Point(174, 61);
this.lbl_sheetCols.Name = "lbl_sheetCols";
this.lbl_sheetCols.Size = new System.Drawing.Size(47, 13);
this.lbl_sheetCols.TabIndex = 3;
this.lbl_sheetCols.Text = "Columns";
//
// btn_saveStitch
//
this.btn_saveStitch.Location = new System.Drawing.Point(683, 52);
this.btn_saveStitch.Name = "btn_saveStitch";
this.btn_saveStitch.Size = new System.Drawing.Size(75, 32);
this.btn_saveStitch.TabIndex = 5;
this.btn_saveStitch.Text = "Save Stitch";
this.btn_saveStitch.UseVisualStyleBackColor = true;
this.btn_saveStitch.Click += new System.EventHandler(this.btn_saveStitch_Click);
//
// btn_saveOutput
//
this.btn_saveOutput.Location = new System.Drawing.Point(592, 9);
this.btn_saveOutput.Name = "btn_saveOutput";
this.btn_saveOutput.Size = new System.Drawing.Size(75, 75);
this.btn_saveOutput.TabIndex = 4;
this.btn_saveOutput.Text = "Save Output";
this.btn_saveOutput.UseVisualStyleBackColor = true;
this.btn_saveOutput.Click += new System.EventHandler(this.btn_saveOutput_Click);
//
// tbx_sheetRows
//
this.tbx_sheetRows.Location = new System.Drawing.Point(83, 58);
this.tbx_sheetRows.Name = "tbx_sheetRows";
this.tbx_sheetRows.ReadOnly = true;
this.tbx_sheetRows.Size = new System.Drawing.Size(60, 20);
this.tbx_sheetRows.TabIndex = 1;
this.tbx_sheetRows.TextChanged += new System.EventHandler(this.tbx_sheetRows_TextChanged);
//
// lbl_sheetRows
//
this.lbl_sheetRows.AutoSize = true;
this.lbl_sheetRows.Location = new System.Drawing.Point(31, 61);
this.lbl_sheetRows.Name = "lbl_sheetRows";
this.lbl_sheetRows.Size = new System.Drawing.Size(34, 13);
this.lbl_sheetRows.TabIndex = 0;
this.lbl_sheetRows.Text = "Rows";
//
// ofd_spriteChooser
//
this.ofd_spriteChooser.FileName = "openFileDialog1";
this.ofd_spriteChooser.Filter = "Image Files (*.bmp, *.jpg, *.jpeg, *.png, *.gif, *.tif)|*.bmp;*.jpg;*.jpeg;*.png;" +
"*.gif;*.tif";
this.ofd_spriteChooser.Multiselect = true;
this.ofd_spriteChooser.Title = "Choose a bunch of sprites";
//
// sfd_spritesheetSaver
//
this.sfd_spritesheetSaver.Filter = "PNG files (*.png)|*.png|Bitmap files (*.bmp)|*.bmp|JPG files (*.jpg)|*.jpg|JPEG f" +
"iles (*.jpeg)|*.jpeg|GIF files (*.gif)|*.gif";
//
// pnl_stitchPreview
//
this.pnl_stitchPreview.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.pnl_stitchPreview.AutoScroll = true;
this.pnl_stitchPreview.BackColor = System.Drawing.SystemColors.AppWorkspace;
this.pnl_stitchPreview.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.pnl_stitchPreview.Controls.Add(this.pbx_stitchPreview);
this.pnl_stitchPreview.Location = new System.Drawing.Point(12, 106);
this.pnl_stitchPreview.Name = "pnl_stitchPreview";
this.pnl_stitchPreview.Size = new System.Drawing.Size(960, 544);
this.pnl_stitchPreview.TabIndex = 2;
//
// pbx_stitchPreview
//
this.pbx_stitchPreview.Location = new System.Drawing.Point(0, 0);
this.pbx_stitchPreview.Name = "pbx_stitchPreview";
this.pbx_stitchPreview.Size = new System.Drawing.Size(50, 50);
this.pbx_stitchPreview.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.pbx_stitchPreview.TabIndex = 0;
this.pbx_stitchPreview.TabStop = false;
this.pbx_stitchPreview.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.pbx_stitchPreview_MouseDoubleClick);
this.pbx_stitchPreview.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbx_stitchPreview_MouseDown);
this.pbx_stitchPreview.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbx_stitchPreview_MouseUp);
//
// sfd_stitchSaver
//
this.sfd_stitchSaver.Filter = "SpriteStitcher save files (*.sss)|*.sss";
this.sfd_stitchSaver.Title = "Save the current layout";
//
// ofd_stitchLoader
//
this.ofd_stitchLoader.FileName = "openFileDialog1";
this.ofd_stitchLoader.Filter = "SpriteStitcher save files (*.sss)|*.sss";
this.ofd_stitchLoader.Title = "Load a SpriteStitcher layout";
//
// StitchForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(984, 662);
this.Controls.Add(this.pnl_stitchPreview);
this.Controls.Add(this.panel1);
this.Name = "StitchForm";
this.Text = "RPGSpriteStitcher";
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.pnl_stitchPreview.ResumeLayout(false);
this.pnl_stitchPreview.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pbx_stitchPreview)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label lbl_outputSizeVw;
private System.Windows.Forms.Label lbl_outputSize;
private System.Windows.Forms.Label lbl_frameSizeVw;
private System.Windows.Forms.Label lbl_frameSize;
private System.Windows.Forms.TextBox tbx_sheetCols;
private System.Windows.Forms.Label lbl_sheetCols;
private System.Windows.Forms.Button btn_saveStitch;
private System.Windows.Forms.Button btn_saveOutput;
private System.Windows.Forms.TextBox tbx_sheetRows;
private System.Windows.Forms.Label lbl_sheetRows;
private System.Windows.Forms.Button btn_chooseSprites;
private System.Windows.Forms.OpenFileDialog ofd_spriteChooser;
private System.Windows.Forms.SaveFileDialog sfd_spritesheetSaver;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Panel pnl_stitchPreview;
private System.Windows.Forms.PictureBox pbx_stitchPreview;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Button btn_loadStitch;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.ComboBox cbx_template;
private System.Windows.Forms.SaveFileDialog sfd_stitchSaver;
private System.Windows.Forms.OpenFileDialog ofd_stitchLoader;
}
}