progress_dlg_.hpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:1k
- /*
- * ===========================================================================
- * PRODUCTION $Log: progress_dlg_.hpp,v $
- * PRODUCTION Revision 1000.3 2004/06/01 19:47:48 gouriano
- * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.5
- * PRODUCTION
- * ===========================================================================
- */
- // generated by Fast Light User Interface Designer (fluid) version 1.0105
- #ifndef progress_dlg__hpp
- #define progress_dlg__hpp
- #include <FL/Fl.H>
- /* $Id: progress_dlg_.hpp,v 1000.3 2004/06/01 19:47:48 gouriano Exp $ */
- #include <FL/Fl_Double_Window.H>
- #include <FL/Fl_Progress.H>
- #include <FL/Fl_Box.H>
- #include <FL/Fl_Button.H>
- class NCBI_GUIDIALOGS_EXPORT CProgressDlg : public CDialog, public IReporter {
- public:
- CProgressDlg();
- void SetTitle(const string& title);
- void SetMessage(const string& title);
- void SetPctCompleted(int pct);
- void Clear(void);
- bool HasBeenCanceled(void) const;
- private:
- Fl_Double_Window* x_CreateWindow();
- Fl_Progress *m_Progress;
- Fl_Box *m_Label;
- inline void cb_Cancel_i(Fl_Button*, void*);
- static void cb_Cancel(Fl_Button*, void*);
- string m_TitleStr;
- string m_LabelStr;
- CFastMutex m_Mutex;
- };
- #endif