summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gipfel.cxx14
1 files changed, 3 insertions, 11 deletions
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; i<argc; i++) {
+ st->load_image(argv[i]);
+ }
win = new Fl_Window(0,0, 1000, stitch_h);
scroll = new Fl_Scroll(0, 0, win->w(), win->h());