- # data file for the Fltk User Interface Designer (fluid)
- version 1.0105
- do_not_include_H_from_C
- header_name {print_options_dlg_.hpp}
- code_name {print_options_dlg_.cpp}
- decl {/* $Id: print_options_dlg.fl,v 1000.1 2004/06/01 21:04:17 gouriano Exp $ */} {public
- }
- decl {/* $Id: print_options_dlg.fl,v 1000.1 2004/06/01 21:04:17 gouriano Exp $ */} {}
- decl {#include <ncbi_pch.hpp>} {}
- class NCBI_GUIUTILS_EXPORT CPrintOptionsDlg {open : {public CDialog}
- } {
- decl {CPrintOptionsDlg(const CPrintOptions& opts);} {public
- }
- decl {void Init(const CPrintOptions& opts);} {public
- }
- decl {CPrintOptions GetOptions(void);} {public
- }
- decl {CPrintOptions m_Options;} {}
- decl {const CMedia* m_Media;} {}
- decl {Fl_Text_Buffer m_FooterBuf;} {}
- decl {Fl_Text_Buffer m_HeaderBuf;} {}
- Function {x_Create(void)} {private
- } {
- Fl_Window {} {
- label {Print Options}
- private xywh {704 192 510 350} type Double visible
- } {
- Fl_Tabs {} {
- xywh {5 10 500 305} box UP_BOX labelsize 12 align 0
- } {
- Fl_Group {} {
- label Page open
- xywh {5 35 500 280} labelsize 12
- } {
- Fl_Group {} {
- label Orientation open
- xywh {15 45 480 80} box ENGRAVED_FRAME labelsize 12 align 21
- } {
- Fl_Round_Button m_Portrait {
- label Portrait
- private xywh {45 75 67 25} type Radio down_box ROUND_DOWN_BOX labelsize 12
- }
- Fl_Round_Button m_Landscape {
- label Landscape
- private xywh {230 75 97 25} type Radio down_box ROUND_DOWN_BOX value 1 labelsize 12
- }
- Fl_Box {} {
- xywh {120 60 40 55} box BORDER_FRAME color 0 labelsize 12
- }
- Fl_Box {} {
- xywh {335 67 55 40} box BORDER_FRAME color 0 labelsize 12
- }
- }
- Fl_Group {} {
- label Scaling open
- xywh {15 130 480 65} box ENGRAVED_BOX labelsize 12 align 21
- } {
- Fl_Counter m_PagesWide {
- private xywh {40 154 75 25} type Simple labelsize 12 minimum 1 maximum 100 step 1 value 1 textsize 12
- }
- Fl_Box {} {
- label {page(s) wide by}
- private xywh {115 154 115 25} labelsize 12 align 20
- }
- Fl_Counter m_PagesTall {
- private xywh {230 154 75 25} type Simple labelsize 12 minimum 1 maximum 100 step 1 value 1 textsize 12
- }
- Fl_Box {} {
- label tall
- private xywh {305 154 30 25} labelsize 12 align 20
- }
- }
- Fl_Group {} {
- label Paper open
- xywh {15 200 480 55} box ENGRAVED_BOX labelsize 12 align 21
- } {
- Fl_Choice m_PaperSize {open
- private xywh {40 220 145 25} down_box BORDER_BOX labelsize 12
- } {
- menuitem m_Letter {
- label Letter
- user_data m_Letter user_data_type {Fl_Menu_Item*}
- callback {x_OnSelectPaper(v);}
- private xywh {5 5 100 20} labelsize 12
- }
- menuitem m_Legal {
- label Legal
- user_data m_Legal user_data_type {Fl_Menu_Item*}
- callback {x_OnSelectPaper(v);}
- private xywh {15 15 100 20} labelsize 12
- }
- menuitem m_Ledger {
- label Ledger
- user_data m_Ledger user_data_type {Fl_Menu_Item*}
- callback {x_OnSelectPaper(v);}
- private xywh {25 25 100 20} labelsize 12
- }
- menuitem m_A4 {
- label A4
- user_data m_A4 user_data_type {Fl_Menu_Item*}
- callback {x_OnSelectPaper(v);}
- private xywh {15 15 100 20} labelsize 12
- }
- menuitem m_A3 {
- label A3
- user_data m_A3 user_data_type {Fl_Menu_Item*}
- callback {x_OnSelectPaper(v);}
- private xywh {25 25 100 20} labelsize 12
- }
- menuitem m_A2 {
- label A2
- user_data m_A2 user_data_type {Fl_Menu_Item*}
- callback {x_OnSelectPaper(v);}
- private xywh {35 35 100 20} labelsize 12
- }
- menuitem m_A1 {
- label A1
- user_data m_A1 user_data_type {Fl_Menu_Item*}
- callback {x_OnSelectPaper(v);}
- private xywh {45 45 100 20} labelsize 12
- }
- menuitem m_A0 {
- label A0
- user_data m_A0 user_data_type {Fl_Menu_Item*}
- callback {x_OnSelectPaper(v);}
- private xywh {55 55 100 20} labelsize 12
- }
- }
- Fl_Output m_PaperSizeDisplay {
- private xywh {200 220 173 25} box NO_BOX color 49 labelsize 12 textsize 12 textcolor 40
- }
- }
- Fl_Check_Button m_PrintPageNumbers {
- label {print page numbers}
- private xywh {40 265 145 25} down_box DOWN_BOX value 1 labelsize 12
- }
- }
- Fl_Group {} {
- label Margins open
- xywh {5 35 500 280} labelsize 12 hide
- } {
- Fl_Box {} {
- label Page
- xywh {110 95 105 135} box BORDER_FRAME color 0 labelsize 12 align 16
- }
- Fl_Counter m_HeaderOffset {
- label Header
- private xywh {220 65 60 25} type Simple labelsize 12 align 1 minimum 0 maximum 100 step 0.05
- }
- Fl_Counter m_MarginTop {
- label Top
- private xywh {135 65 60 25} type Simple labelsize 12 align 1 minimum 0 maximum 100 step 0.05
- }
- Fl_Counter m_MarginBottom {
- label Bottom
- private xywh {135 235 58 25} type Simple labelsize 12 minimum 0 maximum 100 step 0.05
- }
- Fl_Counter m_MarginLeft {
- label Left
- private xywh {45 150 60 25} type Simple labelsize 12 align 4 minimum 0 maximum 100 step 0.05
- }
- Fl_Counter m_MarginRight {
- label Right
- private xywh {220 155 60 25} type Simple labelsize 12 align 8 minimum 0 maximum 100 step 0.05
- }
- Fl_Counter m_FooterOffset {
- label Footer
- private xywh {220 235 60 25} type Simple labelsize 12 minimum 0 maximum 100 step 0.05
- }
- }
- Fl_Group {} {
- label {Header/Footer}
- xywh {5 35 500 280} labelsize 12 hide
- } {
- Fl_Input m_Title {
- label Title
- private xywh {20 65 470 25} labelsize 12 align 5
- }
- Fl_Text_Editor m_Header {
- label Header
- private xywh {20 115 470 80} box DOWN_BOX labelsize 12 align 5 textsize 12
- }
- Fl_Text_Editor m_Footer {
- label Footer
- private xywh {20 220 470 80} box DOWN_BOX labelsize 12 align 5 textsize 12
- }
- }
- }
- Fl_Group {} {open
- xywh {5 320 500 25} labelsize 12
- } {
- Fl_Return_Button {} {
- label OK
- callback {x_OnOK();}
- xywh {425 320 80 25} labelsize 12
- }
- Fl_Button {} {
- label Cancel
- callback {x_OnCancel();}
- xywh {340 320 80 25} labelsize 12
- }
- Fl_Group {} {open
- xywh {15 320 325 25} labelsize 12 resizable
- } {}
- }
- }
- }
- decl {void x_OnOK(void);} {}
- decl {void x_OnBrowse(void);} {}
- decl {void x_OnSelectPaper(const Fl_Menu_Item* item);} {}
- decl {void x_SelectPaper(const string& paper);} {}
- decl {void x_UpdateOptions(void);} {}
- }