diff Applications/Samples/SingleFrameEditorApplication.h @ 1047:efc5b62b9539

reorganization
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 09 Oct 2019 18:06:58 +0200
parents 4f2416d519b4
children b537002f83a9 63539e826355
line wrap: on
line diff
--- a/Applications/Samples/SingleFrameEditorApplication.h	Wed Oct 09 17:18:29 2019 +0200
+++ b/Applications/Samples/SingleFrameEditorApplication.h	Wed Oct 09 18:06:58 2019 +0200
@@ -117,12 +117,12 @@
           if (tool_ == Tool_Windowing)
           {
             return new RadiographyWindowingTracker(
-                  undoRedoStack_, widget.GetScene(),
-                  viewportX, viewportY,
-                  RadiographyWindowingTracker::Action_DecreaseWidth,
-                  RadiographyWindowingTracker::Action_IncreaseWidth,
-                  RadiographyWindowingTracker::Action_DecreaseCenter,
-                  RadiographyWindowingTracker::Action_IncreaseCenter);
+              undoRedoStack_, widget.GetScene(), widget, ImageInterpolation_Nearest,
+              viewportX, viewportY,
+              RadiographyWindowingTracker::Action_DecreaseWidth,
+              RadiographyWindowingTracker::Action_IncreaseWidth,
+              RadiographyWindowingTracker::Action_DecreaseCenter,
+              RadiographyWindowingTracker::Action_IncreaseCenter);
           }
           else if (!widget.LookupSelectedLayer(selected))
           {