From fc1a4cf809de316d356672a834b7f2f797032d98 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Wed, 9 Mar 2005 21:26:53 +0000 Subject: 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 --- fluid/function_panel.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'fluid/function_panel.h') 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 +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*); -- cgit v1.2.3