source: NonGTP/glut/FLTK/include/fltk/file_chooser.h @ 814

Revision 814, 1.4 KB checked in by gumbau, 18 years ago (diff)

Glut initial import used by Geometry modules

Line 
1//
2// "$Id: file_chooser.h 3197 2004-01-20 07:27:29Z spitzak $"
3//
4// Popup file chooser.
5// Copyright 1998-2002 by Bill Spitzak and others.
6//
7// This library is free software; you can redistribute it and/or
8// modify it under the terms of the GNU Library General Public
9// License as published by the Free Software Foundation; either
10// version 2 of the License, or (at your option) any later version.
11//
12// This library is distributed in the hope that it will be useful,
13// but WITHOUT ANY WARRANTY; without even the implied warranty of
14// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15// Library General Public License for more details.
16//
17// You should have received a copy of the GNU Library General Public
18// License along with this library; if not, write to the Free Software
19// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
20// USA.
21//
22// Please report all bugs and problems to "fltk-bugs@fltk.org".
23//
24
25#ifndef fltk_file_chooser_h
26#define fltk_file_chooser_h
27
28#include "FL_API.h"
29
30namespace fltk {
31/*! \addtogroup dialogs
32  \{ */
33
34FL_API void use_system_file_chooser(bool = true);
35
36FL_API char *file_chooser(const char *message,
37                          const char *pattern,
38                          const char *filename,
39                          bool save = true);
40FL_API void file_chooser_callback(void (*cb)(const char *));
41
42/* \} */
43}
44
45#endif
46
47//
48// End of "$Id: file_chooser.h 3197 2004-01-20 07:27:29Z spitzak $".
49//
Note: See TracBrowser for help on using the repository browser.