print_dlg.fl

来自「ncbi源码」· FL 代码 · 共 109 行

FL
109
字号
# data file for the Fltk User Interface Designer (fluid)version 1.0105 do_not_include_H_from_C header_name {../../../include/gui/print/print_dlg_.hpp} code_name {print_dlg_.cpp}decl {/* $Id: print_dlg.fl,v 1000.1 2004/06/01 21:04:05 gouriano Exp $ */} {public} decl {/* $Id: print_dlg.fl,v 1000.1 2004/06/01 21:04:05 gouriano Exp $ */} {} decl {\#include <ncbi_pch.hpp>} {} class NCBI_GUIUTILS_EXPORT CPrintDlg {: {public CDialog}} {  decl {CPrintDlg();} {public  }  decl {CPrintDlg(const CPrintOptions& options);} {public  }  decl {void Init(void);} {public  }  decl {const CPrintOptions& GetOptions(void) const;} {public  }  Function {x_Create(void)} {open  } {    Fl_Window {} {      label Print open      private xywh {504 158 465 216} type Double visible    } {      Fl_Group {} {        label {Output Location} open        xywh {5 10 455 105} box ENGRAVED_FRAME labelsize 12 align 21      } {        Fl_Round_Button m_LocationPrint {          label Printer          callback {x_OnSelectPrint();}          private xywh {20 40 65 25} type Radio down_box ROUND_DOWN_BOX labelsize 12        }        Fl_Round_Button m_LocationFile {          label File          callback {x_OnSelectFile();}          private xywh {20 80 65 25} type Radio down_box ROUND_DOWN_BOX value 1 labelsize 12        }        Fl_File_Input m_Filename {          private xywh {90 70 280 35} labelsize 12        }        Fl_Button {} {          label {Browse...}          callback {x_OnBrowse();}          xywh {375 80 75 25} labelsize 12        }      }      Fl_Group {} {        label {Output Format} open        xywh {5 120 455 60} box ENGRAVED_FRAME labelsize 12 align 21      } {        Fl_Choice m_Format {open          private xywh {90 145 280 25} down_box BORDER_BOX labelsize 12 when 3 resizable        } {          menuitem m_Pdf {            label {Portable Document Format (PDF)}            user_data m_Pdf user_data_type {Fl_Menu_Item*}            private xywh {15 15 100 20} labelsize 12          }          menuitem m_Postscript {            label Postscript            user_data m_Postscript user_data_type {Fl_Menu_Item*}            private xywh {5 5 100 20} labelsize 12 deactivate          }          menuitem m_Svg {            label {Scalable Vector Graphic (SVG)}            user_data m_Svg user_data_type {Fl_Menu_Item*}            private xywh {25 25 100 20} labelsize 12 deactivate          }        }      }      Fl_Group Buttons {open        xywh {5 185 455 25} labelsize 12      } {        Fl_Return_Button {} {          label OK          callback {x_OnOK();}          xywh {295 185 80 25}        }        Fl_Button {} {          label Cancel          callback {x_OnCancel();}          xywh {380 185 80 25}        }        Fl_Button {} {          label Options          callback {x_OnOptions();}          xywh {5 185 80 25}        }        Fl_Group {} {open          xywh {85 185 210 25} resizable        } {}      }    }  }  decl {CPrintOptions m_Options;} {}  decl {void x_OnOK(void);} {}  decl {void x_OnBrowse(void);} {}  decl {void x_OnSelectFormat(const Fl_Menu_Item* item);} {}  decl {void x_OnSelectPrint(void);} {}  decl {void x_OnSelectFile(void);} {}  decl {void x_OnOptions(void);} {}  decl {void x_UpdateOptions(void);} {}} 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?