[MENUDEF] Backport Zandro's TextField and NumberField
Moderator: GZDoom Developers
[MENUDEF] Backport Zandro's TextField and NumberField
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.
Re: [MENUDEF] Backport Zandro's TextField and NumberField
That would be really helpful. Thumbs up!
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49056
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [MENUDEF] Backport Zandro's TextField and NumberField
Code has been added but I have done no tests yet.
Re: [MENUDEF] Backport Zandro's TextField and NumberField
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.
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.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49056
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [MENUDEF] Backport Zandro's TextField and NumberField
Correct, but who knows if it might eventually become useful.