- Added missing FakeBuildLogger.cs - changed the preview implementation to support previewing while working in the main window (handy for multiple screens!) - Did some cleaning and added #region tags and copyright text
35 lines
1.4 KiB
C#
35 lines
1.4 KiB
C#
#region Using Statements
|
|
using System;
|
|
using ANX.Framework.Content.Pipeline;
|
|
using ANX.Framework.NonXNA.Development;
|
|
#endregion
|
|
|
|
// This file is part of the EES Content Compiler 4,
|
|
// © 2008 - 2012 by Eagle Eye Studios.
|
|
// The EES Content Compiler 4 is released under the Ms-PL license.
|
|
// For details see: http://anxframework.codeplex.com/license
|
|
|
|
namespace ANX.ContentCompiler.GUI
|
|
{
|
|
[Developer("SilentWarrior/Eagle Eye Studios")]
|
|
[PercentageComplete(99)] //TODO: Logging to a file and (RTF) colors would be cool!
|
|
[TestState(TestStateAttribute.TestState.Tested)]
|
|
public class CCompilerBuildLogger : ContentBuildLogger
|
|
{
|
|
public override void LogImportantMessage(string message, params object[] messageArgs)
|
|
{
|
|
MainWindow.Instance.ribbonTextBox.AddMessage("[IMPORTANT] " + String.Format(message, messageArgs));
|
|
}
|
|
|
|
public override void LogMessage(string message, params object[] messageArgs)
|
|
{
|
|
MainWindow.Instance.ribbonTextBox.AddMessage("[Info] " + String.Format(message, messageArgs));
|
|
}
|
|
|
|
public override void LogWarning(string helpLink, ContentIdentity contentIdentity, string message,
|
|
params object[] messageArgs)
|
|
{
|
|
MainWindow.Instance.ribbonTextBox.AddMessage("[WARNING] " + String.Format(message, messageArgs));
|
|
}
|
|
}
|
|
} |