summaryrefslogtreecommitdiff
path: root/src/gipfel.cxx
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-05-20 09:49:16 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-05-20 09:49:16 +0200
commitdf5384ff38ee2c62cf9f038a7d4b8c5b6e7e62b2 (patch)
tree1f0e987e64abf31b74800dc1113abcc21c043b47 /src/gipfel.cxx
parentb669f825944b8f487e9cadd15dff59fcfad6cfe5 (diff)
factor out ScanImage class
Diffstat (limited to 'src/gipfel.cxx')
-rw-r--r--src/gipfel.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gipfel.cxx b/src/gipfel.cxx
index 4fbf26f..8add46a 100644
--- a/src/gipfel.cxx
+++ b/src/gipfel.cxx
@@ -65,7 +65,7 @@ static Fl_Menu_Bar *mb;
#define STITCH_JPEG 2
#define STITCH_TIFF 4
-static int stitch(GipfelWidget::sample_mode_t m , int b_16,
+static int stitch(ScanImage::mode_t m , int b_16,
int stitch_w, int stitch_h,
double from, double to, int type, const char *path, int argc, char **argv);
@@ -602,7 +602,7 @@ int main(int argc, char** argv) {
type = STITCH_PREVIEW;
}
- return stitch(bicubic_flag?GipfelWidget::BICUBIC:GipfelWidget::NEAREST,
+ return stitch(bicubic_flag ? ScanImage::BICUBIC : ScanImage::NEAREST,
b_16_flag,
stitch_w, stitch_h, stitch_from, stitch_to,
type, outpath, my_argc, my_argv);
@@ -667,7 +667,7 @@ int main(int argc, char** argv) {
}
static int
-stitch(GipfelWidget::sample_mode_t m, int b_16,
+stitch(ScanImage::mode_t m, int b_16,
int stitch_w, int stitch_h, double from, double to,
int type, const char *path, int argc, char **argv) {