diff options
author | rubidium <rubidium@openttd.org> | 2009-11-19 17:57:27 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-11-19 17:57:27 +0000 |
commit | 64d65cc635c8ef99689dcc5096c7ccb66b6b72f1 (patch) | |
tree | 6230b60f9a2fc8def2d2fbdf0d0f8665fa66175b /src/news_gui.cpp | |
parent | 089992ef13310f22923ec65399f5d2bd350ce473 (diff) | |
download | openttd-64d65cc635c8ef99689dcc5096c7ccb66b6b72f1.tar.xz |
(svn r18187) -Codechange: make the advanced face selection, custom currency, difficulty, news settings, signal, sign and vehicle details window RTL aware (use the arrow widget)
Diffstat (limited to 'src/news_gui.cpp')
-rw-r--r-- | src/news_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/news_gui.cpp b/src/news_gui.cpp index d675ec40b..362c440ca 100644 --- a/src/news_gui.cpp +++ b/src/news_gui.cpp @@ -1205,7 +1205,7 @@ static NWidgetBase *MakeButtonsColumn(int *biggest_index) for (int i = 0; i < NT_END; i++) { NWidgetHorizontal *hor = new NWidgetHorizontal; /* [<] button. */ - NWidgetLeaf *leaf = new NWidgetLeaf(WWT_PUSHIMGBTN, COLOUR_YELLOW, widnum, SPR_ARROW_LEFT, STR_TOOLTIP_HSCROLL_BAR_SCROLLS_LIST); + NWidgetLeaf *leaf = new NWidgetLeaf(NWID_BUTTON_ARROW, COLOUR_YELLOW, widnum, AWV_DECREASE, STR_TOOLTIP_HSCROLL_BAR_SCROLLS_LIST); leaf->SetFill(true, true); hor->Add(leaf); /* Label. */ @@ -1213,7 +1213,7 @@ static NWidgetBase *MakeButtonsColumn(int *biggest_index) leaf->SetFill(true, true); hor->Add(leaf); /* [>] button. */ - leaf = new NWidgetLeaf(WWT_PUSHIMGBTN, COLOUR_YELLOW, widnum + 2, SPR_ARROW_RIGHT, STR_TOOLTIP_HSCROLL_BAR_SCROLLS_LIST); + leaf = new NWidgetLeaf(NWID_BUTTON_ARROW, COLOUR_YELLOW, widnum + 2, AWV_INCREASE, STR_TOOLTIP_HSCROLL_BAR_SCROLLS_LIST); leaf->SetFill(true, true); hor->Add(leaf); vert_buttons->Add(hor); |