summaryrefslogtreecommitdiff
path: root/fluid/template_panel.fl
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2005-03-24 16:31:59 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2005-03-24 16:31:59 +0000
commitae55d848e95005ddb24d50846cbcc8b0aca77a6e (patch)
tree041a1d959aa23865501c98adb757d9190b2ecc95 /fluid/template_panel.fl
parentead8aa8fcb61f56daa29171f7de702464a53dfdd (diff)
More HIG stuff - file menu now shows recent files in-line, above the "Quit"
item. Removed debug stuff from template panel. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4184 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/template_panel.fl')
-rw-r--r--fluid/template_panel.fl10
1 files changed, 2 insertions, 8 deletions
diff --git a/fluid/template_panel.fl b/fluid/template_panel.fl
index 6074d2d9b..5e3a4660a 100644
--- a/fluid/template_panel.fl
+++ b/fluid/template_panel.fl
@@ -110,17 +110,12 @@ strlcpy(pngfile, flfile, sizeof(pngfile));
if ((ext = strrchr(pngfile, '.')) == NULL) return;
strcpy(ext, ".png");
-printf("updating preview to \\"%s\\"...\\n", pngfile);
-
img = Fl_Shared_Image::get(pngfile);
if (img) {
- printf("img=%p, img->w()=%d, img->h()=%d\\n",
- img, img->w(), img->h());
-
template_preview->image(img);
template_preview->redraw();
-}}
+}} selected
xywh {10 28 180 250} type Hold labelfont 1 align 5 when 3
}
Fl_Box template_preview {
@@ -239,8 +234,7 @@ for (i = 0; i < num_files; i ++) {
free(files[i]);
}
-if (num_files > 0) free(files);} {selected
- }
+if (num_files > 0) free(files);} {}
}
comment {