save_image_dlg_.hpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:2k
- /*
- * ===========================================================================
- * PRODUCTION $Log: save_image_dlg_.hpp,v $
- * PRODUCTION Revision 1000.1 2004/06/01 19:50:48 gouriano
- * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.4
- * PRODUCTION
- * ===========================================================================
- */
- // generated by Fast Light User Interface Designer (fluid) version 1.0105
- #ifndef save_image_dlg__hpp
- #define save_image_dlg__hpp
- #include <FL/Fl.H>
- /* $Id: save_image_dlg_.hpp,v 1000.1 2004/06/01 19:50:48 gouriano Exp $ */
- #include <FL/Fl_Double_Window.H>
- #include <FL/Fl_Group.H>
- #include <FL/Fl_Box.H>
- #include <FL/Fl_File_Input.H>
- #include <FL/Fl_Button.H>
- #include <FL/Fl_Value_Input.H>
- #include <FL/Fl_Check_Button.H>
- #include <FL/Fl_Choice.H>
- #include <FL/Fl_Return_Button.H>
- class NCBI_GUIUTILS_EXPORT CSaveImageDlg : public CDialog {
- public:
- CSaveImageDlg(const CPrintOptions& opts);
- void Init(const CPrintOptions& opts);
- CPrintOptions GetOptions(void);
- private:
- CPrintOptions m_Options;
- Fl_Double_Window* x_Create(void);
- Fl_File_Input *m_Filename;
- inline void cb_Browse_i(Fl_Button*, void*);
- static void cb_Browse(Fl_Button*, void*);
- public:
- Fl_Group *m_CustomSizeGroup;
- Fl_Value_Input *m_RasterWidth;
- Fl_Value_Input *m_RasterHeight;
- Fl_Check_Button *m_CustomSize;
- private:
- inline void cb_m_CustomSize_i(Fl_Check_Button*, void*);
- static void cb_m_CustomSize(Fl_Check_Button*, void*);
- Fl_Choice *m_Format;
- static Fl_Menu_Item menu_m_Format[];
- static Fl_Menu_Item *m_Png;
- static Fl_Menu_Item *m_Jpeg;
- 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*);
- void x_OnOK(void);
- void x_OnBrowse(void);
- void x_OnCustomSize(void);
- void x_UpdateOptions(void);
- };
- #endif