[MENUDEF] Backport Zandro's TextField and NumberField

Moderator: GZDoom Developers

Post Reply
Gez
 
 
Posts: 17834
Joined: Fri Jul 06, 2007 3:22 pm

[MENUDEF] Backport Zandro's TextField and NumberField

Post by Gez »

See this commit. TextField and NumberField can be useful for general purposes. Not sure about PlayerField, and the rest is definitely too Zandronum-specific, but I figure TextField and NumberField at least are worth backporting.
User avatar
Onar4241
Posts: 296
Joined: Sun Aug 03, 2014 9:41 am
Location: New York

Re: [MENUDEF] Backport Zandro's TextField and NumberField

Post by Onar4241 »

That would be really helpful. Thumbs up!
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [MENUDEF] Backport Zandro's TextField and NumberField

Post by Graf Zahl »

Code has been added but I have done no tests yet.
User avatar
Nightfall
Posts: 555
Joined: Thu Aug 06, 2009 4:00 am
Location: Finland

Re: [MENUDEF] Backport Zandro's TextField and NumberField

Post by Nightfall »

Yeah I kind of figured that those fields were generic enough to backport over when I first added them (so I took the extra step to add graycheck to both). I didn't expect it to happen this fast though. o_O

The changes in menu.h and menuinput.cpp are irrelevant though. The AllowColors thing was added so that the player name box could support color codes like in past Zandronum versions. You may notice that the creation of the DTextEnterMenu does not pass allowcolors to the constructor so it defaults to false.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [MENUDEF] Backport Zandro's TextField and NumberField

Post by Graf Zahl »

Correct, but who knows if it might eventually become useful.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”