Content Compiler:

- Implemented quick tour (can be started form the FirstStartScreen)
- fixed wrong alignment of menuState
This commit is contained in:
SND\eagleeyestudios_cp 2012-09-15 22:54:18 +00:00 committed by Konstantin Koch
parent 08c1b2fa70
commit 4015ed44d8
11 changed files with 591 additions and 10 deletions

View File

@ -136,6 +136,11 @@
</Compile>
<Compile Include="RecentProjects.cs" />
<Compile Include="Settings.cs" />
<Compile Include="ShowStrings.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>ShowStrings.resx</DependentUpon>
</Compile>
<Compile Include="States\EditingState.cs">
<SubType>UserControl</SubType>
</Compile>
@ -166,9 +171,6 @@
<EmbeddedResource Include="Dialogues\ErrorLogScreen.resx">
<DependentUpon>ErrorLogScreen.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="MainWindow.resx">
<DependentUpon>MainWindow.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
@ -179,6 +181,10 @@
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<EmbeddedResource Include="ShowStrings.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>ShowStrings.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
@ -193,6 +199,8 @@
<None Include="Resources\arrow-right.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\red-arrow_right.png" />
<None Include="Resources\red-arrow_left.png" />
<None Include="Resources\arrow.png" />
<None Include="Resources\appbar.new1.png" />
<None Include="Resources\appbar.folder.open.png" />

View File

@ -30,7 +30,6 @@ namespace ANX.ContentCompiler.GUI.Dialogues
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FirstStartScreen));
this.labelTour = new System.Windows.Forms.Label();
this.labelSkip = new System.Windows.Forms.Label();
this.button1 = new System.Windows.Forms.Button();
@ -98,6 +97,7 @@ namespace ANX.ContentCompiler.GUI.Dialogues
this.button2.TabIndex = 6;
this.button2.Text = "Take Tour";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.Button2Click);
//
// button3
//
@ -126,7 +126,7 @@ namespace ANX.ContentCompiler.GUI.Dialogues
//
// pictureBoxArrowLeft
//
this.pictureBoxArrowLeft.Image = ((System.Drawing.Image)(Resources.arrow_left));
this.pictureBoxArrowLeft.Image = global::ANX.ContentCompiler.GUI.Properties.Resources.arrow_left;
this.pictureBoxArrowLeft.Location = new System.Drawing.Point(176, 274);
this.pictureBoxArrowLeft.Name = "pictureBoxArrowLeft";
this.pictureBoxArrowLeft.Size = new System.Drawing.Size(118, 114);
@ -136,7 +136,7 @@ namespace ANX.ContentCompiler.GUI.Dialogues
//
// pictureBoxArrowRight
//
this.pictureBoxArrowRight.Image = ((System.Drawing.Image)(Resources.arrow_right));
this.pictureBoxArrowRight.Image = global::ANX.ContentCompiler.GUI.Properties.Resources.arrow_right;
this.pictureBoxArrowRight.Location = new System.Drawing.Point(317, 274);
this.pictureBoxArrowRight.Name = "pictureBoxArrowRight";
this.pictureBoxArrowRight.Size = new System.Drawing.Size(119, 114);

View File

@ -4,8 +4,8 @@ using ANX.Framework.NonXNA.Development;
namespace ANX.ContentCompiler.GUI.Dialogues
{
[Developer("SilentWarrior/Eagle Eye Studios")]
[PercentageComplete(80)] //TODO: Implement tour in MainWindow and launch it from here!
[TestState(TestStateAttribute.TestState.Untested)]
[PercentageComplete(100)] //TODO: Implement tour in MainWindow and launch it from here!
[TestState(TestStateAttribute.TestState.Tested)]
public partial class FirstStartScreen : Form
{
public FirstStartScreen()
@ -20,5 +20,10 @@ namespace ANX.ContentCompiler.GUI.Dialogues
button2.FlatAppearance.MouseDownBackColor = Settings.AccentColor3;
button3.FlatAppearance.MouseDownBackColor = Settings.AccentColor3;
}
private void Button2Click(object sender, System.EventArgs e)
{
MainWindow.Instance.StartShow();
}
}
}

View File

@ -33,6 +33,9 @@ namespace ANX.ContentCompiler.GUI
{
this.components = new System.ComponentModel.Container();
this.splitContainerMenuLayout = new System.Windows.Forms.SplitContainer();
this.show_pictureBoxRibbon = new System.Windows.Forms.PictureBox();
this.show_pictureBoxMenu = new System.Windows.Forms.PictureBox();
this.show_pictureBoxErrorLog = new System.Windows.Forms.PictureBox();
this.ribbonTextBox = new ANX.ContentCompiler.GUI.Controls.RibbonTextBox();
this.ribbonButtonHelp = new ANX.ContentCompiler.GUI.Controls.RibbonButton();
this.ribbonButtonWeb = new ANX.ContentCompiler.GUI.Controls.RibbonButton();
@ -44,6 +47,7 @@ namespace ANX.ContentCompiler.GUI
this.buttonMenu = new System.Windows.Forms.Button();
this.labelTitle = new System.Windows.Forms.Label();
this.splitContainerFileTree = new System.Windows.Forms.SplitContainer();
this.show_pictureBoxSmiley = new System.Windows.Forms.PictureBox();
this.labelFileTree = new System.Windows.Forms.Label();
this.treeView = new System.Windows.Forms.TreeView();
this.treeViewContextMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
@ -53,24 +57,36 @@ namespace ANX.ContentCompiler.GUI
this.treeViewItemRename = new System.Windows.Forms.ToolStripMenuItem();
this.treeViewItemDelete = new System.Windows.Forms.ToolStripMenuItem();
this.splitContainerProperties = new System.Windows.Forms.SplitContainer();
this.show_labelDesc = new System.Windows.Forms.Label();
this.show_pictureBoxProperties = new System.Windows.Forms.PictureBox();
this.show_pictureBoxProjectExplorer = new System.Windows.Forms.PictureBox();
this.editingState = new ANX.ContentCompiler.GUI.States.EditingState();
this.startState = new ANX.ContentCompiler.GUI.States.StartState();
this.show_pictureBoxMainPanel = new System.Windows.Forms.PictureBox();
this.labelProperties = new System.Windows.Forms.Label();
this.propertyGrid = new System.Windows.Forms.PropertyGrid();
this.show_timer = new System.Windows.Forms.Timer(this.components);
this.menuState = new ANX.ContentCompiler.GUI.States.MenuState();
((System.ComponentModel.ISupportInitialize)(this.splitContainerMenuLayout)).BeginInit();
this.splitContainerMenuLayout.Panel1.SuspendLayout();
this.splitContainerMenuLayout.Panel2.SuspendLayout();
this.splitContainerMenuLayout.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.show_pictureBoxRibbon)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.show_pictureBoxMenu)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.show_pictureBoxErrorLog)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.splitContainerFileTree)).BeginInit();
this.splitContainerFileTree.Panel1.SuspendLayout();
this.splitContainerFileTree.Panel2.SuspendLayout();
this.splitContainerFileTree.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.show_pictureBoxSmiley)).BeginInit();
this.treeViewContextMenu.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainerProperties)).BeginInit();
this.splitContainerProperties.Panel1.SuspendLayout();
this.splitContainerProperties.Panel2.SuspendLayout();
this.splitContainerProperties.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.show_pictureBoxProperties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.show_pictureBoxProjectExplorer)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.show_pictureBoxMainPanel)).BeginInit();
this.SuspendLayout();
//
// splitContainerMenuLayout
@ -85,6 +101,9 @@ namespace ANX.ContentCompiler.GUI
//
// splitContainerMenuLayout.Panel1
//
this.splitContainerMenuLayout.Panel1.Controls.Add(this.show_pictureBoxRibbon);
this.splitContainerMenuLayout.Panel1.Controls.Add(this.show_pictureBoxMenu);
this.splitContainerMenuLayout.Panel1.Controls.Add(this.show_pictureBoxErrorLog);
this.splitContainerMenuLayout.Panel1.Controls.Add(this.ribbonTextBox);
this.splitContainerMenuLayout.Panel1.Controls.Add(this.ribbonButtonHelp);
this.splitContainerMenuLayout.Panel1.Controls.Add(this.ribbonButtonWeb);
@ -103,6 +122,39 @@ namespace ANX.ContentCompiler.GUI
this.splitContainerMenuLayout.SplitterDistance = 99;
this.splitContainerMenuLayout.TabIndex = 0;
//
// show_pictureBoxRibbon
//
this.show_pictureBoxRibbon.Image = global::ANX.ContentCompiler.GUI.Properties.Resources.red_arrow_left;
this.show_pictureBoxRibbon.Location = new System.Drawing.Point(357, 22);
this.show_pictureBoxRibbon.Name = "show_pictureBoxRibbon";
this.show_pictureBoxRibbon.Size = new System.Drawing.Size(115, 72);
this.show_pictureBoxRibbon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.show_pictureBoxRibbon.TabIndex = 12;
this.show_pictureBoxRibbon.TabStop = false;
this.show_pictureBoxRibbon.Visible = false;
//
// show_pictureBoxMenu
//
this.show_pictureBoxMenu.Image = global::ANX.ContentCompiler.GUI.Properties.Resources.red_arrow_left;
this.show_pictureBoxMenu.Location = new System.Drawing.Point(90, -1);
this.show_pictureBoxMenu.Name = "show_pictureBoxMenu";
this.show_pictureBoxMenu.Size = new System.Drawing.Size(52, 36);
this.show_pictureBoxMenu.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.show_pictureBoxMenu.TabIndex = 11;
this.show_pictureBoxMenu.TabStop = false;
this.show_pictureBoxMenu.Visible = false;
//
// show_pictureBoxErrorLog
//
this.show_pictureBoxErrorLog.Image = global::ANX.ContentCompiler.GUI.Properties.Resources.red_arrow_right;
this.show_pictureBoxErrorLog.Location = new System.Drawing.Point(411, 22);
this.show_pictureBoxErrorLog.Name = "show_pictureBoxErrorLog";
this.show_pictureBoxErrorLog.Size = new System.Drawing.Size(115, 72);
this.show_pictureBoxErrorLog.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.show_pictureBoxErrorLog.TabIndex = 5;
this.show_pictureBoxErrorLog.TabStop = false;
this.show_pictureBoxErrorLog.Visible = false;
//
// ribbonTextBox
//
this.ribbonTextBox.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
@ -240,6 +292,7 @@ namespace ANX.ContentCompiler.GUI
//
// splitContainerFileTree.Panel1
//
this.splitContainerFileTree.Panel1.Controls.Add(this.show_pictureBoxSmiley);
this.splitContainerFileTree.Panel1.Controls.Add(this.labelFileTree);
this.splitContainerFileTree.Panel1.Controls.Add(this.treeView);
//
@ -250,6 +303,17 @@ namespace ANX.ContentCompiler.GUI
this.splitContainerFileTree.SplitterDistance = 221;
this.splitContainerFileTree.TabIndex = 0;
//
// show_pictureBoxSmiley
//
this.show_pictureBoxSmiley.Image = global::ANX.ContentCompiler.GUI.Properties.Resources.Deleket_Smileys_8;
this.show_pictureBoxSmiley.Location = new System.Drawing.Point(89, 394);
this.show_pictureBoxSmiley.Name = "show_pictureBoxSmiley";
this.show_pictureBoxSmiley.Size = new System.Drawing.Size(127, 122);
this.show_pictureBoxSmiley.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.show_pictureBoxSmiley.TabIndex = 2;
this.show_pictureBoxSmiley.TabStop = false;
this.show_pictureBoxSmiley.Visible = false;
//
// labelFileTree
//
this.labelFileTree.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
@ -350,11 +414,15 @@ namespace ANX.ContentCompiler.GUI
//
// splitContainerProperties.Panel1
//
this.splitContainerProperties.Panel1.Controls.Add(this.show_labelDesc);
this.splitContainerProperties.Panel1.Controls.Add(this.show_pictureBoxProperties);
this.splitContainerProperties.Panel1.Controls.Add(this.show_pictureBoxProjectExplorer);
this.splitContainerProperties.Panel1.Controls.Add(this.editingState);
this.splitContainerProperties.Panel1.Controls.Add(this.startState);
//
// splitContainerProperties.Panel2
//
this.splitContainerProperties.Panel2.Controls.Add(this.show_pictureBoxMainPanel);
this.splitContainerProperties.Panel2.Controls.Add(this.labelProperties);
this.splitContainerProperties.Panel2.Controls.Add(this.propertyGrid);
this.splitContainerProperties.Panel2.ForeColor = System.Drawing.Color.White;
@ -362,6 +430,40 @@ namespace ANX.ContentCompiler.GUI
this.splitContainerProperties.SplitterDistance = 366;
this.splitContainerProperties.TabIndex = 0;
//
// show_labelDesc
//
this.show_labelDesc.Font = new System.Drawing.Font("Segoe UI Semibold", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.show_labelDesc.ForeColor = System.Drawing.Color.Red;
this.show_labelDesc.Location = new System.Drawing.Point(0, 388);
this.show_labelDesc.Name = "show_labelDesc";
this.show_labelDesc.Size = new System.Drawing.Size(361, 137);
this.show_labelDesc.TabIndex = 11;
this.show_labelDesc.Text = "Explanation goes here.";
this.show_labelDesc.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.show_labelDesc.Visible = false;
//
// show_pictureBoxProperties
//
this.show_pictureBoxProperties.Image = global::ANX.ContentCompiler.GUI.Properties.Resources.red_arrow_right;
this.show_pictureBoxProperties.Location = new System.Drawing.Point(246, 195);
this.show_pictureBoxProperties.Name = "show_pictureBoxProperties";
this.show_pictureBoxProperties.Size = new System.Drawing.Size(115, 72);
this.show_pictureBoxProperties.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.show_pictureBoxProperties.TabIndex = 10;
this.show_pictureBoxProperties.TabStop = false;
this.show_pictureBoxProperties.Visible = false;
//
// show_pictureBoxProjectExplorer
//
this.show_pictureBoxProjectExplorer.Image = global::ANX.ContentCompiler.GUI.Properties.Resources.red_arrow_left;
this.show_pictureBoxProjectExplorer.Location = new System.Drawing.Point(-1, 157);
this.show_pictureBoxProjectExplorer.Name = "show_pictureBoxProjectExplorer";
this.show_pictureBoxProjectExplorer.Size = new System.Drawing.Size(115, 81);
this.show_pictureBoxProjectExplorer.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.show_pictureBoxProjectExplorer.TabIndex = 4;
this.show_pictureBoxProjectExplorer.TabStop = false;
this.show_pictureBoxProjectExplorer.Visible = false;
//
// editingState
//
this.editingState.Dock = System.Windows.Forms.DockStyle.Fill;
@ -382,6 +484,17 @@ namespace ANX.ContentCompiler.GUI
this.startState.TabIndex = 0;
this.startState.Visible = false;
//
// show_pictureBoxMainPanel
//
this.show_pictureBoxMainPanel.Image = global::ANX.ContentCompiler.GUI.Properties.Resources.red_arrow_left;
this.show_pictureBoxMainPanel.Location = new System.Drawing.Point(0, 186);
this.show_pictureBoxMainPanel.Name = "show_pictureBoxMainPanel";
this.show_pictureBoxMainPanel.Size = new System.Drawing.Size(115, 81);
this.show_pictureBoxMainPanel.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.show_pictureBoxMainPanel.TabIndex = 3;
this.show_pictureBoxMainPanel.TabStop = false;
this.show_pictureBoxMainPanel.Visible = false;
//
// labelProperties
//
this.labelProperties.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
@ -417,6 +530,11 @@ namespace ANX.ContentCompiler.GUI
this.propertyGrid.ViewForeColor = System.Drawing.Color.White;
this.propertyGrid.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.PropertyGridPropertyValueChanged);
//
// show_timer
//
this.show_timer.Interval = 2000;
this.show_timer.Tick += new System.EventHandler(this.ShowTimerTick);
//
// menuState
//
this.menuState.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
@ -451,15 +569,22 @@ namespace ANX.ContentCompiler.GUI
this.splitContainerMenuLayout.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainerMenuLayout)).EndInit();
this.splitContainerMenuLayout.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.show_pictureBoxRibbon)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.show_pictureBoxMenu)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.show_pictureBoxErrorLog)).EndInit();
this.splitContainerFileTree.Panel1.ResumeLayout(false);
this.splitContainerFileTree.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainerFileTree)).EndInit();
this.splitContainerFileTree.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.show_pictureBoxSmiley)).EndInit();
this.treeViewContextMenu.ResumeLayout(false);
this.splitContainerProperties.Panel1.ResumeLayout(false);
this.splitContainerProperties.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainerProperties)).EndInit();
this.splitContainerProperties.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.show_pictureBoxProperties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.show_pictureBoxProjectExplorer)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.show_pictureBoxMainPanel)).EndInit();
this.ResumeLayout(false);
}
@ -492,6 +617,15 @@ namespace ANX.ContentCompiler.GUI
public Controls.RibbonTextBox ribbonTextBox;
private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem folderToolStripMenuItem;
private System.Windows.Forms.PictureBox show_pictureBoxErrorLog;
private System.Windows.Forms.PictureBox show_pictureBoxProjectExplorer;
private System.Windows.Forms.PictureBox show_pictureBoxMainPanel;
private System.Windows.Forms.PictureBox show_pictureBoxRibbon;
private System.Windows.Forms.PictureBox show_pictureBoxMenu;
private System.Windows.Forms.PictureBox show_pictureBoxProperties;
private System.Windows.Forms.Label show_labelDesc;
private System.Windows.Forms.Timer show_timer;
private System.Windows.Forms.PictureBox show_pictureBoxSmiley;
}
}

View File

@ -12,7 +12,7 @@ using ANX.Framework.NonXNA.Development;
namespace ANX.ContentCompiler.GUI
{
[Developer("SilentWarrior/Eagle Eye Studios")]
[PercentageComplete(80)] //TODO: Implement Tour, Preview, Renaming of Folders!
[PercentageComplete(90)] //TODO: Preview, Renaming of Folders!
[TestState(TestStateAttribute.TestState.Tested)]
public partial class MainWindow : Form
{
@ -31,7 +31,7 @@ namespace ANX.ContentCompiler.GUI
private bool _menuMode;
private bool _mouseDown;
private readonly string[] _args;
private int _showCounter = 0;
#endregion
#region Properties
@ -713,5 +713,122 @@ namespace ANX.ContentCompiler.GUI
RemoveFolder(treeView.SelectedNode.Name);
}
#endregion
#region TourMethods
public void StartShow()
{
propertyGrid.Visible = false;
treeView.Visible = false;
editingState.Visible = false;
startState.Visible = false;
ribbonButtonClean.Enabled = false;
ribbonButtonHelp.Enabled = false;
ribbonButtonLoad.Enabled = false;
ribbonButtonNew.Enabled = false;
ribbonButtonSave.Enabled = false;
ribbonButtonWeb.Enabled = false;
ribbonTextBox.Enabled = false;
buttonMenu.Enabled = false;
show_timer.Start();
}
public void EndShow()
{
show_timer.Stop();
show_labelDesc.Visible = false;
show_pictureBoxSmiley.Visible = false;
propertyGrid.Visible = true;
treeView.Visible = true;
startState.Visible = true;
ribbonButtonClean.Enabled = true;
ribbonButtonHelp.Enabled = true;
ribbonButtonLoad.Enabled = true;
ribbonButtonNew.Enabled = true;
ribbonButtonSave.Enabled = true;
ribbonButtonWeb.Enabled = true;
ribbonTextBox.Enabled = true;
buttonMenu.Enabled = true;
}
private void ShowTimerTick(object sender, EventArgs e)
{
switch(_showCounter)
{
case 0:
show_timer.Interval = 8000;
startState.Visible = false;
show_pictureBoxSmiley.Visible = true;
show_labelDesc.Visible = true;
show_labelDesc.Text = ShowStrings.Start;
break;
case 1:
show_timer.Interval = 6000;
show_labelDesc.Text = ShowStrings.Start2;
break;
case 2:
show_timer.Interval = 9000;
show_pictureBoxMainPanel.Visible = true;
show_labelDesc.Text = ShowStrings.ActionPanel;
editingState.Enabled = false;
editingState.Visible = true;
break;
case 3:
show_timer.Interval = 9000;
editingState.Enabled = true;
editingState.Visible = false;
show_pictureBoxMainPanel.Visible = false;
show_pictureBoxProjectExplorer.Visible = true;
show_pictureBoxSmiley.BackColor = Settings.DarkMainColor;
show_labelDesc.Text = ShowStrings.TreeView;
treeView.Visible = true;
treeView.Enabled = false;
break;
case 4:
show_timer.Interval = 8000;
treeView.Enabled = true;
treeView.Visible = false;
show_pictureBoxSmiley.BackColor = Settings.MainColor;
show_pictureBoxProjectExplorer.Visible = false;
show_pictureBoxProperties.Visible = true;
show_labelDesc.Text = ShowStrings.PropertyGrid;
propertyGrid.Visible = true;
propertyGrid.Enabled = false;
break;
case 5:
show_timer.Interval = 6000;
propertyGrid.Visible = false;
propertyGrid.Enabled = true;
show_pictureBoxProperties.Visible = false;
show_pictureBoxRibbon.Visible = true;
show_labelDesc.Text = ShowStrings.RibbonButtons;
break;
case 6:
show_timer.Interval = 8000;
show_pictureBoxRibbon.Visible = false;
show_pictureBoxMenu.Visible = true;
show_labelDesc.Text = ShowStrings.Menu;
break;
case 7:
show_timer.Interval = 11000;
show_pictureBoxMenu.Visible = false;
show_pictureBoxErrorLog.Visible = true;
show_labelDesc.Text = ShowStrings.LogBox;
break;
case 8:
show_timer.Interval = 7000;
show_pictureBoxErrorLog.Visible = false;
show_labelDesc.Text = ShowStrings.End;
break;
case 9:
show_timer.Interval = 2000;
EndShow();
break;
}
_showCounter++;
}
#endregion
}
}

View File

@ -189,5 +189,25 @@ namespace ANX.ContentCompiler.GUI.Properties {
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap red_arrow_left {
get {
object obj = ResourceManager.GetObject("red_arrow_left", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap red_arrow_right {
get {
object obj = ResourceManager.GetObject("red_arrow_right", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
}
}

View File

@ -157,4 +157,10 @@
<data name="arrow1" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\arrow2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="red_arrow_left" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\red-arrow_left.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="red_arrow_right" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\red-arrow_right.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

View File

@ -0,0 +1,144 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.17929
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
namespace ANX.ContentCompiler.GUI {
using System;
/// <summary>
/// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
/// </summary>
// Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
// -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
// Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
// mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class ShowStrings {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal ShowStrings() {
}
/// <summary>
/// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ANX.ContentCompiler.GUI.ShowStrings", typeof(ShowStrings).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
/// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die This is the Action Panel. In this central place you can find depending on your situation the most common actions. ähnelt.
/// </summary>
internal static string ActionPanel {
get {
return ResourceManager.GetString("ActionPanel", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Cave Johnson - we&apos;re done here! If you have further questions, click the Help button in the top area! ähnelt.
/// </summary>
internal static string End {
get {
return ResourceManager.GetString("End", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die When building your project, you can see the Log output here. This box enables you to detect build errors quickly. You can expand the log by clicking on the down-pointing arrow on the right. ähnelt.
/// </summary>
internal static string LogBox {
get {
return ResourceManager.GetString("LogBox", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die More detailed actions can be found in the File Menu which you can open by clicking on this button. ähnelt.
/// </summary>
internal static string Menu {
get {
return ResourceManager.GetString("Menu", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die In the Property Grid you can change the options or parameters of the object you selected in the Project Explorer. ähnelt.
/// </summary>
internal static string PropertyGrid {
get {
return ResourceManager.GetString("PropertyGrid", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die These buttons provide you quick access to some general and common actions. ähnelt.
/// </summary>
internal static string RibbonButtons {
get {
return ResourceManager.GetString("RibbonButtons", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Hi and welcome to the ANX Content Compiler! The Content Compiler enables you to convert your media files to XNB files that can be read by the ANX Content Pipeline. ähnelt.
/// </summary>
internal static string Start {
get {
return ResourceManager.GetString("Start", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die This quick tour will guide you through the main components of the User Interface. ähnelt.
/// </summary>
internal static string Start2 {
get {
return ResourceManager.GetString("Start2", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die This is the Project Explorer. Here you can see and select all files &amp; folders that your project contains. By clicking on them, you can manipulate them in the Property Grid. ähnelt.
/// </summary>
internal static string TreeView {
get {
return ResourceManager.GetString("TreeView", resourceCulture);
}
}
}
}

View File

@ -0,0 +1,147 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="ActionPanel" xml:space="preserve">
<value>This is the Action Panel. In this central place you can find depending on your situation the most common actions.</value>
</data>
<data name="End" xml:space="preserve">
<value>Cave Johnson - we're done here! If you have further questions, click the Help button in the top area!</value>
</data>
<data name="LogBox" xml:space="preserve">
<value>When building your project, you can see the Log output here. This box enables you to detect build errors quickly. You can expand the log by clicking on the down-pointing arrow on the right.</value>
</data>
<data name="Menu" xml:space="preserve">
<value>More detailed actions can be found in the File Menu which you can open by clicking on this button.</value>
</data>
<data name="PropertyGrid" xml:space="preserve">
<value>In the Property Grid you can change the options or parameters of the object you selected in the Project Explorer.</value>
</data>
<data name="RibbonButtons" xml:space="preserve">
<value>These buttons provide you quick access to some general and common actions. </value>
</data>
<data name="Start" xml:space="preserve">
<value>Hi and welcome to the ANX Content Compiler! The Content Compiler enables you to convert your media files to XNB files that can be read by the ANX Content Pipeline.</value>
</data>
<data name="Start2" xml:space="preserve">
<value>This quick tour will guide you through the main components of the User Interface.</value>
</data>
<data name="TreeView" xml:space="preserve">
<value>This is the Project Explorer. Here you can see and select all files &amp; folders that your project contains. By clicking on them, you can manipulate them in the Property Grid.</value>
</data>
</root>