print_dlg_.hpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:2k
- /*
- * ===========================================================================
- * PRODUCTION $Log: print_dlg_.hpp,v $
- * PRODUCTION Revision 1000.1 2004/06/01 19:50:43 gouriano
- * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.6
- * PRODUCTION
- * ===========================================================================
- */
- // generated by Fast Light User Interface Designer (fluid) version 1.0105
- #ifndef print_dlg__hpp
- #define print_dlg__hpp
- #include <FL/Fl.H>
- /* $Id: print_dlg_.hpp,v 1000.1 2004/06/01 19:50:43 gouriano Exp $ */
- #include <FL/Fl_Double_Window.H>
- #include <FL/Fl_Group.H>
- #include <FL/Fl_Round_Button.H>
- #include <FL/Fl_File_Input.H>
- #include <FL/Fl_Button.H>
- #include <FL/Fl_Choice.H>
- #include <FL/Fl_Return_Button.H>
- class NCBI_GUIUTILS_EXPORT CPrintDlg : public CDialog {
- public:
- CPrintDlg();
- CPrintDlg(const CPrintOptions& options);
- void Init(void);
- const CPrintOptions& GetOptions(void) const;
- Fl_Double_Window* x_Create(void);
- private:
- Fl_Round_Button *m_LocationPrint;
- inline void cb_m_LocationPrint_i(Fl_Round_Button*, void*);
- static void cb_m_LocationPrint(Fl_Round_Button*, void*);
- Fl_Round_Button *m_LocationFile;
- inline void cb_m_LocationFile_i(Fl_Round_Button*, void*);
- static void cb_m_LocationFile(Fl_Round_Button*, void*);
- Fl_File_Input *m_Filename;
- inline void cb_Browse_i(Fl_Button*, void*);
- static void cb_Browse(Fl_Button*, void*);
- Fl_Choice *m_Format;
- static Fl_Menu_Item menu_m_Format[];
- static Fl_Menu_Item *m_Pdf;
- static Fl_Menu_Item *m_Postscript;
- static Fl_Menu_Item *m_Svg;
- public:
- Fl_Group *Buttons;
- private:
- 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*);
- inline void cb_Options_i(Fl_Button*, void*);
- static void cb_Options(Fl_Button*, void*);
- CPrintOptions m_Options;
- void x_OnOK(void);
- void x_OnBrowse(void);
- void x_OnSelectFormat(const Fl_Menu_Item* item);
- void x_OnSelectPrint(void);
- void x_OnSelectFile(void);
- void x_OnOptions(void);
- void x_UpdateOptions(void);
- };
- #endif