From d5a8755eadbed7667858866e968dead47e5bf8fb Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 2 Apr 2015 17:19:33 +0000 Subject: Added comments to Fluid Widgets. The comment field is between the Additional Code and Callback field on the C++ Tab of the Widget Editor. Care was taken to correctly resize. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10659 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- fluid/Fl_Window_Type.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'fluid/Fl_Window_Type.cxx') diff --git a/fluid/Fl_Window_Type.cxx b/fluid/Fl_Window_Type.cxx index 930fc0c41..e6b8b644e 100644 --- a/fluid/Fl_Window_Type.cxx +++ b/fluid/Fl_Window_Type.cxx @@ -1498,6 +1498,7 @@ void Fl_Widget_Class_Type::write_code1() { const char *c = subclass(); if (!c) c = "Fl_Group"; + write_comment_h(); write_h("\nclass %s : public %s {\n", name(), c); if (strstr(c, "Window")) { write_h(" void _%s();\n", trimclassname(name())); -- cgit v1.2.3