diff options
author | smatz <smatz@openttd.org> | 2008-09-15 19:02:50 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-09-15 19:02:50 +0000 |
commit | 1266b1a73f4197e3bf4d2cc0e09e9e667d7c640e (patch) | |
tree | 9ea3e279046e9a622321db881df0c37605fde380 /src/textbuf_gui.h | |
parent | 42f33890aa4612a821c20783778bb086ee2028b6 (diff) | |
download | openttd-1266b1a73f4197e3bf4d2cc0e09e9e667d7c640e.tar.xz |
(svn r14334) -Feature: ability to reset name to default/automatic value (for vehicles, engines, towns, groups, stations, waypoints, managers and companies)
Diffstat (limited to 'src/textbuf_gui.h')
-rw-r--r-- | src/textbuf_gui.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/textbuf_gui.h b/src/textbuf_gui.h index 422d26469..7d91b67e7 100644 --- a/src/textbuf_gui.h +++ b/src/textbuf_gui.h @@ -31,8 +31,9 @@ void UpdateTextBufferSize(Textbuf *tb); /** Flags used in ShowQueryString() call */ enum QueryStringFlags { - QSF_NONE = 0, + QSF_NONE = 0, QSF_ACCEPT_UNCHANGED = 0x01, ///< return success even when the text didn't change + QSF_ENABLE_DEFAULT = 0x02, ///< enable the 'Default' button ("\0" is returned) }; DECLARE_ENUM_AS_BIT_SET(QueryStringFlags) |