diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2006-06-25 13:51:38 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2006-06-25 13:51:38 +0200 |
commit | 88555db930fc170f97ebbca6c17802392a5b5f25 (patch) | |
tree | 029156b018ccaf4d72b4b1c24e45d50d2f3892ca /src/Stitch.cxx | |
parent | bf376cf0a996b08c39f22d46ba68be4e7957777f (diff) |
show stitching online
Diffstat (limited to 'src/Stitch.cxx')
-rw-r--r-- | src/Stitch.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Stitch.cxx b/src/Stitch.cxx index 9080259..21b0ba7 100644 --- a/src/Stitch.cxx +++ b/src/Stitch.cxx @@ -24,6 +24,8 @@ #include <string.h> #include <math.h> +#include <Fl/Fl.H> + #include "Stitch.H" Stitch::Stitch() { @@ -66,8 +68,7 @@ Stitch::resample(DataImage *img, for (int x=0; x<img->w(); x++) { for (int y=0; y<img->h(); y++) { double a_view, a_nick; - - a_view = x * step_view; + a_view = view_start + x * step_view; a_nick = (y_off - y) * step_view; for (int i=0; i<MAX_PICS; i++) { @@ -79,5 +80,7 @@ Stitch::resample(DataImage *img, } } } + img->redraw(); + Fl::check(); } } |