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 "widget_panel.h"
|
1998-10-06 22:21:25 +04:00
|
|
|
|
1999-01-27 00:59:41 +03:00
|
|
|
Fl_Input *v_input[4]={(Fl_Input *)0};
|
1998-10-06 22:21:25 +04:00
|
|
|
|
|
|
|
Fl_Window* make_widget_panel() {
|
1998-10-22 02:00:10 +04:00
|
|
|
Fl_Window* w;
|
2000-03-15 21:57:07 +03:00
|
|
|
{ Fl_Window* o = new Fl_Window(370, 485);
|
1999-01-27 00:59:41 +03:00
|
|
|
w = o;
|
1998-10-06 22:21:25 +04:00
|
|
|
w->hotspot(o);
|
1999-01-27 00:59:41 +03:00
|
|
|
{ Fl_Input* o = new Fl_Input(90, 10, 210, 20, "Name:");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->callback((Fl_Callback*)name_cb);
|
1999-08-05 12:01:40 +04:00
|
|
|
o->when(FL_WHEN_NEVER);
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
|
|
|
{ Fl_Light_Button* o = new Fl_Light_Button(300, 10, 60, 20, "public");
|
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->selection_color(1);
|
|
|
|
o->labelsize(10);
|
|
|
|
o->callback((Fl_Callback*)name_public_cb);
|
1999-08-05 12:01:40 +04:00
|
|
|
o->when(FL_WHEN_CHANGED);
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
1999-01-27 00:59:41 +03:00
|
|
|
{ Fl_Input* o = new Fl_Input(90, 35, 170, 20, "Class:");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_THIN_UP_BOX);
|
2000-03-15 21:57:07 +03:00
|
|
|
o->textfont(4);
|
1998-10-06 22:21:25 +04:00
|
|
|
o->callback((Fl_Callback*)subclass_cb, (void*)(4));
|
1999-08-05 12:01:40 +04:00
|
|
|
o->when(FL_WHEN_NEVER);
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
|
|
|
{ Fl_Choice* o = new Fl_Choice(260, 35, 100, 20);
|
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->callback((Fl_Callback*)subtype_cb);
|
|
|
|
}
|
1999-01-27 00:59:41 +03:00
|
|
|
{ Fl_Input* o = new Fl_Input(90, 60, 270, 20, "Label:");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->callback((Fl_Callback*)label_cb);
|
1999-08-05 12:01:40 +04:00
|
|
|
o->when(FL_WHEN_CHANGED);
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
1999-01-27 00:59:41 +03:00
|
|
|
{ Fl_Choice* o = new Fl_Choice(90, 80, 150, 20, "Label Type:");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->callback((Fl_Callback*)labeltype_cb);
|
|
|
|
o->menu(labeltypemenu);
|
|
|
|
}
|
|
|
|
{ Fl_Button* o = new Fl_Button(240, 80, 20, 20, "@-1<-");
|
|
|
|
o->type(1);
|
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->labeltype(FL_SYMBOL_LABEL);
|
|
|
|
o->labelcolor(8);
|
|
|
|
o->callback((Fl_Callback*)align_cb, (void*)(FL_ALIGN_LEFT));
|
|
|
|
}
|
|
|
|
{ Fl_Button* o = new Fl_Button(260, 80, 20, 20, "@-1->");
|
|
|
|
o->type(1);
|
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->labeltype(FL_SYMBOL_LABEL);
|
|
|
|
o->labelcolor(8);
|
|
|
|
o->callback((Fl_Callback*)align_cb, (void*)(FL_ALIGN_RIGHT));
|
|
|
|
}
|
|
|
|
{ Fl_Button* o = new Fl_Button(280, 80, 20, 20, "@-18");
|
|
|
|
o->type(1);
|
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->labeltype(FL_SYMBOL_LABEL);
|
|
|
|
o->labelcolor(8);
|
|
|
|
o->callback((Fl_Callback*)align_cb, (void*)(FL_ALIGN_TOP));
|
|
|
|
}
|
|
|
|
{ Fl_Button* o = new Fl_Button(300, 80, 20, 20, "@-12");
|
|
|
|
o->type(1);
|
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->labeltype(FL_SYMBOL_LABEL);
|
|
|
|
o->labelcolor(8);
|
|
|
|
o->callback((Fl_Callback*)align_cb, (void*)(FL_ALIGN_BOTTOM));
|
|
|
|
}
|
|
|
|
{ Fl_Button* o = new Fl_Button(320, 80, 20, 20, "@-3square");
|
|
|
|
o->type(1);
|
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->labeltype(FL_SYMBOL_LABEL);
|
|
|
|
o->labelcolor(8);
|
|
|
|
o->callback((Fl_Callback*)align_cb, (void*)(FL_ALIGN_INSIDE));
|
|
|
|
}
|
|
|
|
{ Fl_Button* o = new Fl_Button(340, 80, 20, 10, "wrap");
|
|
|
|
o->type(1);
|
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->labelsize(8);
|
|
|
|
o->callback((Fl_Callback*)align_cb, (void*)(FL_ALIGN_WRAP));
|
|
|
|
}
|
|
|
|
{ Fl_Button* o = new Fl_Button(340, 90, 20, 10, "clip");
|
|
|
|
o->type(1);
|
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->labelsize(8);
|
|
|
|
o->callback((Fl_Callback*)align_cb, (void*)(FL_ALIGN_CLIP));
|
|
|
|
}
|
1999-01-27 00:59:41 +03:00
|
|
|
{ Fl_Choice* o = new Fl_Choice(90, 100, 170, 20, "Label Font:");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->callback((Fl_Callback*)labelfont_cb);
|
|
|
|
o->menu(fontmenu);
|
|
|
|
}
|
|
|
|
{ Fl_Value_Input* o = new Fl_Value_Input(260, 100, 50, 20);
|
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->maximum(100);
|
|
|
|
o->step(1);
|
|
|
|
o->value(14);
|
|
|
|
o->callback((Fl_Callback*)labelsize_cb);
|
|
|
|
}
|
1999-01-27 00:59:41 +03:00
|
|
|
{ Fl_Button* o = new Fl_Button(310, 100, 50, 20, "Label Color");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->labelsize(8);
|
|
|
|
o->callback((Fl_Callback*)labelcolor_cb);
|
|
|
|
}
|
1999-01-27 00:59:41 +03:00
|
|
|
{ Fl_Choice* o = new Fl_Choice(90, 125, 220, 20, "Box:");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->callback((Fl_Callback*)box_cb);
|
|
|
|
o->menu(boxmenu);
|
|
|
|
}
|
1999-01-27 00:59:41 +03:00
|
|
|
{ Fl_Button* o = new Fl_Button(310, 125, 50, 20, "Color");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->labelsize(8);
|
|
|
|
o->callback((Fl_Callback*)color_cb);
|
|
|
|
}
|
1999-01-27 00:59:41 +03:00
|
|
|
{ Fl_Choice* o = new Fl_Choice(90, 145, 220, 20, "Down Box:");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->callback((Fl_Callback*)down_box_cb);
|
|
|
|
o->menu(boxmenu);
|
|
|
|
}
|
1999-01-27 00:59:41 +03:00
|
|
|
{ Fl_Button* o = new Fl_Button(310, 145, 50, 20, "Select Color");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->labelsize(8);
|
|
|
|
o->callback((Fl_Callback*)color2_cb);
|
|
|
|
}
|
1999-01-27 00:59:41 +03:00
|
|
|
{ Fl_Choice* o = new Fl_Choice(90, 170, 170, 20, "Text Font:");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->callback((Fl_Callback*)textfont_cb);
|
|
|
|
o->hide();
|
|
|
|
o->menu(fontmenu);
|
|
|
|
}
|
|
|
|
{ Fl_Input* o = new Fl_Input(90, 170, 170, 20, "xclass:");
|
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->callback((Fl_Callback*)xclass_cb);
|
1999-08-05 12:01:40 +04:00
|
|
|
o->when(FL_WHEN_NEVER);
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
1999-01-27 00:59:41 +03:00
|
|
|
{ Shortcut_Button* o = new Shortcut_Button(90, 170, 270, 20, "Shortcut:");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->color(7);
|
|
|
|
o->selection_color(7);
|
|
|
|
o->callback((Fl_Callback*)shortcut_in_cb);
|
1999-08-05 12:01:40 +04:00
|
|
|
o->align(FL_ALIGN_LEFT);
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
|
|
|
{ Fl_Value_Input* o = new Fl_Value_Input(260, 170, 50, 20);
|
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->maximum(100);
|
|
|
|
o->step(1);
|
|
|
|
o->value(14);
|
|
|
|
o->callback((Fl_Callback*)textsize_cb);
|
|
|
|
o->hide();
|
|
|
|
}
|
1999-01-27 00:59:41 +03:00
|
|
|
{ Fl_Button* o = new Fl_Button(310, 170, 50, 20, "Text Color");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->labelsize(8);
|
|
|
|
o->callback((Fl_Callback*)textcolor_cb);
|
|
|
|
o->hide();
|
|
|
|
}
|
2000-03-15 21:57:07 +03:00
|
|
|
{ Fl_Value_Input* o = new Fl_Value_Input(40, 205, 60, 20, "Size:");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->labelsize(10);
|
|
|
|
o->step(0.010101);
|
|
|
|
o->callback((Fl_Callback*)slider_size_cb);
|
1999-08-05 12:01:40 +04:00
|
|
|
o->align(FL_ALIGN_TOP_LEFT);
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
2000-03-15 21:57:07 +03:00
|
|
|
{ Fl_Value_Input* o = new Fl_Value_Input(105, 205, 60, 20, "Minimum:");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->labelsize(10);
|
|
|
|
o->callback((Fl_Callback*)min_cb);
|
1999-08-05 12:01:40 +04:00
|
|
|
o->align(FL_ALIGN_TOP_LEFT);
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
2000-03-15 21:57:07 +03:00
|
|
|
{ Fl_Value_Input* o = new Fl_Value_Input(170, 205, 60, 20, "Maximum:");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->labelsize(10);
|
|
|
|
o->value(1);
|
|
|
|
o->callback((Fl_Callback*)max_cb);
|
1999-08-05 12:01:40 +04:00
|
|
|
o->align(FL_ALIGN_TOP_LEFT);
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
2000-03-15 21:57:07 +03:00
|
|
|
{ Fl_Value_Input* o = new Fl_Value_Input(235, 205, 60, 20, "Step:");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->labelsize(10);
|
|
|
|
o->callback((Fl_Callback*)step_cb);
|
1999-08-05 12:01:40 +04:00
|
|
|
o->align(FL_ALIGN_TOP_LEFT);
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
1999-01-27 00:59:41 +03:00
|
|
|
{ Fl_Value_Input* o = new Fl_Value_Input(300, 205, 60, 20, "Value:");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->labelsize(10);
|
|
|
|
o->callback((Fl_Callback*)value_cb);
|
1999-08-05 12:01:40 +04:00
|
|
|
o->align(FL_ALIGN_TOP_LEFT);
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
|
|
|
{ Fl_Group* o = new Fl_Group(20, 230, 340, 20);
|
|
|
|
o->callback((Fl_Callback*)propagate_load);
|
1999-08-05 12:01:40 +04:00
|
|
|
o->align(FL_ALIGN_TOP_LEFT);
|
2000-03-15 21:57:07 +03:00
|
|
|
{ Fl_Light_Button* o = new Fl_Light_Button(30, 230, 70, 20, "non_modal");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->selection_color(1);
|
|
|
|
o->labelsize(9);
|
|
|
|
o->callback((Fl_Callback*)non_modal_cb);
|
1999-08-05 12:01:40 +04:00
|
|
|
o->align(132|FL_ALIGN_INSIDE);
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
2000-03-15 21:57:07 +03:00
|
|
|
{ Fl_Light_Button* o = new Fl_Light_Button(105, 230, 60, 20, "visible");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->selection_color(1);
|
|
|
|
o->labelsize(10);
|
|
|
|
o->callback((Fl_Callback*)visible_cb);
|
|
|
|
}
|
2000-03-15 21:57:07 +03:00
|
|
|
{ Fl_Light_Button* o = new Fl_Light_Button(105, 230, 60, 20, "modal");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->selection_color(1);
|
|
|
|
o->labelsize(10);
|
|
|
|
o->callback((Fl_Callback*)modal_cb);
|
|
|
|
}
|
2000-03-15 21:57:07 +03:00
|
|
|
{ Fl_Light_Button* o = new Fl_Light_Button(170, 230, 60, 20, "active");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->selection_color(1);
|
|
|
|
o->labelsize(10);
|
|
|
|
o->callback((Fl_Callback*)active_cb);
|
|
|
|
}
|
2000-03-15 21:57:07 +03:00
|
|
|
{ Fl_Light_Button* o = new Fl_Light_Button(170, 230, 60, 20, "border");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->selection_color(1);
|
|
|
|
o->labelsize(10);
|
|
|
|
o->callback((Fl_Callback*)border_cb);
|
|
|
|
}
|
2000-03-15 21:57:07 +03:00
|
|
|
{ Fl_Light_Button* o = new Fl_Light_Button(235, 230, 60, 20, "resizable");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->selection_color(1);
|
|
|
|
o->labelsize(10);
|
|
|
|
o->callback((Fl_Callback*)resizable_cb);
|
1999-08-05 12:01:40 +04:00
|
|
|
o->when(FL_WHEN_CHANGED);
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
|
|
|
{ Fl_Light_Button* o = new Fl_Light_Button(300, 230, 60, 20, "hotspot");
|
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->selection_color(1);
|
|
|
|
o->labelsize(10);
|
|
|
|
o->callback((Fl_Callback*)hotspot_cb);
|
1999-08-05 12:01:40 +04:00
|
|
|
o->when(FL_WHEN_CHANGED);
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
|
|
|
o->end();
|
|
|
|
}
|
1999-01-27 00:59:41 +03:00
|
|
|
{ Fl_Input* o = v_input[0] = new Fl_Input(90, 260, 270, 20, "Extra Code:");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_THIN_UP_BOX);
|
2000-03-15 21:57:07 +03:00
|
|
|
o->textfont(4);
|
1998-10-06 22:21:25 +04:00
|
|
|
o->callback((Fl_Callback*)v_input_cb, (void*)(0));
|
1999-08-05 12:01:40 +04:00
|
|
|
o->when(FL_WHEN_NEVER);
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
|
|
|
{ Fl_Input* o = v_input[1] = new Fl_Input(90, 280, 270, 20);
|
|
|
|
o->box(FL_THIN_UP_BOX);
|
2000-03-15 21:57:07 +03:00
|
|
|
o->textfont(4);
|
1998-10-06 22:21:25 +04:00
|
|
|
o->callback((Fl_Callback*)v_input_cb, (void*)(1));
|
1999-08-05 12:01:40 +04:00
|
|
|
o->when(FL_WHEN_NEVER);
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
|
|
|
{ Fl_Input* o = v_input[2] = new Fl_Input(90, 300, 270, 20);
|
|
|
|
o->box(FL_THIN_UP_BOX);
|
2000-03-15 21:57:07 +03:00
|
|
|
o->textfont(4);
|
1998-10-06 22:21:25 +04:00
|
|
|
o->callback((Fl_Callback*)v_input_cb, (void*)(2));
|
1999-08-05 12:01:40 +04:00
|
|
|
o->when(FL_WHEN_NEVER);
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
|
|
|
{ Fl_Input* o = v_input[3] = new Fl_Input(90, 320, 270, 20);
|
|
|
|
o->box(FL_THIN_UP_BOX);
|
2000-03-15 21:57:07 +03:00
|
|
|
o->textfont(4);
|
1998-10-06 22:21:25 +04:00
|
|
|
o->callback((Fl_Callback*)v_input_cb, (void*)(3));
|
1999-08-05 12:01:40 +04:00
|
|
|
o->when(FL_WHEN_NEVER);
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
1999-01-27 00:59:41 +03:00
|
|
|
{ Fl_Box* o = new Fl_Box(0, 350, 90, 20, "Callback:");
|
1999-08-05 12:01:40 +04:00
|
|
|
o->align(FL_ALIGN_RIGHT|FL_ALIGN_INSIDE);
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
|
|
|
{ Fl_Input* o = new Fl_Input(90, 350, 270, 50);
|
|
|
|
o->type(4);
|
|
|
|
o->box(FL_THIN_UP_BOX);
|
2000-03-15 21:57:07 +03:00
|
|
|
o->textfont(4);
|
1998-10-06 22:21:25 +04:00
|
|
|
o->callback((Fl_Callback*)callback_cb);
|
1999-08-05 12:01:40 +04:00
|
|
|
o->when(FL_WHEN_NEVER);
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
|
|
|
{ Fl_Box* o = new Fl_Box(90, 370, 100, 30, "label");
|
|
|
|
o->hide();
|
|
|
|
o->deactivate();
|
|
|
|
Fl_Group::current()->resizable(o);
|
|
|
|
}
|
|
|
|
{ Fl_Input* o = new Fl_Input(90, 400, 170, 20, "user_data:");
|
|
|
|
o->box(FL_THIN_UP_BOX);
|
2000-03-15 21:57:07 +03:00
|
|
|
o->textfont(4);
|
1998-10-06 22:21:25 +04:00
|
|
|
o->callback((Fl_Callback*)user_data_cb);
|
1999-08-05 12:01:40 +04:00
|
|
|
o->when(FL_WHEN_NEVER);
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
1999-01-27 00:59:41 +03:00
|
|
|
{ Fl_Input* o = new Fl_Input(300, 400, 60, 20, "Type:");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_THIN_UP_BOX);
|
2000-03-15 21:57:07 +03:00
|
|
|
o->textfont(4);
|
1998-10-06 22:21:25 +04:00
|
|
|
o->callback((Fl_Callback*)user_data_type_cb);
|
1999-08-05 12:01:40 +04:00
|
|
|
o->when(FL_WHEN_NEVER);
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
1999-01-27 00:59:41 +03:00
|
|
|
{ Fl_Choice* o = new Fl_Choice(90, 420, 100, 20, "When:");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->callback((Fl_Callback*)when_cb);
|
1999-08-05 12:01:40 +04:00
|
|
|
o->when(FL_WHEN_NEVER);
|
1998-10-06 22:21:25 +04:00
|
|
|
o->menu(whenmenu);
|
|
|
|
}
|
|
|
|
{ Fl_Light_Button* o = new Fl_Light_Button(190, 420, 70, 20, "no change");
|
|
|
|
o->box(FL_THIN_UP_BOX);
|
|
|
|
o->selection_color(1);
|
|
|
|
o->labelsize(10);
|
|
|
|
o->callback((Fl_Callback*)when_button_cb);
|
1999-08-05 12:01:40 +04:00
|
|
|
o->when(FL_WHEN_NEVER);
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
2000-03-15 21:57:07 +03:00
|
|
|
{ Fl_Group* o = new Fl_Group(10, 450, 350, 25);
|
|
|
|
{ Fl_Button* o = new Fl_Button(25, 450, 80, 25, "no &overlay");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->labelcolor(1);
|
|
|
|
o->callback((Fl_Callback*)overlay_cb);
|
|
|
|
}
|
2000-03-15 21:57:07 +03:00
|
|
|
{ Fl_Button* o = new Fl_Button(110, 450, 80, 25, "Revert");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->callback((Fl_Callback*)revert_cb);
|
|
|
|
}
|
2000-03-15 21:57:07 +03:00
|
|
|
{ Fl_Button* o = new Fl_Button(280, 450, 80, 25, "Cancel");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->callback((Fl_Callback*)cancel_cb);
|
|
|
|
}
|
2000-03-15 21:57:07 +03:00
|
|
|
{ Fl_Return_Button* o = new Fl_Return_Button(195, 450, 80, 25, "OK");
|
1998-10-06 22:21:25 +04:00
|
|
|
o->callback((Fl_Callback*)ok_cb);
|
|
|
|
}
|
|
|
|
o->end();
|
|
|
|
}
|
|
|
|
o->end();
|
|
|
|
}
|
|
|
|
return w;
|
|
|
|
}
|