File: arbitrary.fl

package info (click to toggle)
imview 1.1.9c-7
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 4,076 kB
  • ctags: 4,780
  • sloc: cpp: 28,836; sh: 2,624; ansic: 1,818; makefile: 731; exp: 112; python: 88
file content (195 lines) | stat: -rw-r--r-- 4,973 bytes parent folder | download | duplicates (5)
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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
# data file for the Fltk User Interface Designer (fluid)
version 1.0107 
header_name {.H} 
code_name {.C}
Function {rawimage_panel(rawimage &ri)} {open
} {
  Fl_Window {ri.rawimageWindow} {
    label {Unknown image format} open selected
    xywh {450 222 564 284} type Single
    code0 {\#include "rawImage.hxx"} non_modal visible
  } {
    Fl_Group {} {
      label Dimensions open
      xywh {12 105 258 51} box ENGRAVED_FRAME
    } {
      Fl_Input {ri.xInput} {
        label {X:}
        user_data {&ri} user_data_type {rawimage*}
        callback xinput_cb
        xywh {40 117 60 30} type Int
        class Fl_Int_Input
      }
      Fl_Input {ri.yInput} {
        label {Y:}
        user_data {&ri} user_data_type {rawimage*}
        callback yinput_cb
        xywh {120 117 60 30} type Int
        class Fl_Int_Input
      }
      Fl_Input {ri.zInput} {
        label {Z:}
        user_data {&ri} user_data_type {rawimage*}
        callback zinput_cb
        xywh {200 117 60 30} type Int
        class Fl_Int_Input
      }
    }
    Fl_Group {} {
      label Bands open
      xywh {11 179 259 49} box ENGRAVED_FRAME
    } {
      Fl_Input {ri.nbBandsInput} {
        label {Nb:}
        user_data {&ri} user_data_type {rawimage*}
        callback nbband_cb
        xywh {40 190 60 28} type Int
        class Fl_Int_Input
      }
      Fl_Choice {ri.bandTypeChoice} {
        user_data {&ri} user_data_type {rawimage*}
        callback interleave_cb open
        xywh {121 189 62 28} down_box BORDER_BOX
      } {
        MenuItem {} {
          label BIL
          xywh {0 0 100 20}
        }
        MenuItem {} {
          label BIP
          xywh {0 0 100 20}
        }
        MenuItem {} {
          label BSQ
          xywh {0 0 100 20}
        }
      }
      Fl_Button {ri.assignButton} {
        label Assign
        xywh {200 189 59 28}
      }
    }
    Fl_Group {} {
      label Pixel open
      xywh {280 105 274 51} box ENGRAVED_FRAME
    } {
      Fl_Choice {ri.pixelTypeChoice} {
        label {Type:}
        user_data {&ri} user_data_type {rawimage*}
        callback pixeltype_cb open
        xywh {324 116 79 29} down_box BORDER_BOX
      } {
        MenuItem {} {
          label Uchar
          xywh {0 0 100 20}
        }
        MenuItem {} {
          label Short
          xywh {0 0 100 20}
        }
        MenuItem {} {
          label UShort
          xywh {0 0 100 20}
        }
        MenuItem {} {
          label Int
          xywh {0 0 100 20}
        }
        MenuItem {} {
          label UInt
          xywh {0 0 100 20}
        }
        MenuItem {} {
          label Long
          xywh {0 0 100 20}
        }
        MenuItem {} {
          label ULong
          xywh {0 0 100 20}
        }
        MenuItem {} {
          label Float
          xywh {0 0 100 20}
        }
        MenuItem {} {
          label Double
          xywh {0 0 100 20}
        }
      }
      Fl_Choice {ri.byteOrderChoice} {
        label {Endian:}
        user_data {&ri} user_data_type {rawimage*}
        callback byteorder_cb open
        xywh {460 116 87 29} down_box BORDER_BOX
      } {
        MenuItem {} {
          label Default
          xywh {0 0 100 20}
        }
        MenuItem {} {
          label {Big (Sparc)}
          xywh {0 0 100 20}
        }
        MenuItem {} {
          label {Little (x86)}
          xywh {0 0 100 20} value 1
        }
        MenuItem {} {
          label Guess
          xywh {0 0 100 20} value 1
        }
      }
    }
    Fl_Group {} {
      label {File and header} open
      xywh {281 179 273 52} box ENGRAVED_FRAME
    } {
      Fl_Input {ri.headerSizeInput} {
        label {Skip:}
        user_data {&ri} user_data_type {rawimage*}
        callback headersize_cb
        xywh {460 190 88 27} type Int align 132
        class Fl_Int_Input
      }
      Fl_Output {ri.filesizeOutput} {
        label {Size:}
        xywh {325 190 92 30}
      }
    }
    Fl_Button {ri.cancelButton} {
      label Cancel
      user_data {&ri} user_data_type {rawimage*}
      callback cancelbutton_cb
      xywh {382 242 75 30}
    }
    Fl_Button {ri.OKButton} {
      label Try
      user_data {&ri} user_data_type {rawimage*}
      callback okbutton_cb
      xywh {479 242 75 30}
    }
    Fl_Button {ri.helpButton} {
      label Help
      user_data {&ri} user_data_type {rawimage*}
      callback helpbutton_cb
      xywh {281 242 75 30}
    }
    Fl_Button {ri.computeHeaderButton} {
      label {Compute header}
      user_data {&ri} user_data_type {rawimage*}
      callback computeskip_cb
      xywh {11 242 119 30}
    }
    Fl_Output {ri.bannerOutput} {
      xywh {13 37 542 42} type Multiline box ENGRAVED_BOX color 93 selection_color 47 textfont 3
      code0 {o->value("Sample text\\nSample text");}
    }
    Fl_Box {ri.titleBox} {
      label {File format not recognized}
      xywh {18 5 536 28} labelfont 1 labelsize 16 labelcolor 1
    }
  }
} 

Function {make_window()} {open
} {}