frame_demo_ui_.cpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:5k
- /*
- * ===========================================================================
- * PRODUCTION $Log: frame_demo_ui_.cpp,v $
- * PRODUCTION Revision 1000.1 2004/06/01 21:09:46 gouriano
- * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.2
- * PRODUCTION
- * ===========================================================================
- */
- // generated by Fast Light User Interface Designer (fluid) version 1.0105
- /* $Id: frame_demo_ui_.cpp,v 1000.1 2004/06/01 21:09:46 gouriano Exp $ */
- #include <ncbi_pch.hpp>
- Fl_Double_Window* CFrameDemoUI::x_CreateWindow() {
- Fl_Double_Window* w;
- { Fl_Double_Window* o = new Fl_Double_Window(907, 476);
- w = o;
- o->user_data((void*)(this));
- { CFlFrame* o = new CFlFrame(5, 5, 255, 150, "Top-Center");
- o->box(FL_ENGRAVED_FRAME);
- o->color(FL_BACKGROUND_COLOR);
- o->selection_color(FL_BACKGROUND_COLOR);
- o->labeltype(FL_NORMAL_LABEL);
- o->labelfont(0);
- o->labelsize(14);
- o->labelcolor(FL_BLACK);
- o->align(FL_ALIGN_TOP);
- o->when(FL_WHEN_RELEASE);
- { Fl_Check_Button* o = new Fl_Check_Button(15, 15, 60, 25, "button");
- o->down_box(FL_DOWN_BOX);
- }
- { Fl_Check_Button* o = new Fl_Check_Button(15, 46, 60, 25, "button");
- o->down_box(FL_DOWN_BOX);
- }
- { Fl_Check_Button* o = new Fl_Check_Button(15, 78, 60, 25, "button");
- o->down_box(FL_DOWN_BOX);
- }
- { Fl_Check_Button* o = new Fl_Check_Button(15, 110, 60, 25, "button");
- o->down_box(FL_DOWN_BOX);
- }
- o->end();
- }
- { CFlFrame* o = new CFlFrame(270, 5, 255, 150, "Bottom-Center");
- o->box(FL_ENGRAVED_FRAME);
- o->color(FL_BACKGROUND_COLOR);
- o->selection_color(FL_BACKGROUND_COLOR);
- o->labeltype(FL_NORMAL_LABEL);
- o->labelfont(0);
- o->labelsize(14);
- o->labelcolor(FL_BLACK);
- o->align(FL_ALIGN_BOTTOM);
- o->when(FL_WHEN_RELEASE);
- { Fl_Check_Button* o = new Fl_Check_Button(280, 15, 60, 25, "button");
- o->down_box(FL_DOWN_BOX);
- }
- { Fl_Check_Button* o = new Fl_Check_Button(280, 46, 60, 25, "button");
- o->down_box(FL_DOWN_BOX);
- }
- { Fl_Check_Button* o = new Fl_Check_Button(280, 78, 60, 25, "button");
- o->down_box(FL_DOWN_BOX);
- }
- { Fl_Check_Button* o = new Fl_Check_Button(280, 110, 60, 25, "button");
- o->down_box(FL_DOWN_BOX);
- }
- o->end();
- }
- { CFlFrame* o = new CFlFrame(270, 165, 255, 150, "Bottom-Left");
- o->box(FL_ENGRAVED_FRAME);
- o->color(FL_BACKGROUND_COLOR);
- o->selection_color(FL_BACKGROUND_COLOR);
- o->labeltype(FL_NORMAL_LABEL);
- o->labelfont(0);
- o->labelsize(14);
- o->labelcolor(FL_BLACK);
- o->align(FL_ALIGN_BOTTOM_RIGHT);
- o->when(FL_WHEN_RELEASE);
- { Fl_Check_Button* o = new Fl_Check_Button(280, 175, 60, 25, "button");
- o->down_box(FL_DOWN_BOX);
- }
- { Fl_Check_Button* o = new Fl_Check_Button(280, 206, 60, 25, "button");
- o->down_box(FL_DOWN_BOX);
- }
- { Fl_Check_Button* o = new Fl_Check_Button(280, 238, 60, 25, "button");
- o->down_box(FL_DOWN_BOX);
- }
- { Fl_Check_Button* o = new Fl_Check_Button(280, 270, 60, 25, "button");
- o->down_box(FL_DOWN_BOX);
- }
- o->end();
- }
- { CFlFrame* o = new CFlFrame(5, 165, 255, 150, "Top-Right");
- o->box(FL_ENGRAVED_FRAME);
- o->color(FL_BACKGROUND_COLOR);
- o->selection_color(FL_BACKGROUND_COLOR);
- o->labeltype(FL_NORMAL_LABEL);
- o->labelfont(0);
- o->labelsize(14);
- o->labelcolor(FL_BLACK);
- o->align(FL_ALIGN_TOP_LEFT);
- o->when(FL_WHEN_RELEASE);
- { Fl_Check_Button* o = new Fl_Check_Button(15, 175, 60, 25, "button");
- o->down_box(FL_DOWN_BOX);
- }
- { Fl_Check_Button* o = new Fl_Check_Button(15, 206, 60, 25, "button");
- o->down_box(FL_DOWN_BOX);
- }
- { Fl_Check_Button* o = new Fl_Check_Button(15, 238, 60, 25, "button");
- o->down_box(FL_DOWN_BOX);
- }
- { Fl_Check_Button* o = new Fl_Check_Button(15, 270, 60, 25, "button");
- o->down_box(FL_DOWN_BOX);
- }
- o->end();
- Fl_Group::current()->resizable(o);
- }
- { CFlEnabledFrame* o = new CFlEnabledFrame(535, 5, 255, 150, "Enabled Frame");
- o->box(FL_ENGRAVED_FRAME);
- o->color(FL_BACKGROUND_COLOR);
- o->selection_color(FL_BACKGROUND_COLOR);
- o->labeltype(FL_NORMAL_LABEL);
- o->labelfont(0);
- o->labelsize(14);
- o->labelcolor(FL_BLACK);
- o->align(FL_ALIGN_TOP_RIGHT);
- o->when(FL_WHEN_RELEASE);
- { Fl_Check_Button* o = new Fl_Check_Button(545, 15, 60, 25, "button");
- o->down_box(FL_DOWN_BOX);
- }
- { Fl_Check_Button* o = new Fl_Check_Button(545, 46, 60, 25, "button");
- o->down_box(FL_DOWN_BOX);
- }
- { Fl_Check_Button* o = new Fl_Check_Button(545, 78, 60, 25, "button");
- o->down_box(FL_DOWN_BOX);
- }
- { Fl_Check_Button* o = new Fl_Check_Button(545, 110, 60, 25, "button");
- o->down_box(FL_DOWN_BOX);
- }
- o->end();
- }
- o->end();
- }
- return w;
- }