root/trunk/FRII/cartwheel-interface/LoadFileWindow.hh
| Revision 144, 1.1 kB (checked in by t, 2 years ago) |
|---|
| Line | |
|---|---|
| 1 | /* |
| 2 | * This file is part of the FamilyRelations II source distribution. |
| 3 | * |
| 4 | * FamilyRelations II is part of the FamilyJewels package for comparative |
| 5 | * sequence analysis: http://family.caltech.edu/. |
| 6 | * |
| 7 | * Contact author: C. Titus Brown, titus@caltech.edu. |
| 8 | * |
| 9 | * This program and all associated source code files are Copyright (C) 2003, |
| 10 | * 2004 the California Institute of Technology, Pasadena, CA, 91125 USA. It |
| 11 | * is under the Lesser GNU Public License; please see the included |
| 12 | * LICENSE.txt file for more information, or contact Titus directly. |
| 13 | * |
| 14 | */ |
| 15 | |
| 16 | // Definition file for LoadFileWindow, a class that puts up a UI for loading |
| 17 | // files from disk. |
| 18 | |
| 19 | #ifndef LOAD_FILE_WINDOW_HH |
| 20 | #define LOAD_FILE_WINDOW_HH |
| 21 | |
| 22 | #include <FL/Fl_Window.H> |
| 23 | #include <FL/Fl_Input.H> |
| 24 | #include <FL/fl_draw.H> |
| 25 | #include <FL/Fl_Box.H> |
| 26 | #include <FL/Fl_File_Chooser.H> |
| 27 | |
| 28 | #include "TextLabel.hh" |
| 29 | |
| 30 | class LoadFileWindow : public Fl_Group { |
| 31 | public: |
| 32 | Fl_Input* filename; |
| 33 | std::string filename_holder; |
| 34 | Fl_File_Chooser * chooser; |
| 35 | gui::TextLabel* notify; |
| 36 | LoadFileWindow(int x, int y, int w, int h); |
| 37 | |
| 38 | virtual void load_file(); |
| 39 | }; |
| 40 | |
| 41 | #endif // LOAD_FILE_WINDOW_HH |
| 42 |
Note: See TracBrowser for help on using the browser.
