Change the zoom factor to an int.
Update issue #500

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/TortoiseIDiff@24466 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Center the images after resetting the zoom.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/TortoiseIDiff@24467 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Remove #ifdef : not necessary anymore since we require the latest SDK already.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/TortoiseIDiff@24468 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Initialize zoom variable correctly.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/TortoiseIDiff@24469 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Add separate options to fit image widths and heights.
When doing that, fit the width and/or height *exactly* to the pixel.
Update issue #500

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/TortoiseIDiff@24470 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Remove obsolete method.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/TortoiseIDiff@24471 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Drop unused entry in TortoiseIDiff/resource.h

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/TortoiseIDiff@24472 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Fix broken positioning when zooming.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/TortoiseIDiff@24473 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Make Zoom in/out work with right image again (Fix regression of r24470).

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/TortoiseIDiff@24474 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
When linking the width/height of an image, reset the linked width/height of the original image so it isn't forced to an old/invalid size.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/TortoiseIDiff@24512 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
If image positions are not linked together, snap to the other image borders when dragging.
Update issue #500

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/TortoiseIDiff@24513 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Show help lines indicating the position of the second image when dragging the first image.
(Closes issue #500) : TortoiseIDiff: Improve image size fitting and positioning


git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/TortoiseIDiff@24514 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
When zooming with images linked together, adjust the position of the second image after zooming.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/TortoiseIDiff@24521 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Always use the interpolation mode InterpolationModeNearestNeighbor to make sure no antialiasing and/or smoothing is done at all when showing the images.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/TortoiseIDiff@24522 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
If one of the images is invalid or has size zero, do not zoom or fit to its width/height to avoid division-by-zero exceptions.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/TortoiseIDiff@24532 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac