Fix string argument handling, fix tooltip on item row/circle argument

This commit is contained in:
spherallic 2023-09-15 14:17:35 +02:00
parent 7964875710
commit e8eb7ec1f0
5 changed files with 13 additions and 15 deletions

View file

@ -2433,7 +2433,7 @@ udmf
stringarg0
{
title = "Object types";
tooltip = "A list of MT_ constants to use, separated by commas.\nExample: MT_RING,MT_BLUESPHERE";
tooltip = "A list of MT_ constants to use, separated by spaces.\nExample: MT_RING MT_BLUESPHERE";
}
}
611
@ -2450,11 +2450,13 @@ udmf
arg1
{
title = "Radius";
renderstyle = "circle";
rendercolor = "#6600FF";
}
stringarg0
{
title = "Object types";
tooltip = "A list of MT_ constants to use, separated by commas.\nExample: MT_RING,MT_BLUESPHERE";
tooltip = "A list of MT_ constants to use, separated by spaces.\nExample: MT_RING MT_BLUESPHERE";
}
}
}
@ -2533,6 +2535,7 @@ udmf
arg0
{
title = "Radius";
renderstyle = "circle";
}
arg1
{
@ -2575,6 +2578,7 @@ udmf
arg1
{
title = "Radius";
renderstyle = "circle";
}
arg2
{

View file

@ -50,7 +50,7 @@ namespace CodeImp.DoomBuilder.Controls
labels = new Label[] { arg0label, arg1label, arg2label, arg3label, arg4label, arg5label, arg6label, arg7label, arg8label, arg9label };
args = new ArgumentBox[] { arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 };
stringlabels = new Label[] { stringarg0label, stringarg1label };
stringargs = new System.Windows.Forms.TextBox[] { stringarg0, stringarg1 };
stringargs = new TextBox[] { stringarg0, stringarg1 };
}
#endregion

View file

@ -33,8 +33,8 @@ managedfields
arg7;
arg8;
arg9;
stringarg1;
stringarg2;
//stringarg0; This breaks at the moment.
//stringarg1; TODO: figure out why
}
sidedef
@ -85,14 +85,14 @@ managedfields
arg1;
arg2;
arg3;
arg4;
arg4;
arg5;
arg6;
arg7;
arg8;
arg9;
stringarg1;
stringarg2;
arg9;
//stringarg0; This breaks at the moment.
//stringarg1; TODO: figure out why
}
}

View file

@ -572,7 +572,6 @@
this.argscontrol.Name = "argscontrol";
this.argscontrol.Size = new System.Drawing.Size(603, 215);
this.argscontrol.TabIndex = 15;
this.argscontrol.Load += new System.EventHandler(this.argscontrol_Load);
//
// grouptag
//

View file

@ -894,10 +894,5 @@ namespace CodeImp.DoomBuilder.Windows
}
#endregion
private void argscontrol_Load(object sender, EventArgs e)
{
}
}
}