obj_browse_other_.cpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:2k
- /*
- * ===========================================================================
- * PRODUCTION $Log: obj_browse_other_.cpp,v $
- * PRODUCTION Revision 1000.0 2004/06/01 21:16:33 gouriano
- * PRODUCTION PRODUCTION: IMPORTED [GCC34_MSVC7] Dev-tree R1.1
- * PRODUCTION
- * ===========================================================================
- */
- // generated by Fast Light User Interface Designer (fluid) version 1.0105
- /* $Id: obj_browse_other_.cpp,v 1000.0 2004/06/01 21:16:33 gouriano Exp $ */
- #include <ncbi_pch.hpp>
- inline void CBrowseOtherDlg::cb_Cancel_i(Fl_Button*, void*) {
- x_OnCancel();
- }
- void CBrowseOtherDlg::cb_Cancel(Fl_Button* o, void* v) {
- ((CBrowseOtherDlg*)(o->parent()->parent()->user_data()))->cb_Cancel_i(o,v);
- }
- inline void CBrowseOtherDlg::cb_OK_i(Fl_Return_Button*, void*) {
- x_OnOK();
- }
- void CBrowseOtherDlg::cb_OK(Fl_Return_Button* o, void* v) {
- ((CBrowseOtherDlg*)(o->parent()->parent()->user_data()))->cb_OK_i(o,v);
- }
- Fl_Double_Window* CBrowseOtherDlg::x_CreateWindow() {
- Fl_Double_Window* w;
- { Fl_Double_Window* o = new Fl_Double_Window(325, 310, "Choose From Other Documents");
- w = o;
- o->user_data((void*)(this));
- { CTreeBrowser* o = m_Tree = new CTreeBrowser(0, 0, 325, 265);
- o->box(FL_THIN_DOWN_FRAME);
- o->color(FL_BACKGROUND2_COLOR);
- o->selection_color(FL_BACKGROUND_COLOR);
- o->labeltype(FL_NORMAL_LABEL);
- o->labelfont(0);
- o->labelsize(12);
- o->labelcolor(FL_BLACK);
- o->align(FL_ALIGN_TOP);
- o->when(FL_WHEN_RELEASE);
- o->end();
- Fl_Group::current()->resizable(o);
- }
- { Fl_Group* o = new Fl_Group(0, 270, 325, 5);
- o->box(FL_THIN_DOWN_FRAME);
- o->labelsize(12);
- o->end();
- }
- { Fl_Group* o = new Fl_Group(5, 280, 315, 25);
- o->labelsize(12);
- { Fl_Button* o = new Fl_Button(240, 280, 80, 25, "Cancel");
- o->labelsize(12);
- o->callback((Fl_Callback*)cb_Cancel);
- }
- { Fl_Return_Button* o = new Fl_Return_Button(155, 280, 80, 25, "OK");
- o->labelsize(12);
- o->callback((Fl_Callback*)cb_OK);
- }
- { Fl_Group* o = new Fl_Group(5, 280, 150, 25);
- o->labelsize(12);
- o->end();
- Fl_Group::current()->resizable(o);
- }
- o->end();
- }
- o->end();
- }
- return w;
- }