view_multialign_.hpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:2k
- /*
- * ===========================================================================
- * PRODUCTION $Log: view_multialign_.hpp,v $
- * PRODUCTION Revision 1000.4 2004/06/01 20:59:36 gouriano
- * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.31
- * PRODUCTION
- * ===========================================================================
- */
- // generated by Fast Light User Interface Designer (fluid) version 1.0105
- #ifndef view_multialign__hpp
- #define view_multialign__hpp
- #include <FL/Fl.H>
- /* $Id: view_multialign_.hpp,v 1000.4 2004/06/01 20:59:36 gouriano Exp $ */
- #include <FL/Fl_Group.H>
- class CAlnMultiView : public CAlnView, public CAlnMultiWidgetListener {
- public:
- CAlnMultiView(const objects::CPluginMessage& args, const string& pool_name);
- static void GetInfo(objects::CPluginInfo& info);
- void OnDocumentChanged();
- void OnSelectionChanged(const CSelectionBuffer& buf);
- void OnVisibleRangeChanged(const objects::CSeq_loc& loc);
- const string& GetTitle() const;
- EVENT_MAP_DECLARE();
- private:
- auto_ptr<CViewMenuMgr> m_ViewMenuMgr;
- auto_ptr<CAlgoMenuMgr> m_AlgoMenuMgr;
- CRef<CAlnVecMultiDataSource> m_DataSource;
- CRowStyleCatalog m_StyleCatalog;
- void x_OnFileClose();
- void x_OnHelp();
- public:
- void OnMakeConsensusRowMaster();
- void OnResetSelection();
- void OnZoomSequence();
- void OnMarkSelected();
- void OnUnMarkAll();
- void OnSelChangedEvent(CViewEvent::TEventObject obj);
- void SendSelChangedEvent();
- private:
- DECLARE_CMD_MAP();
- Fl_Window* x_CreateWindow();
- inline void cb__i(Fl_Window*, void*);
- static void cb_(Fl_Window*, void*);
- CMenuBar *m_Menu;
- CAlnVecMultiWidget *m_AlnWidget;
- virtual void OnNotify(
- IAlnMultiPaneParent::ENotification notification);
- bool m_bBlockEvents;
- };
- #endif