Make ContentCompilerGui compatible to recent changes in pipeline and did some usability changes. Make the Visual Studio Extension work even if the ANX Framework is not installed additionally.. Improve that the path for assembly refernces in a content project doesn't get automatically updated, only if the reference is actually saved, this is so you can specify a relative path yourself. Fix missing icon for ContentProject when it was opened with Visual Studio. Made create_shaders.bat directly executable under windows by fixing the directory separators.
118 lines
6.0 KiB
C#
118 lines
6.0 KiB
C#
namespace ANX.ContentCompiler.GUI.Dialogues
|
|
{
|
|
partial class PreviewScreen
|
|
{
|
|
/// <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.buttonQuit = new System.Windows.Forms.Button();
|
|
this.labelTitle = new System.Windows.Forms.Label();
|
|
this.drawSurface = new System.Windows.Forms.Panel();
|
|
this.labelStatus = new System.Windows.Forms.Label();
|
|
this.drawSurface.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// buttonQuit
|
|
//
|
|
this.buttonQuit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.buttonQuit.FlatAppearance.BorderSize = 0;
|
|
this.buttonQuit.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
|
|
this.buttonQuit.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Gray;
|
|
this.buttonQuit.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.buttonQuit.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.buttonQuit.ForeColor = System.Drawing.Color.White;
|
|
this.buttonQuit.Location = new System.Drawing.Point(591, 0);
|
|
this.buttonQuit.Name = "buttonQuit";
|
|
this.buttonQuit.Size = new System.Drawing.Size(26, 23);
|
|
this.buttonQuit.TabIndex = 2;
|
|
this.buttonQuit.Text = "X";
|
|
this.buttonQuit.UseVisualStyleBackColor = true;
|
|
this.buttonQuit.Click += new System.EventHandler(this.ButtonQuitClick);
|
|
//
|
|
// labelTitle
|
|
//
|
|
this.labelTitle.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.labelTitle.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.labelTitle.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.labelTitle.ForeColor = System.Drawing.Color.Silver;
|
|
this.labelTitle.Location = new System.Drawing.Point(-1, 0);
|
|
this.labelTitle.Name = "labelTitle";
|
|
this.labelTitle.Size = new System.Drawing.Size(618, 24);
|
|
this.labelTitle.TabIndex = 3;
|
|
this.labelTitle.Text = "Preview";
|
|
this.labelTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
this.labelTitle.MouseDown += new System.Windows.Forms.MouseEventHandler(this.LabelTitleMouseDown);
|
|
this.labelTitle.MouseMove += new System.Windows.Forms.MouseEventHandler(this.LabelTitleMouseMove);
|
|
this.labelTitle.MouseUp += new System.Windows.Forms.MouseEventHandler(this.LabelTitleMouseUp);
|
|
//
|
|
// drawSurface
|
|
//
|
|
this.drawSurface.BackColor = System.Drawing.Color.Transparent;
|
|
this.drawSurface.Controls.Add(this.labelStatus);
|
|
this.drawSurface.Location = new System.Drawing.Point(12, 27);
|
|
this.drawSurface.Name = "drawSurface";
|
|
this.drawSurface.Size = new System.Drawing.Size(595, 410);
|
|
this.drawSurface.TabIndex = 4;
|
|
//
|
|
// labelStatus
|
|
//
|
|
this.labelStatus.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.labelStatus.Location = new System.Drawing.Point(0, 0);
|
|
this.labelStatus.Name = "labelStatus";
|
|
this.labelStatus.Size = new System.Drawing.Size(595, 410);
|
|
this.labelStatus.TabIndex = 0;
|
|
this.labelStatus.Text = "Loading Preview...";
|
|
this.labelStatus.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// PreviewScreen
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
|
this.ClientSize = new System.Drawing.Size(619, 449);
|
|
this.Controls.Add(this.drawSurface);
|
|
this.Controls.Add(this.buttonQuit);
|
|
this.Controls.Add(this.labelTitle);
|
|
this.ForeColor = System.Drawing.Color.White;
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
|
this.Name = "PreviewScreen";
|
|
this.ShowIcon = false;
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "Preview";
|
|
this.drawSurface.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button buttonQuit;
|
|
private System.Windows.Forms.Label labelTitle;
|
|
private System.Windows.Forms.Panel drawSurface;
|
|
private System.Windows.Forms.Label labelStatus;
|
|
}
|
|
} |