fltk/fluid/widget_panel.cxx
Michael R Sweet 255e7fb39b Fluid fixes from Vincent PENNE.
git-svn-id: file:///fltk/svn/fltk/trunk@12 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-15 14:19:34 +00:00

318 lines
10 KiB
C++

// generated by Fast Light User Interface Designer (fluid) version 0.99
#include "widget_panel.H"
Fl_Input *v_input[4];
Fl_Window* make_widget_panel() {
Fl_Window* w;
{ Fl_Window* o = new Fl_Window(370, 480);
w = o;
w->hotspot(o);
{ Fl_Input* o = new Fl_Input(90, 10, 210, 20, "name:");
o->box(FL_THIN_UP_BOX);
o->callback((Fl_Callback*)name_cb);
o->when(0);
}
{ 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);
o->when(1);
}
{ Fl_Input* o = new Fl_Input(90, 35, 170, 20, "class:");
o->box(FL_THIN_UP_BOX);
o->callback((Fl_Callback*)subclass_cb, (void*)(4));
o->when(0);
}
{ Fl_Choice* o = new Fl_Choice(260, 35, 100, 20);
o->box(FL_THIN_UP_BOX);
o->callback((Fl_Callback*)subtype_cb);
}
{ Fl_Input* o = new Fl_Input(90, 60, 270, 20, "label:");
o->box(FL_THIN_UP_BOX);
o->callback((Fl_Callback*)label_cb);
o->when(1);
}
{ Fl_Choice* o = new Fl_Choice(90, 80, 150, 20, "labeltype:");
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));
}
{ Fl_Choice* o = new Fl_Choice(90, 100, 170, 20, "labelfont:");
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);
}
{ Fl_Button* o = new Fl_Button(310, 100, 50, 20, "labelcolor");
o->box(FL_THIN_UP_BOX);
o->labelsize(8);
o->callback((Fl_Callback*)labelcolor_cb);
}
{ Fl_Choice* o = new Fl_Choice(90, 125, 220, 20, "box:");
o->box(FL_THIN_UP_BOX);
o->callback((Fl_Callback*)box_cb);
o->menu(boxmenu);
}
{ Fl_Button* o = new Fl_Button(310, 125, 50, 20, "color");
o->box(FL_THIN_UP_BOX);
o->labelsize(8);
o->callback((Fl_Callback*)color_cb);
}
{ Fl_Choice* o = new Fl_Choice(90, 145, 220, 20, "down_box:");
o->box(FL_THIN_UP_BOX);
o->callback((Fl_Callback*)down_box_cb);
o->menu(boxmenu);
}
{ Fl_Button* o = new Fl_Button(310, 145, 50, 20, "select color");
o->box(FL_THIN_UP_BOX);
o->labelsize(8);
o->callback((Fl_Callback*)color2_cb);
}
{ Fl_Choice* o = new Fl_Choice(90, 170, 170, 20, "textfont:");
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);
o->when(0);
}
{ Shortcut_Button* o = new Shortcut_Button(90, 170, 270, 20, "shortcut:");
o->box(FL_THIN_UP_BOX);
o->color(7);
o->selection_color(7);
o->callback((Fl_Callback*)shortcut_in_cb);
o->align(4);
}
{ 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();
}
{ Fl_Button* o = new Fl_Button(310, 170, 50, 20, "textcolor");
o->box(FL_THIN_UP_BOX);
o->labelsize(8);
o->callback((Fl_Callback*)textcolor_cb);
o->hide();
}
{ Fl_Value_Input* o = new Fl_Value_Input(20, 205, 60, 20, "size:");
o->box(FL_THIN_UP_BOX);
o->labelsize(10);
o->step(0.010101);
o->callback((Fl_Callback*)slider_size_cb);
o->align(5);
}
{ Fl_Value_Input* o = new Fl_Value_Input(90, 205, 60, 20, "minimum:");
o->box(FL_THIN_UP_BOX);
o->labelsize(10);
o->callback((Fl_Callback*)min_cb);
o->align(5);
}
{ Fl_Value_Input* o = new Fl_Value_Input(160, 205, 60, 20, "maximum:");
o->box(FL_THIN_UP_BOX);
o->labelsize(10);
o->value(1);
o->callback((Fl_Callback*)max_cb);
o->align(5);
}
{ Fl_Value_Input* o = new Fl_Value_Input(230, 205, 60, 20, "step:");
o->box(FL_THIN_UP_BOX);
o->labelsize(10);
o->callback((Fl_Callback*)step_cb);
o->align(5);
}
{ Fl_Value_Input* o = new Fl_Value_Input(300, 205, 60, 20, "value:");
o->box(FL_THIN_UP_BOX);
o->labelsize(10);
o->callback((Fl_Callback*)value_cb);
o->align(5);
}
{ Fl_Group* o = new Fl_Group(20, 230, 340, 20);
o->callback((Fl_Callback*)propagate_load);
o->align(5);
{ Fl_Light_Button* o = new Fl_Light_Button(20, 230, 70, 20, "non_modal");
o->box(FL_THIN_UP_BOX);
o->selection_color(1);
o->labelsize(9);
o->callback((Fl_Callback*)non_modal_cb);
o->align(148);
}
{ Fl_Light_Button* o = new Fl_Light_Button(90, 230, 60, 20, "visible");
o->box(FL_THIN_UP_BOX);
o->selection_color(1);
o->labelsize(10);
o->callback((Fl_Callback*)visible_cb);
}
{ Fl_Light_Button* o = new Fl_Light_Button(90, 230, 60, 20, "modal");
o->box(FL_THIN_UP_BOX);
o->selection_color(1);
o->labelsize(10);
o->callback((Fl_Callback*)modal_cb);
}
{ Fl_Light_Button* o = new Fl_Light_Button(160, 230, 60, 20, "active");
o->box(FL_THIN_UP_BOX);
o->selection_color(1);
o->labelsize(10);
o->callback((Fl_Callback*)active_cb);
}
{ Fl_Light_Button* o = new Fl_Light_Button(160, 230, 60, 20, "border");
o->box(FL_THIN_UP_BOX);
o->selection_color(1);
o->labelsize(10);
o->callback((Fl_Callback*)border_cb);
}
{ Fl_Light_Button* o = new Fl_Light_Button(230, 230, 60, 20, "resizable");
o->box(FL_THIN_UP_BOX);
o->selection_color(1);
o->labelsize(10);
o->callback((Fl_Callback*)resizable_cb);
o->when(1);
}
{ 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);
o->when(1);
}
o->end();
}
{ Fl_Input* o = v_input[0] = new Fl_Input(90, 260, 270, 20, "extra code:");
o->box(FL_THIN_UP_BOX);
o->callback((Fl_Callback*)v_input_cb, (void*)(0));
o->when(0);
}
{ Fl_Input* o = v_input[1] = new Fl_Input(90, 280, 270, 20);
o->box(FL_THIN_UP_BOX);
o->callback((Fl_Callback*)v_input_cb, (void*)(1));
o->when(0);
}
{ Fl_Input* o = v_input[2] = new Fl_Input(90, 300, 270, 20);
o->box(FL_THIN_UP_BOX);
o->callback((Fl_Callback*)v_input_cb, (void*)(2));
o->when(0);
}
{ Fl_Input* o = v_input[3] = new Fl_Input(90, 320, 270, 20);
o->box(FL_THIN_UP_BOX);
o->callback((Fl_Callback*)v_input_cb, (void*)(3));
o->when(0);
}
{ Fl_Box* o = new Fl_Box(0, 350, 90, 20, "callback:");
o->align(24);
}
{ Fl_Input* o = new Fl_Input(90, 350, 270, 50);
o->type(4);
o->box(FL_THIN_UP_BOX);
o->callback((Fl_Callback*)callback_cb);
o->when(0);
}
{ 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);
o->callback((Fl_Callback*)user_data_cb);
o->when(0);
}
{ Fl_Input* o = new Fl_Input(300, 400, 60, 20, "type:");
o->box(FL_THIN_UP_BOX);
o->callback((Fl_Callback*)user_data_type_cb);
o->when(0);
}
{ Fl_Choice* o = new Fl_Choice(90, 420, 100, 20, "when:");
o->box(FL_THIN_UP_BOX);
o->callback((Fl_Callback*)when_cb);
o->when(0);
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);
o->when(0);
}
{ Fl_Group* o = new Fl_Group(10, 450, 350, 20);
{ Fl_Button* o = new Fl_Button(10, 450, 80, 20, "no &overlay");
o->labelcolor(1);
o->callback((Fl_Callback*)overlay_cb);
}
{ Fl_Button* o = new Fl_Button(100, 450, 80, 20, "Revert");
o->callback((Fl_Callback*)revert_cb);
}
{ Fl_Button* o = new Fl_Button(190, 450, 80, 20, "Cancel");
o->callback((Fl_Callback*)cancel_cb);
}
{ Fl_Return_Button* o = new Fl_Return_Button(280, 450, 80, 20, "OK");
o->callback((Fl_Callback*)ok_cb);
}
o->end();
}
o->end();
}
return w;
}