The about dialog was too small.

git-svn-id: file:///fltk/svn/fltk/trunk@248 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet 1999-01-26 22:19:33 +00:00
parent b8d34c3d4b
commit 7e0bd92469
2 changed files with 32 additions and 33 deletions

View File

@ -19,37 +19,37 @@ static void cb_OK(Fl_Return_Button* o, void*) {
Fl_Window* make_about_panel(const char *copyright) {
Fl_Window* w;
{ Fl_Window* o = about_panel = new Fl_Window(309, 221, "about fluid");
{ Fl_Window* o = about_panel = new Fl_Window(309, 258, "about fluid");
w = o;
o->box(FL_UP_BOX);
o->color(97);
o->selection_color(47);
w->hotspot(o);
{ Fl_Group* o = display_group = new Fl_Group(24, 14, 275, 186);
{ Fl_Box* o = new Fl_Box(64, 14, 50, 126);
{ Fl_Group* o = display_group = new Fl_Group(10, 10, 289, 240);
{ Fl_Box* o = new Fl_Box(50, 30, 70, 150);
o->box(FL_ROUND_UP_BOX);
o->color(14);
o->selection_color(47);
o->labelcolor(6);
}
{ Fl_Box* o = new Fl_Box(54, 14, 70, 16);
{ Fl_Box* o = new Fl_Box(50, 10, 90, 40);
o->box(FL_FLAT_BOX);
o->color(97);
o->selection_color(47);
}
{ Fl_Box* o = new Fl_Box(68, 30, 42, 50);
{ Fl_Box* o = new Fl_Box(60, 50, 50, 70);
o->box(FL_DOWN_BOX);
o->color(6);
o->selection_color(47);
}
{ Fl_Box* o = new Fl_Box(54, 20, 70, 20);
{ Fl_Box* o = new Fl_Box(40, 30, 90, 30);
o->box(FL_ROUND_UP_BOX);
o->color(6);
o->selection_color(47);
o->labelcolor(6);
o->align(16);
}
{ Fl_Box* o = new Fl_Box(24, 110, 130, 90, "fluid");
{ Fl_Box* o = new Fl_Box(10, 150, 150, 90, "fluid");
o->box(FL_ROUND_UP_BOX);
o->color(14);
o->selection_color(47);
@ -58,12 +58,12 @@ Fl_Window* make_about_panel(const char *copyright) {
o->labelsize(40);
o->labelcolor(6);
}
{ Fl_Box* o = new Fl_Box(67, 110, 44, 10);
{ Fl_Box* o = new Fl_Box(50, 150, 67, 10);
o->box(FL_FLAT_BOX);
o->color(14);
o->selection_color(47);
}
{ Fl_Box* o = new Fl_Box(84, 120, 15, 15, "` ");
{ Fl_Box* o = new Fl_Box(79, 160, 15, 15, "` ");
o->box(FL_OVAL_BOX);
o->color(6);
o->selection_color(47);
@ -71,7 +71,7 @@ Fl_Window* make_about_panel(const char *copyright) {
o->labelcolor(7);
o->align(17);
}
{ Fl_Box* o = new Fl_Box(75, 105, 15, 15, "` ");
{ Fl_Box* o = new Fl_Box(70, 145, 15, 15, "` ");
o->box(FL_OVAL_BOX);
o->color(6);
o->selection_color(47);
@ -79,7 +79,7 @@ Fl_Window* make_about_panel(const char *copyright) {
o->labelcolor(7);
o->align(17);
}
{ Fl_Box* o = new Fl_Box(89, 85, 15, 15, "` ");
{ Fl_Box* o = new Fl_Box(84, 125, 15, 15, "` ");
o->box(FL_OVAL_BOX);
o->color(6);
o->selection_color(47);
@ -87,7 +87,7 @@ Fl_Window* make_about_panel(const char *copyright) {
o->labelcolor(7);
o->align(17);
}
{ Fl_Box* o = new Fl_Box(159, 27, 131, 95, "FLTK User\nInterface\nDesigner\nVersion 1.0");
{ Fl_Box* o = new Fl_Box(150, 27, 140, 113, "FLTK User\nInterface\nDesigner\nVersion 1.0");
o->box(FL_OVAL_BOX);
o->color(12);
o->selection_color(47);
@ -96,7 +96,7 @@ Fl_Window* make_about_panel(const char *copyright) {
o->labelsize(18);
o->labelcolor(7);
}
{ Fl_Button* o = new Fl_Button(169, 138, 115, 30, "\251\061\071\071\070-1999 by\nBill Spitzak and others");
{ Fl_Button* o = new Fl_Button(181, 176, 115, 30, "\251\061\071\071\070-1999 by\nBill Spitzak and others");
o->box(FL_THIN_UP_BOX);
o->labelsize(10);
o->labelcolor(136);
@ -111,12 +111,11 @@ Fl_Window* make_about_panel(const char *copyright) {
o->hide();
o->label(copyright);
}
{ Fl_Return_Button* o = new Fl_Return_Button(168, 182, 116, 22, "OK");
{ Fl_Return_Button* o = new Fl_Return_Button(180, 218, 116, 22, "OK");
o->labelsize(10);
o->callback((Fl_Callback*)cb_OK);
}
o->set_non_modal();
o->clear_border();
o->end();
}
return w;

View File

@ -2,72 +2,72 @@
version 1.00
header_name {.h}
code_name {.cxx}
gridx 2
gridy 2
gridx 10
gridy 10
snap 3
Function {make_about_panel(const char *copyright)} {open
} {
Fl_Window about_panel {
label {about fluid} open
xywh {345 417 309 221} box UP_BOX color 97 selection_color 47 hide hotspot non_modal noborder
xywh {345 417 309 258} box UP_BOX color 97 selection_color 47 hotspot non_modal visible
} {
Fl_Group display_group {open
xywh {24 14 275 186}
xywh {10 10 289 240}
} {
Fl_Box {} {
xywh {64 14 50 126} box ROUND_UP_BOX color 14 selection_color 47 labelcolor 6
xywh {50 30 70 150} box ROUND_UP_BOX color 14 selection_color 47 labelcolor 6
}
Fl_Box {} {
xywh {54 14 70 16} box FLAT_BOX color 97 selection_color 47
xywh {50 10 90 40} box FLAT_BOX color 97 selection_color 47
}
Fl_Box {} {
xywh {68 30 42 50} box DOWN_BOX color 6 selection_color 47
xywh {60 50 50 70} box DOWN_BOX color 6 selection_color 47
}
Fl_Box {} {
xywh {54 20 70 20} box ROUND_UP_BOX color 6 selection_color 47 labelcolor 6 align 16
xywh {40 30 90 30} box ROUND_UP_BOX color 6 selection_color 47 labelcolor 6 align 16
}
Fl_Box {} {
label fluid
xywh {24 110 130 90} box ROUND_UP_BOX color 14 selection_color 47 labeltype SHADOW_LABEL labelfont 1 labelsize 40 labelcolor 6
xywh {10 150 150 90} box ROUND_UP_BOX color 14 selection_color 47 labeltype SHADOW_LABEL labelfont 1 labelsize 40 labelcolor 6
}
Fl_Box {} {
xywh {67 110 44 10} box FLAT_BOX color 14 selection_color 47
xywh {50 150 67 10} box FLAT_BOX color 14 selection_color 47
}
Fl_Box {} {
label {` }
xywh {84 120 15 15} box OVAL_BOX color 6 selection_color 47 labelsize 20 labelcolor 7 align 17
xywh {79 160 15 15} box OVAL_BOX color 6 selection_color 47 labelsize 20 labelcolor 7 align 17
}
Fl_Box {} {
label {` }
xywh {75 105 15 15} box OVAL_BOX color 6 selection_color 47 labelsize 20 labelcolor 7 align 17
xywh {70 145 15 15} box OVAL_BOX color 6 selection_color 47 labelsize 20 labelcolor 7 align 17
}
Fl_Box {} {
label {` }
xywh {89 85 15 15} box OVAL_BOX color 6 selection_color 47 labelsize 20 labelcolor 7 align 17
xywh {84 125 15 15} box OVAL_BOX color 6 selection_color 47 labelsize 20 labelcolor 7 align 17
}
Fl_Box {} {
label {FLTK User
Interface
Designer
Version 1.0} selected
xywh {159 27 131 95} box OVAL_BOX color 12 selection_color 47 labeltype SHADOW_LABEL labelfont 1 labelsize 18 labelcolor 7
Version 1.0}
xywh {150 27 140 113} box OVAL_BOX color 12 selection_color 47 labeltype SHADOW_LABEL labelfont 1 labelsize 18 labelcolor 7
}
Fl_Button {} {
label {©1998-1999 by
Bill Spitzak and others}
callback {display_group->hide();
copyright_box->show();}
xywh {169 138 115 30} box THIN_UP_BOX labelsize 10 labelcolor 136
xywh {181 176 115 30} box THIN_UP_BOX labelsize 10 labelcolor 136
}
}
Fl_Box copyright_box {
Fl_Box copyright_box {selected
xywh {5 5 300 210} labelsize 8 labelcolor 6 align 148 hide
code0 {o->label(copyright);}
}
Fl_Return_Button {} {
label OK
callback {((Fl_Window*)(o->parent()))->hide();}
xywh {168 182 116 22} labelsize 10
xywh {180 218 116 22} labelsize 10
}
}
}