diff options
author | belugas <belugas@openttd.org> | 2006-08-22 15:23:25 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2006-08-22 15:23:25 +0000 |
commit | 4c2abf1de53e28a5c3c6c6920efabc4653693c4c (patch) | |
tree | 9e31a242a7914da837b80e0913064ecc99b10e3b /news_gui.c | |
parent | 480af9c9171badb7db906d2cc05856f4c2d87b73 (diff) | |
download | openttd-4c2abf1de53e28a5c3c6c6920efabc4653693c4c.tar.xz |
(svn r6046) CodeChange : Rename WWT_5 Widget type to WWT_LABEL : a centered label
CodeChange : Move almost all fixed strings from ON_PAINT event to Widget array using WWT_LABEL.
Feature : All "Select Refit Cargo" are now centered, instead of been left aligned
Diffstat (limited to 'news_gui.c')
-rw-r--r-- | news_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/news_gui.c b/news_gui.c index e3e739d7d..1af619339 100644 --- a/news_gui.c +++ b/news_gui.c @@ -731,7 +731,6 @@ static void MessageOptionsWndProc(Window *w, WindowEvent *e) if (_news_ticker_sound) SETBIT(w->click_state, 25); DrawWindowWidgets(w); - DrawStringCentered(185, 15, STR_0205_MESSAGE_TYPES, 0); /* XXX - Draw the fake widgets-buttons. Can't add these to the widget-desc since * openttd currently can only handle 32 widgets. So hack it *g* */ @@ -839,6 +838,7 @@ static const Widget _message_options_widgets[] = { { WWT_TEXTBTN, RESIZE_NONE, 3, 87, 98, 154, 165, STR_0225, STR_NULL}, { WWT_4, RESIZE_NONE, 3, 4, 98, 166, 177, STR_02DB_OFF, STR_NULL}, +{ WWT_LABEL, RESIZE_NONE, 13, 0, 409, 13, 26, STR_0205_MESSAGE_TYPES, STR_NULL}, { WIDGETS_END}, }; |