multi_demo_ui_.cpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:2k
- /*
- * ===========================================================================
- * PRODUCTION $Log: multi_demo_ui_.cpp,v $
- * PRODUCTION Revision 1000.2 2004/06/01 21:07:46 gouriano
- * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.12
- * PRODUCTION
- * ===========================================================================
- */
- // generated by Fast Light User Interface Designer (fluid) version 1.0105
- /* $Id: multi_demo_ui_.cpp,v 1000.2 2004/06/01 21:07:46 gouriano Exp $ */
- #include <ncbi_pch.hpp>
- inline void CMultiDemoUI::cb_Load_i(Fl_Button*, void*) {
- x_OnLoadAccession();
- }
- void CMultiDemoUI::cb_Load(Fl_Button* o, void* v) {
- ((CMultiDemoUI*)(o->parent()->parent()->parent()->user_data()))->cb_Load_i(o,v);
- }
- Fl_Double_Window* CMultiDemoUI::x_CreateWindow() {
- Fl_Double_Window* w;
- { Fl_Double_Window* o = new Fl_Double_Window(972, 512);
- w = o;
- o->user_data((void*)(this));
- { Fl_Group* o = new Fl_Group(10, 10, 955, 440);
- { CAlnVecMultiWidget* o = m_AlnWidget = new CAlnVecMultiWidget(15, 39, 940, 411);
- o->box(FL_DOWN_BOX);
- o->color(FL_BACKGROUND2_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_CENTER);
- o->when(FL_WHEN_RELEASE);
- Fl_Group::current()->resizable(o);
- }
- { CMenuBar* o = m_MenuBar = new CMenuBar(15, 10, 940, 30);
- o->box(FL_UP_BOX);
- o->color(FL_BACKGROUND_COLOR);
- o->selection_color(FL_SELECTION_COLOR);
- o->labeltype(FL_NORMAL_LABEL);
- o->labelfont(0);
- o->labelsize(14);
- o->labelcolor(FL_BLACK);
- o->align(FL_ALIGN_CENTER);
- o->when(FL_WHEN_RELEASE_ALWAYS);
- }
- o->end();
- Fl_Group::current()->resizable(o);
- }
- { Fl_Group* o = new Fl_Group(15, 450, 940, 60);
- { Fl_Group* o = new Fl_Group(210, 450, 745, 50);
- m_Accession = new Fl_Input(530, 470, 315, 25, "Accession to Load");
- { Fl_Button* o = new Fl_Button(865, 470, 90, 25, "Load!");
- o->callback((Fl_Callback*)cb_Load);
- }
- o->end();
- }
- o->end();
- }
- o->end();
- }
- return w;
- }