mirror of
https://github.com/aelurum/AssetStudio.git
synced 2026-11-14 11:18:47 -05:00
[GUI] Improve multi-monitor & highDpi support
- The Export Options window has been reorganized - Improved multi-monitor support (.net builds) - Disabled dpi awareness for net472 build, via app.manifest, for better compatibility (with Wine as well)
This commit is contained in:
Generated
+85
-81
@@ -71,16 +71,14 @@
|
||||
//
|
||||
// tabControl1
|
||||
//
|
||||
this.tabControl1.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.tabControl1.Controls.Add(this.tabPage1);
|
||||
this.tabControl1.Controls.Add(this.tabPage2);
|
||||
this.tabControl1.Location = new System.Drawing.Point(8, 103);
|
||||
this.tabControl1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.tabControl1.Location = new System.Drawing.Point(0, 106);
|
||||
this.tabControl1.Name = "tabControl1";
|
||||
this.tabControl1.SelectedIndex = 0;
|
||||
this.tabControl1.Size = new System.Drawing.Size(370, 315);
|
||||
this.tabControl1.TabIndex = 0;
|
||||
this.tabControl1.Size = new System.Drawing.Size(421, 343);
|
||||
this.tabControl1.TabIndex = 3;
|
||||
//
|
||||
// tabPage1
|
||||
//
|
||||
@@ -91,10 +89,10 @@
|
||||
this.tabPage1.Controls.Add(this.label10);
|
||||
this.tabPage1.Controls.Add(this.tableLayoutPanel2);
|
||||
this.tabPage1.Controls.Add(this.tableLayoutPanel1);
|
||||
this.tabPage1.Location = new System.Drawing.Point(4, 22);
|
||||
this.tabPage1.Location = new System.Drawing.Point(4, 24);
|
||||
this.tabPage1.Name = "tabPage1";
|
||||
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.tabPage1.Size = new System.Drawing.Size(362, 289);
|
||||
this.tabPage1.Size = new System.Drawing.Size(413, 315);
|
||||
this.tabPage1.TabIndex = 0;
|
||||
this.tabPage1.Text = "Info";
|
||||
//
|
||||
@@ -102,11 +100,12 @@
|
||||
//
|
||||
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.panel1.AutoSize = true;
|
||||
this.panel1.BackColor = System.Drawing.Color.White;
|
||||
this.panel1.Controls.Add(this.label2);
|
||||
this.panel1.Location = new System.Drawing.Point(9, 16);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(347, 46);
|
||||
this.panel1.Size = new System.Drawing.Size(398, 49);
|
||||
this.panel1.TabIndex = 21;
|
||||
//
|
||||
// label2
|
||||
@@ -115,7 +114,7 @@
|
||||
this.label2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.label2.Location = new System.Drawing.Point(0, 0);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(347, 46);
|
||||
this.label2.Size = new System.Drawing.Size(398, 49);
|
||||
this.label2.TabIndex = 0;
|
||||
this.label2.Text = "AssetStudio is a tool for exploring, extracting, and exporting assets and asset b" +
|
||||
"undles.";
|
||||
@@ -123,19 +122,18 @@
|
||||
//
|
||||
// textBox2
|
||||
//
|
||||
this.textBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.textBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.textBox2.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.textBox2.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.textBox2.Cursor = System.Windows.Forms.Cursors.Default;
|
||||
this.textBox2.Enabled = false;
|
||||
this.textBox2.ForeColor = System.Drawing.SystemColors.GrayText;
|
||||
this.textBox2.Location = new System.Drawing.Point(9, 232);
|
||||
this.textBox2.Location = new System.Drawing.Point(3, 261);
|
||||
this.textBox2.Multiline = true;
|
||||
this.textBox2.Name = "textBox2";
|
||||
this.textBox2.ReadOnly = true;
|
||||
this.textBox2.Size = new System.Drawing.Size(347, 51);
|
||||
this.textBox2.TabIndex = 20;
|
||||
this.textBox2.Size = new System.Drawing.Size(407, 51);
|
||||
this.textBox2.TabIndex = 5;
|
||||
this.textBox2.TabStop = false;
|
||||
this.textBox2.Text = "* Neither the repository, nor the tool, nor the author of the tool, nor the autho" +
|
||||
"r of the modification is affiliated with, sponsored, or authorized by Unity Tech" +
|
||||
@@ -144,10 +142,10 @@
|
||||
// label11
|
||||
//
|
||||
this.label11.AutoSize = true;
|
||||
this.label11.Location = new System.Drawing.Point(6, 150);
|
||||
this.label11.Location = new System.Drawing.Point(6, 170);
|
||||
this.label11.Name = "label11";
|
||||
this.label11.Size = new System.Drawing.Size(43, 13);
|
||||
this.label11.TabIndex = 17;
|
||||
this.label11.Size = new System.Drawing.Size(49, 15);
|
||||
this.label11.TabIndex = 3;
|
||||
this.label11.Text = "Authors";
|
||||
//
|
||||
// label10
|
||||
@@ -155,31 +153,33 @@
|
||||
this.label10.AutoSize = true;
|
||||
this.label10.Location = new System.Drawing.Point(8, 65);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(42, 13);
|
||||
this.label10.TabIndex = 16;
|
||||
this.label10.Size = new System.Drawing.Size(45, 15);
|
||||
this.label10.TabIndex = 1;
|
||||
this.label10.Text = "Version";
|
||||
//
|
||||
// tableLayoutPanel2
|
||||
//
|
||||
this.tableLayoutPanel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.tableLayoutPanel2.BackColor = System.Drawing.SystemColors.Menu;
|
||||
this.tableLayoutPanel2.ColumnCount = 3;
|
||||
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 41.37931F));
|
||||
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 58.62069F));
|
||||
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 114F));
|
||||
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 27.59494F));
|
||||
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 44.81013F));
|
||||
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 27.8481F));
|
||||
this.tableLayoutPanel2.Controls.Add(this.label16, 0, 0);
|
||||
this.tableLayoutPanel2.Controls.Add(this.label17, 1, 0);
|
||||
this.tableLayoutPanel2.Controls.Add(this.gitPerfareLinkLabel, 2, 0);
|
||||
this.tableLayoutPanel2.Controls.Add(this.label18, 0, 1);
|
||||
this.tableLayoutPanel2.Controls.Add(this.label19, 1, 1);
|
||||
this.tableLayoutPanel2.Controls.Add(this.gitAelurumLinkLabel, 2, 1);
|
||||
this.tableLayoutPanel2.Location = new System.Drawing.Point(6, 165);
|
||||
this.tableLayoutPanel2.Location = new System.Drawing.Point(6, 185);
|
||||
this.tableLayoutPanel2.Name = "tableLayoutPanel2";
|
||||
this.tableLayoutPanel2.Padding = new System.Windows.Forms.Padding(2);
|
||||
this.tableLayoutPanel2.RowCount = 2;
|
||||
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
||||
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
||||
this.tableLayoutPanel2.Size = new System.Drawing.Size(350, 40);
|
||||
this.tableLayoutPanel2.TabIndex = 15;
|
||||
this.tableLayoutPanel2.Size = new System.Drawing.Size(399, 40);
|
||||
this.tableLayoutPanel2.TabIndex = 4;
|
||||
//
|
||||
// label16
|
||||
//
|
||||
@@ -187,18 +187,18 @@
|
||||
this.label16.BackColor = System.Drawing.Color.Transparent;
|
||||
this.label16.Location = new System.Drawing.Point(5, 2);
|
||||
this.label16.Name = "label16";
|
||||
this.label16.Size = new System.Drawing.Size(78, 13);
|
||||
this.label16.TabIndex = 9;
|
||||
this.label16.Size = new System.Drawing.Size(90, 15);
|
||||
this.label16.TabIndex = 0;
|
||||
this.label16.Text = "Original author:";
|
||||
//
|
||||
// label17
|
||||
//
|
||||
this.label17.AutoSize = true;
|
||||
this.label17.BackColor = System.Drawing.Color.Transparent;
|
||||
this.label17.Location = new System.Drawing.Point(101, 2);
|
||||
this.label17.Location = new System.Drawing.Point(113, 2);
|
||||
this.label17.Name = "label17";
|
||||
this.label17.Size = new System.Drawing.Size(110, 13);
|
||||
this.label17.TabIndex = 10;
|
||||
this.label17.Size = new System.Drawing.Size(117, 15);
|
||||
this.label17.TabIndex = 1;
|
||||
this.label17.Text = "Perfare (c) 2016-2022";
|
||||
//
|
||||
// gitPerfareLinkLabel
|
||||
@@ -206,10 +206,10 @@
|
||||
this.gitPerfareLinkLabel.AutoSize = true;
|
||||
this.gitPerfareLinkLabel.BackColor = System.Drawing.Color.Transparent;
|
||||
this.gitPerfareLinkLabel.LinkColor = System.Drawing.SystemColors.MenuHighlight;
|
||||
this.gitPerfareLinkLabel.Location = new System.Drawing.Point(237, 2);
|
||||
this.gitPerfareLinkLabel.Location = new System.Drawing.Point(289, 2);
|
||||
this.gitPerfareLinkLabel.Name = "gitPerfareLinkLabel";
|
||||
this.gitPerfareLinkLabel.Size = new System.Drawing.Size(67, 13);
|
||||
this.gitPerfareLinkLabel.TabIndex = 11;
|
||||
this.gitPerfareLinkLabel.Size = new System.Drawing.Size(74, 15);
|
||||
this.gitPerfareLinkLabel.TabIndex = 2;
|
||||
this.gitPerfareLinkLabel.TabStop = true;
|
||||
this.gitPerfareLinkLabel.Text = "GitHub page";
|
||||
this.gitPerfareLinkLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.gitPerfareLinkLabel_LinkClicked);
|
||||
@@ -220,18 +220,18 @@
|
||||
this.label18.BackColor = System.Drawing.Color.Transparent;
|
||||
this.label18.Location = new System.Drawing.Point(5, 20);
|
||||
this.label18.Name = "label18";
|
||||
this.label18.Size = new System.Drawing.Size(76, 13);
|
||||
this.label18.TabIndex = 12;
|
||||
this.label18.Size = new System.Drawing.Size(89, 15);
|
||||
this.label18.TabIndex = 3;
|
||||
this.label18.Text = "Author of mod:";
|
||||
//
|
||||
// label19
|
||||
//
|
||||
this.label19.AutoSize = true;
|
||||
this.label19.BackColor = System.Drawing.Color.Transparent;
|
||||
this.label19.Location = new System.Drawing.Point(101, 20);
|
||||
this.label19.Location = new System.Drawing.Point(113, 20);
|
||||
this.label19.Name = "label19";
|
||||
this.label19.Size = new System.Drawing.Size(113, 13);
|
||||
this.label19.TabIndex = 13;
|
||||
this.label19.Size = new System.Drawing.Size(124, 15);
|
||||
this.label19.TabIndex = 4;
|
||||
this.label19.Text = "aelurum (c) 2021-2025";
|
||||
//
|
||||
// gitAelurumLinkLabel
|
||||
@@ -239,21 +239,23 @@
|
||||
this.gitAelurumLinkLabel.AutoSize = true;
|
||||
this.gitAelurumLinkLabel.BackColor = System.Drawing.Color.Transparent;
|
||||
this.gitAelurumLinkLabel.LinkColor = System.Drawing.SystemColors.MenuHighlight;
|
||||
this.gitAelurumLinkLabel.Location = new System.Drawing.Point(237, 20);
|
||||
this.gitAelurumLinkLabel.Location = new System.Drawing.Point(289, 20);
|
||||
this.gitAelurumLinkLabel.Name = "gitAelurumLinkLabel";
|
||||
this.gitAelurumLinkLabel.Size = new System.Drawing.Size(67, 13);
|
||||
this.gitAelurumLinkLabel.TabIndex = 14;
|
||||
this.gitAelurumLinkLabel.Size = new System.Drawing.Size(74, 15);
|
||||
this.gitAelurumLinkLabel.TabIndex = 5;
|
||||
this.gitAelurumLinkLabel.TabStop = true;
|
||||
this.gitAelurumLinkLabel.Text = "GitHub page";
|
||||
this.gitAelurumLinkLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.gitAelurumLinkLabel_LinkClicked);
|
||||
//
|
||||
// tableLayoutPanel1
|
||||
//
|
||||
this.tableLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.tableLayoutPanel1.BackColor = System.Drawing.SystemColors.Menu;
|
||||
this.tableLayoutPanel1.ColumnCount = 3;
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 41.37931F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 58.62069F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 114F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 38.46154F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 61.53846F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
this.tableLayoutPanel1.Controls.Add(this.label5, 0, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.productNamelabel, 1, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label7, 0, 1);
|
||||
@@ -268,11 +270,8 @@
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33334F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(350, 60);
|
||||
this.tableLayoutPanel1.TabIndex = 5;
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(399, 60);
|
||||
this.tableLayoutPanel1.TabIndex = 2;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
@@ -280,7 +279,7 @@
|
||||
this.label5.BackColor = System.Drawing.Color.Transparent;
|
||||
this.label5.Location = new System.Drawing.Point(5, 2);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(76, 13);
|
||||
this.label5.Size = new System.Drawing.Size(85, 15);
|
||||
this.label5.TabIndex = 0;
|
||||
this.label5.Text = "Product name:";
|
||||
//
|
||||
@@ -288,9 +287,9 @@
|
||||
//
|
||||
this.productNamelabel.AutoSize = true;
|
||||
this.productNamelabel.BackColor = System.Drawing.Color.Transparent;
|
||||
this.productNamelabel.Location = new System.Drawing.Point(101, 2);
|
||||
this.productNamelabel.Location = new System.Drawing.Point(114, 2);
|
||||
this.productNamelabel.Name = "productNamelabel";
|
||||
this.productNamelabel.Size = new System.Drawing.Size(103, 13);
|
||||
this.productNamelabel.Size = new System.Drawing.Size(113, 15);
|
||||
this.productNamelabel.TabIndex = 1;
|
||||
this.productNamelabel.Text = "AssetStudioModGUI";
|
||||
//
|
||||
@@ -300,7 +299,7 @@
|
||||
this.label7.BackColor = System.Drawing.Color.Transparent;
|
||||
this.label7.Location = new System.Drawing.Point(5, 20);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(68, 13);
|
||||
this.label7.Size = new System.Drawing.Size(76, 15);
|
||||
this.label7.TabIndex = 2;
|
||||
this.label7.Text = "Mod version:";
|
||||
//
|
||||
@@ -309,7 +308,7 @@
|
||||
this.modVersionLabel.AutoSize = true;
|
||||
this.modVersionLabel.BackColor = System.Drawing.Color.Transparent;
|
||||
this.modVersionLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.modVersionLabel.Location = new System.Drawing.Point(101, 20);
|
||||
this.modVersionLabel.Location = new System.Drawing.Point(114, 20);
|
||||
this.modVersionLabel.Name = "modVersionLabel";
|
||||
this.modVersionLabel.Size = new System.Drawing.Size(46, 13);
|
||||
this.modVersionLabel.TabIndex = 3;
|
||||
@@ -323,43 +322,44 @@
|
||||
this.label4.Location = new System.Drawing.Point(5, 38);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(55, 13);
|
||||
this.label4.TabIndex = 4;
|
||||
this.label4.TabIndex = 5;
|
||||
this.label4.Text = "Based on:";
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.AutoSize = true;
|
||||
this.label8.BackColor = System.Drawing.Color.Transparent;
|
||||
this.label8.Location = new System.Drawing.Point(101, 38);
|
||||
this.label8.Location = new System.Drawing.Point(114, 38);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(108, 13);
|
||||
this.label8.TabIndex = 5;
|
||||
this.label8.Size = new System.Drawing.Size(114, 15);
|
||||
this.label8.TabIndex = 6;
|
||||
this.label8.Text = "AssetStudio v0.16.47";
|
||||
//
|
||||
// checkUpdatesLinkLabel
|
||||
//
|
||||
this.checkUpdatesLinkLabel.AutoSize = true;
|
||||
this.checkUpdatesLinkLabel.BackColor = System.Drawing.Color.Transparent;
|
||||
this.checkUpdatesLinkLabel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.checkUpdatesLinkLabel.LinkColor = System.Drawing.SystemColors.MenuHighlight;
|
||||
this.checkUpdatesLinkLabel.Location = new System.Drawing.Point(237, 20);
|
||||
this.checkUpdatesLinkLabel.Location = new System.Drawing.Point(289, 20);
|
||||
this.checkUpdatesLinkLabel.Name = "checkUpdatesLinkLabel";
|
||||
this.checkUpdatesLinkLabel.Size = new System.Drawing.Size(96, 13);
|
||||
this.checkUpdatesLinkLabel.TabIndex = 6;
|
||||
this.checkUpdatesLinkLabel.Size = new System.Drawing.Size(105, 18);
|
||||
this.checkUpdatesLinkLabel.TabIndex = 4;
|
||||
this.checkUpdatesLinkLabel.TabStop = true;
|
||||
this.checkUpdatesLinkLabel.Text = "Check for Updates";
|
||||
this.checkUpdatesLinkLabel.TextAlign = System.Drawing.ContentAlignment.TopCenter;
|
||||
this.checkUpdatesLinkLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.checkUpdatesLinkLabel_LinkClicked);
|
||||
//
|
||||
// tabPage2
|
||||
//
|
||||
this.tabPage2.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.tabPage2.Controls.Add(this.licenseRichTextBox);
|
||||
this.tabPage2.Location = new System.Drawing.Point(4, 22);
|
||||
this.tabPage2.Location = new System.Drawing.Point(4, 24);
|
||||
this.tabPage2.Name = "tabPage2";
|
||||
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.tabPage2.Size = new System.Drawing.Size(362, 289);
|
||||
this.tabPage2.Size = new System.Drawing.Size(413, 315);
|
||||
this.tabPage2.TabIndex = 1;
|
||||
this.tabPage2.Text = "License";
|
||||
this.tabPage2.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// licenseRichTextBox
|
||||
//
|
||||
@@ -370,7 +370,7 @@
|
||||
this.licenseRichTextBox.Location = new System.Drawing.Point(3, 3);
|
||||
this.licenseRichTextBox.Name = "licenseRichTextBox";
|
||||
this.licenseRichTextBox.ReadOnly = true;
|
||||
this.licenseRichTextBox.Size = new System.Drawing.Size(356, 283);
|
||||
this.licenseRichTextBox.Size = new System.Drawing.Size(407, 309);
|
||||
this.licenseRichTextBox.TabIndex = 0;
|
||||
this.licenseRichTextBox.Text = "MIT License";
|
||||
this.licenseRichTextBox.ZoomFactor = 1.1F;
|
||||
@@ -382,7 +382,7 @@
|
||||
this.pictureBox1.Image = global::AssetStudioGUI.Properties.Resources.as_logo;
|
||||
this.pictureBox1.Location = new System.Drawing.Point(0, 0);
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.Size = new System.Drawing.Size(384, 50);
|
||||
this.pictureBox1.Size = new System.Drawing.Size(421, 50);
|
||||
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||
this.pictureBox1.TabIndex = 0;
|
||||
this.pictureBox1.TabStop = false;
|
||||
@@ -394,7 +394,7 @@
|
||||
this.productTitleLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.productTitleLabel.Location = new System.Drawing.Point(0, 52);
|
||||
this.productTitleLabel.Name = "productTitleLabel";
|
||||
this.productTitleLabel.Size = new System.Drawing.Size(384, 30);
|
||||
this.productTitleLabel.Size = new System.Drawing.Size(421, 30);
|
||||
this.productTitleLabel.TabIndex = 1;
|
||||
this.productTitleLabel.Text = "AssetStudioModGUI";
|
||||
this.productTitleLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
@@ -404,10 +404,10 @@
|
||||
this.CloseButton.BackColor = System.Drawing.SystemColors.ButtonFace;
|
||||
this.CloseButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
this.CloseButton.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.CloseButton.Location = new System.Drawing.Point(0, 422);
|
||||
this.CloseButton.Location = new System.Drawing.Point(0, 449);
|
||||
this.CloseButton.Name = "CloseButton";
|
||||
this.CloseButton.Size = new System.Drawing.Size(384, 39);
|
||||
this.CloseButton.TabIndex = 1;
|
||||
this.CloseButton.Size = new System.Drawing.Size(421, 39);
|
||||
this.CloseButton.TabIndex = 4;
|
||||
this.CloseButton.Text = "Close";
|
||||
this.CloseButton.UseVisualStyleBackColor = false;
|
||||
//
|
||||
@@ -418,10 +418,10 @@
|
||||
this.productVersionLabel.Location = new System.Drawing.Point(0, 82);
|
||||
this.productVersionLabel.Name = "productVersionLabel";
|
||||
this.productVersionLabel.Padding = new System.Windows.Forms.Padding(0, 0, 5, 0);
|
||||
this.productVersionLabel.Size = new System.Drawing.Size(384, 13);
|
||||
this.productVersionLabel.Size = new System.Drawing.Size(421, 13);
|
||||
this.productVersionLabel.TabIndex = 2;
|
||||
this.productVersionLabel.Text = "v0.18.0.0 [x64]";
|
||||
this.productVersionLabel.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
|
||||
this.productVersionLabel.TextAlign = System.Drawing.ContentAlignment.TopCenter;
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
@@ -431,7 +431,7 @@
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel2.Location = new System.Drawing.Point(0, 5);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(384, 95);
|
||||
this.panel2.Size = new System.Drawing.Size(421, 95);
|
||||
this.panel2.TabIndex = 3;
|
||||
//
|
||||
// panel3
|
||||
@@ -439,22 +439,26 @@
|
||||
this.panel3.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel3.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(384, 5);
|
||||
this.panel3.Size = new System.Drawing.Size(421, 5);
|
||||
this.panel3.TabIndex = 3;
|
||||
//
|
||||
// AboutForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
||||
this.AutoScroll = true;
|
||||
this.AutoSize = true;
|
||||
this.CancelButton = this.CloseButton;
|
||||
this.ClientSize = new System.Drawing.Size(384, 461);
|
||||
this.ClientSize = new System.Drawing.Size(421, 488);
|
||||
this.Controls.Add(this.panel2);
|
||||
this.Controls.Add(this.panel3);
|
||||
this.Controls.Add(this.CloseButton);
|
||||
this.Controls.Add(this.tabControl1);
|
||||
this.Controls.Add(this.CloseButton);
|
||||
this.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MaximizeBox = false;
|
||||
this.MaximumSize = new System.Drawing.Size(450, 550);
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "AboutForm";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
@@ -484,8 +488,6 @@
|
||||
private System.Windows.Forms.Label productVersionLabel;
|
||||
private System.Windows.Forms.TabPage tabPage1;
|
||||
private System.Windows.Forms.Label label11;
|
||||
private System.Windows.Forms.Label label10;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
||||
private System.Windows.Forms.Label label16;
|
||||
private System.Windows.Forms.Label label17;
|
||||
private System.Windows.Forms.LinkLabel gitPerfareLinkLabel;
|
||||
@@ -506,5 +508,7 @@
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private System.Windows.Forms.Panel panel3;
|
||||
private System.Windows.Forms.Label label10;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
||||
}
|
||||
}
|
||||
@@ -17,6 +17,10 @@
|
||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition=" '$(TargetFramework)' != 'net472' ">
|
||||
<RuntimeHostConfigurationOption Include="System.Windows.Forms.AnchorLayoutV2" Value="false" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\AssetStudioUtility\AssetStudioUtility.csproj" />
|
||||
<ProjectReference Include="..\AssetStudio\AssetStudio.csproj" />
|
||||
|
||||
+38
-33
@@ -894,7 +894,6 @@
|
||||
this.tabControl1.Padding = new System.Drawing.Point(17, 3);
|
||||
this.tabControl1.SelectedIndex = 0;
|
||||
this.tabControl1.Size = new System.Drawing.Size(480, 633);
|
||||
this.tabControl1.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
|
||||
this.tabControl1.TabIndex = 0;
|
||||
this.tabControl1.Selected += new System.Windows.Forms.TabControlEventHandler(this.tabPageSelected);
|
||||
//
|
||||
@@ -902,9 +901,9 @@
|
||||
//
|
||||
this.tabPage1.Controls.Add(this.sceneTreeView);
|
||||
this.tabPage1.Controls.Add(this.panel2);
|
||||
this.tabPage1.Location = new System.Drawing.Point(4, 22);
|
||||
this.tabPage1.Location = new System.Drawing.Point(4, 24);
|
||||
this.tabPage1.Name = "tabPage1";
|
||||
this.tabPage1.Size = new System.Drawing.Size(472, 607);
|
||||
this.tabPage1.Size = new System.Drawing.Size(472, 605);
|
||||
this.tabPage1.TabIndex = 0;
|
||||
this.tabPage1.Text = "Scene Hierarchy";
|
||||
this.tabPage1.UseVisualStyleBackColor = true;
|
||||
@@ -918,7 +917,7 @@
|
||||
this.sceneTreeView.HideSelection = false;
|
||||
this.sceneTreeView.Location = new System.Drawing.Point(0, 22);
|
||||
this.sceneTreeView.Name = "sceneTreeView";
|
||||
this.sceneTreeView.Size = new System.Drawing.Size(472, 585);
|
||||
this.sceneTreeView.Size = new System.Drawing.Size(472, 583);
|
||||
this.sceneTreeView.TabIndex = 0;
|
||||
this.sceneTreeView.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.sceneTreeView_AfterCheck);
|
||||
this.sceneTreeView.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.sceneTreeView_NodeMouseClick);
|
||||
@@ -938,9 +937,9 @@
|
||||
//
|
||||
this.sceneExactSearchCheckBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.sceneExactSearchCheckBox.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.sceneExactSearchCheckBox.Location = new System.Drawing.Point(377, 3);
|
||||
this.sceneExactSearchCheckBox.Location = new System.Drawing.Point(369, 3);
|
||||
this.sceneExactSearchCheckBox.Name = "sceneExactSearchCheckBox";
|
||||
this.sceneExactSearchCheckBox.Size = new System.Drawing.Size(92, 16);
|
||||
this.sceneExactSearchCheckBox.Size = new System.Drawing.Size(100, 16);
|
||||
this.sceneExactSearchCheckBox.TabIndex = 2;
|
||||
this.sceneExactSearchCheckBox.Text = "Exact search";
|
||||
this.sceneExactSearchCheckBox.UseVisualStyleBackColor = true;
|
||||
@@ -953,7 +952,7 @@
|
||||
this.treeSearch.ForeColor = System.Drawing.SystemColors.GrayText;
|
||||
this.treeSearch.Location = new System.Drawing.Point(0, 0);
|
||||
this.treeSearch.Name = "treeSearch";
|
||||
this.treeSearch.Size = new System.Drawing.Size(472, 20);
|
||||
this.treeSearch.Size = new System.Drawing.Size(472, 23);
|
||||
this.treeSearch.TabIndex = 1;
|
||||
this.treeSearch.Text = " Search ";
|
||||
this.treeSearch.TextChanged += new System.EventHandler(this.treeSearch_TextChanged);
|
||||
@@ -965,9 +964,9 @@
|
||||
//
|
||||
this.tabPage2.Controls.Add(this.assetListView);
|
||||
this.tabPage2.Controls.Add(this.panel1);
|
||||
this.tabPage2.Location = new System.Drawing.Point(4, 22);
|
||||
this.tabPage2.Location = new System.Drawing.Point(4, 24);
|
||||
this.tabPage2.Name = "tabPage2";
|
||||
this.tabPage2.Size = new System.Drawing.Size(472, 607);
|
||||
this.tabPage2.Size = new System.Drawing.Size(472, 605);
|
||||
this.tabPage2.TabIndex = 1;
|
||||
this.tabPage2.Text = "Asset List";
|
||||
this.tabPage2.UseVisualStyleBackColor = true;
|
||||
@@ -987,7 +986,7 @@
|
||||
this.assetListView.HideSelection = false;
|
||||
this.assetListView.Location = new System.Drawing.Point(0, 23);
|
||||
this.assetListView.Name = "assetListView";
|
||||
this.assetListView.Size = new System.Drawing.Size(472, 584);
|
||||
this.assetListView.Size = new System.Drawing.Size(472, 582);
|
||||
this.assetListView.TabIndex = 0;
|
||||
this.assetListView.UseCompatibleStateImageBehavior = false;
|
||||
this.assetListView.View = System.Windows.Forms.View.Details;
|
||||
@@ -1062,7 +1061,7 @@
|
||||
this.listSearchHistory.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.listSearchHistory.Location = new System.Drawing.Point(0, 0);
|
||||
this.listSearchHistory.Name = "listSearchHistory";
|
||||
this.listSearchHistory.Size = new System.Drawing.Size(351, 21);
|
||||
this.listSearchHistory.Size = new System.Drawing.Size(351, 23);
|
||||
this.listSearchHistory.TabIndex = 2;
|
||||
this.listSearchHistory.TabStop = false;
|
||||
this.listSearchHistory.SelectedIndexChanged += new System.EventHandler(this.listSearchHistory_SelectedIndexChanged);
|
||||
@@ -1081,16 +1080,16 @@
|
||||
"Regex (Container)"});
|
||||
this.listSearchFilterMode.Location = new System.Drawing.Point(351, 0);
|
||||
this.listSearchFilterMode.Name = "listSearchFilterMode";
|
||||
this.listSearchFilterMode.Size = new System.Drawing.Size(121, 21);
|
||||
this.listSearchFilterMode.Size = new System.Drawing.Size(121, 23);
|
||||
this.listSearchFilterMode.TabIndex = 2;
|
||||
this.listSearchFilterMode.SelectedIndexChanged += new System.EventHandler(this.listSearchFilterMode_SelectedIndexChanged);
|
||||
//
|
||||
// tabPage3
|
||||
//
|
||||
this.tabPage3.Controls.Add(this.classesListView);
|
||||
this.tabPage3.Location = new System.Drawing.Point(4, 22);
|
||||
this.tabPage3.Location = new System.Drawing.Point(4, 24);
|
||||
this.tabPage3.Name = "tabPage3";
|
||||
this.tabPage3.Size = new System.Drawing.Size(472, 607);
|
||||
this.tabPage3.Size = new System.Drawing.Size(472, 605);
|
||||
this.tabPage3.TabIndex = 2;
|
||||
this.tabPage3.Text = "Asset Classes";
|
||||
this.tabPage3.UseVisualStyleBackColor = true;
|
||||
@@ -1106,7 +1105,7 @@
|
||||
this.classesListView.Location = new System.Drawing.Point(0, 0);
|
||||
this.classesListView.MultiSelect = false;
|
||||
this.classesListView.Name = "classesListView";
|
||||
this.classesListView.Size = new System.Drawing.Size(472, 607);
|
||||
this.classesListView.Size = new System.Drawing.Size(472, 605);
|
||||
this.classesListView.TabIndex = 0;
|
||||
this.classesListView.UseCompatibleStateImageBehavior = false;
|
||||
this.classesListView.View = System.Windows.Forms.View.Details;
|
||||
@@ -1161,9 +1160,9 @@
|
||||
// tabPage4
|
||||
//
|
||||
this.tabPage4.Controls.Add(this.previewPanel);
|
||||
this.tabPage4.Location = new System.Drawing.Point(4, 22);
|
||||
this.tabPage4.Location = new System.Drawing.Point(4, 24);
|
||||
this.tabPage4.Name = "tabPage4";
|
||||
this.tabPage4.Size = new System.Drawing.Size(768, 607);
|
||||
this.tabPage4.Size = new System.Drawing.Size(768, 605);
|
||||
this.tabPage4.TabIndex = 0;
|
||||
this.tabPage4.Text = "Preview";
|
||||
this.tabPage4.UseVisualStyleBackColor = true;
|
||||
@@ -1181,7 +1180,7 @@
|
||||
this.previewPanel.Image = global::AssetStudioGUI.Properties.Resources.preview;
|
||||
this.previewPanel.Location = new System.Drawing.Point(0, 0);
|
||||
this.previewPanel.Name = "previewPanel";
|
||||
this.previewPanel.Size = new System.Drawing.Size(768, 607);
|
||||
this.previewPanel.Size = new System.Drawing.Size(768, 605);
|
||||
this.previewPanel.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
||||
this.previewPanel.TabIndex = 1;
|
||||
this.previewPanel.TabStop = false;
|
||||
@@ -1195,7 +1194,7 @@
|
||||
this.assetInfoLabel.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.assetInfoLabel.Location = new System.Drawing.Point(4, 8);
|
||||
this.assetInfoLabel.Name = "assetInfoLabel";
|
||||
this.assetInfoLabel.Size = new System.Drawing.Size(0, 13);
|
||||
this.assetInfoLabel.Size = new System.Drawing.Size(0, 15);
|
||||
this.assetInfoLabel.TabIndex = 0;
|
||||
//
|
||||
// FMODpanel
|
||||
@@ -1215,7 +1214,7 @@
|
||||
this.FMODpanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.FMODpanel.Location = new System.Drawing.Point(0, 0);
|
||||
this.FMODpanel.Name = "FMODpanel";
|
||||
this.FMODpanel.Size = new System.Drawing.Size(768, 607);
|
||||
this.FMODpanel.Size = new System.Drawing.Size(768, 605);
|
||||
this.FMODpanel.TabIndex = 2;
|
||||
this.FMODpanel.Visible = false;
|
||||
//
|
||||
@@ -1228,7 +1227,7 @@
|
||||
this.FMODaudioChannelsLabel.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.FMODaudioChannelsLabel.Location = new System.Drawing.Point(384, 255);
|
||||
this.FMODaudioChannelsLabel.Name = "FMODaudioChannelsLabel";
|
||||
this.FMODaudioChannelsLabel.Size = new System.Drawing.Size(38, 13);
|
||||
this.FMODaudioChannelsLabel.Size = new System.Drawing.Size(40, 15);
|
||||
this.FMODaudioChannelsLabel.TabIndex = 10;
|
||||
this.FMODaudioChannelsLabel.Text = "Stereo";
|
||||
//
|
||||
@@ -1241,7 +1240,7 @@
|
||||
this.FMODcopyrightLabel.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.FMODcopyrightLabel.Location = new System.Drawing.Point(214, 365);
|
||||
this.FMODcopyrightLabel.Name = "FMODcopyrightLabel";
|
||||
this.FMODcopyrightLabel.Size = new System.Drawing.Size(283, 13);
|
||||
this.FMODcopyrightLabel.Size = new System.Drawing.Size(316, 15);
|
||||
this.FMODcopyrightLabel.TabIndex = 9;
|
||||
this.FMODcopyrightLabel.Text = "Audio Engine supplied by FMOD by Firelight Technologies.";
|
||||
//
|
||||
@@ -1254,7 +1253,7 @@
|
||||
this.FMODinfoLabel.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.FMODinfoLabel.Location = new System.Drawing.Point(285, 255);
|
||||
this.FMODinfoLabel.Name = "FMODinfoLabel";
|
||||
this.FMODinfoLabel.Size = new System.Drawing.Size(0, 13);
|
||||
this.FMODinfoLabel.Size = new System.Drawing.Size(0, 15);
|
||||
this.FMODinfoLabel.TabIndex = 8;
|
||||
//
|
||||
// FMODtimerLabel
|
||||
@@ -1266,7 +1265,7 @@
|
||||
this.FMODtimerLabel.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.FMODtimerLabel.Location = new System.Drawing.Point(477, 255);
|
||||
this.FMODtimerLabel.Name = "FMODtimerLabel";
|
||||
this.FMODtimerLabel.Size = new System.Drawing.Size(102, 13);
|
||||
this.FMODtimerLabel.Size = new System.Drawing.Size(102, 15);
|
||||
this.FMODtimerLabel.TabIndex = 7;
|
||||
this.FMODtimerLabel.Text = "00:00.00 / 00:00.00";
|
||||
//
|
||||
@@ -1279,7 +1278,7 @@
|
||||
this.FMODstatusLabel.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.FMODstatusLabel.Location = new System.Drawing.Point(214, 255);
|
||||
this.FMODstatusLabel.Name = "FMODstatusLabel";
|
||||
this.FMODstatusLabel.Size = new System.Drawing.Size(47, 13);
|
||||
this.FMODstatusLabel.Size = new System.Drawing.Size(51, 15);
|
||||
this.FMODstatusLabel.TabIndex = 6;
|
||||
this.FMODstatusLabel.Text = "Stopped";
|
||||
//
|
||||
@@ -1373,7 +1372,7 @@
|
||||
this.fontPreviewBox.Location = new System.Drawing.Point(0, 0);
|
||||
this.fontPreviewBox.Name = "fontPreviewBox";
|
||||
this.fontPreviewBox.ReadOnly = true;
|
||||
this.fontPreviewBox.Size = new System.Drawing.Size(768, 607);
|
||||
this.fontPreviewBox.Size = new System.Drawing.Size(768, 605);
|
||||
this.fontPreviewBox.TabIndex = 0;
|
||||
this.fontPreviewBox.Text = resources.GetString("fontPreviewBox.Text");
|
||||
this.fontPreviewBox.Visible = false;
|
||||
@@ -1385,7 +1384,7 @@
|
||||
this.glControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.glControl1.Location = new System.Drawing.Point(0, 0);
|
||||
this.glControl1.Name = "glControl1";
|
||||
this.glControl1.Size = new System.Drawing.Size(768, 607);
|
||||
this.glControl1.Size = new System.Drawing.Size(768, 605);
|
||||
this.glControl1.TabIndex = 4;
|
||||
this.glControl1.Visible = false;
|
||||
this.glControl1.VSync = false;
|
||||
@@ -1406,7 +1405,7 @@
|
||||
this.textPreviewBox.Name = "textPreviewBox";
|
||||
this.textPreviewBox.ReadOnly = true;
|
||||
this.textPreviewBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
||||
this.textPreviewBox.Size = new System.Drawing.Size(768, 607);
|
||||
this.textPreviewBox.Size = new System.Drawing.Size(768, 605);
|
||||
this.textPreviewBox.TabIndex = 2;
|
||||
this.textPreviewBox.Visible = false;
|
||||
this.textPreviewBox.WordWrap = false;
|
||||
@@ -1420,7 +1419,7 @@
|
||||
this.classTextBox.Name = "classTextBox";
|
||||
this.classTextBox.ReadOnly = true;
|
||||
this.classTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
||||
this.classTextBox.Size = new System.Drawing.Size(768, 607);
|
||||
this.classTextBox.Size = new System.Drawing.Size(768, 605);
|
||||
this.classTextBox.TabIndex = 3;
|
||||
this.classTextBox.Visible = false;
|
||||
this.classTextBox.WordWrap = false;
|
||||
@@ -1429,9 +1428,9 @@
|
||||
//
|
||||
this.tabPage5.Controls.Add(this.dumpTreeView);
|
||||
this.tabPage5.Controls.Add(this.dumpTextBox);
|
||||
this.tabPage5.Location = new System.Drawing.Point(4, 22);
|
||||
this.tabPage5.Location = new System.Drawing.Point(4, 24);
|
||||
this.tabPage5.Name = "tabPage5";
|
||||
this.tabPage5.Size = new System.Drawing.Size(768, 607);
|
||||
this.tabPage5.Size = new System.Drawing.Size(768, 605);
|
||||
this.tabPage5.TabIndex = 1;
|
||||
this.tabPage5.Text = "Dump";
|
||||
this.tabPage5.UseVisualStyleBackColor = true;
|
||||
@@ -1442,7 +1441,7 @@
|
||||
this.dumpTreeView.Location = new System.Drawing.Point(0, 0);
|
||||
this.dumpTreeView.Name = "dumpTreeView";
|
||||
this.dumpTreeView.PathSeparator = "/";
|
||||
this.dumpTreeView.Size = new System.Drawing.Size(768, 607);
|
||||
this.dumpTreeView.Size = new System.Drawing.Size(768, 605);
|
||||
this.dumpTreeView.TabIndex = 1;
|
||||
this.dumpTreeView.Visible = false;
|
||||
this.dumpTreeView.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.DumpTreeView_NodeMouseClick);
|
||||
@@ -1456,7 +1455,7 @@
|
||||
this.dumpTextBox.Name = "dumpTextBox";
|
||||
this.dumpTextBox.ReadOnly = true;
|
||||
this.dumpTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
||||
this.dumpTextBox.Size = new System.Drawing.Size(768, 607);
|
||||
this.dumpTextBox.Size = new System.Drawing.Size(768, 605);
|
||||
this.dumpTextBox.TabIndex = 0;
|
||||
this.dumpTextBox.WordWrap = false;
|
||||
//
|
||||
@@ -1693,9 +1692,13 @@
|
||||
// AssetStudioGUIForm
|
||||
//
|
||||
this.AllowDrop = true;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
||||
this.AutoSize = true;
|
||||
this.ClientSize = new System.Drawing.Size(1264, 681);
|
||||
this.Controls.Add(this.splitContainer1);
|
||||
this.Controls.Add(this.menuStrip1);
|
||||
this.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.Icon = global::AssetStudioGUI.Properties.Resources._as;
|
||||
this.KeyPreview = true;
|
||||
this.MainMenuStrip = this.menuStrip1;
|
||||
@@ -1704,6 +1707,8 @@
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "AssetStudioModGUI";
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.AssetStudioGUIForm_FormClosing);
|
||||
this.Load += new System.EventHandler(this.ReScale);
|
||||
this.FontChanged += new System.EventHandler(this.ReScale);
|
||||
this.DragDrop += new System.Windows.Forms.DragEventHandler(this.AssetStudioGUIForm_DragDrop);
|
||||
this.DragEnter += new System.Windows.Forms.DragEventHandler(this.AssetStudioGUIForm_DragEnter);
|
||||
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.AssetStudioForm_KeyDown);
|
||||
|
||||
@@ -126,6 +126,7 @@ namespace AssetStudioGUI
|
||||
private static extern IntPtr AddFontMemResourceEx(IntPtr pbFont, uint cbFont, IntPtr pdv, [In] ref uint pcFonts);
|
||||
|
||||
private string guiTitle;
|
||||
private float guiFontHeight = 16.0f;
|
||||
|
||||
public AssetStudioGUIForm()
|
||||
{
|
||||
@@ -2477,6 +2478,12 @@ namespace AssetStudioGUI
|
||||
alwaysDecompressToDiskToolStripMenuItem.Checked = assetsManager.Options.BundleOptions.DecompressToDisk;
|
||||
customBlockInfoCompressionComboBox.SelectedIndex = SetComboBoxIndex(assetsManager.Options.BundleOptions.CustomBlockInfoCompression);
|
||||
customBlockCompressionComboBox.SelectedIndex = SetComboBoxIndex(assetsManager.Options.BundleOptions.CustomBlockCompression);
|
||||
|
||||
//highDpi workaround
|
||||
var font = customUnityVersionToolStripMenuItem.Font;
|
||||
specifyUnityVersionTextBox.Font = font;
|
||||
customBlockInfoCompressionComboBox.Font = font;
|
||||
customBlockCompressionComboBox.Font = font;
|
||||
}
|
||||
|
||||
private static int SetComboBoxIndex(CompressionType compressionType)
|
||||
@@ -2637,6 +2644,22 @@ namespace AssetStudioGUI
|
||||
MessageBox.Show(msg, "Info", MessageBoxButtons.OK);
|
||||
}
|
||||
|
||||
//highDpi workaround
|
||||
private void ReScale(object sender, EventArgs e)
|
||||
{
|
||||
float k = Font.Height / guiFontHeight;
|
||||
if (k == 1.0f)
|
||||
return;
|
||||
|
||||
//asset list fix
|
||||
foreach (ColumnHeader column in assetListView.Columns)
|
||||
{
|
||||
column.Width = (int)(column.Width * k);
|
||||
}
|
||||
|
||||
guiFontHeight = Font.Height;
|
||||
}
|
||||
|
||||
private void DumpTreeView_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
|
||||
{
|
||||
if (e.Button == MouseButtons.Right)
|
||||
|
||||
Generated
+347
-263
File diff suppressed because it is too large
Load Diff
@@ -152,5 +152,16 @@ namespace AssetStudioGUI
|
||||
SetFromFbxSettings(new Fbx.Settings());
|
||||
uvIndicesCheckedListBox_SelectedIndexChanged(sender, e);
|
||||
}
|
||||
|
||||
//highDpi workaround (net472/.net-win7)
|
||||
private void ExportOptions_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (Font.Height == 16)
|
||||
return;
|
||||
|
||||
var k = Font.Height / 16.0f;
|
||||
var listHeight = (int)(uvTypesListBox.ItemHeight * 6 * k);
|
||||
uvTypesListBox.Height = uvIndicesCheckedListBox.Height = listHeight;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using System;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AssetStudioGUI
|
||||
@@ -15,7 +12,7 @@ namespace AssetStudioGUI
|
||||
static void Main()
|
||||
{
|
||||
#if !NETFRAMEWORK
|
||||
Application.SetHighDpiMode(HighDpiMode.SystemAware);
|
||||
Application.SetHighDpiMode(HighDpiMode.PerMonitorV2);
|
||||
#endif
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
|
||||
@@ -53,8 +53,8 @@
|
||||
Makes the application long-path aware. See https://docs.microsoft.com/windows/win32/fileio/maximum-file-path-limitation -->
|
||||
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<windowsSettings>
|
||||
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
|
||||
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">system</dpiAwareness>
|
||||
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">false</dpiAware>
|
||||
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">unaware</dpiAwareness>
|
||||
<longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware>
|
||||
</windowsSettings>
|
||||
</application>
|
||||
|
||||
Reference in New Issue
Block a user