diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2005-03-09 21:26:53 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2005-03-09 21:26:53 +0000 |
| commit | fc1a4cf809de316d356672a834b7f2f797032d98 (patch) | |
| tree | 7702d3ae290313a22261baf06892ac148aaa1243 /fluid/function_panel.h | |
| parent | 2bbee87dc306d6beeb8f0a0a4bd3b6092eb6eee5 (diff) | |
Added a new Type to fluid called 'Comment' to be used for standardized Copyright notices and other comments throughout the source code.
- simply add the 'Comment' type from the 'New' menu or the Widget Bin
- comments in the very first position will be added at the very beginning of the source file or header. Comments at the end are at the very end in source and headers as well.
- if the users enters simple text, FLUID will add '// ' in front of every line. If a line already starts with '//' or a block starts with '/*', the text will be copied verbatim.
- text can be loaded from files
- text can be stored in a database and quickly retrieved later via a pulldown menu. The pulldown menu is customizable.
Enjoy!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4092 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/function_panel.h')
| -rw-r--r-- | fluid/function_panel.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/fluid/function_panel.h b/fluid/function_panel.h index 2f57f16b6..0b7770f51 100644 --- a/fluid/function_panel.h +++ b/fluid/function_panel.h @@ -1,4 +1,4 @@ -// generated by Fast Light User Interface Designer (fluid) version 1.0105 +// generated by Fast Light User Interface Designer (fluid) version 1.0107 #ifndef function_panel_h #define function_panel_h @@ -50,6 +50,16 @@ extern Fl_Input *c_subclass_input; extern Fl_Return_Button *c_panel_ok; extern Fl_Button *c_panel_cancel; Fl_Window* make_class_panel(); +extern Fl_Window *comment_panel; +extern Fl_Text_Editor *comment_input; +extern Fl_Return_Button *comment_panel_ok; +extern Fl_Button *comment_panel_cancel; +extern Fl_Light_Button *comment_in_source; +extern Fl_Light_Button *comment_in_header; +#include <FL/Fl_Menu_Button.H> +extern Fl_Menu_Button *comment_predefined; +extern Fl_Button *comment_load; +Fl_Window* make_comment_panel(); void type_make_cb(Fl_Widget*w,void*d); extern Fl_Window *widgetbin_panel; extern void type_make_cb(Fl_Button*, void*); |
