2009-04-19 18:07:22 +00:00
namespace CodeImp.DoomBuilder.Windows
{
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 ( )
{
2013-03-18 13:52:27 +00:00
this . components = new System . ComponentModel . Container ( ) ;
System . ComponentModel . ComponentResourceManager resources = new System . ComponentModel . ComponentResourceManager ( typeof ( TextureBrowserForm ) ) ;
this . cancel = new System . Windows . Forms . Button ( ) ;
this . apply = new System . Windows . Forms . Button ( ) ;
this . smallimages = new System . Windows . Forms . ImageList ( this . components ) ;
2015-03-07 21:38:58 +00:00
this . tvTextureSets = new CodeImp . DoomBuilder . GZBuilder . Controls . MultiSelectTreeview ( ) ;
2013-03-18 13:52:27 +00:00
this . browser = new CodeImp . DoomBuilder . Controls . ImageBrowserControl ( ) ;
2015-03-07 21:38:58 +00:00
this . splitContainer = new System . Windows . Forms . SplitContainer ( ) ;
this . splitContainer . Panel1 . SuspendLayout ( ) ;
this . splitContainer . Panel2 . SuspendLayout ( ) ;
this . splitContainer . SuspendLayout ( ) ;
2013-03-18 13:52:27 +00:00
this . SuspendLayout ( ) ;
//
// 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 ;
2015-02-15 20:16:01 +00:00
this . cancel . Location = new System . Drawing . Point ( 674 , 411 ) ;
2013-03-18 13:52:27 +00:00
this . cancel . Name = "cancel" ;
2013-09-26 12:43:39 +00:00
this . cancel . Size = new System . Drawing . Size ( 98 , 25 ) ;
2013-03-18 13:52:27 +00:00
this . cancel . TabIndex = 3 ;
this . cancel . TabStop = false ;
this . cancel . Text = "Cancel" ;
this . cancel . UseVisualStyleBackColor = true ;
this . cancel . Click + = new System . EventHandler ( this . cancel_Click ) ;
//
// apply
//
this . apply . Anchor = ( ( System . Windows . Forms . AnchorStyles ) ( ( System . Windows . Forms . AnchorStyles . Bottom | System . Windows . Forms . AnchorStyles . Right ) ) ) ;
2015-02-15 20:16:01 +00:00
this . apply . Location = new System . Drawing . Point ( 572 , 411 ) ;
2013-03-18 13:52:27 +00:00
this . apply . Name = "apply" ;
2013-09-26 12:43:39 +00:00
this . apply . Size = new System . Drawing . Size ( 98 , 25 ) ;
2013-03-18 13:52:27 +00:00
this . apply . TabIndex = 2 ;
this . apply . TabStop = false ;
this . apply . Text = "OK" ;
this . apply . UseVisualStyleBackColor = true ;
this . apply . Click + = new System . EventHandler ( this . apply_Click ) ;
//
// 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 , "AllTextureSet2.ico" ) ;
this . smallimages . Images . SetKeyName ( 2 , "FileTextureSet.ico" ) ;
this . smallimages . Images . SetKeyName ( 3 , "FolderTextureSet.ico" ) ;
this . smallimages . Images . SetKeyName ( 4 , "PK3TextureSet.ico" ) ;
this . smallimages . Images . SetKeyName ( 5 , "FolderImage.png" ) ;
this . smallimages . Images . SetKeyName ( 6 , "ArchiveImage.png" ) ;
Textures Browser form: empty texture sets are no longer shown when mixed textures & flats is disabled in the current game configuration.
Textures Browser form: PK3/Directory TEXTURES images are now shown in a separate folder in the resources tree.
Fixed, Textures Browser form: fixed a logic error when trying to select initial flat when mix textures & flats was disabled in the current game configuration (this resulted in the blank textures list after opening the form).
Fixed, Textures Browser form: resources tree showed textures count even when browsing flats.
Fixed, Textures Browser form: PK3/Directory textures took precedence even when browsing flats (this means when there were a flat and a texture with the same name, a texture was displayed when browsing flats).
Fixed, Classic modes: actor's scale set in DECORATE was ignored when rendering models.
Fixed, MODELDEF parser: in some cases, several model definitions were skipped when trying to skip the current one.
Fixed, resource management: flat and sprite TEXTURES definitions were loaded only from TEXTURES files named "TEXTURES".
Fixed/added, PK3/folder resource management: patch locations for sprites defined in TEXTURES are now checked the same way as in ZDoom (previously only the "sprites" folder was checked).
Fixed/added, PK3/folder resource management: patch locations for textures defined in TEXTURES are now checked the same way as in ZDoom (previously only the "textures" folder was checked).
Fixed, PK3/folder resource management: flats defined in TEXTURES were not added to the global Flats image list.
Fixed, PK3/folder resource management: in some cases, the image search algorithm could find flats, textures, patches or sprites in incorrect folders (for example, it could find a flat in "flats_backup" folder).
2014-10-07 00:23:02 +00:00
this . smallimages . Images . SetKeyName ( 7 , "TextLump.png" ) ;
2013-03-18 13:52:27 +00:00
//
// tvTextureSets
//
2015-03-07 21:38:58 +00:00
this . tvTextureSets . Anchor = ( ( System . Windows . Forms . AnchorStyles ) ( ( ( ( System . Windows . Forms . AnchorStyles . Top | System . Windows . Forms . AnchorStyles . Bottom )
| System . Windows . Forms . AnchorStyles . Left )
2013-09-26 12:43:39 +00:00
| System . Windows . Forms . AnchorStyles . Right ) ) ) ;
2015-01-05 14:56:44 +00:00
this . tvTextureSets . Font = new System . Drawing . Font ( "Microsoft Sans Serif" , 8.25F , System . Drawing . FontStyle . Bold , System . Drawing . GraphicsUnit . Point , ( ( byte ) ( 204 ) ) ) ;
2013-12-26 08:07:40 +00:00
this . tvTextureSets . HideSelection = false ;
2013-03-18 13:52:27 +00:00
this . tvTextureSets . ImageIndex = 0 ;
this . tvTextureSets . ImageList = this . smallimages ;
2015-03-07 21:38:58 +00:00
this . tvTextureSets . Location = new System . Drawing . Point ( 0 , 0 ) ;
this . tvTextureSets . Margin = new System . Windows . Forms . Padding ( 0 ) ;
2013-03-18 13:52:27 +00:00
this . tvTextureSets . Name = "tvTextureSets" ;
this . tvTextureSets . SelectedImageIndex = 0 ;
2015-03-07 21:38:58 +00:00
this . tvTextureSets . SelectionBackColor = System . Drawing . SystemColors . Highlight ;
this . tvTextureSets . SelectionMode = CodeImp . DoomBuilder . GZBuilder . Controls . TreeViewSelectionMode . SingleSelect ;
this . tvTextureSets . Size = new System . Drawing . Size ( 199 , 390 ) ;
2013-03-18 13:52:27 +00:00
this . tvTextureSets . TabIndex = 4 ;
this . tvTextureSets . TabStop = false ;
2013-11-21 10:53:11 +00:00
this . tvTextureSets . KeyUp + = new System . Windows . Forms . KeyEventHandler ( this . tvTextureSets_KeyUp ) ;
2013-03-18 13:52:27 +00:00
this . tvTextureSets . NodeMouseClick + = new System . Windows . Forms . TreeNodeMouseClickEventHandler ( this . tvTextureSets_NodeMouseClick ) ;
//
// browser
//
2014-05-08 12:33:10 +00:00
this . browser . BrowseFlats = false ;
2015-03-07 21:38:58 +00:00
this . browser . Dock = System . Windows . Forms . DockStyle . Fill ;
2013-03-18 13:52:27 +00:00
this . browser . HideInputBox = false ;
2015-03-07 21:38:58 +00:00
this . browser . Location = new System . Drawing . Point ( 0 , 0 ) ;
2013-03-18 13:52:27 +00:00
this . browser . Name = "browser" ;
this . browser . PreventSelection = false ;
2015-03-07 21:38:58 +00:00
this . browser . Size = new System . Drawing . Size ( 557 , 424 ) ;
2013-03-18 13:52:27 +00:00
this . browser . TabIndex = 1 ;
this . browser . TabStop = false ;
this . browser . SelectedItemDoubleClicked + = new CodeImp . DoomBuilder . Controls . ImageBrowserControl . SelectedItemDoubleClickDelegate ( this . browser_SelectedItemDoubleClicked ) ;
this . browser . SelectedItemChanged + = new CodeImp . DoomBuilder . Controls . ImageBrowserControl . SelectedItemChangedDelegate ( this . browser_SelectedItemChanged ) ;
//
2015-03-07 21:38:58 +00:00
// splitContainer
//
this . splitContainer . 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 . splitContainer . FixedPanel = System . Windows . Forms . FixedPanel . Panel2 ;
this . splitContainer . Location = new System . Drawing . Point ( 12 , 12 ) ;
this . splitContainer . Name = "splitContainer" ;
//
// splitContainer.Panel1
//
this . splitContainer . Panel1 . Controls . Add ( this . browser ) ;
//
// splitContainer.Panel2
//
this . splitContainer . Panel2 . Controls . Add ( this . tvTextureSets ) ;
this . splitContainer . Size = new System . Drawing . Size ( 760 , 424 ) ;
this . splitContainer . SplitterDistance = 557 ;
this . splitContainer . TabIndex = 5 ;
//
2013-03-18 13:52:27 +00:00
// TextureBrowserForm
//
this . AcceptButton = this . apply ;
this . AutoScaleDimensions = new System . Drawing . SizeF ( 96F , 96F ) ;
this . AutoScaleMode = System . Windows . Forms . AutoScaleMode . Dpi ;
this . CancelButton = this . cancel ;
2015-01-05 14:56:44 +00:00
this . ClientSize = new System . Drawing . Size ( 784 , 442 ) ;
2013-03-18 13:52:27 +00:00
this . Controls . Add ( this . cancel ) ;
this . Controls . Add ( this . apply ) ;
2015-03-07 21:38:58 +00:00
this . Controls . Add ( this . splitContainer ) ;
2013-03-18 13:52:27 +00:00
this . MinimizeBox = false ;
this . Name = "TextureBrowserForm" ;
2014-12-03 09:06:05 +00:00
this . Opacity = 1 ;
2013-03-18 13:52:27 +00:00
this . ShowIcon = false ;
this . ShowInTaskbar = false ;
this . StartPosition = System . Windows . Forms . FormStartPosition . Manual ;
this . Text = "Browse Textures" ;
this . Load + = new System . EventHandler ( this . TextureBrowserForm_Load ) ;
this . Shown + = new System . EventHandler ( this . TextureBrowserForm_Shown ) ;
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 . HelpRequested + = new System . Windows . Forms . HelpEventHandler ( this . TextureBrowserForm_HelpRequested ) ;
this . ResizeEnd + = new System . EventHandler ( this . TextureBrowserForm_ResizeEnd ) ;
2015-03-07 21:38:58 +00:00
this . splitContainer . Panel1 . ResumeLayout ( false ) ;
this . splitContainer . Panel2 . ResumeLayout ( false ) ;
this . splitContainer . ResumeLayout ( false ) ;
2013-03-18 13:52:27 +00:00
this . ResumeLayout ( false ) ;
2009-04-19 18:07:22 +00:00
}
#endregion
private CodeImp . DoomBuilder . Controls . ImageBrowserControl browser ;
private System . Windows . Forms . Button cancel ;
2013-09-11 09:47:53 +00:00
private System . Windows . Forms . Button apply ;
private System . Windows . Forms . ImageList smallimages ;
2015-03-07 21:38:58 +00:00
private CodeImp . DoomBuilder . GZBuilder . Controls . MultiSelectTreeview tvTextureSets ;
private System . Windows . Forms . SplitContainer splitContainer ;
2009-04-19 18:07:22 +00:00
}
}