diff options
author | darkvater <darkvater@openttd.org> | 2004-08-16 21:02:06 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2004-08-16 21:02:06 +0000 |
commit | 31911a93255dbe14137b7ac1faeb405862bd2530 (patch) | |
tree | 9aaa10a76f27b3f53d5836ddb9573a69eef5eb17 /main_gui.c | |
parent | 255a1ad941f4f852b65257cf179294ee4f5acdd4 (diff) | |
download | openttd-31911a93255dbe14137b7ac1faeb405862bd2530.tar.xz |
(svn r69) -Feature: align toolbar left/center/right patch (TrueLight)
-Feature: added callback feature to patches options
Diffstat (limited to 'main_gui.c')
-rw-r--r-- | main_gui.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/main_gui.c b/main_gui.c index f6bae51c1..4e80b4b9e 100644 --- a/main_gui.c +++ b/main_gui.c @@ -2207,6 +2207,8 @@ void SetupColorsAndInitialWindow() w = AllocateWindowDesc(&_toolb_normal_desc); w->disabled_state = 1 << 17; w->flags4 &= ~WF_WHITE_BORDER_MASK; + + PositionMainToolbar(w); // already WC_MAIN_TOOLBAR passed (&_toolb_normal_desc) _main_status_desc.top = height - 12; w = AllocateWindowDesc(&_main_status_desc); @@ -2222,6 +2224,8 @@ void SetupColorsAndInitialWindow() w = AllocateWindowDesc(&_toolb_scen_desc); w->disabled_state = 1 << 9; w->flags4 &= ~WF_WHITE_BORDER_MASK; + + PositionMainToolbar(w); // already WC_MAIN_TOOLBAR passed (&_toolb_scen_desc) break; default: NOT_REACHED(); |