90e8eb7a45
git-svn-id: file:///fltk/svn/fltk/trunk@20 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
123 lines
3.3 KiB
C++
123 lines
3.3 KiB
C++
// generated by Fast Light User Interface Designer (fluid) version 0.99
|
|
|
|
#include "about_panel.H"
|
|
|
|
Fl_Window *about_panel;
|
|
|
|
Fl_Group *display_group;
|
|
|
|
static void cb_1998(Fl_Button*, void*) {
|
|
display_group->hide();
|
|
copyright_box->show();
|
|
}
|
|
|
|
Fl_Box *copyright_box;
|
|
|
|
static void cb_OK(Fl_Return_Button* o, void*) {
|
|
((Fl_Window*)(o->parent()))->hide();
|
|
}
|
|
|
|
Fl_Window* make_about_panel(const char *copyright) {
|
|
Fl_Window* w;
|
|
{ Fl_Window* o = about_panel = w = new Fl_Window(309, 221, "about fluid");
|
|
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);
|
|
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);
|
|
o->box(FL_FLAT_BOX);
|
|
o->color(97);
|
|
o->selection_color(47);
|
|
}
|
|
{ Fl_Box* o = new Fl_Box(68, 30, 42, 50);
|
|
o->box(FL_DOWN_BOX);
|
|
o->color(6);
|
|
o->selection_color(47);
|
|
}
|
|
{ Fl_Box* o = new Fl_Box(54, 20, 70, 20);
|
|
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");
|
|
o->box(FL_ROUND_UP_BOX);
|
|
o->color(14);
|
|
o->selection_color(47);
|
|
o->labeltype(FL_SHADOW_LABEL);
|
|
o->labelfont(1);
|
|
o->labelsize(40);
|
|
o->labelcolor(6);
|
|
}
|
|
{ Fl_Box* o = new Fl_Box(67, 110, 44, 10);
|
|
o->box(FL_FLAT_BOX);
|
|
o->color(14);
|
|
o->selection_color(47);
|
|
}
|
|
{ Fl_Box* o = new Fl_Box(84, 120, 15, 15, "` ");
|
|
o->box(FL_OVAL_BOX);
|
|
o->color(6);
|
|
o->selection_color(47);
|
|
o->labelsize(20);
|
|
o->labelcolor(7);
|
|
o->align(17);
|
|
}
|
|
{ Fl_Box* o = new Fl_Box(75, 105, 15, 15, "` ");
|
|
o->box(FL_OVAL_BOX);
|
|
o->color(6);
|
|
o->selection_color(47);
|
|
o->labelsize(20);
|
|
o->labelcolor(7);
|
|
o->align(17);
|
|
}
|
|
{ Fl_Box* o = new Fl_Box(89, 85, 15, 15, "` ");
|
|
o->box(FL_OVAL_BOX);
|
|
o->color(6);
|
|
o->selection_color(47);
|
|
o->labelsize(20);
|
|
o->labelcolor(7);
|
|
o->align(17);
|
|
}
|
|
{ Fl_Box* o = new Fl_Box(159, 27, 131, 95, "Fltk User\nInterface\nDesigner\nVersion 1.00");
|
|
o->box(FL_OVAL_BOX);
|
|
o->color(12);
|
|
o->selection_color(47);
|
|
o->labeltype(FL_SHADOW_LABEL);
|
|
o->labelfont(1);
|
|
o->labelsize(18);
|
|
o->labelcolor(7);
|
|
}
|
|
{ Fl_Button* o = new Fl_Button(169, 138, 115, 30, "\xa9\x31\x39\x39\x38 Bill Spitzak\n(click here)");
|
|
o->box(FL_THIN_UP_BOX);
|
|
o->labelsize(10);
|
|
o->labelcolor(136);
|
|
o->callback((Fl_Callback*)cb_1998);
|
|
}
|
|
o->end();
|
|
}
|
|
{ Fl_Box* o = copyright_box = new Fl_Box(5, 5, 300, 210);
|
|
o->labelsize(8);
|
|
o->labelcolor(6);
|
|
o->align(148);
|
|
o->hide();
|
|
o->label(copyright);
|
|
}
|
|
{ Fl_Return_Button* o = new Fl_Return_Button(168, 182, 116, 22, "OK");
|
|
o->labelsize(10);
|
|
o->callback((Fl_Callback*)cb_OK);
|
|
}
|
|
o->set_non_modal();
|
|
o->clear_border();
|
|
o->end();
|
|
}
|
|
return w;
|
|
}
|