progress_dlg_.cpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:1k
- /*
- * ===========================================================================
- * PRODUCTION $Log: progress_dlg_.cpp,v $
- * PRODUCTION Revision 1000.1 2004/06/01 20:46:46 gouriano
- * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.3
- * PRODUCTION
- * ===========================================================================
- */
- // generated by Fast Light User Interface Designer (fluid) version 1.0105
- /* $Id: progress_dlg_.cpp,v 1000.1 2004/06/01 20:46:46 gouriano Exp $ */
- #include <ncbi_pch.hpp>
- inline void CProgressDlg::cb_Cancel_i(Fl_Button*, void*) {
- x_OnCancel();
- }
- void CProgressDlg::cb_Cancel(Fl_Button* o, void* v) {
- ((CProgressDlg*)(o->parent()->user_data()))->cb_Cancel_i(o,v);
- }
- Fl_Double_Window* CProgressDlg::x_CreateWindow() {
- Fl_Double_Window* w;
- { Fl_Double_Window* o = new Fl_Double_Window(400, 110);
- w = o;
- o->user_data((void*)(this));
- { Fl_Progress* o = m_Progress = new Fl_Progress(5, 45, 385, 20);
- o->selection_color((Fl_Color)4);
- }
- m_Label = new Fl_Box(5, 10, 390, 25);
- { Fl_Button* o = new Fl_Button(160, 75, 90, 25, "Cancel");
- o->callback((Fl_Callback*)cb_Cancel);
- }
- o->end();
- }
- return w;
- }