diff options
author | peter1138 <peter1138@openttd.org> | 2006-01-22 10:00:04 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-01-22 10:00:04 +0000 |
commit | e3694012937797e0bd9a9daea7b657d2a6dc7a76 (patch) | |
tree | 60b80f15224e83414752353596b7d5a484ee2fdf | |
parent | 80ecfb5ae431252b6a73825e3d958437449bd676 (diff) | |
download | openttd-e3694012937797e0bd9a9daea7b657d2a6dc7a76.tar.xz |
(svn r3417) - Make company league table window pinnable.
-rw-r--r-- | graph_gui.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/graph_gui.c b/graph_gui.c index d63a9a75d..02ee830c8 100644 --- a/graph_gui.c +++ b/graph_gui.c @@ -856,16 +856,17 @@ static void CompanyLeagueWndProc(Window *w, WindowEvent *e) static const Widget _company_league_widgets[] = { -{ WWT_CLOSEBOX, RESIZE_NONE, 14, 0, 10, 0, 13, STR_00C5, STR_018B_CLOSE_WINDOW}, -{ WWT_CAPTION, RESIZE_NONE, 14, 11, 399, 0, 13, STR_7053_COMPANY_LEAGUE_TABLE, STR_018C_WINDOW_TITLE_DRAG_THIS}, -{ WWT_IMGBTN, RESIZE_NONE, 14, 0, 399, 14, 96, 0x0, STR_NULL}, +{ WWT_CLOSEBOX, RESIZE_NONE, 14, 0, 10, 0, 13, STR_00C5, STR_018B_CLOSE_WINDOW}, +{ WWT_CAPTION, RESIZE_NONE, 14, 11, 387, 0, 13, STR_7053_COMPANY_LEAGUE_TABLE, STR_018C_WINDOW_TITLE_DRAG_THIS}, +{ WWT_STICKYBOX, RESIZE_NONE, 14, 388, 399, 0, 13, STR_NULL, STR_STICKY_BUTTON}, +{ WWT_IMGBTN, RESIZE_NONE, 14, 0, 399, 14, 96, 0x0, STR_NULL}, { WIDGETS_END}, }; static const WindowDesc _company_league_desc = { -1, -1, 400, 97, WC_COMPANY_LEAGUE,0, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET, + WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON, _company_league_widgets, CompanyLeagueWndProc }; |