Mercurial > hg > openttd
comparison src/newgrf_gui.cpp @ 19796:b5e26ecef856 draft
(svn r24729) -Codechange: Unify the handling of HEBR_EDITING.
author | frosch <frosch@openttd.org> |
---|---|
date | Tue, 13 Nov 2012 21:46:46 +0000 |
parents | 012a8beddd97 |
children | b43322410b60 |
comparison
equal
deleted
inserted
replaced
19795:3587f92f5c57 | 19796:b5e26ecef856 |
---|---|
1263 break; | 1263 break; |
1264 | 1264 |
1265 default: { | 1265 default: { |
1266 /* Handle editbox input */ | 1266 /* Handle editbox input */ |
1267 EventState state = ES_NOT_HANDLED; | 1267 EventState state = ES_NOT_HANDLED; |
1268 if (this->HandleEditBoxKey(WID_NS_FILTER, key, keycode, state) == HEBR_EDITING) { | 1268 this->HandleEditBoxKey(WID_NS_FILTER, key, keycode, state); |
1269 this->OnOSKInput(WID_NS_FILTER); | |
1270 } | |
1271 return state; | 1269 return state; |
1272 } | 1270 } |
1273 } | 1271 } |
1274 | 1272 |
1275 if (this->avails.Length() == 0) this->avail_pos = -1; | 1273 if (this->avails.Length() == 0) this->avail_pos = -1; |