From 5a3791ab5b2274fffde961bd01c75bacee74f634 Mon Sep 17 00:00:00 2001 From: Nathan Letwory Date: Wed, 2 Dec 2009 00:57:12 +0000 Subject: Apply patch [#20145] Ghost Win32 roundup patch: Minimum Window Size, Continuous Grab and Drag And Drop This nice patch by Matt D. (matd in #blendercoders) adds three nice features that can be seen already in the other supported OSes: * minimum window size: to prevent some bugs with the window manager of Blender, system windows cannot be resized smaller than the minimum size. * Continuous Grab is finally in Windows! Default settings since alpha 0 already have the feature enabled by default, so grab a new build and enjoy :) * GHOST support for drag and drop added. This prepares Blender for drag and drop from OS -> Blender. Currently not very useful, since wm needs to be readied for that. But it does work (do BF_GHOST_DEBUG=1 build and drag a file onto a Blender window). Thanks Matt D.! --- tools/btools.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/btools.py b/tools/btools.py index e34ee05fbe7..f010a82fd6a 100755 --- a/tools/btools.py +++ b/tools/btools.py @@ -75,6 +75,7 @@ def validate_arguments(args, bc): 'BF_MSVS', 'WITH_BF_FHS', 'BF_VERSION', + 'BF_GHOST_DEBUG' ] # Have options here that scons expects to be lists @@ -418,8 +419,9 @@ def read_opts(cfg, args): (BoolVariable('WITH_BF_FHS', 'Use the Unix "Filesystem Hierarchy Standard" rather then a redistributable directory layout', False)), ('BF_VERSION', 'The root path for Unix (non-apple)', '2.5'), - (BoolVariable('BF_UNIT_TEST', 'Build with unit test support.', False)) - + (BoolVariable('BF_UNIT_TEST', 'Build with unit test support.', False)), + + (BoolVariable('BF_GHOST_DEBUG', 'Make GHOST print events and info to stdout. (very verbose)', False)) ) # end of opts.AddOptions() return localopts -- cgit v1.2.3