document_dlg_.hpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:2k
- /*
- * ===========================================================================
- * PRODUCTION $Log: document_dlg_.hpp,v $
- * PRODUCTION Revision 1000.2 2004/06/01 20:48:06 gouriano
- * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.4
- * PRODUCTION
- * ===========================================================================
- */
- // generated by Fast Light User Interface Designer (fluid) version 1.0105
- #ifndef document_dlg__hpp
- #define document_dlg__hpp
- #include <FL/Fl.H>
- /* $Id: document_dlg_.hpp,v 1000.2 2004/06/01 20:48:06 gouriano Exp $ */
- #include <FL/Fl_Double_Window.H>
- #include <FL/Fl_Group.H>
- #include <FL/Fl_Menu_Button.H>
- #include <FL/Fl_Button.H>
- #include <FL/Fl_Return_Button.H>
- class CDocumentDlg : public CDocMgrView, public ISelection {
- public:
- CDocumentDlg();
- void Update(TUpdateFlags flags);
- void Hide();
- string GetTitle() const;
- void Show();
- bool Shown() const;
- private:
- auto_ptr<CAlgoMenuMgr> m_ToolsMgr;
- auto_ptr<Fl_Window> m_Window;
- Fl_Double_Window* x_CreateWindow();
- inline void cb_NCBI_i(Fl_Double_Window*, void*);
- static void cb_NCBI(Fl_Double_Window*, void*);
- CRecordsTable *m_Records;
- inline void cb_m_Records_i(CRecordsTable*, void*);
- static void cb_m_Records(CRecordsTable*, void*);
- Fl_Menu_Button *m_ToolsButton;
- inline void cb_Unload_i(Fl_Button*, void*);
- static void cb_Unload(Fl_Button*, void*);
- inline void cb_OK_i(Fl_Return_Button*, void*);
- static void cb_OK(Fl_Return_Button*, void*);
- void x_OnUnload();
- void x_OnOK();
- void x_OnSelChanged();
- void x_UpdateDynMenus();
- public:
- void GetSelections(TConstScopedObjects& objs) const;
- void SetSelections(const TConstScopedObjects& objs);
- };
- #endif