mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-27 22:22:32 +00:00
36f391653a
Added Color Picker plugin Point, Flicker and Pulse light animation should now look almost exactly as seen in GZDoom. Fixed a bug when editing thing properties in Visual mode didn't update visual thing. Fixed incorrect doom-style walls shading when sector has "lightcolor" property set. Fixed "Index was outside the bounds of the array in CalculateNormalsAndShading()" error. GZDoomBuilder will now show error message prior to failing.
35 lines
836 B
C#
35 lines
836 B
C#
using System;
|
|
using System.Windows.Forms;
|
|
|
|
namespace CodeImp.DoomBuilder.GZBuilder.Controls
|
|
{
|
|
public partial class ConsoleDocker : UserControl
|
|
{
|
|
#if DEBUG
|
|
public ConsoleDocker() {
|
|
InitializeComponent();
|
|
}
|
|
|
|
public void TraceInHeader(string message) {
|
|
label1.Text = message;
|
|
}
|
|
|
|
public void Trace(string message) {
|
|
Trace(message, true);
|
|
}
|
|
|
|
public void Trace(string message, bool addLineBreak) {
|
|
textBox.AppendText(message + (addLineBreak ? Environment.NewLine : ""));
|
|
}
|
|
|
|
public void Clear() {
|
|
textBox.Clear();
|
|
}
|
|
|
|
//events
|
|
private void buttonClear_Click(object sender, EventArgs e) {
|
|
textBox.Clear();
|
|
}
|
|
#endif
|
|
}
|
|
}
|