summaryrefslogtreecommitdiff
path: root/test/pixmap_browser.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2017-10-04 16:26:51 +0000
committerManolo Gouy <Manolo>2017-10-04 16:26:51 +0000
commit0b797d704c718aba64720734377f7b23aa0098f5 (patch)
treed47f4b010fe23df1c6423f149c283aff4256c874 /test/pixmap_browser.cxx
parent7a9d5be6cb2ae831b3c2409788d3a31aa61d62b9 (diff)
Fl_SVG_Image class: add support for compressed .svgz image files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12477 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/pixmap_browser.cxx')
-rw-r--r--test/pixmap_browser.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/pixmap_browser.cxx b/test/pixmap_browser.cxx
index 6de037e5e..7d2ea3c3c 100644
--- a/test/pixmap_browser.cxx
+++ b/test/pixmap_browser.cxx
@@ -79,6 +79,9 @@ void button_cb(Fl_Widget *,void *) {
const char *fname = fl_file_chooser("Image file?","*.{bm,bmp,gif,jpg,pbm,pgm,png,ppm,xbm,xpm"
#ifdef FLTK_USE_NANOSVG
",svg"
+#ifdef HAVE_LIBZ
+ ",svgz"
+#endif
#endif
"}", name);
puts(fname ? fname : "(null)"); fflush(stdout);