2008-05-29 11:54:45 +00:00
|
|
|
namespace CodeImp.DoomBuilder.Windows
|
2007-10-31 20:34:09 +00:00
|
|
|
{
|
|
|
|
partial class TextureBrowserForm
|
|
|
|
{
|
|
|
|
/// <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()
|
|
|
|
{
|
2008-10-01 20:04:50 +00:00
|
|
|
this.components = new System.ComponentModel.Container();
|
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TextureBrowserForm));
|
2008-05-29 11:54:45 +00:00
|
|
|
this.browser = new CodeImp.DoomBuilder.Controls.ImageBrowserControl();
|
2007-11-04 22:19:30 +00:00
|
|
|
this.cancel = new System.Windows.Forms.Button();
|
|
|
|
this.apply = new System.Windows.Forms.Button();
|
2008-10-01 12:42:30 +00:00
|
|
|
this.texturesets = new System.Windows.Forms.ListView();
|
|
|
|
this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
|
2008-10-01 20:04:50 +00:00
|
|
|
this.smallimages = new System.Windows.Forms.ImageList(this.components);
|
2007-10-31 20:34:09 +00:00
|
|
|
this.SuspendLayout();
|
|
|
|
//
|
2007-11-04 22:19:30 +00:00
|
|
|
// browser
|
2007-10-31 20:34:09 +00:00
|
|
|
//
|
2007-11-04 22:19:30 +00:00
|
|
|
this.browser.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
2007-10-31 20:34:09 +00:00
|
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
2007-11-04 22:19:30 +00:00
|
|
|
this.browser.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
2008-10-01 12:42:30 +00:00
|
|
|
this.browser.HideInputBox = false;
|
2007-11-04 22:19:30 +00:00
|
|
|
this.browser.LabelText = "Select or enter a texture name:";
|
2008-10-01 20:04:50 +00:00
|
|
|
this.browser.Location = new System.Drawing.Point(197, 9);
|
2007-11-04 22:19:30 +00:00
|
|
|
this.browser.Name = "browser";
|
2008-10-01 12:42:30 +00:00
|
|
|
this.browser.PreventSelection = false;
|
2008-10-01 20:45:56 +00:00
|
|
|
this.browser.Size = new System.Drawing.Size(684, 610);
|
2007-11-04 22:19:30 +00:00
|
|
|
this.browser.TabIndex = 0;
|
2009-01-14 23:30:42 +00:00
|
|
|
this.browser.SelectedItemDoubleClicked += new CodeImp.DoomBuilder.Controls.ImageBrowserControl.SelectedItemDoubleClickDelegate(this.browser_SelectedItemDoubleClicked);
|
2008-05-29 11:54:45 +00:00
|
|
|
this.browser.SelectedItemChanged += new CodeImp.DoomBuilder.Controls.ImageBrowserControl.SelectedItemChangedDelegate(this.browser_SelectedItemChanged);
|
2007-11-04 22:19:30 +00:00
|
|
|
//
|
|
|
|
// cancel
|
|
|
|
//
|
|
|
|
this.cancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
this.cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
2008-10-01 20:45:56 +00:00
|
|
|
this.cancel.Location = new System.Drawing.Point(781, 596);
|
2007-11-04 22:19:30 +00:00
|
|
|
this.cancel.Name = "cancel";
|
2008-10-01 12:42:30 +00:00
|
|
|
this.cancel.Size = new System.Drawing.Size(100, 25);
|
2007-11-04 22:19:30 +00:00
|
|
|
this.cancel.TabIndex = 22;
|
|
|
|
this.cancel.Text = "Cancel";
|
|
|
|
this.cancel.UseVisualStyleBackColor = true;
|
2007-11-04 23:09:21 +00:00
|
|
|
this.cancel.Click += new System.EventHandler(this.cancel_Click);
|
2007-11-04 22:19:30 +00:00
|
|
|
//
|
|
|
|
// apply
|
|
|
|
//
|
|
|
|
this.apply.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
2008-10-01 20:45:56 +00:00
|
|
|
this.apply.Location = new System.Drawing.Point(675, 596);
|
2007-11-04 22:19:30 +00:00
|
|
|
this.apply.Name = "apply";
|
2008-10-01 12:42:30 +00:00
|
|
|
this.apply.Size = new System.Drawing.Size(100, 25);
|
2007-11-04 22:19:30 +00:00
|
|
|
this.apply.TabIndex = 21;
|
|
|
|
this.apply.Text = "OK";
|
|
|
|
this.apply.UseVisualStyleBackColor = true;
|
2007-11-04 23:09:21 +00:00
|
|
|
this.apply.Click += new System.EventHandler(this.apply_Click);
|
2007-10-31 20:34:09 +00:00
|
|
|
//
|
2008-10-01 12:42:30 +00:00
|
|
|
// texturesets
|
|
|
|
//
|
2008-10-01 18:19:53 +00:00
|
|
|
this.texturesets.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
|
|
| System.Windows.Forms.AnchorStyles.Left)));
|
2008-10-01 12:42:30 +00:00
|
|
|
this.texturesets.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
|
|
|
this.columnHeader1});
|
2008-10-01 20:04:50 +00:00
|
|
|
this.texturesets.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
2008-10-01 14:17:52 +00:00
|
|
|
this.texturesets.FullRowSelect = true;
|
2008-10-01 12:42:30 +00:00
|
|
|
this.texturesets.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
|
|
|
|
this.texturesets.HideSelection = false;
|
|
|
|
this.texturesets.Location = new System.Drawing.Point(12, 9);
|
2008-10-01 14:17:52 +00:00
|
|
|
this.texturesets.MultiSelect = false;
|
2008-10-01 12:42:30 +00:00
|
|
|
this.texturesets.Name = "texturesets";
|
2008-10-01 20:45:56 +00:00
|
|
|
this.texturesets.Size = new System.Drawing.Size(176, 576);
|
2008-10-01 20:04:50 +00:00
|
|
|
this.texturesets.SmallImageList = this.smallimages;
|
2008-10-01 12:42:30 +00:00
|
|
|
this.texturesets.TabIndex = 23;
|
|
|
|
this.texturesets.UseCompatibleStateImageBehavior = false;
|
|
|
|
this.texturesets.View = System.Windows.Forms.View.Details;
|
2008-10-01 14:17:52 +00:00
|
|
|
this.texturesets.SelectedIndexChanged += new System.EventHandler(this.texturesets_SelectedIndexChanged);
|
2008-10-01 12:42:30 +00:00
|
|
|
//
|
|
|
|
// columnHeader1
|
|
|
|
//
|
|
|
|
this.columnHeader1.Text = "Name";
|
2008-10-01 20:04:50 +00:00
|
|
|
this.columnHeader1.Width = 152;
|
|
|
|
//
|
|
|
|
// smallimages
|
|
|
|
//
|
|
|
|
this.smallimages.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("smallimages.ImageStream")));
|
|
|
|
this.smallimages.TransparentColor = System.Drawing.Color.Transparent;
|
|
|
|
this.smallimages.Images.SetKeyName(0, "KnownTextureSet2.ico");
|
|
|
|
this.smallimages.Images.SetKeyName(1, "OthersTextureSet2.ico");
|
2009-01-09 23:05:41 +00:00
|
|
|
this.smallimages.Images.SetKeyName(2, "AllTextureSet2.ico");
|
2008-10-01 12:42:30 +00:00
|
|
|
//
|
2007-10-31 20:34:09 +00:00
|
|
|
// TextureBrowserForm
|
|
|
|
//
|
2007-11-04 22:19:30 +00:00
|
|
|
this.AcceptButton = this.apply;
|
2007-10-31 20:34:09 +00:00
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
2007-11-04 22:19:30 +00:00
|
|
|
this.CancelButton = this.cancel;
|
2008-10-01 20:45:56 +00:00
|
|
|
this.ClientSize = new System.Drawing.Size(893, 631);
|
2008-10-01 12:42:30 +00:00
|
|
|
this.Controls.Add(this.texturesets);
|
2007-11-04 22:19:30 +00:00
|
|
|
this.Controls.Add(this.cancel);
|
|
|
|
this.Controls.Add(this.apply);
|
|
|
|
this.Controls.Add(this.browser);
|
2007-10-31 20:34:09 +00:00
|
|
|
this.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
2008-10-01 14:17:52 +00:00
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
2008-10-01 12:42:30 +00:00
|
|
|
this.MaximizeBox = false;
|
2007-10-31 20:34:09 +00:00
|
|
|
this.MinimizeBox = false;
|
|
|
|
this.Name = "TextureBrowserForm";
|
2007-11-04 23:09:21 +00:00
|
|
|
this.Opacity = 0;
|
2007-10-31 20:34:09 +00:00
|
|
|
this.ShowIcon = false;
|
2007-12-26 01:33:46 +00:00
|
|
|
this.ShowInTaskbar = false;
|
2007-10-31 20:34:09 +00:00
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|
|
|
this.Text = "Browse Textures";
|
2009-01-09 23:05:41 +00:00
|
|
|
this.Load += new System.EventHandler(this.TextureBrowserForm_Load);
|
2007-11-04 23:09:21 +00:00
|
|
|
this.Activated += new System.EventHandler(this.TextureBrowserForm_Activated);
|
|
|
|
this.Move += new System.EventHandler(this.TextureBrowserForm_Move);
|
|
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.TextureBrowserForm_FormClosing);
|
|
|
|
this.ResizeEnd += new System.EventHandler(this.TextureBrowserForm_ResizeEnd);
|
2007-10-31 20:34:09 +00:00
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
2008-05-29 11:54:45 +00:00
|
|
|
private CodeImp.DoomBuilder.Controls.ImageBrowserControl browser;
|
2007-11-04 22:19:30 +00:00
|
|
|
private System.Windows.Forms.Button cancel;
|
|
|
|
private System.Windows.Forms.Button apply;
|
2008-10-01 12:42:30 +00:00
|
|
|
private System.Windows.Forms.ListView texturesets;
|
|
|
|
private System.Windows.Forms.ColumnHeader columnHeader1;
|
2008-10-01 20:04:50 +00:00
|
|
|
private System.Windows.Forms.ImageList smallimages;
|
2007-10-31 20:34:09 +00:00
|
|
|
}
|
|
|
|
}
|