📄 pgl_img_config.res
字号:
!* pgl_img_config.res resource file for image configuration!* 12-Jun-98 I-01-12 hsu $$1 Created!* 04-Oct-99 I-03-17 jhk $$2 Added i_scale, r_orientation!* 13-Oct-99 I-03-18 jhk $$3 Added margin, offset!* 20-Oct-99 I-03-19 jhk $$4 Changed words and added tofile!* 01-Nov-99 I-03-20 jhk $$5 Added print command, quantity, file output option.!* 16-Nov-99 I-03-21 imj $$6 Added choose printer option list for Win32!* 10-Dec-99 I-03-24 jhk $$7 Removed one of the plot option layouts!* changed layout names!* 03-Jan-00 I-03-26 jhk $$8 Added a checkbutton c_fittopaper!* 21-Aug-00 J-03-01 imj $$9 Added print preview panel.!* 29-Apr-04 K-03-01 AlexM $$10 Replace NakedWindow by PGLWindow !* 15-Oct-07 L-01-40 AAK $$11 OK & Cancel buttons were getting resized with!* the Dialog. !* 08-Dec-08 L-03-22 rmi $$12 Reposition buttons so that there is some space!* between the button and the bottom of the dlg(Dialog pgl_img_config (Components (PushButton OK) (PushButton Cancel) (SubLayout Layout2) (Separator Separator3) (SubLayout lay_output_options) (PushButton b_preview) (Tab tab_preview lay_preview_empty lay_preview_visible) ) (Resources (OK.Label "&OK") (OK.BottomOffset 4) (Cancel.Label "&Cancel") (Cancel.BottomOffset 4) (Separator3.TopOffset 0) (Separator3.BottomOffset 0) (Separator3.LeftOffset 0) (Separator3.RightOffset 0) (b_preview.Label "Preview >>>") (b_preview.BottomOffset 4) (tab_preview.Collapsable True) (.Label "Print") (.TopOffset 0) (.BottomOffset 0) (.LeftOffset 0) (.RightOffset 0) (.DefaultButton "OK") (.Layout (Grid (Rows 1) (Cols 1 1) (Grid (Rows 1 1 1 1) (Cols 1) Layout2 Separator3 lay_output_options (Grid (Rows 1) (Cols 1 1 1) OK Cancel b_preview ) ) tab_preview ) ) ))(Layout Layout2 (Components (SubLayout lay_output_format) (SubLayout lay_set_size) (SubLayout lay_quality) (SubLayout lay_plot) (SubLayout lay_copies) ) (Resources (.Label "Page") (.AttachLeft True) (.AttachRight True) (.AttachTop True) (.AttachBottom True) (.TopOffset 0) (.BottomOffset 0) (.LeftOffset 0) (.RightOffset 0) (.Layout (Grid (Rows 1 1) (Cols 1 1) (Grid (Rows 1 1) (Cols 1) lay_output_format lay_set_size ) lay_plot lay_quality lay_copies ) ) ))(Layout lay_output_format (Components (OptionMenu o_output_format) (Tab tab_choose_printer lay_choose_printer_empty lay_choose_printer) ) (Resources (o_output_format.MaxLen 8) (o_output_format.HelpText "Output format of plot ") (o_output_format.VisibleRows 8) (o_output_format.DefaultHelpText "Select output format") (tab_choose_printer.Collapsable True) (.Label "Output Format") (.Decorated True) (.AttachLeft True) (.AttachRight True) (.AttachTop True) (.AttachBottom True) (.TopOffset 4) (.BottomOffset 4) (.LeftOffset 4) (.RightOffset 4) (.Layout (Grid (Rows 1 1) (Cols 1) o_output_format tab_choose_printer ) ) ))(Layout lay_choose_printer_empty (Components (Label l_choose_printer_empty) ) (Resources (.Layout (Grid (Rows 1) (Cols 1) l_choose_printer_empty ) ) ))(Layout lay_choose_printer (Components (Label l_choose_printer) (OptionMenu o_choose_printer) (PushButton b_printer_properties) ) (Resources (l_choose_printer.Label "Choose printer ") (o_choose_printer.Sensitive False) (b_printer_properties.Label "Properties") (b_printer_properties.Alignment 2) (.Layout (Grid (Rows 1) (Cols 1 1 1) l_choose_printer o_choose_printer b_printer_properties ) ) ))(Layout lay_set_size (Components (OptionMenu o_size) (Label l_width) (Label l_height) (Label l_size) (SpinBox i_height) (SpinBox i_width) ) (Resources (o_size.Columns 12) (o_size.MaxLen 12) (o_size.HelpText "Choose a paper size") (o_size.VisibleRows 13) (o_size.MinColumns 12) (o_size.TopOffset 4) (o_size.BottomOffset 4) (o_size.LeftOffset 4) (o_size.RightOffset 4) (l_width.Label "Width") (l_width.AttachLeft True) (l_width.TopOffset 4) (l_width.BottomOffset 4) (l_width.LeftOffset 4) (l_width.RightOffset 4) (l_height.Label "Height") (l_height.AttachLeft True) (l_height.TopOffset 4) (l_height.BottomOffset 4) (l_height.LeftOffset 4) (l_height.RightOffset 4) (l_size.Label "Size") (l_size.AttachLeft True) (l_size.TopOffset 4) (l_size.BottomOffset 0) (l_size.LeftOffset 4) (l_size.RightOffset 0) (i_height.Columns 5) (i_height.AttachRight True) (i_height.AttachTop True) (i_height.MinDouble 0.000000) (i_height.InputType 3) (i_height.DoubleIncrement 0.500000) (i_height.DoubleFormat "%5.2lf") (i_width.Columns 5) (i_width.AttachRight True) (i_width.AttachTop True) (i_width.MinDouble 0.000000) (i_width.InputType 3) (i_width.DoubleIncrement 0.500000) (i_width.DoubleFormat "%5.2lf") (.Label "Paper") (.Decorated True) (.AttachLeft True) (.AttachRight True) (.AttachTop True) (.AttachBottom True) (.TopOffset 4) (.BottomOffset 4) (.LeftOffset 4) (.RightOffset 4) (.Layout (Grid (Rows 1 1 1) (Cols 0 1) l_size o_size l_height i_height l_width i_width ) ) ))(Layout lay_quality (Components (Label l_dpi) (Label l_depth) (OptionMenu o_dpi) (OptionMenu o_depth) ) (Resources (l_dpi.Label "Resolution") (l_dpi.AttachLeft True) (l_dpi.TopOffset 4) (l_dpi.BottomOffset 4) (l_dpi.LeftOffset 4) (l_dpi.RightOffset 4) (l_depth.Label "Image Depth") (l_depth.AttachLeft True) (l_depth.TopOffset 4) (l_depth.BottomOffset 4) (l_depth.LeftOffset 4) (l_depth.RightOffset 4) (o_dpi.Columns 5) (o_dpi.MaxLen 5) (o_dpi.VisibleRows 6) (o_dpi.MinColumns 5) (o_dpi.TopOffset 4) (o_dpi.BottomOffset 4) (o_dpi.LeftOffset 4) (o_dpi.RightOffset 4) (o_depth.Columns 5) (o_depth.MaxLen 5) (o_depth.MinColumns 5) (o_depth.TopOffset 4) (o_depth.BottomOffset 4) (o_depth.LeftOffset 4) (o_depth.RightOffset 4) (.Label "Quality") (.Decorated True) (.AttachLeft True) (.AttachRight True) (.AttachTop True) (.AttachBottom True) (.TopOffset 4) (.BottomOffset 4) (.LeftOffset 4) (.RightOffset 4) (.Layout (Grid (Rows 1 1) (Cols 1 0 1) l_dpi (Pos 1 3) o_dpi
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -