From fe07ad525e8326bf857d5ac8e1998ff3b7c343d1 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Thu, 29 Jun 2006 21:16:14 +0200 Subject: use image files from command line for stitching --- src/gipfel.cxx | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'src') diff --git a/src/gipfel.cxx b/src/gipfel.cxx index 3a68ec3..a5b0fc9 100644 --- a/src/gipfel.cxx +++ b/src/gipfel.cxx @@ -422,17 +422,9 @@ int stitch(int stitch_w, int stitch_h, int argc, char **argv) { Fl_Scroll *scroll; Stitch *st = new Stitch(); - st->load_image("test1.jpg"); - st->load_image("test2.jpg"); - st->load_image("test3.jpg"); - st->load_image("test4.jpg"); - st->load_image("test5.jpg"); - st->load_image("test6.jpg"); - st->load_image("test7.jpg"); - st->load_image("test8.jpg"); - st->load_image("test9.jpg"); - st->load_image("test10.jpg"); - st->load_image("test11.jpg"); + for (int i=0; iload_image(argv[i]); + } win = new Fl_Window(0,0, 1000, stitch_h); scroll = new Fl_Scroll(0, 0, win->w(), win->h()); -- cgit v1.2.3