summaryrefslogtreecommitdiff
path: root/test/pixmap_browser.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2017-10-04 11:46:33 +0000
committerManolo Gouy <Manolo>2017-10-04 11:46:33 +0000
commit5e6bf76b0a75f84dcdaa277d1aef7ab76e2d0631 (patch)
treea6b337e3d88fc23fe1941e09d22a0b28f5e31223 /test/pixmap_browser.cxx
parent6434d5d602344631cef2a75c015fa9e72035852d (diff)
Fl_SVG_Image class: add support for compressed .svgz image files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12475 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..344b3a30b 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"
+# if defined(HAVE_LIBZ)
+ ",svgz"
+# endif
#endif
"}", name);
puts(fname ? fname : "(null)"); fflush(stdout);