mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-22 20:02:48 +00:00
Revision number is now also added to screenshot's filename.
Fixed a typo in the Preferences form.
This commit is contained in:
parent
95a57dc72a
commit
948dda0406
2 changed files with 3 additions and 3 deletions
|
@ -2928,7 +2928,8 @@ namespace CodeImp.DoomBuilder.Windows
|
||||||
|
|
||||||
//create path
|
//create path
|
||||||
string date = DateTime.Now.ToString("dd.MM.yyyy HH-mm-ss");
|
string date = DateTime.Now.ToString("dd.MM.yyyy HH-mm-ss");
|
||||||
string path = Path.Combine(folder, name + date + ".jpg");
|
string revision = "[r" + General.ThisAssembly.GetName().Version.MinorRevision + "]";
|
||||||
|
string path = Path.Combine(folder, name + date + " " + revision + ".jpg");
|
||||||
|
|
||||||
//save image
|
//save image
|
||||||
using(Bitmap bitmap = new Bitmap(bounds.Width, bounds.Height)) {
|
using(Bitmap bitmap = new Bitmap(bounds.Width, bounds.Height)) {
|
||||||
|
@ -2940,7 +2941,6 @@ namespace CodeImp.DoomBuilder.Windows
|
||||||
|
|
||||||
//gather some info
|
//gather some info
|
||||||
string info = string.Empty;
|
string info = string.Empty;
|
||||||
string revision = "[r" + General.ThisAssembly.GetName().Version.MinorRevision + "]";
|
|
||||||
if (editAreaOnly && General.Editing.Mode != null) {
|
if (editAreaOnly && General.Editing.Mode != null) {
|
||||||
//get map coordinates
|
//get map coordinates
|
||||||
if (General.Editing.Mode is ClassicMode) {
|
if (General.Editing.Mode is ClassicMode) {
|
||||||
|
|
|
@ -241,7 +241,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
||||||
this.syncSelection.Name = "syncSelection";
|
this.syncSelection.Name = "syncSelection";
|
||||||
this.syncSelection.Size = new System.Drawing.Size(306, 18);
|
this.syncSelection.Size = new System.Drawing.Size(306, 18);
|
||||||
this.syncSelection.TabIndex = 10;
|
this.syncSelection.TabIndex = 10;
|
||||||
this.syncSelection.Text = "Synhcronise selection between Visual and Classic modes";
|
this.syncSelection.Text = "Synchronise selection between Visual and Classic modes";
|
||||||
this.syncSelection.UseVisualStyleBackColor = true;
|
this.syncSelection.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
// dontMoveGeometryOutsideBounds
|
// dontMoveGeometryOutsideBounds
|
||||||
|
|
Loading…
Reference in a new issue