2000-03-15 21:57:07 +03:00
|
|
|
// generated by Fast Light User Interface Designer (fluid) version 1.0008
|
1998-10-06 22:21:25 +04:00
|
|
|
|
1998-12-06 18:09:22 +03:00
|
|
|
#include "about_panel.h"
|
1998-10-06 22:21:25 +04:00
|
|
|
|
1999-01-27 00:59:41 +03:00
|
|
|
Fl_Window *about_panel=(Fl_Window *)0;
|
1998-10-06 22:21:25 +04:00
|
|
|
|
1999-01-27 00:59:41 +03:00
|
|
|
Fl_Group *display_group=(Fl_Group *)0;
|
1998-10-06 22:21:25 +04:00
|
|
|
|
|
|
|
static void cb_1998(Fl_Button*, void*) {
|
|
|
|
display_group->hide();
|
|
|
|
copyright_box->show();
|
|
|
|
}
|
|
|
|
|
1999-01-27 00:59:41 +03:00
|
|
|
Fl_Box *copyright_box=(Fl_Box *)0;
|
1998-10-06 22:21:25 +04:00
|
|
|
|
|
|
|
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;
|
1999-01-27 01:19:33 +03:00
|
|
|
{ Fl_Window* o = about_panel = new Fl_Window(309, 258, "about fluid");
|
1999-01-27 00:59:41 +03:00
|
|
|
w = o;
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_UP_BOX);
|
|
|
|
o->color(97);
|
|
|
|
o->selection_color(47);
|
|
|
|
w->hotspot(o);
|
2000-06-06 01:21:24 +04:00
|
|
|
{ Fl_Group* o = display_group = new Fl_Group(10, 10, 290, 240);
|
1999-01-27 01:19:33 +03:00
|
|
|
{ Fl_Box* o = new Fl_Box(50, 30, 70, 150);
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_ROUND_UP_BOX);
|
|
|
|
o->color(14);
|
|
|
|
o->selection_color(47);
|
|
|
|
o->labelcolor(6);
|
|
|
|
}
|
1999-01-27 01:19:33 +03:00
|
|
|
{ Fl_Box* o = new Fl_Box(50, 10, 90, 40);
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_FLAT_BOX);
|
|
|
|
o->color(97);
|
|
|
|
o->selection_color(47);
|
|
|
|
}
|
1999-01-27 01:19:33 +03:00
|
|
|
{ Fl_Box* o = new Fl_Box(60, 50, 50, 70);
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_DOWN_BOX);
|
|
|
|
o->color(6);
|
|
|
|
o->selection_color(47);
|
|
|
|
}
|
1999-01-27 01:19:33 +03:00
|
|
|
{ Fl_Box* o = new Fl_Box(40, 30, 90, 30);
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_ROUND_UP_BOX);
|
|
|
|
o->color(6);
|
|
|
|
o->selection_color(47);
|
|
|
|
o->labelcolor(6);
|
1999-08-05 12:01:40 +04:00
|
|
|
o->align(FL_ALIGN_CENTER|FL_ALIGN_INSIDE);
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
1999-01-27 01:19:33 +03:00
|
|
|
{ Fl_Box* o = new Fl_Box(10, 150, 150, 90, "fluid");
|
1998-10-06 22:21:25 +04:00
|
|
|
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);
|
|
|
|
}
|
1999-01-27 01:19:33 +03:00
|
|
|
{ Fl_Box* o = new Fl_Box(50, 150, 67, 10);
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_FLAT_BOX);
|
|
|
|
o->color(14);
|
|
|
|
o->selection_color(47);
|
|
|
|
}
|
1999-01-27 01:19:33 +03:00
|
|
|
{ Fl_Box* o = new Fl_Box(79, 160, 15, 15, "` ");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_OVAL_BOX);
|
|
|
|
o->color(6);
|
|
|
|
o->selection_color(47);
|
|
|
|
o->labelsize(20);
|
|
|
|
o->labelcolor(7);
|
1999-08-05 12:01:40 +04:00
|
|
|
o->align(FL_ALIGN_TOP|FL_ALIGN_INSIDE);
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
1999-01-27 01:19:33 +03:00
|
|
|
{ Fl_Box* o = new Fl_Box(70, 145, 15, 15, "` ");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_OVAL_BOX);
|
|
|
|
o->color(6);
|
|
|
|
o->selection_color(47);
|
|
|
|
o->labelsize(20);
|
|
|
|
o->labelcolor(7);
|
1999-08-05 12:01:40 +04:00
|
|
|
o->align(FL_ALIGN_TOP|FL_ALIGN_INSIDE);
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
1999-01-27 01:19:33 +03:00
|
|
|
{ Fl_Box* o = new Fl_Box(84, 125, 15, 15, "` ");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_OVAL_BOX);
|
|
|
|
o->color(6);
|
|
|
|
o->selection_color(47);
|
|
|
|
o->labelsize(20);
|
|
|
|
o->labelcolor(7);
|
1999-08-05 12:01:40 +04:00
|
|
|
o->align(FL_ALIGN_TOP|FL_ALIGN_INSIDE);
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
2000-06-06 01:21:24 +04:00
|
|
|
{ Fl_Box* o = new Fl_Box(140, 27, 160, 113, "FLTK User\nInterface\nDesigner\nVersion 1.0.9");
|
1998-10-06 22:21:25 +04: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);
|
|
|
|
}
|
2000-03-15 21:57:07 +03:00
|
|
|
{ Fl_Button* o = new Fl_Button(181, 176, 115, 30, "\251""1998-2000 by\nBill Spitzak and others");
|
1998-10-06 22:21:25 +04:00
|
|
|
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);
|
1999-08-05 12:01:40 +04:00
|
|
|
o->align(132|FL_ALIGN_INSIDE);
|
1998-10-06 22:21:25 +04:00
|
|
|
o->hide();
|
|
|
|
o->label(copyright);
|
|
|
|
}
|
1999-01-27 01:19:33 +03:00
|
|
|
{ Fl_Return_Button* o = new Fl_Return_Button(180, 218, 116, 22, "OK");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->labelsize(10);
|
|
|
|
o->callback((Fl_Callback*)cb_OK);
|
|
|
|
}
|
|
|
|
o->set_non_modal();
|
|
|
|
o->end();
|
|
|
|
}
|
|
|
|
return w;
|
|
|
|
}
|