foxguib 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. checksums.yaml +7 -0
  2. checksums.yaml.gz.sig +0 -0
  3. data/changelog.txt +128 -0
  4. data/doc/www/index.html +173 -0
  5. data/doc/www/upload.rb +9 -0
  6. data/examples/event_handler.rb +67 -0
  7. data/examples/event_handlers.rbin +0 -0
  8. data/examples/guib_testdialog.rb +31 -0
  9. data/examples/testdialog.rb +29 -0
  10. data/exe/foxguib +1 -0
  11. data/foxGUIb-debug.rb +37 -0
  12. data/foxGUIb.rb +88 -0
  13. data/foxGUIb_win32.rbw +1 -0
  14. data/foxguib.gemspec +26 -0
  15. data/license.txt +49 -0
  16. data/readme.txt +1 -0
  17. data/release_notes.txt +68 -0
  18. data/src/assert.rb +8 -0
  19. data/src/cfgman.rb +27 -0
  20. data/src/code-gen/code-generator.rb +171 -0
  21. data/src/code-gen/property-generators.rb +65 -0
  22. data/src/code-gen/widget-generator.rb +22 -0
  23. data/src/convert.rb +60 -0
  24. data/src/direct_widget_manipulation.rb +343 -0
  25. data/src/docman.rb +260 -0
  26. data/src/document.rb +405 -0
  27. data/src/event_categories.yaml +85 -0
  28. data/src/event_listener.rb +57 -0
  29. data/src/events.yaml +77 -0
  30. data/src/events_docu.yaml +228 -0
  31. data/src/get_events.rb +64 -0
  32. data/src/gui/ArrowButton.tga +0 -0
  33. data/src/gui/BoxMinus.tga +0 -0
  34. data/src/gui/BoxPlus.tga +0 -0
  35. data/src/gui/Button.tga +0 -0
  36. data/src/gui/CheckButton.tga +0 -0
  37. data/src/gui/ComboBox.tga +0 -0
  38. data/src/gui/Dial.tga +0 -0
  39. data/src/gui/GroupBox.tga +0 -0
  40. data/src/gui/HorizontalFrame.tga +0 -0
  41. data/src/gui/HorizontalSeparator.tga +0 -0
  42. data/src/gui/Label.tga +0 -0
  43. data/src/gui/MDIChild.tga +0 -0
  44. data/src/gui/MDIClient.tga +0 -0
  45. data/src/gui/Matrix.tga +0 -0
  46. data/src/gui/MenuCaption.tga +0 -0
  47. data/src/gui/MenuCascade.tga +0 -0
  48. data/src/gui/MenuCheck.tga +0 -0
  49. data/src/gui/MenuCommand.tga +0 -0
  50. data/src/gui/MenuPane.tga +0 -0
  51. data/src/gui/MenuRadio.tga +0 -0
  52. data/src/gui/MenuSeparator.tga +0 -0
  53. data/src/gui/MenuTitle.tga +0 -0
  54. data/src/gui/Menubar.tga +0 -0
  55. data/src/gui/Packer.tga +0 -0
  56. data/src/gui/ProgressBar.tga +0 -0
  57. data/src/gui/RadioButton.tga +0 -0
  58. data/src/gui/RadioMutex.tga +0 -0
  59. data/src/gui/ScrollWindow.tga +0 -0
  60. data/src/gui/Scrollbar.tga +0 -0
  61. data/src/gui/Shutter.tga +0 -0
  62. data/src/gui/ShutterItem.tga +0 -0
  63. data/src/gui/Slider.tga +0 -0
  64. data/src/gui/Spinner.tga +0 -0
  65. data/src/gui/Splitter.tga +0 -0
  66. data/src/gui/StatusBar.tga +0 -0
  67. data/src/gui/Statusline.tga +0 -0
  68. data/src/gui/Switcher.tga +0 -0
  69. data/src/gui/TabBar.tga +0 -0
  70. data/src/gui/TabBook.tga +0 -0
  71. data/src/gui/TabItem.tga +0 -0
  72. data/src/gui/Text.tga +0 -0
  73. data/src/gui/TextField.tga +0 -0
  74. data/src/gui/ToggleButton.tga +0 -0
  75. data/src/gui/Toolbar.tga +0 -0
  76. data/src/gui/VerticalFrame.tga +0 -0
  77. data/src/gui/VerticalSeparator.tga +0 -0
  78. data/src/gui/_guib_event_editor.rb +185 -0
  79. data/src/gui/_guib_event_editor.rbin +0 -0
  80. data/src/gui/_guib_genruby.rb +414 -0
  81. data/src/gui/_guib_genruby.rbin +0 -0
  82. data/src/gui/_guib_mainwin.rb +574 -0
  83. data/src/gui/_guib_mainwin.rbin +0 -0
  84. data/src/gui/event_editor.rb +180 -0
  85. data/src/gui/genruby.rb +155 -0
  86. data/src/gui/guib__console.rb +265 -0
  87. data/src/gui/mainwin.rb +71 -0
  88. data/src/gui/ruby_console.rb +263 -0
  89. data/src/gui/svg/Matrix.svg +87 -0
  90. data/src/gui/svg/MenuCheck.svg +135 -0
  91. data/src/gui/svg/MenuRadio.svg +130 -0
  92. data/src/gui/svg/RadioMutex.svg +119 -0
  93. data/src/gui/textview.rb +101 -0
  94. data/src/gui/textview.rbin +0 -0
  95. data/src/minitest.rb +60 -0
  96. data/src/prop-lists.rb +323 -0
  97. data/src/prop-types.rb +606 -0
  98. data/src/properties.rb +119 -0
  99. data/src/propman.rb +88 -0
  100. data/src/relink_mechanisms.rb +95 -0
  101. data/src/serialize.rb +167 -0
  102. data/src/state_machine.rb +73 -0
  103. data/src/version.rb +6 -0
  104. data/src/widget-lists.rb +118 -0
  105. data/src/widget-selector.rb +85 -0
  106. data/src/widgettree-controls.rb +183 -0
  107. data.tar.gz.sig +0 -0
  108. metadata +236 -0
  109. metadata.gz.sig +0 -0
@@ -0,0 +1,574 @@
1
+ # source generated by foxGUIb 0.5.1
2
+
3
+ class MainWin
4
+ def initialize(parent)
5
+ construct_widget_tree(parent)
6
+ init if respond_to? :init
7
+ end
8
+
9
+ def construct_widget_tree(parent)
10
+ @topwin =
11
+ FX::MainWindow.new(parent) { |w|
12
+ @MainWin = w
13
+ w.wdg_name = "MainWin"
14
+ w.width = 500
15
+ w.shown = true
16
+ w.y = 400
17
+ w.height = 400
18
+ w.decorations = 16646144
19
+ w.title = "foxGUIb v3.0"
20
+ w.x = 550
21
+ FX::VerticalFrame.new(@MainWin) { |w|
22
+ @container = w
23
+ w.wdg_name = "container"
24
+ w.backColor = Fox::FXRGBA(168, 168, 168, 255)
25
+ w.width = 500
26
+ w.height = 400
27
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
28
+ w.padBottom = 5
29
+ FX::MenuBar.new(@container) { |w|
30
+ @Menubar = w
31
+ w.wdg_name = "Menubar"
32
+ w.backColor = Fox::FXRGBA(183, 225, 255, 255)
33
+ w.width = 500
34
+ w.height = 23
35
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
36
+ FX::MenuTitle.new(@Menubar) { |w|
37
+ @main_mt = w
38
+ w.wdg_name = "main_mt"
39
+ w.text = "Main"
40
+ w.backColor = Fox::FXRGBA(183, 225, 255, 255)
41
+ w.width = 42
42
+ w.y = 2
43
+ w.height = 19
44
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
45
+ w.x = 3
46
+ FX::MenuPane.new(@main_mt) { |w|
47
+ @MenuPane = w
48
+ w.wdg_name = "MenuPane"
49
+ w.backColor = Fox::FXRGBA(230, 230, 230, 255)
50
+ w.y = 82
51
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
52
+ w.x = 117
53
+ FX::MenuCommand.new(@MenuPane) { |w|
54
+ @open_project = w
55
+ w.wdg_name = "open_project"
56
+ w.text = "Change working directory..."
57
+ w.backColor = Fox::FXRGBA(230, 230, 230, 255)
58
+ w.width = 0
59
+ w.y = 2
60
+ w.height = 20
61
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
62
+ w.x = 2
63
+ }
64
+ FX::MenuSeparator.new(@MenuPane) { |w|
65
+ @MenuSeparator = w
66
+ w.wdg_name = "MenuSeparator"
67
+ w.backColor = Fox::FXRGBA(230, 230, 230, 255)
68
+ w.width = 0
69
+ w.y = 22
70
+ w.height = 2
71
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
72
+ w.x = 2
73
+ }
74
+ FX::MenuCommand.new(@MenuPane) { |w|
75
+ @new_mainwin = w
76
+ w.wdg_name = "new_mainwin"
77
+ w.text = "New MainWindow"
78
+ w.backColor = Fox::FXRGBA(230, 230, 230, 255)
79
+ w.width = 0
80
+ w.y = 24
81
+ w.height = 20
82
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
83
+ w.x = 2
84
+ }
85
+ FX::MenuCommand.new(@MenuPane) { |w|
86
+ @new_dialog = w
87
+ w.wdg_name = "new_dialog"
88
+ w.text = "New DialogBox"
89
+ w.backColor = Fox::FXRGBA(230, 230, 230, 255)
90
+ w.width = 0
91
+ w.y = 44
92
+ w.height = 20
93
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
94
+ w.x = 2
95
+ }
96
+ FX::MenuCommand.new(@MenuPane) { |w|
97
+ @open_dialog = w
98
+ w.wdg_name = "open_dialog"
99
+ w.text = "Open Layout ..."
100
+ w.backColor = Fox::FXRGBA(230, 230, 230, 255)
101
+ w.width = 0
102
+ w.y = 64
103
+ w.height = 20
104
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
105
+ w.x = 2
106
+ }
107
+ FX::MenuCommand.new(@MenuPane) { |w|
108
+ @save_dialog = w
109
+ w.wdg_name = "save_dialog"
110
+ w.text = "Save Layout"
111
+ w.backColor = Fox::FXRGBA(230, 230, 230, 255)
112
+ w.width = 0
113
+ w.y = 84
114
+ w.height = 20
115
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
116
+ w.x = 2
117
+ }
118
+ FX::MenuCommand.new(@MenuPane) { |w|
119
+ @save_dialog_as = w
120
+ w.wdg_name = "save_dialog_as"
121
+ w.text = "Save Layout As ..."
122
+ w.backColor = Fox::FXRGBA(230, 230, 230, 255)
123
+ w.width = 0
124
+ w.y = 104
125
+ w.height = 20
126
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
127
+ w.x = 2
128
+ }
129
+ FX::MenuCommand.new(@MenuPane) { |w|
130
+ @close_dialog = w
131
+ w.wdg_name = "close_dialog"
132
+ w.text = "Close Layout"
133
+ w.backColor = Fox::FXRGBA(230, 230, 230, 255)
134
+ w.width = 0
135
+ w.y = 124
136
+ w.height = 20
137
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
138
+ w.x = 2
139
+ }
140
+ FX::MenuSeparator.new(@MenuPane) { |w|
141
+ @MenuSeparator2 = w
142
+ w.wdg_name = "MenuSeparator2"
143
+ w.backColor = Fox::FXRGBA(230, 230, 230, 255)
144
+ w.width = 0
145
+ w.y = 144
146
+ w.height = 2
147
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
148
+ w.x = 2
149
+ }
150
+ FX::MenuCommand.new(@MenuPane) { |w|
151
+ @quit = w
152
+ w.wdg_name = "quit"
153
+ w.text = "Exit"
154
+ w.backColor = Fox::FXRGBA(230, 230, 230, 255)
155
+ w.width = 0
156
+ w.y = 146
157
+ w.height = 20
158
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
159
+ w.x = 2
160
+ }
161
+ }
162
+ }
163
+ FX::MenuTitle.new(@Menubar) { |w|
164
+ @build_mt = w
165
+ w.wdg_name = "build_mt"
166
+ w.text = "CodeGenerator"
167
+ w.backColor = Fox::FXRGBA(183, 225, 255, 255)
168
+ w.width = 110
169
+ w.y = 2
170
+ w.height = 19
171
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
172
+ w.x = 49
173
+ FX::MenuPane.new(@build_mt) { |w|
174
+ @MenuPane2 = w
175
+ w.wdg_name = "MenuPane2"
176
+ w.backColor = Fox::FXRGBA(230, 230, 230, 255)
177
+ w.y = 82
178
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
179
+ w.x = 163
180
+ FX::MenuCommand.new(@MenuPane2) { |w|
181
+ @genruby = w
182
+ w.wdg_name = "genruby"
183
+ w.text = "Ruby Generator ..."
184
+ w.backColor = Fox::FXRGBA(230, 230, 230, 255)
185
+ w.width = 0
186
+ w.y = 2
187
+ w.height = 20
188
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
189
+ w.x = 2
190
+ }
191
+ FX::MenuSeparator.new(@MenuPane2) { |w|
192
+ @MenuSeparator21 = w
193
+ w.wdg_name = "MenuSeparator21"
194
+ w.backColor = Fox::FXRGBA(230, 230, 230, 255)
195
+ w.width = 0
196
+ w.y = 22
197
+ w.height = 2
198
+ w.shadowColor = Fox::FXRGBA(172, 168, 153, 255)
199
+ w.x = 2
200
+ }
201
+ FX::MenuCommand.new(@MenuPane2) { |w|
202
+ @gencpp = w
203
+ w.wdg_name = "gencpp"
204
+ w.text = "C++ Generator ..."
205
+ w.backColor = Fox::FXRGBA(230, 230, 230, 255)
206
+ w.enabled = false
207
+ w.width = 0
208
+ w.selBackColor = Fox::FXRGBA(49, 106, 197, 255)
209
+ w.y = 24
210
+ w.height = 20
211
+ w.shadowColor = Fox::FXRGBA(172, 168, 153, 255)
212
+ w.x = 2
213
+ }
214
+ FX::MenuSeparator.new(@MenuPane2) { |w|
215
+ @MenuSeparator22 = w
216
+ w.wdg_name = "MenuSeparator22"
217
+ w.backColor = Fox::FXRGBA(230, 230, 230, 255)
218
+ w.width = 0
219
+ w.y = 44
220
+ w.height = 2
221
+ w.shadowColor = Fox::FXRGBA(172, 168, 153, 255)
222
+ w.x = 2
223
+ }
224
+ FX::MenuCommand.new(@MenuPane2) { |w|
225
+ @genpy = w
226
+ w.wdg_name = "genpy"
227
+ w.text = "Python Generator ..."
228
+ w.backColor = Fox::FXRGBA(230, 230, 230, 255)
229
+ w.enabled = false
230
+ w.width = 0
231
+ w.selBackColor = Fox::FXRGBA(49, 106, 197, 255)
232
+ w.y = 46
233
+ w.height = 20
234
+ w.shadowColor = Fox::FXRGBA(172, 168, 153, 255)
235
+ w.x = 2
236
+ }
237
+ FX::MenuSeparator.new(@MenuPane2) { |w|
238
+ @MenuSeparator23 = w
239
+ w.wdg_name = "MenuSeparator23"
240
+ w.backColor = Fox::FXRGBA(230, 230, 230, 255)
241
+ w.width = 0
242
+ w.y = 66
243
+ w.height = 2
244
+ w.shadowColor = Fox::FXRGBA(172, 168, 153, 255)
245
+ w.x = 2
246
+ }
247
+ FX::MenuCommand.new(@MenuPane2) { |w|
248
+ @geneiffel = w
249
+ w.wdg_name = "geneiffel"
250
+ w.text = "Eiffel Generator ..."
251
+ w.backColor = Fox::FXRGBA(230, 230, 230, 255)
252
+ w.enabled = false
253
+ w.width = 0
254
+ w.selBackColor = Fox::FXRGBA(49, 106, 197, 255)
255
+ w.y = 68
256
+ w.height = 20
257
+ w.shadowColor = Fox::FXRGBA(172, 168, 153, 255)
258
+ w.x = 2
259
+ }
260
+ FX::MenuSeparator.new(@MenuPane2) { |w|
261
+ @MenuSeparator24 = w
262
+ w.wdg_name = "MenuSeparator24"
263
+ w.backColor = Fox::FXRGBA(230, 230, 230, 255)
264
+ w.width = 0
265
+ w.y = 88
266
+ w.height = 2
267
+ w.shadowColor = Fox::FXRGBA(172, 168, 153, 255)
268
+ w.x = 2
269
+ }
270
+ }
271
+ }
272
+ FX::MenuTitle.new(@Menubar) { |w|
273
+ @view_mt = w
274
+ w.wdg_name = "view_mt"
275
+ w.text = "View"
276
+ w.backColor = Fox::FXRGBA(183, 225, 255, 255)
277
+ w.width = 41
278
+ w.y = 2
279
+ w.height = 19
280
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
281
+ w.x = 163
282
+ FX::MenuPane.new(@view_mt) { |w|
283
+ @MenuPane38 = w
284
+ w.wdg_name = "MenuPane38"
285
+ w.backColor = Fox::FXRGBA(230, 230, 230, 255)
286
+ w.y = 82
287
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
288
+ w.x = 277
289
+ FX::MenuCommand.new(@MenuPane38) { |w|
290
+ @viewEventEditor = w
291
+ w.wdg_name = "viewEventEditor"
292
+ w.text = "Event Editor"
293
+ w.backColor = Fox::FXRGBA(230, 230, 230, 255)
294
+ w.width = 0
295
+ w.y = 2
296
+ w.height = 20
297
+ w.x = 2
298
+ }
299
+ FX::MenuCommand.new(@MenuPane38) { |w|
300
+ @viewDialog = w
301
+ w.wdg_name = "viewDialog"
302
+ w.text = "Unhide Layout"
303
+ w.backColor = Fox::FXRGBA(230, 230, 230, 255)
304
+ w.width = 0
305
+ w.y = 22
306
+ w.height = 20
307
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
308
+ w.x = 2
309
+ }
310
+ FX::MenuSeparator.new(@MenuPane38) { |w|
311
+ @MenuSeparator115 = w
312
+ w.wdg_name = "MenuSeparator115"
313
+ w.width = 0
314
+ w.y = 42
315
+ w.height = 2
316
+ w.x = 2
317
+ }
318
+ FX::MenuCommand.new(@MenuPane38) { |w|
319
+ @viewRubyConsole = w
320
+ w.wdg_name = "viewRubyConsole"
321
+ w.text = "Ruby Console"
322
+ w.backColor = Fox::FXRGBA(230, 230, 230, 255)
323
+ w.width = 0
324
+ w.y = 44
325
+ w.height = 20
326
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
327
+ w.x = 2
328
+ }
329
+ }
330
+ }
331
+ FX::MenuTitle.new(@Menubar) { |w|
332
+ @MenuTitle19 = w
333
+ w.wdg_name = "MenuTitle19"
334
+ w.text = "About"
335
+ w.backColor = Fox::FXRGBA(183, 225, 255, 255)
336
+ w.width = 50
337
+ w.y = 2
338
+ w.height = 19
339
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
340
+ w.x = 208
341
+ FX::MenuPane.new(@MenuTitle19) { |w|
342
+ @MenuPane19 = w
343
+ w.wdg_name = "MenuPane19"
344
+ w.backColor = Fox::FXRGBA(230, 230, 230, 255)
345
+ w.y = 82
346
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
347
+ w.x = 322
348
+ FX::MenuCommand.new(@MenuPane19) { |w|
349
+ @about = w
350
+ w.wdg_name = "about"
351
+ w.text = "About foxGUIb..."
352
+ w.backColor = Fox::FXRGBA(230, 230, 230, 255)
353
+ w.width = 0
354
+ w.y = 2
355
+ w.height = 20
356
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
357
+ w.x = 2
358
+ }
359
+ }
360
+ }
361
+ }
362
+ FX::HorizontalFrame.new(@container) { |w|
363
+ @head = w
364
+ w.wdg_name = "head"
365
+ w.backColor = Fox::FXRGBA(183, 225, 255, 255)
366
+ w.padLeft = 4
367
+ w.width = 500
368
+ w.padRight = 4
369
+ w.y = 23
370
+ w.height = 4
371
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
372
+ w.layoutHints = 1024
373
+ FX::TabBar.new(@head) { |w|
374
+ @project_TabBar = w
375
+ w.wdg_name = "project_TabBar"
376
+ w.backColor = Fox::FXRGBA(183, 225, 255, 255)
377
+ w.padLeft = 0
378
+ w.current = -1
379
+ w.width = 492
380
+ w.height = 4
381
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
382
+ w.padTop = 0
383
+ w.x = 4
384
+ }
385
+ }
386
+ FX::HorizontalSeparator.new(@container) { |w|
387
+ @HorizontalSeparator = w
388
+ w.wdg_name = "HorizontalSeparator"
389
+ w.backColor = Fox::FXRGBA(0, 0, 0, 255)
390
+ w.width = 500
391
+ w.separatorStyle = 131072
392
+ w.y = 27
393
+ w.height = 2
394
+ w.padTop = 1
395
+ }
396
+ FX::HorizontalFrame.new(@container) { |w|
397
+ @body = w
398
+ w.wdg_name = "body"
399
+ w.backColor = Fox::FXRGBA(255, 250, 240, 255)
400
+ w.width = 500
401
+ w.hSpacing = 1
402
+ w.y = 29
403
+ w.height = 366
404
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
405
+ FX::VerticalFrame.new(@body) { |w|
406
+ @tree_Frame = w
407
+ w.wdg_name = "tree_Frame"
408
+ w.width = 18
409
+ w.height = 366
410
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
411
+ FX::Label.new(@tree_Frame) { |w|
412
+ @treeheader_L = w
413
+ w.wdg_name = "treeheader_L"
414
+ w.text = "Widget Tree: (LMB: select, RMB: popup)"
415
+ w.backColor = Fox::FXRGBA(168, 168, 168, 255)
416
+ w.padLeft = 5
417
+ w.width = 18
418
+ w.height = 19
419
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
420
+ w.layoutHints = 1024
421
+ w.justify = 32768
422
+ }
423
+ FX::Switcher.new(@tree_Frame) { |w|
424
+ @Switcher = w
425
+ w.wdg_name = "Switcher"
426
+ w.backColor = Fox::FXRGBA(230, 230, 230, 255)
427
+ w.padLeft = 0
428
+ w.width = 18
429
+ w.padRight = 0
430
+ w.y = 19
431
+ w.height = 347
432
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
433
+ w.padBottom = 0
434
+ w.padTop = 0
435
+ w.layoutHints = 3072
436
+ }
437
+ }
438
+ FX::VerticalFrame.new(@body) { |w|
439
+ @wdg_Container = w
440
+ w.wdg_name = "wdg_Container"
441
+ w.width = 299
442
+ w.height = 366
443
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
444
+ w.layoutHints = 2048
445
+ w.x = 19
446
+ FX::Label.new(@wdg_Container) { |w|
447
+ @wdg_header_L = w
448
+ w.wdg_name = "wdg_header_L"
449
+ w.text = "Widget Selector: (LMB: add after, RMB: popup)"
450
+ w.backColor = Fox::FXRGBA(168, 168, 168, 255)
451
+ w.width = 299
452
+ w.height = 19
453
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
454
+ w.layoutHints = 1024
455
+ w.justify = 32768
456
+ }
457
+ FX::ScrollWindow.new(@wdg_Container) { |w|
458
+ @ScrollWindow = w
459
+ w.wdg_name = "ScrollWindow"
460
+ w.width = 299
461
+ w.y = 19
462
+ w.height = 347
463
+ w.scrollStyle = 229376
464
+ FX::VerticalFrame.new(@ScrollWindow) { |w|
465
+ @wdg_Frame = w
466
+ w.wdg_name = "wdg_Frame"
467
+ w.backColor = Fox::FXRGBA(230, 230, 230, 255)
468
+ w.width = 284
469
+ w.height = 347
470
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
471
+ }
472
+ }
473
+ }
474
+ FX::VerticalFrame.new(@body) { |w|
475
+ @prop_Container = w
476
+ w.wdg_name = "prop_Container"
477
+ w.width = 181
478
+ w.height = 366
479
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
480
+ w.layoutHints = 2048
481
+ w.x = 319
482
+ FX::Label.new(@prop_Container) { |w|
483
+ @prop_header_L = w
484
+ w.wdg_name = "prop_header_L"
485
+ w.text = "Properties: "
486
+ w.backColor = Fox::FXRGBA(168, 168, 168, 255)
487
+ w.width = 181
488
+ w.height = 19
489
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
490
+ w.layoutHints = 1024
491
+ w.justify = 32768
492
+ }
493
+ FX::ScrollWindow.new(@prop_Container) { |w|
494
+ @ScrollWindow2 = w
495
+ w.wdg_name = "ScrollWindow2"
496
+ w.width = 181
497
+ w.y = 19
498
+ w.height = 347
499
+ w.scrollStyle = 229376
500
+ FX::VerticalFrame.new(@ScrollWindow2) { |w|
501
+ @prop_Frame = w
502
+ w.wdg_name = "prop_Frame"
503
+ w.backColor = Fox::FXRGBA(230, 230, 230, 255)
504
+ w.width = 166
505
+ w.height = 347
506
+ w.shadowColor = Fox::FXRGBA(128, 128, 128, 255)
507
+ }
508
+ }
509
+ }
510
+ }
511
+ }
512
+ }
513
+ end
514
+ attr_reader :topwin
515
+ attr_reader :MainWin
516
+ attr_reader :container
517
+ attr_reader :Menubar
518
+ attr_reader :main_mt
519
+ attr_reader :MenuPane
520
+ attr_reader :open_project
521
+ attr_reader :MenuSeparator
522
+ attr_reader :new_mainwin
523
+ attr_reader :new_dialog
524
+ attr_reader :open_dialog
525
+ attr_reader :save_dialog
526
+ attr_reader :save_dialog_as
527
+ attr_reader :close_dialog
528
+ attr_reader :MenuSeparator2
529
+ attr_reader :quit
530
+ attr_reader :build_mt
531
+ attr_reader :MenuPane2
532
+ attr_reader :genruby
533
+ attr_reader :MenuSeparator21
534
+ attr_reader :gencpp
535
+ attr_reader :MenuSeparator22
536
+ attr_reader :genpy
537
+ attr_reader :MenuSeparator23
538
+ attr_reader :geneiffel
539
+ attr_reader :MenuSeparator24
540
+ attr_reader :view_mt
541
+ attr_reader :MenuPane38
542
+ attr_reader :viewEventEditor
543
+ attr_reader :viewDialog
544
+ attr_reader :MenuSeparator115
545
+ attr_reader :viewRubyConsole
546
+ attr_reader :MenuTitle19
547
+ attr_reader :MenuPane19
548
+ attr_reader :about
549
+ attr_reader :head
550
+ attr_reader :project_TabBar
551
+ attr_reader :HorizontalSeparator
552
+ attr_reader :body
553
+ attr_reader :tree_Frame
554
+ attr_reader :treeheader_L
555
+ attr_reader :Switcher
556
+ attr_reader :wdg_Container
557
+ attr_reader :wdg_header_L
558
+ attr_reader :ScrollWindow
559
+ attr_reader :wdg_Frame
560
+ attr_reader :prop_Container
561
+ attr_reader :prop_header_L
562
+ attr_reader :ScrollWindow2
563
+ attr_reader :prop_Frame
564
+ end
565
+
566
+ # unit test
567
+ if __FILE__ == $0
568
+ require "libGUIb14"
569
+ app = FX::App.new
570
+ w = MainWin.new app
571
+ w.topwin.show(Fox::PLACEMENT_SCREEN)
572
+ app.create
573
+ app.run
574
+ end
Binary file