fxruby 1.6.22.pre2-x86-mingw32 → 1.6.22.pre3-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (477) hide show
  1. data/History.txt +1 -1
  2. data/README.txt +10 -10
  3. data/Rakefile +3 -2
  4. data/doap.rdf +2 -2
  5. data/examples/babelfish.rb +2 -2
  6. data/examples/bounce.rb +20 -20
  7. data/examples/charts.rb +2 -2
  8. data/examples/custom_table_item.rb +3 -3
  9. data/examples/datatarget.rb +2 -2
  10. data/examples/dctest.rb +51 -51
  11. data/examples/dialog.rb +14 -14
  12. data/examples/dilbert.rb +4 -4
  13. data/examples/dirlist.rb +6 -6
  14. data/examples/dragdrop.rb +7 -7
  15. data/examples/dragsource.rb +6 -6
  16. data/examples/dropsite.rb +5 -5
  17. data/examples/foursplit.rb +6 -6
  18. data/examples/gltest.rb +40 -40
  19. data/examples/glviewer.rb +16 -16
  20. data/examples/groupbox.rb +41 -41
  21. data/examples/header.rb +6 -6
  22. data/examples/hello2.rb +2 -2
  23. data/examples/iconlist.rb +10 -10
  24. data/examples/image.rb +26 -26
  25. data/examples/imageviewer.rb +31 -31
  26. data/examples/inputs.rb +2 -2
  27. data/examples/mditest.rb +12 -12
  28. data/examples/pig.rb +8 -8
  29. data/examples/raabrowser.rb +5 -5
  30. data/examples/ratio.rb +9 -9
  31. data/examples/rulerview.rb +2 -2
  32. data/examples/scintilla-test.rb +6 -6
  33. data/examples/scribble-orig.rb +3 -3
  34. data/examples/scribble.rb +3 -3
  35. data/examples/shutter.rb +6 -6
  36. data/examples/splitter.rb +15 -15
  37. data/examples/styledtext.rb +10 -10
  38. data/examples/tabbook.rb +14 -14
  39. data/examples/table.rb +21 -21
  40. data/examples/textedit/helpwindow.rb +6 -6
  41. data/examples/textedit/textedit.rb +72 -72
  42. data/ext/fox16/FXRuby.cpp +48 -5
  43. data/ext/fox16/core_wrap.cpp +1 -1
  44. data/ext/fox16/iconlist_wrap.cpp +1 -1
  45. data/ext/fox16/icons_wrap.cpp +1 -1
  46. data/ext/fox16/include/FXMemoryBuffer.h +3 -3
  47. data/ext/fox16/include/FXRbApp.h +1 -1
  48. data/ext/fox16/include/FXRbBitmap.h +1 -1
  49. data/ext/fox16/include/FXRbBitmapFrame.h +2 -2
  50. data/ext/fox16/include/FXRbBitmapVirtuals.h +2 -2
  51. data/ext/fox16/include/FXRbDCPrint.h +1 -1
  52. data/ext/fox16/include/FXRbDCVirtuals.h +24 -24
  53. data/ext/fox16/include/FXRbDCWindow.h +1 -1
  54. data/ext/fox16/include/FXRbDockBar.h +1 -1
  55. data/ext/fox16/include/FXRbFileDict.h +2 -2
  56. data/ext/fox16/include/FXRbFoldingList.h +1 -1
  57. data/ext/fox16/include/FXRbFontVirtuals.h +9 -9
  58. data/ext/fox16/include/FXRbGLViewerVirtuals.h +2 -2
  59. data/ext/fox16/include/FXRbIconItemVirtuals.h +8 -8
  60. data/ext/fox16/include/FXRbIconListVirtuals.h +7 -7
  61. data/ext/fox16/include/FXRbIconSourceVirtuals.h +1 -1
  62. data/ext/fox16/include/FXRbImageFrame.h +2 -2
  63. data/ext/fox16/include/FXRbImageVirtuals.h +1 -1
  64. data/ext/fox16/include/FXRbListVirtuals.h +4 -4
  65. data/ext/fox16/include/FXRbMenuBar.h +1 -1
  66. data/ext/fox16/include/FXRbPopupVirtuals.h +1 -1
  67. data/ext/fox16/include/FXRbRecentFiles.h +1 -1
  68. data/ext/fox16/include/FXRbRuler.h +3 -3
  69. data/ext/fox16/include/FXRbRulerView.h +3 -3
  70. data/ext/fox16/include/FXRbScintilla.h +1 -1
  71. data/ext/fox16/include/FXRbSeparator.h +2 -2
  72. data/ext/fox16/include/FXRbTableItemVirtuals.h +8 -8
  73. data/ext/fox16/include/FXRbTableVirtuals.h +13 -13
  74. data/ext/fox16/include/FXRbText.h +2 -2
  75. data/ext/fox16/include/FXRbTextVirtuals.h +3 -3
  76. data/ext/fox16/include/FXRbToolBar.h +1 -1
  77. data/ext/fox16/include/FXRbToolBarGrip.h +1 -1
  78. data/ext/fox16/include/FXRbToolBarTab.h +1 -1
  79. data/ext/fox16/include/FXRbTreeList.h +1 -1
  80. data/ext/fox16/include/FXRbTreeListVirtuals.h +4 -4
  81. data/ext/fox16/include/FXRbWindow.h +3 -3
  82. data/ext/fox16/include/FXRbWizard.h +2 -2
  83. data/ext/fox16/include/FXRuby.h +8 -4
  84. data/ext/fox16/librb.c +12 -12
  85. data/ext/fox16/list_wrap.cpp +1 -1
  86. data/ext/fox16/make_impl.rb +5 -5
  87. data/ext/fox16/markfuncs.cpp +228 -220
  88. data/ext/fox16/scintilla_wrap.cpp +1 -1
  89. data/ext/fox16/treelist_wrap.cpp +4 -4
  90. data/ext/fox16/ui_wrap.cpp +2 -2
  91. data/ext/fox16/unregisterOwnedObjects.cpp +3 -3
  92. data/lib/1.8/fox16.so +0 -0
  93. data/lib/1.9/fox16.so +0 -0
  94. data/lib/fox16/accel_table.rb +1 -1
  95. data/lib/fox16/aliases.rb +3 -3
  96. data/lib/fox16/calendar.rb +21 -21
  97. data/lib/fox16/chore.rb +2 -2
  98. data/lib/fox16/core.rb +70 -70
  99. data/lib/fox16/dict.rb +1 -1
  100. data/lib/fox16/execute_nonmodal.rb +1 -1
  101. data/lib/fox16/glgroup.rb +16 -16
  102. data/lib/fox16/glshapes.rb +26 -26
  103. data/lib/fox16/input.rb +4 -4
  104. data/lib/fox16/irb.rb +2 -2
  105. data/lib/fox16/iterators.rb +2 -2
  106. data/lib/fox16/keys.rb +34 -34
  107. data/lib/fox16/kwargs.rb +927 -927
  108. data/lib/fox16/pseudokeyboard.rb +1 -1
  109. data/lib/fox16/pseudomouse.rb +1 -1
  110. data/lib/fox16/responder2.rb +4 -4
  111. data/lib/fox16/scintilla.rb +2 -2
  112. data/lib/fox16/signal.rb +4 -4
  113. data/lib/fox16/splashscreen.rb +3 -3
  114. data/lib/fox16/timeout.rb +3 -3
  115. data/lib/fox16/undolist.rb +9 -9
  116. data/lib/fox16/version.rb +1 -1
  117. data/rdoc-sources/FX4Splitter.rb +9 -9
  118. data/rdoc-sources/FX7Segment.rb +9 -9
  119. data/rdoc-sources/FXAccelTable.rb +1 -1
  120. data/rdoc-sources/FXApp.rb +50 -50
  121. data/rdoc-sources/FXBMPIcon.rb +3 -3
  122. data/rdoc-sources/FXBMPImage.rb +2 -2
  123. data/rdoc-sources/FXBitmap.rb +11 -11
  124. data/rdoc-sources/FXBitmapFrame.rb +5 -5
  125. data/rdoc-sources/FXBitmapView.rb +2 -2
  126. data/rdoc-sources/FXButton.rb +2 -2
  127. data/rdoc-sources/FXCheckButton.rb +5 -5
  128. data/rdoc-sources/FXColorBar.rb +5 -5
  129. data/rdoc-sources/FXColorDialog.rb +2 -2
  130. data/rdoc-sources/FXColorList.rb +2 -2
  131. data/rdoc-sources/FXColorRing.rb +8 -8
  132. data/rdoc-sources/FXColorSelector.rb +4 -4
  133. data/rdoc-sources/FXColorWell.rb +4 -4
  134. data/rdoc-sources/FXColorWheel.rb +6 -6
  135. data/rdoc-sources/FXComboBox.rb +17 -17
  136. data/rdoc-sources/FXComposite.rb +2 -2
  137. data/rdoc-sources/FXCursor.rb +7 -7
  138. data/rdoc-sources/FXDC.rb +67 -67
  139. data/rdoc-sources/FXDCPrint.rb +22 -22
  140. data/rdoc-sources/FXDCWindow.rb +1 -1
  141. data/rdoc-sources/FXDataTarget.rb +2 -2
  142. data/rdoc-sources/FXDebugTarget.rb +1 -1
  143. data/rdoc-sources/FXDelegator.rb +1 -1
  144. data/rdoc-sources/FXDial.rb +8 -8
  145. data/rdoc-sources/FXDict.rb +7 -7
  146. data/rdoc-sources/FXDirBox.rb +3 -3
  147. data/rdoc-sources/FXDirDialog.rb +7 -7
  148. data/rdoc-sources/FXDirList.rb +21 -21
  149. data/rdoc-sources/FXDirSelector.rb +8 -8
  150. data/rdoc-sources/FXDockBar.rb +5 -5
  151. data/rdoc-sources/FXDockHandler.rb +3 -3
  152. data/rdoc-sources/FXDockSite.rb +2 -2
  153. data/rdoc-sources/FXDockTitle.rb +3 -3
  154. data/rdoc-sources/FXDocument.rb +3 -3
  155. data/rdoc-sources/FXDragCorner.rb +3 -3
  156. data/rdoc-sources/FXDrawable.rb +3 -3
  157. data/rdoc-sources/FXDriveBox.rb +4 -4
  158. data/rdoc-sources/FXExtentd.rb +2 -2
  159. data/rdoc-sources/FXExtentf.rb +2 -2
  160. data/rdoc-sources/FXFileDialog.rb +21 -21
  161. data/rdoc-sources/FXFileDict.rb +17 -17
  162. data/rdoc-sources/FXFileList.rb +32 -32
  163. data/rdoc-sources/FXFileSelector.rb +20 -20
  164. data/rdoc-sources/FXFileStream.rb +1 -1
  165. data/rdoc-sources/FXFoldingList.rb +53 -53
  166. data/rdoc-sources/FXFont.rb +38 -38
  167. data/rdoc-sources/FXFrame.rb +11 -11
  168. data/rdoc-sources/FXGIFCursor.rb +3 -3
  169. data/rdoc-sources/FXGLCanvas.rb +2 -2
  170. data/rdoc-sources/FXGLContext.rb +6 -6
  171. data/rdoc-sources/FXGLObject.rb +6 -6
  172. data/rdoc-sources/FXGLShape.rb +3 -3
  173. data/rdoc-sources/FXGLViewer.rb +54 -54
  174. data/rdoc-sources/FXGLVisual.rb +13 -13
  175. data/rdoc-sources/FXGradientBar.rb +15 -15
  176. data/rdoc-sources/FXGroupBox.rb +4 -4
  177. data/rdoc-sources/FXHeader.rb +44 -44
  178. data/rdoc-sources/FXICOIcon.rb +1 -1
  179. data/rdoc-sources/FXICOImage.rb +1 -1
  180. data/rdoc-sources/FXIconDict.rb +1 -1
  181. data/rdoc-sources/FXIconList.rb +69 -69
  182. data/rdoc-sources/FXIconSource.rb +2 -2
  183. data/rdoc-sources/FXId.rb +1 -1
  184. data/rdoc-sources/FXImage.rb +11 -11
  185. data/rdoc-sources/FXImageFrame.rb +3 -3
  186. data/rdoc-sources/FXImageView.rb +2 -2
  187. data/rdoc-sources/FXInputDialog.rb +6 -6
  188. data/rdoc-sources/FXJPGIcon.rb +3 -3
  189. data/rdoc-sources/FXJPGImage.rb +2 -2
  190. data/rdoc-sources/FXKnob.rb +9 -9
  191. data/rdoc-sources/FXLabel.rb +8 -8
  192. data/rdoc-sources/FXList.rb +28 -28
  193. data/rdoc-sources/FXListBox.rb +21 -21
  194. data/rdoc-sources/FXMDIChild.rb +11 -11
  195. data/rdoc-sources/FXMDIClient.rb +5 -5
  196. data/rdoc-sources/FXMatrix.rb +6 -6
  197. data/rdoc-sources/FXMemoryBuffer.rb +1 -1
  198. data/rdoc-sources/FXMemoryStream.rb +3 -3
  199. data/rdoc-sources/FXMenuBar.rb +1 -1
  200. data/rdoc-sources/FXMenuButton.rb +7 -7
  201. data/rdoc-sources/FXMenuCaption.rb +10 -10
  202. data/rdoc-sources/FXMenuCheck.rb +1 -1
  203. data/rdoc-sources/FXMenuRadio.rb +1 -1
  204. data/rdoc-sources/FXMenuSeparator.rb +1 -1
  205. data/rdoc-sources/FXMessageBox.rb +3 -3
  206. data/rdoc-sources/FXOptionMenu.rb +9 -9
  207. data/rdoc-sources/FXPCXIcon.rb +2 -2
  208. data/rdoc-sources/FXPCXImage.rb +1 -1
  209. data/rdoc-sources/FXPNGIcon.rb +3 -3
  210. data/rdoc-sources/FXPNGImage.rb +1 -1
  211. data/rdoc-sources/FXPPMIcon.rb +2 -2
  212. data/rdoc-sources/FXPPMImage.rb +1 -1
  213. data/rdoc-sources/FXPacker.rb +13 -13
  214. data/rdoc-sources/FXPopup.rb +11 -11
  215. data/rdoc-sources/FXProgressBar.rb +7 -7
  216. data/rdoc-sources/FXProgressDialog.rb +3 -3
  217. data/rdoc-sources/FXQuatd.rb +17 -17
  218. data/rdoc-sources/FXQuatf.rb +18 -18
  219. data/rdoc-sources/FXRGBIcon.rb +3 -3
  220. data/rdoc-sources/FXRGBImage.rb +1 -1
  221. data/rdoc-sources/FXRadioButton.rb +4 -4
  222. data/rdoc-sources/FXRanged.rb +1 -1
  223. data/rdoc-sources/FXRangef.rb +1 -1
  224. data/rdoc-sources/FXRealSlider.rb +7 -7
  225. data/rdoc-sources/FXRealSpinner.rb +11 -11
  226. data/rdoc-sources/FXRecentFiles.rb +8 -8
  227. data/rdoc-sources/FXRectangle.rb +12 -12
  228. data/rdoc-sources/FXRegion.rb +15 -15
  229. data/rdoc-sources/FXRegistry.rb +4 -4
  230. data/rdoc-sources/FXReplaceDialog.rb +3 -3
  231. data/rdoc-sources/FXRuler.rb +18 -18
  232. data/rdoc-sources/FXRulerView.rb +38 -38
  233. data/rdoc-sources/FXScintilla.rb +16 -16
  234. data/rdoc-sources/FXScrollArea.rb +9 -9
  235. data/rdoc-sources/FXScrollBar.rb +8 -8
  236. data/rdoc-sources/FXScrollPane.rb +1 -1
  237. data/rdoc-sources/FXScrollWindow.rb +5 -5
  238. data/rdoc-sources/FXSeparator.rb +1 -1
  239. data/rdoc-sources/FXSettings.rb +1 -1
  240. data/rdoc-sources/FXShutter.rb +3 -3
  241. data/rdoc-sources/FXSize.rb +4 -4
  242. data/rdoc-sources/FXSlider.rb +7 -7
  243. data/rdoc-sources/FXSphered.rb +21 -21
  244. data/rdoc-sources/FXSpheref.rb +20 -20
  245. data/rdoc-sources/FXSpinner.rb +12 -12
  246. data/rdoc-sources/FXSplashWindow.rb +1 -1
  247. data/rdoc-sources/FXSplitter.rb +6 -6
  248. data/rdoc-sources/FXSpring.rb +2 -2
  249. data/rdoc-sources/FXStatusBar.rb +4 -4
  250. data/rdoc-sources/FXStatusLine.rb +5 -5
  251. data/rdoc-sources/FXStream.rb +8 -8
  252. data/rdoc-sources/FXStringDict.rb +5 -5
  253. data/rdoc-sources/FXSwitcher.rb +2 -2
  254. data/rdoc-sources/FXTGAIcon.rb +3 -3
  255. data/rdoc-sources/FXTGAImage.rb +1 -1
  256. data/rdoc-sources/FXTIFIcon.rb +2 -2
  257. data/rdoc-sources/FXTIFImage.rb +2 -2
  258. data/rdoc-sources/FXTabBar.rb +2 -2
  259. data/rdoc-sources/FXTable.rb +131 -131
  260. data/rdoc-sources/FXText.rb +48 -48
  261. data/rdoc-sources/FXTextField.rb +9 -9
  262. data/rdoc-sources/FXToolBar.rb +1 -1
  263. data/rdoc-sources/FXToolBarGrip.rb +1 -1
  264. data/rdoc-sources/FXToolBarShell.rb +7 -7
  265. data/rdoc-sources/FXToolBarTab.rb +3 -3
  266. data/rdoc-sources/FXToolTip.rb +1 -1
  267. data/rdoc-sources/FXTopWindow.rb +17 -17
  268. data/rdoc-sources/FXTranslator.rb +5 -5
  269. data/rdoc-sources/FXTreeList.rb +50 -50
  270. data/rdoc-sources/FXTreeListBox.rb +16 -16
  271. data/rdoc-sources/FXVec2d.rb +5 -5
  272. data/rdoc-sources/FXVec2f.rb +5 -5
  273. data/rdoc-sources/FXVec3d.rb +8 -8
  274. data/rdoc-sources/FXVec3f.rb +8 -8
  275. data/rdoc-sources/FXVec4d.rb +8 -8
  276. data/rdoc-sources/FXVec4f.rb +8 -8
  277. data/rdoc-sources/FXVisual.rb +3 -3
  278. data/rdoc-sources/FXWindow.rb +99 -99
  279. data/rdoc-sources/FXWizard.rb +8 -8
  280. data/rdoc-sources/FXXBMIcon.rb +2 -2
  281. data/rdoc-sources/FXXBMImage.rb +1 -1
  282. data/rdoc-sources/FXXPMIcon.rb +2 -2
  283. data/rdoc-sources/FXXPMImage.rb +1 -1
  284. data/rdoc-sources/fxdefs.rb +17 -17
  285. data/scripts/generate_kwargs_lib.rb +22 -22
  286. data/scripts/iface.rb +1 -1
  287. data/swig-interfaces/FX4Splitter.i +5 -5
  288. data/swig-interfaces/FX7Segment.i +5 -5
  289. data/swig-interfaces/FXApp.i +10 -10
  290. data/swig-interfaces/FXBMPIcon.i +2 -2
  291. data/swig-interfaces/FXBitmap.i +3 -3
  292. data/swig-interfaces/FXBitmapFrame.i +1 -1
  293. data/swig-interfaces/FXBitmapView.i +1 -1
  294. data/swig-interfaces/FXCanvas.i +1 -1
  295. data/swig-interfaces/FXCheckButton.i +2 -2
  296. data/swig-interfaces/FXChoiceBox.i +2 -2
  297. data/swig-interfaces/FXColorBar.i +7 -7
  298. data/swig-interfaces/FXColorList.i +5 -5
  299. data/swig-interfaces/FXColorWell.i +1 -1
  300. data/swig-interfaces/FXColorWheel.i +6 -6
  301. data/swig-interfaces/FXComboBox.i +4 -4
  302. data/swig-interfaces/FXCursor.i +4 -4
  303. data/swig-interfaces/FXDC.i +23 -23
  304. data/swig-interfaces/FXDCPrint.i +5 -5
  305. data/swig-interfaces/FXDCWindow.i +8 -8
  306. data/swig-interfaces/FXDataTarget.i +5 -5
  307. data/swig-interfaces/FXDebugTarget.i +1 -1
  308. data/swig-interfaces/FXDelegator.i +3 -3
  309. data/swig-interfaces/FXDial.i +8 -8
  310. data/swig-interfaces/FXDialogBox.i +3 -3
  311. data/swig-interfaces/FXDict.i +14 -14
  312. data/swig-interfaces/FXDirBox.i +1 -1
  313. data/swig-interfaces/FXDirDialog.i +2 -2
  314. data/swig-interfaces/FXDirList.i +16 -16
  315. data/swig-interfaces/FXDirSelector.i +2 -2
  316. data/swig-interfaces/FXDockBar.i +1 -1
  317. data/swig-interfaces/FXDockHandler.i +1 -1
  318. data/swig-interfaces/FXDockSite.i +1 -1
  319. data/swig-interfaces/FXDockTitle.i +1 -1
  320. data/swig-interfaces/FXDocument.i +1 -1
  321. data/swig-interfaces/FXDragCorner.i +3 -3
  322. data/swig-interfaces/FXDriveBox.i +1 -1
  323. data/swig-interfaces/FXFileDialog.i +8 -8
  324. data/swig-interfaces/FXFileDict.i +2 -2
  325. data/swig-interfaces/FXFileList.i +11 -11
  326. data/swig-interfaces/FXFileSelector.i +4 -4
  327. data/swig-interfaces/FXFoldingList.i +7 -7
  328. data/swig-interfaces/FXFont.i +20 -20
  329. data/swig-interfaces/FXFrame.i +3 -3
  330. data/swig-interfaces/FXGLCanvas.i +3 -3
  331. data/swig-interfaces/FXGLContext.i +7 -7
  332. data/swig-interfaces/FXGLObject.i +1 -1
  333. data/swig-interfaces/FXGLShape.i +6 -6
  334. data/swig-interfaces/FXGLViewer.i +40 -40
  335. data/swig-interfaces/FXGLVisual.i +2 -2
  336. data/swig-interfaces/FXGradientBar.i +4 -4
  337. data/swig-interfaces/FXGroupBox.i +3 -3
  338. data/swig-interfaces/FXHeader.i +7 -7
  339. data/swig-interfaces/FXIcon.i +4 -4
  340. data/swig-interfaces/FXIconDict.i +1 -1
  341. data/swig-interfaces/FXIconList.i +46 -46
  342. data/swig-interfaces/FXImage.i +2 -2
  343. data/swig-interfaces/FXImageView.i +1 -1
  344. data/swig-interfaces/FXInputDialog.i +3 -3
  345. data/swig-interfaces/FXJPGIcon.i +3 -3
  346. data/swig-interfaces/FXJPGImage.i +2 -2
  347. data/swig-interfaces/FXKnob.i +2 -2
  348. data/swig-interfaces/FXLabel.i +2 -2
  349. data/swig-interfaces/FXList.i +35 -35
  350. data/swig-interfaces/FXListBox.i +5 -5
  351. data/swig-interfaces/FXMDIButton.i +5 -5
  352. data/swig-interfaces/FXMDIChild.i +12 -12
  353. data/swig-interfaces/FXMDIClient.i +2 -2
  354. data/swig-interfaces/FXMat4d.i +2 -2
  355. data/swig-interfaces/FXMat4f.i +5 -5
  356. data/swig-interfaces/FXMatrix.i +12 -12
  357. data/swig-interfaces/FXMemoryBuffer.i +4 -4
  358. data/swig-interfaces/FXMenuBar.i +3 -3
  359. data/swig-interfaces/FXMenuButton.i +7 -7
  360. data/swig-interfaces/FXMenuCaption.i +4 -4
  361. data/swig-interfaces/FXMenuCommand.i +1 -1
  362. data/swig-interfaces/FXMenuPane.i +1 -1
  363. data/swig-interfaces/FXMenuRadio.i +1 -1
  364. data/swig-interfaces/FXMenuSeparator.i +1 -1
  365. data/swig-interfaces/FXMessageBox.i +1 -1
  366. data/swig-interfaces/FXOptionMenu.i +6 -6
  367. data/swig-interfaces/FXPNGIcon.i +2 -2
  368. data/swig-interfaces/FXPPMIcon.i +2 -2
  369. data/swig-interfaces/FXPacker.i +6 -6
  370. data/swig-interfaces/FXPopup.i +13 -13
  371. data/swig-interfaces/FXProgressBar.i +12 -12
  372. data/swig-interfaces/FXProgressDialog.i +5 -5
  373. data/swig-interfaces/FXQuatd.i +7 -7
  374. data/swig-interfaces/FXQuatf.i +1 -1
  375. data/swig-interfaces/FXRadioButton.i +4 -4
  376. data/swig-interfaces/FXRanged.i +4 -4
  377. data/swig-interfaces/FXRangef.i +5 -5
  378. data/swig-interfaces/FXRealSlider.i +10 -10
  379. data/swig-interfaces/FXRealSpinner.i +17 -17
  380. data/swig-interfaces/FXRecentFiles.i +1 -1
  381. data/swig-interfaces/FXRegion.i +4 -4
  382. data/swig-interfaces/FXRegistry.i +3 -3
  383. data/swig-interfaces/FXReplaceDialog.i +1 -1
  384. data/swig-interfaces/FXScintilla.i +3 -3
  385. data/swig-interfaces/FXScrollArea.i +7 -7
  386. data/swig-interfaces/FXScrollBar.i +3 -3
  387. data/swig-interfaces/FXScrollWindow.i +6 -6
  388. data/swig-interfaces/FXSearchDialog.i +1 -1
  389. data/swig-interfaces/FXSeparator.i +3 -3
  390. data/swig-interfaces/FXSettings.i +3 -3
  391. data/swig-interfaces/FXShell.i +1 -1
  392. data/swig-interfaces/FXSlider.i +11 -11
  393. data/swig-interfaces/FXSphered.i +1 -1
  394. data/swig-interfaces/FXSpheref.i +1 -1
  395. data/swig-interfaces/FXSpinner.i +15 -15
  396. data/swig-interfaces/FXSplitter.i +6 -6
  397. data/swig-interfaces/FXStatusBar.i +4 -4
  398. data/swig-interfaces/FXStatusLine.i +5 -5
  399. data/swig-interfaces/FXStream.i +1 -1
  400. data/swig-interfaces/FXSwitcher.i +5 -5
  401. data/swig-interfaces/FXTabBar.i +2 -2
  402. data/swig-interfaces/FXTabBook.i +1 -1
  403. data/swig-interfaces/FXTabItem.i +4 -4
  404. data/swig-interfaces/FXTable.i +37 -37
  405. data/swig-interfaces/FXText.i +13 -13
  406. data/swig-interfaces/FXTextField.i +1 -1
  407. data/swig-interfaces/FXToggleButton.i +6 -6
  408. data/swig-interfaces/FXToolBar.i +4 -4
  409. data/swig-interfaces/FXToolBarGrip.i +3 -3
  410. data/swig-interfaces/FXToolBarShell.i +3 -3
  411. data/swig-interfaces/FXToolBarTab.i +5 -5
  412. data/swig-interfaces/FXToolTip.i +1 -1
  413. data/swig-interfaces/FXTopWindow.i +10 -10
  414. data/swig-interfaces/FXTreeList.i +28 -28
  415. data/swig-interfaces/FXTreeListBox.i +36 -36
  416. data/swig-interfaces/FXVec3d.i +2 -2
  417. data/swig-interfaces/FXVec3f.i +2 -2
  418. data/swig-interfaces/FXVec4d.i +1 -1
  419. data/swig-interfaces/FXVec4f.i +9 -9
  420. data/swig-interfaces/FXVerticalFrame.i +1 -1
  421. data/swig-interfaces/FXVisual.i +1 -1
  422. data/swig-interfaces/FXWindow.i +46 -46
  423. data/swig-interfaces/FXXPMIcon.i +1 -1
  424. data/swig-interfaces/FXXPMImage.i +1 -1
  425. data/swig-interfaces/exceptions.i +1 -1
  426. data/swig-interfaces/freefuncs.i +1 -1
  427. data/swig-interfaces/fxdefs.i +13 -13
  428. data/swig-interfaces/macros.i +79 -79
  429. data/test/TC_FXAccelTable.rb +3 -3
  430. data/test/TC_FXButton.rb +9 -9
  431. data/test/TC_FXCheckButton.rb +4 -4
  432. data/test/TC_FXComboBox.rb +1 -1
  433. data/test/TC_FXDC.rb +42 -42
  434. data/test/TC_FXDialogBox.rb +1 -1
  435. data/test/TC_FXExtentd.rb +2 -2
  436. data/test/TC_FXExtentf.rb +2 -2
  437. data/test/TC_FXFileAssoc.rb +5 -5
  438. data/test/TC_FXFileStream.rb +5 -5
  439. data/test/TC_FXFoldingList.rb +3 -3
  440. data/test/TC_FXFont.rb +3 -3
  441. data/test/TC_FXGLGroup.rb +1 -1
  442. data/test/TC_FXHeader.rb +3 -3
  443. data/test/TC_FXIconDict.rb +5 -5
  444. data/test/TC_FXIconList.rb +12 -12
  445. data/test/TC_FXImage.rb +16 -16
  446. data/test/TC_FXList.rb +5 -5
  447. data/test/TC_FXListBox.rb +1 -1
  448. data/test/TC_FXMainWindow.rb +2 -2
  449. data/test/TC_FXMat4f.rb +33 -33
  450. data/test/TC_FXMaterial.rb +5 -5
  451. data/test/TC_FXMemoryStream.rb +2 -2
  452. data/test/TC_FXMenuCheck.rb +5 -5
  453. data/test/TC_FXMessageBox.rb +3 -3
  454. data/test/TC_FXPoint.rb +1 -1
  455. data/test/TC_FXRadioButton.rb +4 -4
  456. data/test/TC_FXRanged.rb +3 -3
  457. data/test/TC_FXRangef.rb +3 -3
  458. data/test/TC_FXRegion.rb +1 -1
  459. data/test/TC_FXScrollArea.rb +1 -1
  460. data/test/TC_FXScrollWindow.rb +1 -1
  461. data/test/TC_FXSettings.rb +2 -2
  462. data/test/TC_FXShell.rb +2 -2
  463. data/test/TC_FXTopWindow.rb +2 -2
  464. data/test/TC_FXTreeList.rb +4 -4
  465. data/test/TC_FXTreeListBox.rb +3 -3
  466. data/test/TC_FXVec2d.rb +3 -3
  467. data/test/TC_FXVec2f.rb +3 -3
  468. data/test/TC_FXVec3d.rb +5 -5
  469. data/test/TC_FXVec3f.rb +5 -5
  470. data/test/TC_FXVec4f.rb +6 -6
  471. data/test/TC_Misc.rb +6 -2
  472. data/test/TS_All.rb +1 -17
  473. data/test/stress1.rb +5 -5
  474. data/test/stress2.rb +3 -3
  475. data/test/stress3.rb +12 -12
  476. data/test/testcase.rb +4 -4
  477. metadata +76 -76
@@ -6,26 +6,26 @@ module Fox
6
6
 
7
7
  # Typeface name, such as "helvetica" [String]
8
8
  attr_accessor :face
9
-
9
+
10
10
  # Font size in decipoints [Integer]
11
11
  attr_accessor :size
12
-
12
+
13
13
  # Font weight, such as +FONTWEIGHT_NORMAL+ or +FONTWEIGHT_BOLD+ [Integer].
14
14
  # See FXFont documentation for the complete list of font weight values.
15
15
  attr_accessor :weight
16
-
16
+
17
17
  # Font slant, such as +FONTSLANT_REGULAR+ or +FONTSLANT_ITALIC+ [Integer].
18
18
  # See FXFont documentation for the complete list of font slant values.
19
19
  attr_accessor :slant
20
-
20
+
21
21
  # Character set encoding, such as <tt>FONTENCODING_ISO_8859_1</tt> or <tt>FONTENCODING_LATIN1</tt> [Integer].
22
22
  # See FXFont documentation for the complete list of character set encoding values.
23
23
  attr_accessor :encoding
24
-
24
+
25
25
  # Font set width, such as +FONTSETWIDTH_CONDENSED+ or +FONTSETWIDTH_WIDE+ [Integer].
26
26
  # See FXFont documentation for the complete list of font set width values.
27
27
  attr_accessor :setwidth
28
-
28
+
29
29
  # Flags [Integer]
30
30
  attr_accessor :flags
31
31
 
@@ -142,27 +142,27 @@ module Fox
142
142
  # <tt>FONTENCODING_UNICODE</tt>:: Unicode
143
143
  #
144
144
  # <tt>FONTENCODING_LATIN1</tt>:: same as <tt>FONTENCODING_ISO_8859_1</tt>, Latin 1 (West European)
145
- # <tt>FONTENCODING_LATIN2</tt>:: same as <tt>FONTENCODING_ISO_8859_2</tt>, Latin 2 (East European)
146
- # <tt>FONTENCODING_LATIN3</tt>:: same as <tt>FONTENCODING_ISO_8859_3</tt>, Latin 3 (South European)
147
- # <tt>FONTENCODING_LATIN4</tt>:: same as <tt>FONTENCODING_ISO_8859_4</tt>, Latin 4 (North European)
148
- # <tt>FONTENCODING_LATIN5</tt>:: same as <tt>FONTENCODING_ISO_8859_9</tt>, Latin 5 (Turkish)
149
- # <tt>FONTENCODING_LATIN6</tt>:: same as <tt>FONTENCODING_ISO_8859_10</tt>, Latin 6 (Nordic)
145
+ # <tt>FONTENCODING_LATIN2</tt>:: same as <tt>FONTENCODING_ISO_8859_2</tt>, Latin 2 (East European)
146
+ # <tt>FONTENCODING_LATIN3</tt>:: same as <tt>FONTENCODING_ISO_8859_3</tt>, Latin 3 (South European)
147
+ # <tt>FONTENCODING_LATIN4</tt>:: same as <tt>FONTENCODING_ISO_8859_4</tt>, Latin 4 (North European)
148
+ # <tt>FONTENCODING_LATIN5</tt>:: same as <tt>FONTENCODING_ISO_8859_9</tt>, Latin 5 (Turkish)
149
+ # <tt>FONTENCODING_LATIN6</tt>:: same as <tt>FONTENCODING_ISO_8859_10</tt>, Latin 6 (Nordic)
150
150
  # <tt>FONTENCODING_LATIN7</tt>:: same as <tt>FONTENCODING_ISO_8859_13</tt>, Latin 7 (Baltic Rim)
151
151
  # <tt>FONTENCODING_LATIN8</tt>:: same as <tt>FONTENCODING_ISO_8859_14</tt>, Latin 8 (Celtic)
152
152
  # <tt>FONTENCODING_LATIN9</tt>:: same as <tt>FONTENCODING_ISO_8859_15</tt>, Latin 9 (a.k.a. Latin 0)
153
153
  # <tt>FONTENCODING_LATIN10</tt>:: same as <tt>FONTENCODING_ISO_8859_16</tt>, Latin 10
154
154
  # <tt>FONTENCODING_USASCII</tt>:: same as <tt>FONTENCODING_ISO_8859_1</tt>, Latin 1
155
- # <tt>FONTENCODING_WESTEUROPE</tt>:: same as <tt>FONTENCODING_ISO_8859_1</tt>, Latin 1 (West European)
156
- # <tt>FONTENCODING_EASTEUROPE</tt>:: same as <tt>FONTENCODING_ISO_8859_2</tt>, Latin 2 (East European)
157
- # <tt>FONTENCODING_SOUTHEUROPE</tt>:: same as <tt>FONTENCODING_ISO_8859_3</tt>, Latin 3 (South European)
158
- # <tt>FONTENCODING_NORTHEUROPE</tt>:: same as <tt>FONTENCODING_ISO_8859_4</tt>, Latin 4 (North European)
155
+ # <tt>FONTENCODING_WESTEUROPE</tt>:: same as <tt>FONTENCODING_ISO_8859_1</tt>, Latin 1 (West European)
156
+ # <tt>FONTENCODING_EASTEUROPE</tt>:: same as <tt>FONTENCODING_ISO_8859_2</tt>, Latin 2 (East European)
157
+ # <tt>FONTENCODING_SOUTHEUROPE</tt>:: same as <tt>FONTENCODING_ISO_8859_3</tt>, Latin 3 (South European)
158
+ # <tt>FONTENCODING_NORTHEUROPE</tt>:: same as <tt>FONTENCODING_ISO_8859_4</tt>, Latin 4 (North European)
159
159
  # <tt>FONTENCODING_CYRILLIC</tt>:: same as <tt>FONTENCODING_ISO_8859_5</tt>, Cyrillic
160
160
  # <tt>FONTENCODING_RUSSIAN</tt>:: same as <tt>FONTENCODING_KOI8</tt>, Cyrillic
161
161
  # <tt>FONTENCODING_ARABIC</tt>:: same as <tt>FONTENCODING_ISO_8859_6</tt>, Arabic
162
162
  # <tt>FONTENCODING_GREEK</tt>:: same as <tt>FONTENCODING_ISO_8859_7</tt>, Greek
163
163
  # <tt>FONTENCODING_HEBREW</tt>:: same as <tt>FONTENCODING_ISO_8859_8</tt>, Hebrew
164
- # <tt>FONTENCODING_TURKISH</tt>:: same as <tt>FONTENCODING_ISO_8859_9</tt>, Latin 5 (Turkish)
165
- # <tt>FONTENCODING_NORDIC</tt>:: same as <tt>FONTENCODING_ISO_8859_10</tt>, Latin 6 (Nordic)
164
+ # <tt>FONTENCODING_TURKISH</tt>:: same as <tt>FONTENCODING_ISO_8859_9</tt>, Latin 5 (Turkish)
165
+ # <tt>FONTENCODING_NORDIC</tt>:: same as <tt>FONTENCODING_ISO_8859_10</tt>, Latin 6 (Nordic)
166
166
  # <tt>FONTENCODING_THAI</tt>:: same as <tt>FONTENCODING_ISO_8859_11</tt>, Thai
167
167
  # <tt>FONTENCODING_BALTIC</tt>:: same as <tt>FONTENCODING_ISO_8859_13</tt>, Latin 7 (Baltic Rim)
168
168
  # <tt>FONTENCODING_CELTIC</tt>:: same as <tt>FONTENCODING_ISO_8859_14, Latin 8 (Celtic)
@@ -171,7 +171,7 @@ module Fox
171
171
 
172
172
  # Family part of name [String]
173
173
  attr_reader :family
174
-
174
+
175
175
  # Foundry part of name [String]
176
176
  attr_reader :foundry
177
177
 
@@ -183,25 +183,25 @@ module Fox
183
183
 
184
184
  # Size in decipoints [Integer]
185
185
  attr_reader :size
186
-
186
+
187
187
  # Actual size in deci-points [Integer]
188
188
  attr_reader :actualSize
189
189
 
190
190
  # Font weight [Integer]
191
191
  attr_reader :weight
192
-
192
+
193
193
  # Actual font weight [Integer]
194
194
  attr_reader :actualWeight
195
195
 
196
196
  # Slant [Integer]
197
197
  attr_reader :slant
198
-
198
+
199
199
  # Actual slant [Integer]
200
200
  attr_reader :actualSlant
201
201
 
202
202
  # Encoding [Integer]
203
203
  attr_reader :encoding
204
-
204
+
205
205
  # Actual encoding [Integer]
206
206
  attr_reader :actualEncoding
207
207
 
@@ -216,10 +216,10 @@ module Fox
216
216
 
217
217
  # Font description [FXFontDesc]
218
218
  attr_accessor :fontDesc
219
-
219
+
220
220
  # Font angle [Integer]
221
221
  attr_accessor :angle
222
-
222
+
223
223
  # Font description as a string [String]
224
224
  attr_accessor :font.
225
225
 
@@ -257,11 +257,11 @@ module Fox
257
257
  #
258
258
  def initialize(a, fontDesc) # :yields: theFont
259
259
  end
260
-
260
+
261
261
  #
262
262
  # Return an FXFont instance initialized with the given face name, size in
263
263
  # points (pixels), weight, slant, character set encoding, set width, and hints.
264
- # The font name may be comprised of a family name and optional foundry name enclosed in
264
+ # The font name may be comprised of a family name and optional foundry name enclosed in
265
265
  # square brackets, for example, "helvetica [bitstream]".
266
266
  #
267
267
  # ==== Parameters:
@@ -276,22 +276,22 @@ module Fox
276
276
  #
277
277
  def initialize(a, face, size, weight=FXFont::Normal, slant=Font::Straight, encoding=FONTENCODING_DEFAULT, setWidth=FXFont::NonExpanded, hints=0) # :yields: theFont
278
278
  end
279
-
279
+
280
280
  #
281
281
  # Construct a font with given font description of the form:
282
- #
282
+ #
283
283
  # fontname [ "[" foundry "]" ] ["," size ["," weight ["," slant ["," setwidth ["," encoding ["," hints]]]]]]
284
- #
284
+ #
285
285
  # For example:
286
- #
286
+ #
287
287
  # "helvetica [bitstream],120,bold,italic,normal,iso8859-1,0"
288
- #
288
+ #
289
289
  # Typically, at least the font name, and size must be given for
290
290
  # normal font matching. As a special case, raw X11 fonts can also be
291
291
  # passed, for example:
292
- #
292
+ #
293
293
  # "9x15bold"
294
- #
294
+ #
295
295
  # Note: use of the raw X11 fonts is stronly discouraged.
296
296
  #
297
297
  def initialize(a, string) # :yields: theFont
@@ -313,7 +313,7 @@ module Fox
313
313
  # Return +true+ if font is monospaced.
314
314
  #
315
315
  def fontMono? ; end
316
-
316
+
317
317
  #
318
318
  # Return +true+ if font has glyph for _ch_. Here, _ch_ can either be an
319
319
  # ordinal value, e.g.
@@ -330,12 +330,12 @@ module Fox
330
330
  # Returns the left-side bearing (the distance from the origin to the leftmost pixel in the character) for _ch_.
331
331
  #
332
332
  def leftBearing(ch) ; end
333
-
333
+
334
334
  #
335
335
  # Returns the right-side bearing (the distance from the origin to the rightmost pixel in the character) for _ch_.
336
336
  #
337
337
  def rightBearing(ch) ; end
338
-
338
+
339
339
  #
340
340
  # Calculate width of single wide character _ch_ in this font
341
341
  #
@@ -345,12 +345,12 @@ module Fox
345
345
  # Returns the width of given _text_ in this font.
346
346
  #
347
347
  def getTextWidth(text) ; end
348
-
348
+
349
349
  #
350
350
  # Returns the height of given _text_ in this font.
351
351
  #
352
352
  def getTextHeight(text) ; end
353
-
353
+
354
354
  #
355
355
  # List all fonts matching hints. Returns an array of FXFontDesc objects.
356
356
  #
@@ -4,7 +4,7 @@ module Fox
4
4
  # thick, ridged or etched. They can also be turned off completely.
5
5
  # In addition, a certain amount of padding may be specified between the contents of
6
6
  # the widget and the borders. The contents may be justified inside the widget using the
7
- # justification options.
7
+ # justification options.
8
8
  # The Frame widget is sometimes used by itself as a place holder, but most often is used
9
9
  # as a convenient base class for simple controls.
10
10
  #
@@ -13,34 +13,34 @@ module Fox
13
13
  # +DEFAULT_PAD+:: Default padding
14
14
  #
15
15
  class FXFrame < FXWindow
16
-
16
+
17
17
  # Frame style [Integer]
18
18
  attr_accessor :frameStyle
19
-
19
+
20
20
  # Border width, in pixels [Integer]
21
21
  attr_reader :borderWidth
22
-
22
+
23
23
  # Top interior padding, in pixels [Integer]
24
24
  attr_accessor :padTop
25
-
25
+
26
26
  # Bottom interior padding, in pixels [Integer]
27
27
  attr_accessor :padBottom
28
-
28
+
29
29
  # Left interior padding, in pixels [Integer]
30
30
  attr_accessor :padLeft
31
-
31
+
32
32
  # Right interior padding, in pixels [Integer]
33
33
  attr_accessor :padRight
34
-
34
+
35
35
  # Highlight color [FXColor]
36
36
  attr_accessor :hiliteColor
37
-
37
+
38
38
  # Shadow color [FXColor]
39
39
  attr_accessor :shadowColor
40
-
40
+
41
41
  # Border color [FXColor]
42
42
  attr_accessor :borderColor
43
-
43
+
44
44
  # Base GUI color [FXColor]
45
45
  attr_accessor :baseColor
46
46
 
@@ -13,8 +13,8 @@ module Fox
13
13
  #
14
14
  def initialize(a, pix, hx=-1, hy=-1) # :yields: theGIFCursor
15
15
  end
16
- end
17
-
16
+ end
17
+
18
18
  #
19
19
  # Save a GIF (Graphics Interchange Format) image to a stream.
20
20
  # If _fast_ is +true+, the faster Floyd-Steinberg dither method will be used
@@ -30,7 +30,7 @@ module Fox
30
30
  # +fast+:: if +true+, use faster Floyd-Steinberg algorithm [Boolean]
31
31
  #
32
32
  def Fox.fxsaveGIF(store, data, width, height, fast=true); end
33
-
33
+
34
34
  #
35
35
  # Load a GIF file from a stream.
36
36
  # If successful, returns an array containing the image pixel data (as a
@@ -8,7 +8,7 @@ module Fox
8
8
  #
9
9
  def initialize(parent, vis, target=nil, selector=0, opts=0, x=0, y=0, width=0, height=0) # :yields: theGLCanvas
10
10
  end
11
-
11
+
12
12
  #
13
13
  # Construct an OpenGL-capable canvas that shares its display
14
14
  # list with another GL canvas. This canvas becomes a member
@@ -31,7 +31,7 @@ module Fox
31
31
 
32
32
  # Make OpenGL context current prior to performing OpenGL commands
33
33
  def makeCurrent(); end
34
-
34
+
35
35
  # Make OpenGL context non-current
36
36
  def makeNonCurrent(); end
37
37
 
@@ -10,7 +10,7 @@ module Fox
10
10
  # However, display lists may be shared between different GL contexts.
11
11
  #
12
12
  class FXGLContext < FXId
13
-
13
+
14
14
  # The visual [FXGLVisual]
15
15
  attr_reader :visual
16
16
 
@@ -20,19 +20,19 @@ module Fox
20
20
  # Otherwise, this context will use its own private display list.
21
21
  def initialize(app, visual, other=nil) # :yields: theGLContext
22
22
  end
23
-
23
+
24
24
  # Return +true+ if it is sharing display lists.
25
25
  def shared?; end
26
-
26
+
27
27
  # Make this OpenGL context current prior to performing OpenGL commands.
28
28
  def begin(drawable); end
29
-
29
+
30
30
  # Make this OpenGL context non-current.
31
31
  def end(); end
32
-
32
+
33
33
  # Swap front and back buffer
34
34
  def swapBuffers(); end
35
-
35
+
36
36
  # Copy part of backbuffer to front buffer [Mesa]
37
37
  def swapSubBuffers(x, y, w, h); end
38
38
  end
@@ -13,12 +13,12 @@ module Fox
13
13
  # Return a new object which is a copy (i.e. a "clone") of this one.
14
14
  #
15
15
  def copy; end
16
-
16
+
17
17
  #
18
18
  # Return a bounding box (an FXRangef instance) for this object.
19
19
  #
20
20
  def bounds; end
21
-
21
+
22
22
  #
23
23
  # Draw this object in a viewer.
24
24
  #
@@ -27,7 +27,7 @@ module Fox
27
27
  # +viewer+:: the viewer window into which we're drawing [FXGLViewer]
28
28
  #
29
29
  def draw(viewer); end
30
-
30
+
31
31
  #
32
32
  # Draw this object for hit-testing purposes.
33
33
  #
@@ -36,17 +36,17 @@ module Fox
36
36
  # +viewer+:: the viewer window into which we're drawing [FXGLViewer]
37
37
  #
38
38
  def hit(viewer); end
39
-
39
+
40
40
  #
41
41
  # Return +true+ if this object can be dragged around.
42
42
  #
43
43
  def canDrag; end
44
-
44
+
45
45
  #
46
46
  # Return +true+ if this object can be deleted from the scene.
47
47
  #
48
48
  def canDelete; end
49
-
49
+
50
50
  #
51
51
  # Drag this object from one position to another. Returns +true+
52
52
  # if the drag was successful.
@@ -31,13 +31,13 @@ module Fox
31
31
  # +ID_BACK_MATERIAL+:: x
32
32
  #
33
33
  class FXGLShape < FXGLObject
34
-
34
+
35
35
  # Tool tip message for this shape [String]
36
36
  attr_accessor :tipText
37
37
 
38
38
  # Position [FXVec3f]
39
39
  attr_accessor :position
40
-
40
+
41
41
  #
42
42
  # Draws the shape in this GL viewer.
43
43
  #
@@ -59,7 +59,7 @@ module Fox
59
59
  # Get the material for specified side (where _side_ = 0 or 1).
60
60
  #
61
61
  def getMaterial(side); end
62
-
62
+
63
63
  #
64
64
  # Set the range (an FXRangef instance) for this shape.
65
65
  #
@@ -3,10 +3,10 @@ module Fox
3
3
  class FXViewport
4
4
  # Viewport width [Integer]
5
5
  attr_accessor :w
6
-
6
+
7
7
  # Viewport height
8
8
  attr_accessor :h
9
-
9
+
10
10
  # World left [Float]
11
11
  attr_accessor :left
12
12
 
@@ -24,7 +24,7 @@ module Fox
24
24
 
25
25
  # World yon [Float]
26
26
  attr_accessor :yon
27
-
27
+
28
28
  # Returns an initialized FXViewport instance
29
29
  def initialize; end
30
30
  end
@@ -60,7 +60,7 @@ module Fox
60
60
 
61
61
  # Quadratic attenuation factor [Float]
62
62
  attr_accessor :q_attn
63
-
63
+
64
64
  # Returns an initialized FXLight instance
65
65
  def initialize; end
66
66
  end
@@ -69,19 +69,19 @@ module Fox
69
69
  class FXMaterial
70
70
  # Ambient material color [FXVec4f]
71
71
  attr_accessor :ambient
72
-
72
+
73
73
  # Diffuse material color [FXVec4f]
74
74
  attr_accessor :diffuse
75
-
75
+
76
76
  # Specular material color [FXVec4f]
77
77
  attr_accessor :specular
78
-
78
+
79
79
  # Emissive material color [FXVec4f]
80
80
  attr_accessor :emission
81
-
81
+
82
82
  # Specular shininess [Float]
83
83
  attr_accessor :shininess
84
-
84
+
85
85
  # Returns an initialized FXMaterial instance
86
86
  def initialize; end
87
87
  end
@@ -115,7 +115,7 @@ module Fox
115
115
  # +SEL_DRAGGED+:: sent when the selected object is dragged around in the viewer; the message data is a reference to the selected object.
116
116
  # +SEL_COMMAND+:: sent when the mouse is clicked somewhere in the widget; the message data is a reference to the clicked object (possibly +nil+)
117
117
  # +SEL_CHANGED+:: sent when the selection changes; the message data is a reference to the newly selected object (or +nil+).
118
- #
118
+ #
119
119
  # === FXGLViewer options
120
120
  #
121
121
  # +VIEWER_LIGHTING+:: Lighting is on
@@ -142,7 +142,7 @@ module Fox
142
142
  # +ID_TIPTIMER+:: x
143
143
  # +ID_TOP_COLOR+:: x
144
144
  # +ID_BOTTOM_COLOR+:: x
145
- # +ID_BACK_COLOR+:: x
145
+ # +ID_BACK_COLOR+:: x
146
146
  # +ID_AMBIENT_COLOR+:: x
147
147
  # +ID_LIGHT_AMBIENT+:: x
148
148
  # +ID_LIGHT_DIFFUSE+:: x
@@ -172,143 +172,143 @@ module Fox
172
172
  # +ID_LASSO_SELECT+:: x
173
173
  #
174
174
  class FXGLViewer < FXGLCanvas
175
-
175
+
176
176
  # Size of pixel in world coordinates [Float]
177
177
  attr_reader :worldPix
178
-
178
+
179
179
  # Size of pixel in model coordinates [Float]
180
180
  attr_reader :modelPix
181
-
181
+
182
182
  # The viewport for this viewer [FXViewport]
183
183
  attr_reader :viewport
184
-
184
+
185
185
  # Default object material setting [FXMaterial]
186
186
  attr_accessor :material
187
187
 
188
188
  # Camera field of view angle (in degrees) [Float]
189
- attr_accessor :fieldOfView
189
+ attr_accessor :fieldOfView
190
190
 
191
191
  # Camera zoom factor [Float]
192
192
  attr_accessor :zoom
193
193
 
194
194
  # Target point distance [Float]
195
195
  attr_accessor :distance
196
-
196
+
197
197
  # Current scaling factors [FXVec3f]
198
198
  attr_accessor :scale
199
-
199
+
200
200
  # Camera orientation [FXQuatf]
201
201
  attr_accessor :orientation
202
-
202
+
203
203
  # Object center [FXVec3f]
204
204
  attr_accessor :center
205
-
205
+
206
206
  # Eyesight vector [FXVec3f]
207
207
  attr_reader :eyeVector
208
-
209
- # Eye position [FXVec3f]
208
+
209
+ # Eye position [FXVec3f]
210
210
  attr_reader :eyePosition
211
-
211
+
212
212
  # Status line help text [String]
213
213
  attr_accessor :helpText
214
-
214
+
215
215
  # Tool tip text [String]
216
216
  attr_accessor :tipText
217
217
 
218
218
  # The current transformation matrix [FXMat4f]
219
219
  attr_reader :transform
220
-
220
+
221
221
  # The inverse of the current transformation matrix [FXMat4f]
222
222
  attr_reader :invTransform
223
-
223
+
224
224
  # The current scene object [FXGLObject]
225
225
  attr_accessor :scene
226
-
226
+
227
227
  # The selection [FXGLObject]
228
228
  attr_accessor :selection
229
-
229
+
230
230
  # The projection mode (either +FXGLViewer::PERSPECTIVE+ or +FXGLViewer::PARALLEL+)
231
231
  attr_accessor :projection
232
-
232
+
233
233
  # Global ambient light color [FXMat4f]
234
234
  attr_accessor :ambientColor
235
-
235
+
236
236
  # The maximum hits, i.e. the maximum size of the pick buffer [Integer].
237
237
  # When less than or equal to zero, picking is essentially turned off.
238
238
  attr_accessor :maxHits
239
-
239
+
240
240
  # Set turbo mode [Boolean]
241
241
  attr_writer :turboMode
242
-
242
+
243
243
  # Light source settings [FXLight]
244
244
  attr_accessor :light
245
-
245
+
246
246
  # Returns the FXDragType for FXGLObject
247
247
  def FXGLViewer.objectType; end
248
-
248
+
249
249
  # Returns the drag type name
250
250
  def FXGLViewer.objectTypeName; end
251
-
251
+
252
252
  #
253
253
  # Construct GL viewer widget
254
254
  #
255
255
  def initialize(p, vis, target=nil, selector=0, opts=0, x=0, y=0, width=0, height=0) # :yields: theGLViewer
256
256
  end
257
-
257
+
258
258
  #
259
259
  # Construct GL viewer widget sharing display list with another GL viewer
260
260
  #
261
261
  def initialize(p, vis, sharegroup, target=nil, selector=0, opts=0, x=0, y=0, width=0, height=0) # :yields: theGLViewer
262
262
  end
263
-
263
+
264
264
  # Return an array of all objects in the given rectangle
265
265
  def lasso(x1, y1, x2, y2); end
266
-
266
+
267
267
  # Change the model bounding box; this adjusts the viewer
268
268
  def setBounds(box); end
269
-
269
+
270
270
  # Fit viewer to the given bounding box
271
271
  def fitToBounds(box); end
272
-
272
+
273
273
  #
274
274
  # Translate eye-coordinate to screen coordinate.
275
275
  # Returns a 2-element array [sx, sy] containing the screen coordinate.
276
276
  #
277
277
  def eyeToScreen(e); end
278
-
278
+
279
279
  # Translate screen coordinate to eye coordinate at the given depth.
280
280
  def screenToEye(sx, sy, eyez=0.0); end
281
-
281
+
282
282
  # Translate screen coordinate to eye coordinate at the target point depth
283
283
  def screenToTarget(sx, sy); end
284
-
284
+
285
285
  # Translate world coordinate to eye coordinate
286
286
  def worldToEye(w); end
287
-
287
+
288
288
  # Translate world coordinate to eye coordinate depth
289
289
  def worldToEyeZ(w); end
290
-
290
+
291
291
  # Translate eye coordinate to eye coordinate
292
- def eyeToWorld(e); end
293
-
292
+ def eyeToWorld(e); end
293
+
294
294
  # Calculate world coordinate vector from screen movement
295
295
  def worldVector(fx, fy, tx, ty); end
296
-
296
+
297
297
  # Translate object center
298
298
  def translate(vec); end
299
-
299
+
300
300
  # Return boresight vector (an array of two arrays)
301
301
  def getBoreVector(sx, sy); end
302
-
302
+
303
303
  # Returns +true+ if the viewer is locked
304
304
  def locked?; end
305
-
305
+
306
306
  # Read the pixels off the screen as R,G,B tuples.
307
307
  def readPixels(x, y, w, h); end
308
-
308
+
309
309
  # Read the feedback buffer containing the current scene.
310
310
  def readFeedback(x, y, w, h); end
311
-
311
+
312
312
  #
313
313
  # When drawing a GL object, if doesTurbo? returns +true+, the object
314
314
  # may choose to perform a reduced complexity drawing as the user is
@@ -316,7 +316,7 @@ module Fox
316
316
  # the full complexity drawing can be performed again.
317
317
  #
318
318
  def doesTurbo?; end
319
-
319
+
320
320
  # Returns +true+ if turbo mode is enabled
321
321
  def turboMode?; end
322
322