view_genbank_.hpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:3k
- /*
- * ===========================================================================
- * PRODUCTION $Log: view_genbank_.hpp,v $
- * PRODUCTION Revision 1000.3 2004/06/01 21:02:57 gouriano
- * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.8
- * PRODUCTION
- * ===========================================================================
- */
- // generated by Fast Light User Interface Designer (fluid) version 1.0105
- #ifndef view_genbank__hpp
- #define view_genbank__hpp
- #include <FL/Fl.H>
- /* $Id: view_genbank_.hpp,v 1000.3 2004/06/01 21:02:57 gouriano Exp $ */
- #include <FL/Fl_Group.H>
- #include <FL/Fl_Menu_Bar.H>
- #include <FL/Fl_Choice.H>
- #include <FL/Fl_Scroll.H>
- #include <FL/Fl_Pack.H>
- class CViewGenbank : public CView {
- public:
- CViewGenbank(const objects::CPluginMessage& args, const string& pool_name);
- static void GetInfo(objects::CPluginInfo& info);
- void OnDocumentChanged();
- const string& GetTitle() const;
- void AddToEditPack (CParagraph* p);
- private:
- auto_ptr<CViewMenuMgr> m_ViewMenuMgr;
- CConstRef<objects::CSeq_id> m_SeqId;
- int m_CurrentFontSize;
- Fl_Font m_CurrentFont;
- void x_OnFileSave();
- void x_OnFileSaveAs();
- void x_OnFileClose();
- void x_OnHelpTextViewHelp();
- void x_OnFontHelvetica();
- void x_OnFontTimes();
- void x_OnFontCourier();
- void x_OnFontSmall();
- void x_OnFontNormal();
- void x_OnFontLarge();
- void x_AddEditorSections (const char* s);
- CParagraph* x_GetParagraph (CNcbiIstrstream& is, ncbi::CSection::ESection section, string& line);
- 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_Text_i(Fl_Menu_*, void*);
- static void cb_Text(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*);
- Fl_Scroll *m_Editor;
- Fl_Pack *m_EditPack;
- };
- #endif