progress_dlg_ex_.hpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:1k
- /*
- * ===========================================================================
- * PRODUCTION $Log: progress_dlg_ex_.hpp,v $
- * PRODUCTION Revision 1000.3 2004/06/01 19:47:51 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_ex__hpp
- #define progress_dlg_ex__hpp
- #include <FL/Fl.H>
- /* $Id: progress_dlg_ex_.hpp,v 1000.3 2004/06/01 19:47:51 gouriano Exp $ */
- #include <FL/Fl_Double_Window.H>
- #include <FL/Fl_Text_Display.H>
- #include <FL/Fl_Group.H>
- #include <FL/Fl_Progress.H>
- #include <FL/Fl_Button.H>
- class NCBI_GUIDIALOGS_EXPORT CProgressDlgEx : public CDialog, public IReporter {
- public:
- CProgressDlgEx();
- ~CProgressDlgEx();
- void SetTitle(const string& title);
- void SetMessage(const string& label);
- void SetPctCompleted(int pct);
- void Clear(void);
- bool HasBeenCanceled(void) const;
- private:
- Fl_Double_Window* x_CreateWindow();
- Fl_Text_Display *m_Text;
- Fl_Progress *m_Progress;
- inline void cb_Cancel_i(Fl_Button*, void*);
- static void cb_Cancel(Fl_Button*, void*);
- string m_TitleStr;
- auto_ptr<Fl_Text_Buffer> m_Buffer;
- CFastMutex m_Mutex;
- };
- #endif