UltimateZoneBuilder/Source/Core/Windows/UpdateForm.cs
MaxED c6f9146b8b Fixed, DECORATE parser: enums were not handled properly.
General interface: selection info is now always displayed.
Visual mode: you can now hold Alt-Shift or Ctrl-Alt while selecting sidedefs to stop selecting connected sidedefs when already (un)selected sidedef is encountered.
Added, Numeric Textbox: you can now use "+++" and "---" prefixes to incrementally increase or decrease result values by given value.
Fixed, Numeric Textbox: fixed a potential divide by zero exception when using "/" prefix in numeric textboxes with decimal input enabled.
Fixed, Thing Info panel: relative z position of things with "+SPAWNCEILING" flag was incorrect.
Changed: Update checker now displays messages using MessageBoxes when called manually.
Map Analysis: changed result descriptions for Unknown Texture and Missing Texture checks.
Doom map format: renamed "Secret" linedef flag to "Shown as 1-sided on automap".
Updated ZDoom_DECORATE.cfg (A_RadiusGive stuff).
2015-07-26 23:18:13 +00:00

38 lines
886 B
C#

using System;
using System.Windows.Forms;
namespace CodeImp.DoomBuilder.Windows
{
public partial class UpdateForm : Form
{
public UpdateForm(int remoterev, string changelog)
{
InitializeComponent();
Setup(remoterev, changelog);
}
private void Setup(int remoterev, string changelog)
{
this.Text = this.Text.Replace("[rev]", remoterev.ToString());
this.label.Text = label.Text.Replace("[rev]", remoterev.ToString());
this.changelog.SelectedRtf = changelog;
}
private void UpdateForm_Shown(object sender, EventArgs e)
{
this.changelog.Focus();
}
private void downloadupdate_Click(object sender, EventArgs e)
{
this.DialogResult = DialogResult.OK;
this.Close();
}
private void cancel_Click(object sender, EventArgs e)
{
this.DialogResult = DialogResult.Cancel;
this.Close();
}
}
}