progress_dlg_ex_.cpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:1k
- /*
- * ===========================================================================
- * PRODUCTION $Log: progress_dlg_ex_.cpp,v $
- * PRODUCTION Revision 1000.2 2004/06/01 20:46:53 gouriano
- * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.4
- * PRODUCTION
- * ===========================================================================
- */
- // generated by Fast Light User Interface Designer (fluid) version 1.0105
- /* $Id: progress_dlg_ex_.cpp,v 1000.2 2004/06/01 20:46:53 gouriano Exp $ */
- #include <ncbi_pch.hpp>
- inline void CProgressDlgEx::cb_Cancel_i(Fl_Button*, void*) {
- x_OnCancel();
- }
- void CProgressDlgEx::cb_Cancel(Fl_Button* o, void* v) {
- ((CProgressDlgEx*)(o->parent()->parent()->user_data()))->cb_Cancel_i(o,v);
- }
- Fl_Double_Window* CProgressDlgEx::x_CreateWindow() {
- Fl_Double_Window* w;
- { Fl_Double_Window* o = new Fl_Double_Window(385, 165);
- w = o;
- o->user_data((void*)(this));
- { Fl_Text_Display* o = m_Text = new Fl_Text_Display(5, 5, 375, 125);
- o->box(FL_NO_BOX);
- o->labelsize(10);
- Fl_Group::current()->resizable(o);
- }
- { Fl_Group* o = new Fl_Group(5, 135, 375, 25);
- { Fl_Progress* o = m_Progress = new Fl_Progress(5, 140, 290, 15);
- o->selection_color((Fl_Color)4);
- Fl_Group::current()->resizable(o);
- }
- { Fl_Button* o = new Fl_Button(300, 135, 80, 25, "Cancel");
- o->callback((Fl_Callback*)cb_Cancel);
- }
- o->end();
- }
- o->end();
- }
- return w;
- }