2 // "$Id: Fl_File_Input.H,v 1.1 2002/12/01 15:38:37 neurosurg Exp $"
4 // File_Input header file for the Fast Light Tool Kit (FLTK).
6 // Copyright 1998-2002 by Bill Spitzak and others.
7 // Original version Copyright 1998 by Curtis Edwards.
9 // This library is free software; you can redistribute it and/or
10 // modify it under the terms of the GNU Library General Public
11 // License as published by the Free Software Foundation; either
12 // version 2 of the License, or (at your option) any later version.
14 // This library is distributed in the hope that it will be useful,
15 // but WITHOUT ANY WARRANTY; without even the implied warranty of
16 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 // Library General Public License for more details.
19 // You should have received a copy of the GNU Library General Public
20 // License along with this library; if not, write to the Free Software
21 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
24 // Please report all bugs and problems to "fltk-bugs@fltk.org".
27 #ifndef Fl_File_Input_H
28 # define Fl_File_Input_H
30 # include <FL/Fl_Input.H>
33 class FL_EXPORT Fl_File_Input : public Fl_Input
42 int handle_button(int event);
43 void update_buttons();
47 Fl_File_Input(int,int,int,int,const char *t=0);
49 virtual int handle(int);
52 Fl_Boxtype down_box() const { return (Fl_Boxtype)down_box_; }
53 void down_box(Fl_Boxtype b) { down_box_ = b; }
54 Fl_Color errorcolor() const { return errorcolor_; }
55 void errorcolor(Fl_Color c) { errorcolor_ = c; }
56 int value(const char*);
57 int value(const char*, int);
58 const char *value() { return Fl_Input_::value(); }
61 #endif // !Fl_File_Input_H
65 // End of "$Id: Fl_File_Input.H,v 1.1 2002/12/01 15:38:37 neurosurg Exp $".