diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-09-29 22:59:45 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-09-29 22:59:45 +0000 |
| commit | 72b56edc2940e0279a551fa9182d5ffb16cc1953 (patch) | |
| tree | 224ee91888baf40fb040e8854d7105885f94ab27 /fluid/function_panel.cxx | |
| parent | e7f3ad8691e0d2ef1b9c589d0fe702774182541d (diff) | |
Tooltips, and more tooltips.
Fl_Browser_, Fl_Choice, and Fl_Input_ did not do the tooltip stuff.
Fix write_properties so it writes tooltips properly from FLUID.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1616 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/function_panel.cxx')
| -rw-r--r-- | fluid/function_panel.cxx | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/fluid/function_panel.cxx b/fluid/function_panel.cxx index c199ae960..5d696abaf 100644 --- a/fluid/function_panel.cxx +++ b/fluid/function_panel.cxx @@ -1,4 +1,4 @@ -// generated by Fast Light User Interface Designer (fluid) version 1.0008 +// generated by Fast Light User Interface Designer (fluid) version 1.0100 #include "function_panel.h" @@ -21,13 +21,16 @@ Fl_Window* make_function_panel() { { Fl_Window* o = function_panel = new Fl_Window(285, 170, "function/method"); w = o; { Fl_Light_Button* o = f_public_button = new Fl_Light_Button(10, 10, 65, 25, "public"); + o->tooltip("Make the function or method publicly accessible."); o->labelsize(10); o->when(FL_WHEN_NEVER); } { Fl_Light_Button* o = f_c_button = new Fl_Light_Button(80, 10, 90, 25, "C declaration"); + o->tooltip("Declare with a C interface instead of C++."); o->labelsize(10); } { Fl_Input* o = f_name_input = new Fl_Input(10, 55, 265, 25, "Name(args): (blank for main())"); + o->tooltip("The name of the function or method."); o->labelsize(12); o->textfont(4); o->align(FL_ALIGN_TOP_LEFT); @@ -35,15 +38,18 @@ Fl_Window* make_function_panel() { Fl_Group::current()->resizable(o); } { Fl_Input* o = f_return_type_input = new Fl_Input(10, 100, 265, 25, "Return Type: (blank to return outermost widget)"); + o->tooltip("The return type of the function or method."); o->labelsize(12); o->textfont(4); o->align(FL_ALIGN_TOP_LEFT); o->when(FL_WHEN_NEVER); } { Fl_Return_Button* o = f_panel_ok = new Fl_Return_Button(110, 135, 80, 25, "OK"); + o->tooltip("Apply the changes."); w->hotspot(o); } { Fl_Button* o = f_panel_cancel = new Fl_Button(195, 135, 80, 25, "Cancel"); + o->tooltip("Cancel the changes."); o->shortcut(0xff1b); } o->set_modal(); @@ -65,6 +71,7 @@ Fl_Window* make_code_panel() { { Fl_Window* o = code_panel = new Fl_Window(290, 175, "code"); w = o; { Fl_Input* o = code_input = new Fl_Input(10, 10, 270, 120); + o->tooltip("C/C++ code."); o->type(4); o->labelsize(12); o->textfont(4); @@ -99,6 +106,7 @@ Fl_Window* make_codeblock_panel() { { Fl_Window* o = codeblock_panel = new Fl_Window(295, 130, "codeblock"); w = o; { Fl_Input* o = code_before_input = new Fl_Input(10, 10, 275, 25); + o->tooltip("#ifdef or similar conditional code block."); o->labelsize(12); o->textfont(4); o->align(FL_ALIGN_TOP_LEFT); @@ -109,6 +117,7 @@ Fl_Window* make_codeblock_panel() { o->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE); } { Fl_Input* o = code_after_input = new Fl_Input(10, 60, 275, 25); + o->tooltip("#endif or similar conditional code block."); o->labelsize(12); o->textfont(4); o->align(FL_ALIGN_TOP_LEFT); @@ -141,6 +150,7 @@ Fl_Window* make_declblock_panel() { { Fl_Window* o = declblock_panel = new Fl_Window(295, 130, "declaration block"); w = o; { Fl_Input* o = decl_before_input = new Fl_Input(10, 10, 275, 25); + o->tooltip("#ifdef or similar conditional declaration block."); o->labelsize(12); o->textfont(4); o->align(FL_ALIGN_TOP_LEFT); @@ -151,6 +161,7 @@ Fl_Window* make_declblock_panel() { o->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE); } { Fl_Input* o = decl_after_input = new Fl_Input(10, 60, 275, 25); + o->tooltip("#endif or similar declaration code block."); o->labelsize(12); o->textfont(4); o->align(FL_ALIGN_TOP_LEFT); @@ -183,12 +194,14 @@ Fl_Window* make_decl_panel() { { Fl_Window* o = decl_panel = new Fl_Window(290, 180, "declaration"); w = o; { Fl_Light_Button* o = decl_public_button = new Fl_Light_Button(10, 10, 65, 25, "public"); + o->tooltip("Make the declaration publicly accessible."); o->labelsize(10); o->when(FL_WHEN_NEVER); } { Fl_Input* o = decl_input = new Fl_Input(10, 40, 270, 25, "Can be any declaration, like \"int x;\",\nan external symbol like \"extern in\ t foo();\",\na #directive like \"#include <foo.h>\",\nor a comment like \"//fo\ o\" or \"/*foo*/\",\nor typedef like \"typedef char byte;\""); + o->tooltip("Declaration text."); o->labelsize(12); o->textfont(4); o->align(FL_ALIGN_BOTTOM_LEFT); @@ -223,10 +236,12 @@ Fl_Window* make_class_panel() { { Fl_Window* o = class_panel = new Fl_Window(285, 170, "class"); w = o; { Fl_Light_Button* o = c_public_button = new Fl_Light_Button(10, 10, 65, 25, "public"); + o->tooltip("Make the class publicly accessible."); o->labelsize(10); o->when(FL_WHEN_NEVER); } { Fl_Input* o = c_name_input = new Fl_Input(10, 55, 265, 25, "Name:"); + o->tooltip("Name of class."); o->labelsize(12); o->textfont(4); o->align(FL_ALIGN_TOP_LEFT); @@ -234,6 +249,7 @@ Fl_Window* make_class_panel() { Fl_Group::current()->resizable(o); } { Fl_Input* o = c_subclass_input = new Fl_Input(10, 100, 265, 25, "Subclass of (text between : and {)"); + o->tooltip("Name of subclass."); o->labelsize(12); o->textfont(4); o->align(FL_ALIGN_TOP_LEFT); |
