diff options
author | rubidium <rubidium@openttd.org> | 2010-11-13 23:40:36 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-11-13 23:40:36 +0000 |
commit | a9da53c1068f9279ae82a557d46ece01f5beecd1 (patch) | |
tree | 783e7844b5a720f4601816bbeb8207e8d809e708 /src/table | |
parent | fc75b00992dbf6f86a39aca1a2cda4e6378b6bba (diff) | |
download | openttd-a9da53c1068f9279ae82a557d46ece01f5beecd1.tar.xz |
(svn r21179) -Fix [FS#4201] (r69): if the main toolbar's location is configurable, why isn't the statusbar's location configurable?
Diffstat (limited to 'src/table')
-rw-r--r-- | src/table/settings.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/table/settings.h b/src/table/settings.h index f6defe331..50fcd6f71 100644 --- a/src/table/settings.h +++ b/src/table/settings.h @@ -11,6 +11,7 @@ /* Begin - Callback Functions for the various settings */ static bool v_PositionMainToolbar(int32 p1); +static bool v_PositionStatusbar(int32 p1); static bool PopulationInLabelActive(int32 p1); static bool RedrawScreen(int32 p1); static bool RedrawSmallmap(int32 p1); @@ -568,6 +569,7 @@ const SettingDesc _settings[] = { SDTC_VAR(gui.errmsg_duration, SLE_UINT8, S, 0, 5, 0, 20, 0, STR_CONFIG_SETTING_ERRMSG_DURATION, NULL), SDTC_VAR(gui.hover_delay, SLE_UINT8, S, D0, 2, 1, 5, 0, STR_CONFIG_SETTING_HOVER_DELAY, NULL), SDTC_VAR(gui.toolbar_pos, SLE_UINT8, S, MS, 1, 0, 2, 0, STR_CONFIG_SETTING_TOOLBAR_POS, v_PositionMainToolbar), + SDTC_VAR(gui.statusbar_pos, SLE_UINT8, S, MS, 1, 0, 2, 0, STR_CONFIG_SETTING_STATUSBAR_POS, v_PositionStatusbar), SDTC_VAR(gui.window_snap_radius, SLE_UINT8, S, D0, 10, 1, 32, 0, STR_CONFIG_SETTING_SNAP_RADIUS, NULL), SDTC_VAR(gui.window_soft_limit, SLE_UINT8, S, D0, 20, 5, 255, 1, STR_CONFIG_SETTING_SOFT_LIMIT, NULL), SDTC_BOOL(gui.population_in_label, S, 0, true, STR_CONFIG_SETTING_POPULATION_IN_LABEL, PopulationInLabelActive), |