- # data file for the Fltk User Interface Designer (fluid)
- version 1.0105
- do_not_include_H_from_C
- header_name {../../../include/gui/print/save_image_dlg_.hpp}
- code_name {save_image_dlg_.cpp}
- decl {/* $Id: save_image_dlg.fl,v 1000.1 2004/06/01 21:04:25 gouriano Exp $ */} {public
- }
- decl {/* $Id: save_image_dlg.fl,v 1000.1 2004/06/01 21:04:25 gouriano Exp $ */} {}
- decl {#include <ncbi_pch.hpp>} {}
- class NCBI_GUIUTILS_EXPORT CSaveImageDlg {: {public CDialog}
- } {
- decl {CSaveImageDlg(const CPrintOptions& opts);} {public
- }
- decl {void Init(const CPrintOptions& opts);} {public
- }
- decl {CPrintOptions GetOptions(void);} {public
- }
- decl {CPrintOptions m_Options;} {}
- Function {x_Create(void)} {private
- } {
- Fl_Window {} {
- label {Save Image}
- private xywh {704 192 485 310} type Double hide
- } {
- Fl_Group {} {open
- xywh {5 5 485 265}
- } {
- Fl_Group {} {
- label {Output Location} open
- xywh {5 15 475 75} box ENGRAVED_FRAME align 21
- } {
- Fl_Box {} {
- label File
- xywh {45 50 30 25}
- }
- Fl_File_Input m_Filename {
- private xywh {90 40 280 35}
- }
- Fl_Button {} {
- label {Browse...}
- callback {x_OnBrowse();}
- xywh {375 50 75 25}
- }
- }
- Fl_Group {} {
- label Scaling open
- xywh {5 95 475 120} box ENGRAVED_BOX align 21
- } {
- Fl_Group m_CustomSizeGroup {open
- xywh {15 142 455 65}
- } {
- Fl_Value_Input m_RasterWidth {
- label width
- xywh {65 152 75 25} minimum 1 maximum 100000 step 1 value 1
- }
- Fl_Value_Input m_RasterHeight {
- label height
- xywh {210 152 75 25} minimum 1 maximum 100000 step 1 value 1
- }
- Fl_Check_Button {} {
- label {constrain proportions}
- xywh {65 182 25 25} down_box DOWN_BOX
- }
- }
- Fl_Check_Button m_CustomSize {
- label {Custom size}
- callback {x_OnCustomSize();}
- xywh {34 119 25 25} down_box DOWN_BOX
- }
- }
- }
- Fl_Group {} {
- label {Output Format} open
- xywh {5 219 475 55} box ENGRAVED_FRAME align 21
- } {
- Fl_Choice m_Format {open
- private xywh {90 244 280 25} down_box BORDER_BOX when 3 resizable
- } {
- menuitem m_Png {
- label {Portable Network Graphics (PNG)}
- user_data m_Png user_data_type {Fl_Menu_Item*}
- private xywh {35 35 100 20}
- }
- menuitem m_Jpeg {
- label JPEG
- user_data m_Jpeg user_data_type {Fl_Menu_Item*}
- private xywh {45 45 100 20}
- }
- }
- }
- Fl_Group {} {open
- xywh {5 279 480 25}
- } {
- Fl_Return_Button {} {
- label OK
- callback {x_OnOK();}
- xywh {400 279 80 25}
- }
- Fl_Button {} {
- label Cancel
- callback {x_OnCancel();}
- xywh {315 279 80 25}
- }
- Fl_Group {} {open
- xywh {10 279 300 25} resizable
- } {}
- }
- }
- }
- decl {void x_OnOK(void);} {}
- decl {void x_OnBrowse(void);} {}
- decl {void x_OnCustomSize(void);} {}
- decl {void x_UpdateOptions(void);} {}
- }