edit_styles_dlg_.hpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:2k
- /*
- * ===========================================================================
- * PRODUCTION $Log: edit_styles_dlg_.hpp,v $
- * PRODUCTION Revision 1000.1 2004/06/01 19:47:24 gouriano
- * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.4
- * PRODUCTION
- * ===========================================================================
- */
- // generated by Fast Light User Interface Designer (fluid) version 1.0105
- #ifndef edit_styles_dlg__hpp
- #define edit_styles_dlg__hpp
- #include <FL/Fl.H>
- /* $Id: edit_styles_dlg_.hpp,v 1000.1 2004/06/01 19:47:24 gouriano Exp $ */
- #include <FL/Fl_Window.H>
- #include <FL/Fl_Box.H>
- #include <FL/Fl_Browser.H>
- #include <FL/Fl_Group.H>
- #include <FL/Fl_Button.H>
- #include <FL/Fl_Return_Button.H>
- class NCBI_GUIDIALOGS_EXPORT CEditStylesDlg : public CDialog {
- public:
- CEditStylesDlg(IConfigMediator&);
- private:
- CRef<IConfigMediator> m_ConfigMediator;
- Fl_Window* x_CreateWindow();
- Fl_Browser *m_StyleBrowser;
- inline void cb_m_StyleBrowser_i(Fl_Browser*, void*);
- static void cb_m_StyleBrowser(Fl_Browser*, void*);
- Fl_Group *m_SetBtnGroup;
- inline void cb_Add_i(Fl_Button*, void*);
- static void cb_Add(Fl_Button*, void*);
- inline void cb_Copy_i(Fl_Button*, void*);
- static void cb_Copy(Fl_Button*, void*);
- Fl_Button *m_RenameBtn;
- inline void cb_m_RenameBtn_i(Fl_Button*, void*);
- static void cb_m_RenameBtn(Fl_Button*, void*);
- Fl_Button *m_DeleteBtn;
- inline void cb_m_DeleteBtn_i(Fl_Button*, void*);
- static void cb_m_DeleteBtn(Fl_Button*, void*);
- inline void cb_Done_i(Fl_Return_Button*, void*);
- static void cb_Done(Fl_Return_Button*, void*);
- void x_SetStates(list<string> const& states);
- bool x_GetSelectedState(string& state);
- void x_SetSelectedState(const string& state);
- void x_SelectFirstState();
- virtual void x_UpdateSetBtns();
- virtual void x_OnAdd();
- virtual void x_OnCopy();
- virtual void x_OnRename();
- virtual void x_OnDelete();
- };
- #endif