1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154
|
# data file for the Fltk User Interface Designer (fluid)
version 1.00
header_name {.h}
code_name {.cxx}
gridx 10
gridy 10
snap 3
Function {printspect_panel(printspect &s)} {open
} {
Fl_Window {s.prefWindow} {
label {Print one-dimensional data} open selected
xywh {541 300 430 330} type Single box ENGRAVED_BOX
code0 {\#include "printSpect.hxx"} modal visible
} {
Fl_Box {} {
xywh {0 164 430 106} box ENGRAVED_BOX
}
Fl_Group {s.printtypeGroup} {
label {Print to:} open
xywh {150 10 260 30} labelfont 7 align 4
} {
Fl_Check_Button {s.printerCheck} {
label Printer
user_data {&s} user_data_type {printspect*}
callback printercheck_cb
xywh {150 10 100 30} type Radio down_box DIAMOND_DOWN_BOX selection_color 17
}
Fl_Check_Button {s.fileCheck} {
label File
user_data {&s} user_data_type {printspect*}
callback filecheck_cb
xywh {250 10 100 30} type Radio down_box DIAMOND_DOWN_BOX selection_color 17
}
}
Fl_Group {s.inputGroup} {open
xywh {150 40 265 110}
} {
Fl_Input {s.commandInput} {
label {Print command:}
user_data {&s} user_data_type {printspect*}
callback commandInput_cb
xywh {150 40 260 30} color 43 selection_color 43 labelfont 7 align 132 textfont 4 textsize 12
}
Fl_Input {s.filenameInput} {
label {File name:}
user_data {&s} user_data_type {printspect*}
callback filenameInput_cb
xywh {150 80 190 30} selection_color 43 labelfont 7 labelcolor 31 align 132 textfont 4 textsize 12 textcolor 31 deactivate
}
Fl_Button {s.browseButton} {
label {Browse...}
user_data {&s} user_data_type {printspect*}
callback browsebutton_cb
xywh {340 80 70 30} labelcolor 31 deactivate
}
Fl_Input {s.titleInput} {
label {Page title:}
user_data {&s} user_data_type {printspect*}
callback titleInput_cb
xywh {150 120 260 30} color 43 selection_color 43 labelfont 7 align 132 textfont 4 textsize 12
}
}
Fl_Group {s.orientationGroup} {
label {Orientation:} open
xywh {150 165 200 30} labelfont 7 align 4
} {
Fl_Check_Button {s.portraitCheck} {
label Portrait
user_data {&s} user_data_type {printspect*}
callback portraitcheck_cb
xywh {150 165 100 30} type Radio down_box DIAMOND_DOWN_BOX selection_color 17
}
Fl_Check_Button {s.landscapeCheck} {
label Landscape
user_data {&s} user_data_type {printspect*}
callback landscapecheck_cb
xywh {250 165 100 30} type Radio down_box DIAMOND_DOWN_BOX selection_color 17
}
}
Fl_Group {s.papersizeGroup} {
label {Paper size:} open
xywh {150 195 268 30} labelfont 7 align 4
} {
Fl_Check_Button {s.A4Check} {
label A4
user_data {&s} user_data_type {printspect*}
callback a4check_cb
xywh {150 195 100 30} type Radio down_box DIAMOND_DOWN_BOX selection_color 17
}
Fl_Check_Button {s.letterCheck} {
label Letter
user_data {&s} user_data_type {printspect*}
callback lettercheck_cb
xywh {250 195 100 30} type Radio down_box DIAMOND_DOWN_BOX selection_color 17
}
Fl_Check_Button {s.A3Check} {
label A3
user_data {&s} user_data_type {printspect*}
callback a3check_cb
xywh {350 195 50 30} type Radio down_box DIAMOND_DOWN_BOX selection_color 17
}
}
Fl_Button {s.CancelButton} {
label Cancel
user_data {&s} user_data_type {printspect*}
callback cancelbutton_cb
xywh {30 287 80 30}
code0 {o->shortcut("^[");}
}
Fl_Input {s.nbcopiesInput} {
label {Nb copies:}
user_data {&s} user_data_type {printspect*}
callback nbcopies_cb
xywh {150 230 40 30} type Int color 43 selection_color 43 labelfont 7 textfont 4 textsize 12
}
Fl_Group {s.joinGroup} {
label {Join:} open
xywh {250 230 170 30} labelfont 7 align 4
} {
Fl_Check_Button {s.linesCheck} {
label Lines
user_data {&s} user_data_type {printspect*}
callback linescheck_cb
xywh {250 230 80 30} type Radio down_box DIAMOND_DOWN_BOX selection_color 17
}
Fl_Check_Button {s.splinesCheck} {
label Splines
user_data {&s} user_data_type {printspect*}
callback splinescheck_cb
xywh {350 230 70 30} type Radio down_box DIAMOND_DOWN_BOX selection_color 17
}
}
Fl_Group {} {open
xywh {290 284 110 46}
} {
Fl_Box {} {
xywh {310 284 88 36} box THIN_DOWN_FRAME
}
Fl_Return_Button {s.OKButton} {
label Print
user_data {&s} user_data_type {printspect*}
callback okbutton_cb
xywh {314 287 80 30} hotspot
}
}
Fl_Button {s.previewButton} {
label Preview
user_data {&s} user_data_type {printspect*}
callback previewbutton_cb
xywh {210 287 80 30} type Toggle down_box DOWN_BOX when 1
code0 {o->shortcut("p");}
}
}
}
|