plugin_arg_dialog_.hpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:2k
- /*
- * ===========================================================================
- * PRODUCTION $Log: plugin_arg_dialog_.hpp,v $
- * PRODUCTION Revision 1000.3 2004/06/01 19:46:55 gouriano
- * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.5
- * PRODUCTION
- * ===========================================================================
- */
- // generated by Fast Light User Interface Designer (fluid) version 1.0105
- #ifndef plugin_arg_dialog__hpp
- #define plugin_arg_dialog__hpp
- #include <FL/Fl.H>
- /* $Id: plugin_arg_dialog_.hpp,v 1000.3 2004/06/01 19:46:55 gouriano Exp $ */
- #include <FL/Fl_Double_Window.H>
- #include <FL/Fl_Group.H>
- #include <FL/Fl_Button.H>
- #include <FL/Fl_Return_Button.H>
- class NCBI_GUICORE_EXPORT CPluginArgDialog : public CDialog {
- public:
- CPluginArgDialog(CPluginHandle handle, objects::CPluginArgSet& args, const TConstScopedObjects& selections);
- void Show();
- void SetArgs(objects::CPluginArgSet& args, const TConstScopedObjects& selections);
- void SetTitle(const string& title);
- void Size(int w, int h);
- private:
- string m_Title;
- CPluginHandle m_Handle;
- CRef<objects::CPluginArgSet> m_Args;
- TConstScopedObjects m_Selections;
- void x_OnOK();
- void x_OnHelp();
- void x_OnSaveOptions();
- Fl_Double_Window* x_CreateWindow();
- inline void cb__i(Fl_Double_Window*, void*);
- static void cb_(Fl_Double_Window*, void*);
- CPluginArgForm *m_Form;
- inline void cb_Save_i(Fl_Button*, void*);
- static void cb_Save(Fl_Button*, void*);
- inline void cb_OK_i(Fl_Return_Button*, void*);
- static void cb_OK(Fl_Return_Button*, void*);
- inline void cb_Cancel_i(Fl_Button*, void*);
- static void cb_Cancel(Fl_Button*, void*);
- Fl_Button *m_HelpButton;
- inline void cb_m_HelpButton_i(Fl_Button*, void*);
- static void cb_m_HelpButton(Fl_Button*, void*);
- };
- #endif