choose_seq_dlg_.cpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:2k
- /*
- * ===========================================================================
- * PRODUCTION $Log: choose_seq_dlg_.cpp,v $
- * PRODUCTION Revision 1000.1 2004/06/01 21:10:52 gouriano
- * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.2
- * PRODUCTION
- * ===========================================================================
- */
- // generated by Fast Light User Interface Designer (fluid) version 1.0105
- /* $Id: choose_seq_dlg_.cpp,v 1000.1 2004/06/01 21:10:52 gouriano Exp $ */
- #include <ncbi_pch.hpp>
- inline void CChooseSeqDlg::cb_Cancel_i(Fl_Button*, void*) {
- x_OnCancel();
- }
- void CChooseSeqDlg::cb_Cancel(Fl_Button* o, void* v) {
- ((CChooseSeqDlg*)(o->parent()->user_data()))->cb_Cancel_i(o,v);
- }
- inline void CChooseSeqDlg::cb_Ok_i(Fl_Return_Button*, void*) {
- x_OnOK();
- }
- void CChooseSeqDlg::cb_Ok(Fl_Return_Button* o, void* v) {
- ((CChooseSeqDlg*)(o->parent()->user_data()))->cb_Ok_i(o,v);
- }
- Fl_Double_Window* CChooseSeqDlg::x_CreateWindow() {
- Fl_Double_Window* w;
- { Fl_Double_Window* o = new Fl_Double_Window(347, 231);
- w = o;
- o->user_data((void*)(this));
- { Fl_Button* o = new Fl_Button(255, 200, 85, 25, "Cancel");
- o->labelsize(12);
- o->callback((Fl_Callback*)cb_Cancel);
- }
- { Fl_Return_Button* o = new Fl_Return_Button(165, 200, 85, 25, "Ok");
- o->labelsize(12);
- o->callback((Fl_Callback*)cb_Ok);
- }
- { CBrowser* o = m_QueryList = new CBrowser(75, 15, 265, 85, "Query ");
- o->type(2);
- o->box(FL_NO_BOX);
- o->color(FL_BACKGROUND2_COLOR);
- o->selection_color(FL_SELECTION_COLOR);
- o->labeltype(FL_NORMAL_LABEL);
- o->labelfont(0);
- o->labelsize(12);
- o->labelcolor(FL_BLACK);
- o->textsize(12);
- o->align(FL_ALIGN_LEFT);
- o->when(FL_WHEN_RELEASE_ALWAYS);
- }
- { CBrowser* o = m_SubjectList = new CBrowser(76, 110, 264, 85, "Subject ");
- o->type(2);
- o->box(FL_NO_BOX);
- o->color(FL_BACKGROUND2_COLOR);
- o->selection_color(FL_SELECTION_COLOR);
- o->labeltype(FL_NORMAL_LABEL);
- o->labelfont(0);
- o->labelsize(12);
- o->labelcolor(FL_BLACK);
- o->textsize(12);
- o->align(FL_ALIGN_LEFT);
- o->when(FL_WHEN_RELEASE_ALWAYS);
- }
- o->end();
- }
- return w;
- }