entry_form_.hpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:1k
- /*
- * ===========================================================================
- * PRODUCTION $Log: entry_form_.hpp,v $
- * PRODUCTION Revision 1000.1 2004/06/01 19:47:42 gouriano
- * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.8
- * PRODUCTION
- * ===========================================================================
- */
- // generated by Fast Light User Interface Designer (fluid) version 1.0105
- #ifndef entry_form__hpp
- #define entry_form__hpp
- #include <FL/Fl.H>
- /* $Id: entry_form_.hpp,v 1000.1 2004/06/01 19:47:42 gouriano Exp $ */
- #include <FL/Fl_Double_Window.H>
- #include <FL/Fl_Group.H>
- #include <FL/Fl_Return_Button.H>
- #include <FL/Fl_Button.H>
- class NCBI_GUIDIALOGS_EXPORT CEntryFormDialog : public CDialog {
- public:
- CEntryFormDialog();
- CFlForm* GetFormWidget();
- void Show();
- void SetTitle(const string& title);
- void AddTitleWidget(Fl_Widget* w);
- void AddEditWidget (Fl_Widget* new_widget);
- void Size(int w, int h);
- private:
- string m_Title;
- void x_AddWidget(Fl_Widget* w);
- Fl_Double_Window* x_CreateWindow();
- CFlForm *m_Form;
- 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*);
- };
- #endif