summaryrefslogtreecommitdiff
path: root/fluid/function_panel.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2000-03-15 18:57:07 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2000-03-15 18:57:07 +0000
commita73c7f58e6a0bb4b4eab922396500c25c118a18b (patch)
tree7b846ad94ede2aa3e46c1401dd6758562add7e00 /fluid/function_panel.cxx
parentaf5190b95f6b4eb16c028aeb9620f5ebcfe4a0ec (diff)
Documentation updates for 1.0.8.
FLUID GUI tweeks (OK and Cancel use now consistent, spacing now consistent, Courier font for code, etc.) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1039 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/function_panel.cxx')
-rw-r--r--fluid/function_panel.cxx76
1 files changed, 43 insertions, 33 deletions
diff --git a/fluid/function_panel.cxx b/fluid/function_panel.cxx
index 120339120..c199ae960 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.00
+// generated by Fast Light User Interface Designer (fluid) version 1.0008
#include "function_panel.h"
@@ -18,30 +18,32 @@ Fl_Button *f_panel_cancel=(Fl_Button *)0;
Fl_Window* make_function_panel() {
Fl_Window* w;
- { Fl_Window* o = function_panel = new Fl_Window(287, 173, "function/method");
+ { 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, 15, 65, 25, "public");
+ { Fl_Light_Button* o = f_public_button = new Fl_Light_Button(10, 10, 65, 25, "public");
o->labelsize(10);
o->when(FL_WHEN_NEVER);
}
- { Fl_Light_Button* o = f_c_button = new Fl_Light_Button(90, 15, 90, 25, "C declaration");
+ { Fl_Light_Button* o = f_c_button = new Fl_Light_Button(80, 10, 90, 25, "C declaration");
o->labelsize(10);
}
- { Fl_Input* o = f_name_input = new Fl_Input(10, 60, 270, 25, "Name(args): (blank for main())");
+ { Fl_Input* o = f_name_input = new Fl_Input(10, 55, 265, 25, "Name(args): (blank for main())");
o->labelsize(12);
+ o->textfont(4);
o->align(FL_ALIGN_TOP_LEFT);
o->when(FL_WHEN_NEVER);
Fl_Group::current()->resizable(o);
}
- { Fl_Input* o = f_return_type_input = new Fl_Input(10, 105, 270, 25, "Return Type: (blank to return outermost widget)");
+ { Fl_Input* o = f_return_type_input = new Fl_Input(10, 100, 265, 25, "Return Type: (blank to return outermost widget)");
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, 140, 80, 25, "OK");
+ { Fl_Return_Button* o = f_panel_ok = new Fl_Return_Button(110, 135, 80, 25, "OK");
w->hotspot(o);
}
- { Fl_Button* o = f_panel_cancel = new Fl_Button(200, 140, 80, 25, "Cancel");
+ { Fl_Button* o = f_panel_cancel = new Fl_Button(195, 135, 80, 25, "Cancel");
o->shortcut(0xff1b);
}
o->set_modal();
@@ -60,19 +62,20 @@ Fl_Button *code_panel_cancel=(Fl_Button *)0;
Fl_Window* make_code_panel() {
Fl_Window* w;
- { Fl_Window* o = code_panel = new Fl_Window(291, 178, "code");
+ { Fl_Window* o = code_panel = new Fl_Window(290, 175, "code");
w = o;
- { Fl_Input* o = code_input = new Fl_Input(6, 5, 280, 135);
+ { Fl_Input* o = code_input = new Fl_Input(10, 10, 270, 120);
o->type(4);
o->labelsize(12);
+ o->textfont(4);
o->align(FL_ALIGN_CENTER);
o->when(FL_WHEN_NEVER);
Fl_Group::current()->resizable(o);
}
- { Fl_Return_Button* o = code_panel_ok = new Fl_Return_Button(115, 145, 80, 25, "OK");
+ { Fl_Return_Button* o = code_panel_ok = new Fl_Return_Button(115, 140, 80, 25, "OK");
w->hotspot(o);
}
- { Fl_Button* o = code_panel_cancel = new Fl_Button(205, 145, 80, 25, "Cancel");
+ { Fl_Button* o = code_panel_cancel = new Fl_Button(200, 140, 80, 25, "Cancel");
o->shortcut(0xff1b);
}
o->set_modal();
@@ -93,10 +96,11 @@ Fl_Button *codeblock_panel_cancel=(Fl_Button *)0;
Fl_Window* make_codeblock_panel() {
Fl_Window* w;
- { Fl_Window* o = codeblock_panel = new Fl_Window(293, 134, "codeblock");
+ { Fl_Window* o = codeblock_panel = new Fl_Window(295, 130, "codeblock");
w = o;
- { Fl_Input* o = code_before_input = new Fl_Input(10, 5, 275, 25);
+ { Fl_Input* o = code_before_input = new Fl_Input(10, 10, 275, 25);
o->labelsize(12);
+ o->textfont(4);
o->align(FL_ALIGN_TOP_LEFT);
o->when(FL_WHEN_NEVER);
Fl_Group::current()->resizable(o);
@@ -104,15 +108,16 @@ Fl_Window* make_codeblock_panel() {
{ Fl_Box* o = new Fl_Box(10, 35, 270, 25, "\"{...child code...}\" is inserted here");
o->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
}
- { Fl_Input* o = code_after_input = new Fl_Input(10, 65, 275, 25);
+ { Fl_Input* o = code_after_input = new Fl_Input(10, 60, 275, 25);
o->labelsize(12);
+ o->textfont(4);
o->align(FL_ALIGN_TOP_LEFT);
o->when(FL_WHEN_NEVER);
}
- { Fl_Return_Button* o = codeblock_panel_ok = new Fl_Return_Button(115, 100, 80, 25, "OK");
+ { Fl_Return_Button* o = codeblock_panel_ok = new Fl_Return_Button(120, 95, 80, 25, "OK");
w->hotspot(o);
}
- { Fl_Button* o = codeblock_panel_cancel = new Fl_Button(205, 100, 80, 25, "Cancel");
+ { Fl_Button* o = codeblock_panel_cancel = new Fl_Button(205, 95, 80, 25, "Cancel");
o->shortcut(0xff1b);
}
o->set_modal();
@@ -133,26 +138,28 @@ Fl_Button *declblock_panel_cancel=(Fl_Button *)0;
Fl_Window* make_declblock_panel() {
Fl_Window* w;
- { Fl_Window* o = declblock_panel = new Fl_Window(293, 134, "declaration block");
+ { Fl_Window* o = declblock_panel = new Fl_Window(295, 130, "declaration block");
w = o;
- { Fl_Input* o = decl_before_input = new Fl_Input(15, 10, 275, 25);
+ { Fl_Input* o = decl_before_input = new Fl_Input(10, 10, 275, 25);
o->labelsize(12);
+ o->textfont(4);
o->align(FL_ALIGN_TOP_LEFT);
o->when(FL_WHEN_NEVER);
Fl_Group::current()->resizable(o);
}
- { Fl_Box* o = new Fl_Box(15, 40, 270, 25, "\"\\n...child code...\\n\" is inserted here");
+ { Fl_Box* o = new Fl_Box(10, 35, 275, 25, "\"\\n...child code...\\n\" is inserted here");
o->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
}
- { Fl_Input* o = decl_after_input = new Fl_Input(15, 70, 275, 25);
+ { Fl_Input* o = decl_after_input = new Fl_Input(10, 60, 275, 25);
o->labelsize(12);
+ o->textfont(4);
o->align(FL_ALIGN_TOP_LEFT);
o->when(FL_WHEN_NEVER);
}
- { Fl_Return_Button* o = declblock_panel_ok = new Fl_Return_Button(120, 105, 80, 25, "OK");
+ { Fl_Return_Button* o = declblock_panel_ok = new Fl_Return_Button(120, 95, 80, 25, "OK");
w->hotspot(o);
}
- { Fl_Button* o = declblock_panel_cancel = new Fl_Button(210, 105, 80, 25, "Cancel");
+ { Fl_Button* o = declblock_panel_cancel = new Fl_Button(205, 95, 80, 25, "Cancel");
o->shortcut(0xff1b);
}
o->set_modal();
@@ -173,16 +180,17 @@ Fl_Button *decl_panel_cancel=(Fl_Button *)0;
Fl_Window* make_decl_panel() {
Fl_Window* w;
- { Fl_Window* o = decl_panel = new Fl_Window(290, 176, "declaration");
+ { 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, 15, 65, 25, "public");
+ { Fl_Light_Button* o = decl_public_button = new Fl_Light_Button(10, 10, 65, 25, "public");
o->labelsize(10);
o->when(FL_WHEN_NEVER);
}
- { Fl_Input* o = decl_input = new Fl_Input(10, 50, 270, 25, "can be any declartion, like \"int x;\",\nan external symbol like \"extern int\
- foo();\",\na #directive like \"#include <foo.h>\",\nor a comment like \"//foo\
-\" or \"/*foo*/\",\nor typedef like \"typedef char byte;\"");
+ { 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->labelsize(12);
+ o->textfont(4);
o->align(FL_ALIGN_BOTTOM_LEFT);
o->when(FL_WHEN_NEVER);
Fl_Group::current()->resizable(o);
@@ -190,7 +198,7 @@ Fl_Window* make_decl_panel() {
{ Fl_Return_Button* o = decl_panel_ok = new Fl_Return_Button(115, 145, 80, 25, "OK");
w->hotspot(o);
}
- { Fl_Button* o = decl_panel_cancel = new Fl_Button(205, 145, 80, 25, "Cancel");
+ { Fl_Button* o = decl_panel_cancel = new Fl_Button(200, 145, 80, 25, "Cancel");
o->shortcut(0xff1b);
}
o->end();
@@ -212,27 +220,29 @@ Fl_Button *c_panel_cancel=(Fl_Button *)0;
Fl_Window* make_class_panel() {
Fl_Window* w;
- { Fl_Window* o = class_panel = new Fl_Window(287, 173, "class");
+ { 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->labelsize(10);
o->when(FL_WHEN_NEVER);
}
- { Fl_Input* o = c_name_input = new Fl_Input(10, 55, 270, 25, "name:");
+ { Fl_Input* o = c_name_input = new Fl_Input(10, 55, 265, 25, "Name:");
o->labelsize(12);
+ o->textfont(4);
o->align(FL_ALIGN_TOP_LEFT);
o->when(FL_WHEN_NEVER);
Fl_Group::current()->resizable(o);
}
- { Fl_Input* o = c_subclass_input = new Fl_Input(10, 100, 270, 25, "subclass of (text between : and {)");
+ { Fl_Input* o = c_subclass_input = new Fl_Input(10, 100, 265, 25, "Subclass of (text between : and {)");
o->labelsize(12);
+ o->textfont(4);
o->align(FL_ALIGN_TOP_LEFT);
o->when(FL_WHEN_NEVER);
}
{ Fl_Return_Button* o = c_panel_ok = new Fl_Return_Button(110, 135, 80, 25, "OK");
w->hotspot(o);
}
- { Fl_Button* o = c_panel_cancel = new Fl_Button(200, 135, 80, 25, "Cancel");
+ { Fl_Button* o = c_panel_cancel = new Fl_Button(195, 135, 80, 25, "Cancel");
o->shortcut(0xff1b);
}
o->set_modal();