diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-09-29 14:38:59 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-09-29 14:38:59 +0000 |
| commit | 6a4714ce12d546c8131389853fe5593555c73b77 (patch) | |
| tree | 158726de167a805d6aaa325f8250b89bf3a2db08 /test/file_chooser.cxx | |
| parent | de6c7f66eeaeeae52ca33221db885ae6cd7ea114 (diff) | |
Fl_FileXYZ -> Fl_File_XYZ
Fl_HelpXYZ -> Fl_Help_XYZ
Fl_File_Chooser now supports directory choosing.
Added fl_dir_chooser() function.
Now set FLTK_DOCDIR env var in test/demo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1612 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/file_chooser.cxx')
| -rw-r--r-- | test/file_chooser.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/file_chooser.cxx b/test/file_chooser.cxx index cafb2e8d7..2e21ccd3d 100644 --- a/test/file_chooser.cxx +++ b/test/file_chooser.cxx @@ -1,5 +1,5 @@ // -// "$Id: file_chooser.cxx,v 1.4.2.3.2.1 2001/08/03 18:46:57 easysw Exp $" +// "$Id: file_chooser.cxx,v 1.4.2.3.2.2 2001/09/29 14:38:59 easysw Exp $" // // File chooser test program for the Fast Light Tool Kit (FLTK). // @@ -28,7 +28,7 @@ #include <FL/Fl_Window.H> #include <FL/Fl_Input.H> #include <FL/fl_file_chooser.H> -#include <FL/Fl_FileIcon.H> +#include <FL/Fl_File_Icon.H> #include <stdio.h> #include <string.h> #include <errno.h> @@ -43,7 +43,7 @@ void pickfile(Fl_Widget *) { } int main(int argc, char **argv) { - Fl_FileIcon::load_system_icons(); + Fl_File_Icon::load_system_icons(); Fl_Window window(310,110); pattern = new Fl_Input(100,10,200,25,"Pattern:"); pattern->static_value("*"); @@ -56,5 +56,5 @@ int main(int argc, char **argv) { } // -// End of "$Id: file_chooser.cxx,v 1.4.2.3.2.1 2001/08/03 18:46:57 easysw Exp $". +// End of "$Id: file_chooser.cxx,v 1.4.2.3.2.2 2001/09/29 14:38:59 easysw Exp $". // |
