multi_col_dlg_.cpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:2k
- /*
- * ===========================================================================
- * PRODUCTION $Log: multi_col_dlg_.cpp,v $
- * PRODUCTION Revision 1000.2 2004/06/01 20:45:17 gouriano
- * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.5
- * PRODUCTION
- * ===========================================================================
- */
- // generated by Fast Light User Interface Designer (fluid) version 1.0105
- /* $Id: multi_col_dlg_.cpp,v 1000.2 2004/06/01 20:45:17 gouriano Exp $ */
- #include <ncbi_pch.hpp>
- inline void CMultiColDlg::cb_OK_i(Fl_Return_Button*, void*) {
- x_OnOK();
- }
- void CMultiColDlg::cb_OK(Fl_Return_Button* o, void* v) {
- ((CMultiColDlg*)(o->parent()->parent()->user_data()))->cb_OK_i(o,v);
- }
- Fl_Double_Window* CMultiColDlg::x_CreateWindow() {
- Fl_Double_Window* w;
- { Fl_Double_Window* o = new Fl_Double_Window(425, 295);
- w = o;
- o->user_data((void*)(this));
- { Fl_Pack* o = new Fl_Pack(0, 0, 425, 250);
- { Fl_Group* o = m_LabelGroup = new Fl_Group(0, 0, 425, 50);
- o->labelsize(12);
- o->align(192|FL_ALIGN_INSIDE);
- o->end();
- }
- { Fl_Group* o = new Fl_Group(2, 52, 421, 196);
- o->box(FL_ENGRAVED_FRAME);
- { CMultiColTable* o = m_Table = new CMultiColTable(10, 60, 405, 180);
- o->box(FL_DOWN_FRAME);
- o->color(FL_BACKGROUND_COLOR);
- o->selection_color(FL_BACKGROUND_COLOR);
- o->labeltype(FL_NORMAL_LABEL);
- o->labelfont(0);
- o->labelsize(10);
- o->labelcolor(FL_BLACK);
- o->align(FL_ALIGN_TOP);
- o->when(FL_WHEN_RELEASE);
- o->end();
- Fl_Group::current()->resizable(o);
- }
- o->end();
- Fl_Group::current()->resizable(o);
- }
- o->end();
- Fl_Group::current()->resizable(o);
- }
- { Fl_Group* o = new Fl_Group(3, 255, 419, 5);
- o->box(FL_THIN_DOWN_FRAME);
- o->end();
- }
- { Fl_Group* o = new Fl_Group(5, 265, 415, 25);
- { Fl_Return_Button* o = new Fl_Return_Button(340, 265, 80, 25, "OK");
- o->callback((Fl_Callback*)cb_OK);
- }
- { Fl_Group* o = new Fl_Group(5, 265, 335, 25);
- o->end();
- Fl_Group::current()->resizable(o);
- }
- o->end();
- }
- o->end();
- }
- return w;
- }