Mercurial > hg > openttd
diff src/textbuf_gui.h @ 10148:81642658c8be draft
(svn r14334) -Feature: ability to reset name to default/automatic value (for vehicles, engines, towns, groups, stations, waypoints, managers and companies)
author | smatz <smatz@openttd.org> |
---|---|
date | Mon, 15 Sep 2008 19:02:50 +0000 (2008-09-15) |
parents | dbe302da93a8 |
children | a5286e772120 |
line wrap: on
line diff
--- a/src/textbuf_gui.h +++ b/src/textbuf_gui.h @@ -31,8 +31,9 @@ /** 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)