multi_col_dlg_.cpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:2k
源码类别:

生物技术

开发平台:

C/C++

  1. /*
  2.  * ===========================================================================
  3.  * PRODUCTION $Log: multi_col_dlg_.cpp,v $
  4.  * PRODUCTION Revision 1000.2  2004/06/01 20:45:17  gouriano
  5.  * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.5
  6.  * PRODUCTION
  7.  * ===========================================================================
  8.  */
  9. // generated by Fast Light User Interface Designer (fluid) version 1.0105
  10. /* $Id: multi_col_dlg_.cpp,v 1000.2 2004/06/01 20:45:17 gouriano Exp $ */
  11. #include <ncbi_pch.hpp>
  12. inline void CMultiColDlg::cb_OK_i(Fl_Return_Button*, void*) {
  13.   x_OnOK();
  14. }
  15. void CMultiColDlg::cb_OK(Fl_Return_Button* o, void* v) {
  16.   ((CMultiColDlg*)(o->parent()->parent()->user_data()))->cb_OK_i(o,v);
  17. }
  18. Fl_Double_Window* CMultiColDlg::x_CreateWindow() {
  19.   Fl_Double_Window* w;
  20.   { Fl_Double_Window* o = new Fl_Double_Window(425, 295);
  21.     w = o;
  22.     o->user_data((void*)(this));
  23.     { Fl_Pack* o = new Fl_Pack(0, 0, 425, 250);
  24.       { Fl_Group* o = m_LabelGroup = new Fl_Group(0, 0, 425, 50);
  25.         o->labelsize(12);
  26.         o->align(192|FL_ALIGN_INSIDE);
  27.         o->end();
  28.       }
  29.       { Fl_Group* o = new Fl_Group(2, 52, 421, 196);
  30.         o->box(FL_ENGRAVED_FRAME);
  31.         { CMultiColTable* o = m_Table = new CMultiColTable(10, 60, 405, 180);
  32.           o->box(FL_DOWN_FRAME);
  33.           o->color(FL_BACKGROUND_COLOR);
  34.           o->selection_color(FL_BACKGROUND_COLOR);
  35.           o->labeltype(FL_NORMAL_LABEL);
  36.           o->labelfont(0);
  37.           o->labelsize(10);
  38.           o->labelcolor(FL_BLACK);
  39.           o->align(FL_ALIGN_TOP);
  40.           o->when(FL_WHEN_RELEASE);
  41.           o->end();
  42.           Fl_Group::current()->resizable(o);
  43.         }
  44.         o->end();
  45.         Fl_Group::current()->resizable(o);
  46.       }
  47.       o->end();
  48.       Fl_Group::current()->resizable(o);
  49.     }
  50.     { Fl_Group* o = new Fl_Group(3, 255, 419, 5);
  51.       o->box(FL_THIN_DOWN_FRAME);
  52.       o->end();
  53.     }
  54.     { Fl_Group* o = new Fl_Group(5, 265, 415, 25);
  55.       { Fl_Return_Button* o = new Fl_Return_Button(340, 265, 80, 25, "OK");
  56.         o->callback((Fl_Callback*)cb_OK);
  57.       }
  58.       { Fl_Group* o = new Fl_Group(5, 265, 335, 25);
  59.         o->end();
  60.         Fl_Group::current()->resizable(o);
  61.       }
  62.       o->end();
  63.     }
  64.     o->end();
  65.   }
  66.   return w;
  67. }