diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-03-20 21:27:20 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-03-20 21:27:20 +0000 |
| commit | 0919d57c330ce6be113a3651bf4ed0ef8a35f784 (patch) | |
| tree | f01ad8ee388a87120ff95ec06aebadae58a52ef8 /fluid/template_panel.h | |
| parent | 0bc98fd29efa40f4828813fd490c2afe6e2e7c4f (diff) | |
Template panel for "new" and "save template" actions, complete with
preview images that are generated when you save the template.
Use @INSTANCE@ anywhere you want to substitute an instance name.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4148 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/template_panel.h')
| -rw-r--r-- | fluid/template_panel.h | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/fluid/template_panel.h b/fluid/template_panel.h new file mode 100644 index 000000000..df5898a88 --- /dev/null +++ b/fluid/template_panel.h @@ -0,0 +1,56 @@ +// +// "$Id$" +// +// FLUID template support for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +// generated by Fast Light User Interface Designer (fluid) version 1.0107 + +#ifndef template_panel_h +#define template_panel_h +#include <FL/Fl.H> +#include <FL/Fl_Double_Window.H> +extern Fl_Double_Window *template_panel; +#include <FL/Fl_Browser.H> +extern Fl_Browser *template_browser; +#include <FL/Fl_Box.H> +extern Fl_Box *template_preview; +#include <FL/Fl_Input.H> +extern Fl_Input *template_name; +extern Fl_Input *template_instance; +#include <FL/Fl_Group.H> +#include <FL/Fl_Button.H> +extern void template_delete_cb(Fl_Button*, void*); +extern Fl_Button *template_delete; +#include <FL/Fl_Return_Button.H> +extern Fl_Return_Button *template_submit; +Fl_Double_Window* make_template_panel(); +void template_clear(); +void template_delete_cb(Fl_Button *, void *); +void template_load(); +#endif + +// +// End of "$Id$". +// |
