summaryrefslogtreecommitdiff
path: root/settings_gui.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2004-11-10 21:14:16 +0000
committertron <tron@openttd.org>2004-11-10 21:14:16 +0000
commit872f49ae8a8f1051cce2ed3c5cdc66fb654ade41 (patch)
treeae3d4187734dda8d016a4515d4b9b21427c4be08 /settings_gui.c
parent603618a75b6b55ca46ce015d97d462e2b7f83fb7 (diff)
downloadopenttd-872f49ae8a8f1051cce2ed3c5cdc66fb654ade41.tar.xz
(svn r538) -Feature: Windows snap at each other
This is inspired by [1063636].
Diffstat (limited to 'settings_gui.c')
-rw-r--r--settings_gui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings_gui.c b/settings_gui.c
index 4e7501305..f84c0e140 100644
--- a/settings_gui.c
+++ b/settings_gui.c
@@ -572,6 +572,7 @@ static const PatchEntry _patches_ui[] = {
{PE_UINT8, 0, STR_CONFIG_PATCHES_ERRMSG_DURATION, &_patches.errmsg_duration, 0, 20, 1, NULL},
{PE_UINT8, PF_MULTISTRING, STR_CONFIG_PATCHES_TOOLBAR_POS, &_patches.toolbar_pos, 0, 2, 1, &v_PositionMainToolbar},
+ {PE_UINT8, PF_0ISDIS, STR_CONFIG_PATCHES_SNAP_RADIUS, &_patches.window_snap_radius, 1, 32, 1, NULL},
{PE_BOOL, 0, STR_CONFIG_PATCHES_INVISIBLE_TREES, &_patches.invisible_trees, 0, 1, 1, &InvisibleTreesActive},
};