view_fasta_.hpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:3k
- /*
- * ===========================================================================
- * PRODUCTION $Log: view_fasta_.hpp,v $
- * PRODUCTION Revision 1000.3 2004/06/01 21:02:46 gouriano
- * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.8
- * PRODUCTION
- * ===========================================================================
- */
- // generated by Fast Light User Interface Designer (fluid) version 1.0105
- #ifndef view_fasta__hpp
- #define view_fasta__hpp
- #include <FL/Fl.H>
- /* $Id: view_fasta_.hpp,v 1000.3 2004/06/01 21:02:46 gouriano Exp $ */
- #include <FL/Fl_Group.H>
- #include <FL/Fl_Menu_Bar.H>
- #include <FL/Fl_Choice.H>
- class CViewFasta : public CView {
- public:
- CViewFasta(const objects::CPluginMessage& args, const string& pool_name);
- ~CViewFasta();
- void OnDocumentChanged();
- const string& GetTitle() const;
- static void GetInfo(objects::CPluginInfo& info);
- private:
- auto_ptr<CViewMenuMgr> m_ViewMenuMgr;
- auto_ptr<Fl_Text_Buffer> m_Buffer;
- CConstRef<objects::CSeq_loc> m_SeqLoc;
- CRef<CFastaTextDS> m_DataSource;
- int m_CurrentFontSize;
- Fl_Font m_CurrentFont;
- void x_OnFileClose();
- void x_OnHelpTextViewHelp();
- void x_OnFontHelvetica();
- void x_OnFontTimes();
- void x_OnFontCourier();
- void x_OnFontSmall();
- void x_OnFontNormal();
- void x_OnFontLarge();
- Fl_Window* x_CreateWindow();
- inline void cb__i(Fl_Window*, void*);
- static void cb_(Fl_Window*, void*);
- Fl_Menu_Bar *m_Menu;
- static Fl_Menu_Item menu_m_Menu[];
- inline void cb_Helvetica_i(Fl_Menu_*, void*);
- static void cb_Helvetica(Fl_Menu_*, void*);
- inline void cb_Times_i(Fl_Menu_*, void*);
- static void cb_Times(Fl_Menu_*, void*);
- inline void cb_Courier_i(Fl_Menu_*, void*);
- static void cb_Courier(Fl_Menu_*, void*);
- inline void cb_Small_i(Fl_Menu_*, void*);
- static void cb_Small(Fl_Menu_*, void*);
- inline void cb_Normal_i(Fl_Menu_*, void*);
- static void cb_Normal(Fl_Menu_*, void*);
- inline void cb_Large_i(Fl_Menu_*, void*);
- static void cb_Large(Fl_Menu_*, void*);
- inline void cb_FastA_i(Fl_Menu_*, void*);
- static void cb_FastA(Fl_Menu_*, void*);
- Fl_Choice *m_TextSize;
- static Fl_Menu_Item menu_m_TextSize[];
- inline void cb_Small1_i(Fl_Menu_*, void*);
- static void cb_Small1(Fl_Menu_*, void*);
- inline void cb_Normal1_i(Fl_Menu_*, void*);
- static void cb_Normal1(Fl_Menu_*, void*);
- inline void cb_Large1_i(Fl_Menu_*, void*);
- static void cb_Large1(Fl_Menu_*, void*);
- Fl_Choice *m_TextFont;
- static Fl_Menu_Item menu_m_TextFont[];
- inline void cb_Helvetica1_i(Fl_Menu_*, void*);
- static void cb_Helvetica1(Fl_Menu_*, void*);
- inline void cb_Times1_i(Fl_Menu_*, void*);
- static void cb_Times1(Fl_Menu_*, void*);
- inline void cb_Courier1_i(Fl_Menu_*, void*);
- static void cb_Courier1(Fl_Menu_*, void*);
- CFastaTextDisplay *m_Text;
- };
- #endif