fxruby 1.6.22.pre2 → 1.6.22.pre3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (475) 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/fox16/accel_table.rb +1 -1
  93. data/lib/fox16/aliases.rb +3 -3
  94. data/lib/fox16/calendar.rb +21 -21
  95. data/lib/fox16/chore.rb +2 -2
  96. data/lib/fox16/core.rb +70 -70
  97. data/lib/fox16/dict.rb +1 -1
  98. data/lib/fox16/execute_nonmodal.rb +1 -1
  99. data/lib/fox16/glgroup.rb +16 -16
  100. data/lib/fox16/glshapes.rb +26 -26
  101. data/lib/fox16/input.rb +4 -4
  102. data/lib/fox16/irb.rb +2 -2
  103. data/lib/fox16/iterators.rb +2 -2
  104. data/lib/fox16/keys.rb +34 -34
  105. data/lib/fox16/kwargs.rb +927 -927
  106. data/lib/fox16/pseudokeyboard.rb +1 -1
  107. data/lib/fox16/pseudomouse.rb +1 -1
  108. data/lib/fox16/responder2.rb +4 -4
  109. data/lib/fox16/scintilla.rb +2 -2
  110. data/lib/fox16/signal.rb +4 -4
  111. data/lib/fox16/splashscreen.rb +3 -3
  112. data/lib/fox16/timeout.rb +3 -3
  113. data/lib/fox16/undolist.rb +9 -9
  114. data/lib/fox16/version.rb +1 -1
  115. data/rdoc-sources/FX4Splitter.rb +9 -9
  116. data/rdoc-sources/FX7Segment.rb +9 -9
  117. data/rdoc-sources/FXAccelTable.rb +1 -1
  118. data/rdoc-sources/FXApp.rb +50 -50
  119. data/rdoc-sources/FXBMPIcon.rb +3 -3
  120. data/rdoc-sources/FXBMPImage.rb +2 -2
  121. data/rdoc-sources/FXBitmap.rb +11 -11
  122. data/rdoc-sources/FXBitmapFrame.rb +5 -5
  123. data/rdoc-sources/FXBitmapView.rb +2 -2
  124. data/rdoc-sources/FXButton.rb +2 -2
  125. data/rdoc-sources/FXCheckButton.rb +5 -5
  126. data/rdoc-sources/FXColorBar.rb +5 -5
  127. data/rdoc-sources/FXColorDialog.rb +2 -2
  128. data/rdoc-sources/FXColorList.rb +2 -2
  129. data/rdoc-sources/FXColorRing.rb +8 -8
  130. data/rdoc-sources/FXColorSelector.rb +4 -4
  131. data/rdoc-sources/FXColorWell.rb +4 -4
  132. data/rdoc-sources/FXColorWheel.rb +6 -6
  133. data/rdoc-sources/FXComboBox.rb +17 -17
  134. data/rdoc-sources/FXComposite.rb +2 -2
  135. data/rdoc-sources/FXCursor.rb +7 -7
  136. data/rdoc-sources/FXDC.rb +67 -67
  137. data/rdoc-sources/FXDCPrint.rb +22 -22
  138. data/rdoc-sources/FXDCWindow.rb +1 -1
  139. data/rdoc-sources/FXDataTarget.rb +2 -2
  140. data/rdoc-sources/FXDebugTarget.rb +1 -1
  141. data/rdoc-sources/FXDelegator.rb +1 -1
  142. data/rdoc-sources/FXDial.rb +8 -8
  143. data/rdoc-sources/FXDict.rb +7 -7
  144. data/rdoc-sources/FXDirBox.rb +3 -3
  145. data/rdoc-sources/FXDirDialog.rb +7 -7
  146. data/rdoc-sources/FXDirList.rb +21 -21
  147. data/rdoc-sources/FXDirSelector.rb +8 -8
  148. data/rdoc-sources/FXDockBar.rb +5 -5
  149. data/rdoc-sources/FXDockHandler.rb +3 -3
  150. data/rdoc-sources/FXDockSite.rb +2 -2
  151. data/rdoc-sources/FXDockTitle.rb +3 -3
  152. data/rdoc-sources/FXDocument.rb +3 -3
  153. data/rdoc-sources/FXDragCorner.rb +3 -3
  154. data/rdoc-sources/FXDrawable.rb +3 -3
  155. data/rdoc-sources/FXDriveBox.rb +4 -4
  156. data/rdoc-sources/FXExtentd.rb +2 -2
  157. data/rdoc-sources/FXExtentf.rb +2 -2
  158. data/rdoc-sources/FXFileDialog.rb +21 -21
  159. data/rdoc-sources/FXFileDict.rb +17 -17
  160. data/rdoc-sources/FXFileList.rb +32 -32
  161. data/rdoc-sources/FXFileSelector.rb +20 -20
  162. data/rdoc-sources/FXFileStream.rb +1 -1
  163. data/rdoc-sources/FXFoldingList.rb +53 -53
  164. data/rdoc-sources/FXFont.rb +38 -38
  165. data/rdoc-sources/FXFrame.rb +11 -11
  166. data/rdoc-sources/FXGIFCursor.rb +3 -3
  167. data/rdoc-sources/FXGLCanvas.rb +2 -2
  168. data/rdoc-sources/FXGLContext.rb +6 -6
  169. data/rdoc-sources/FXGLObject.rb +6 -6
  170. data/rdoc-sources/FXGLShape.rb +3 -3
  171. data/rdoc-sources/FXGLViewer.rb +54 -54
  172. data/rdoc-sources/FXGLVisual.rb +13 -13
  173. data/rdoc-sources/FXGradientBar.rb +15 -15
  174. data/rdoc-sources/FXGroupBox.rb +4 -4
  175. data/rdoc-sources/FXHeader.rb +44 -44
  176. data/rdoc-sources/FXICOIcon.rb +1 -1
  177. data/rdoc-sources/FXICOImage.rb +1 -1
  178. data/rdoc-sources/FXIconDict.rb +1 -1
  179. data/rdoc-sources/FXIconList.rb +69 -69
  180. data/rdoc-sources/FXIconSource.rb +2 -2
  181. data/rdoc-sources/FXId.rb +1 -1
  182. data/rdoc-sources/FXImage.rb +11 -11
  183. data/rdoc-sources/FXImageFrame.rb +3 -3
  184. data/rdoc-sources/FXImageView.rb +2 -2
  185. data/rdoc-sources/FXInputDialog.rb +6 -6
  186. data/rdoc-sources/FXJPGIcon.rb +3 -3
  187. data/rdoc-sources/FXJPGImage.rb +2 -2
  188. data/rdoc-sources/FXKnob.rb +9 -9
  189. data/rdoc-sources/FXLabel.rb +8 -8
  190. data/rdoc-sources/FXList.rb +28 -28
  191. data/rdoc-sources/FXListBox.rb +21 -21
  192. data/rdoc-sources/FXMDIChild.rb +11 -11
  193. data/rdoc-sources/FXMDIClient.rb +5 -5
  194. data/rdoc-sources/FXMatrix.rb +6 -6
  195. data/rdoc-sources/FXMemoryBuffer.rb +1 -1
  196. data/rdoc-sources/FXMemoryStream.rb +3 -3
  197. data/rdoc-sources/FXMenuBar.rb +1 -1
  198. data/rdoc-sources/FXMenuButton.rb +7 -7
  199. data/rdoc-sources/FXMenuCaption.rb +10 -10
  200. data/rdoc-sources/FXMenuCheck.rb +1 -1
  201. data/rdoc-sources/FXMenuRadio.rb +1 -1
  202. data/rdoc-sources/FXMenuSeparator.rb +1 -1
  203. data/rdoc-sources/FXMessageBox.rb +3 -3
  204. data/rdoc-sources/FXOptionMenu.rb +9 -9
  205. data/rdoc-sources/FXPCXIcon.rb +2 -2
  206. data/rdoc-sources/FXPCXImage.rb +1 -1
  207. data/rdoc-sources/FXPNGIcon.rb +3 -3
  208. data/rdoc-sources/FXPNGImage.rb +1 -1
  209. data/rdoc-sources/FXPPMIcon.rb +2 -2
  210. data/rdoc-sources/FXPPMImage.rb +1 -1
  211. data/rdoc-sources/FXPacker.rb +13 -13
  212. data/rdoc-sources/FXPopup.rb +11 -11
  213. data/rdoc-sources/FXProgressBar.rb +7 -7
  214. data/rdoc-sources/FXProgressDialog.rb +3 -3
  215. data/rdoc-sources/FXQuatd.rb +17 -17
  216. data/rdoc-sources/FXQuatf.rb +18 -18
  217. data/rdoc-sources/FXRGBIcon.rb +3 -3
  218. data/rdoc-sources/FXRGBImage.rb +1 -1
  219. data/rdoc-sources/FXRadioButton.rb +4 -4
  220. data/rdoc-sources/FXRanged.rb +1 -1
  221. data/rdoc-sources/FXRangef.rb +1 -1
  222. data/rdoc-sources/FXRealSlider.rb +7 -7
  223. data/rdoc-sources/FXRealSpinner.rb +11 -11
  224. data/rdoc-sources/FXRecentFiles.rb +8 -8
  225. data/rdoc-sources/FXRectangle.rb +12 -12
  226. data/rdoc-sources/FXRegion.rb +15 -15
  227. data/rdoc-sources/FXRegistry.rb +4 -4
  228. data/rdoc-sources/FXReplaceDialog.rb +3 -3
  229. data/rdoc-sources/FXRuler.rb +18 -18
  230. data/rdoc-sources/FXRulerView.rb +38 -38
  231. data/rdoc-sources/FXScintilla.rb +16 -16
  232. data/rdoc-sources/FXScrollArea.rb +9 -9
  233. data/rdoc-sources/FXScrollBar.rb +8 -8
  234. data/rdoc-sources/FXScrollPane.rb +1 -1
  235. data/rdoc-sources/FXScrollWindow.rb +5 -5
  236. data/rdoc-sources/FXSeparator.rb +1 -1
  237. data/rdoc-sources/FXSettings.rb +1 -1
  238. data/rdoc-sources/FXShutter.rb +3 -3
  239. data/rdoc-sources/FXSize.rb +4 -4
  240. data/rdoc-sources/FXSlider.rb +7 -7
  241. data/rdoc-sources/FXSphered.rb +21 -21
  242. data/rdoc-sources/FXSpheref.rb +20 -20
  243. data/rdoc-sources/FXSpinner.rb +12 -12
  244. data/rdoc-sources/FXSplashWindow.rb +1 -1
  245. data/rdoc-sources/FXSplitter.rb +6 -6
  246. data/rdoc-sources/FXSpring.rb +2 -2
  247. data/rdoc-sources/FXStatusBar.rb +4 -4
  248. data/rdoc-sources/FXStatusLine.rb +5 -5
  249. data/rdoc-sources/FXStream.rb +8 -8
  250. data/rdoc-sources/FXStringDict.rb +5 -5
  251. data/rdoc-sources/FXSwitcher.rb +2 -2
  252. data/rdoc-sources/FXTGAIcon.rb +3 -3
  253. data/rdoc-sources/FXTGAImage.rb +1 -1
  254. data/rdoc-sources/FXTIFIcon.rb +2 -2
  255. data/rdoc-sources/FXTIFImage.rb +2 -2
  256. data/rdoc-sources/FXTabBar.rb +2 -2
  257. data/rdoc-sources/FXTable.rb +131 -131
  258. data/rdoc-sources/FXText.rb +48 -48
  259. data/rdoc-sources/FXTextField.rb +9 -9
  260. data/rdoc-sources/FXToolBar.rb +1 -1
  261. data/rdoc-sources/FXToolBarGrip.rb +1 -1
  262. data/rdoc-sources/FXToolBarShell.rb +7 -7
  263. data/rdoc-sources/FXToolBarTab.rb +3 -3
  264. data/rdoc-sources/FXToolTip.rb +1 -1
  265. data/rdoc-sources/FXTopWindow.rb +17 -17
  266. data/rdoc-sources/FXTranslator.rb +5 -5
  267. data/rdoc-sources/FXTreeList.rb +50 -50
  268. data/rdoc-sources/FXTreeListBox.rb +16 -16
  269. data/rdoc-sources/FXVec2d.rb +5 -5
  270. data/rdoc-sources/FXVec2f.rb +5 -5
  271. data/rdoc-sources/FXVec3d.rb +8 -8
  272. data/rdoc-sources/FXVec3f.rb +8 -8
  273. data/rdoc-sources/FXVec4d.rb +8 -8
  274. data/rdoc-sources/FXVec4f.rb +8 -8
  275. data/rdoc-sources/FXVisual.rb +3 -3
  276. data/rdoc-sources/FXWindow.rb +99 -99
  277. data/rdoc-sources/FXWizard.rb +8 -8
  278. data/rdoc-sources/FXXBMIcon.rb +2 -2
  279. data/rdoc-sources/FXXBMImage.rb +1 -1
  280. data/rdoc-sources/FXXPMIcon.rb +2 -2
  281. data/rdoc-sources/FXXPMImage.rb +1 -1
  282. data/rdoc-sources/fxdefs.rb +17 -17
  283. data/scripts/generate_kwargs_lib.rb +22 -22
  284. data/scripts/iface.rb +1 -1
  285. data/swig-interfaces/FX4Splitter.i +5 -5
  286. data/swig-interfaces/FX7Segment.i +5 -5
  287. data/swig-interfaces/FXApp.i +10 -10
  288. data/swig-interfaces/FXBMPIcon.i +2 -2
  289. data/swig-interfaces/FXBitmap.i +3 -3
  290. data/swig-interfaces/FXBitmapFrame.i +1 -1
  291. data/swig-interfaces/FXBitmapView.i +1 -1
  292. data/swig-interfaces/FXCanvas.i +1 -1
  293. data/swig-interfaces/FXCheckButton.i +2 -2
  294. data/swig-interfaces/FXChoiceBox.i +2 -2
  295. data/swig-interfaces/FXColorBar.i +7 -7
  296. data/swig-interfaces/FXColorList.i +5 -5
  297. data/swig-interfaces/FXColorWell.i +1 -1
  298. data/swig-interfaces/FXColorWheel.i +6 -6
  299. data/swig-interfaces/FXComboBox.i +4 -4
  300. data/swig-interfaces/FXCursor.i +4 -4
  301. data/swig-interfaces/FXDC.i +23 -23
  302. data/swig-interfaces/FXDCPrint.i +5 -5
  303. data/swig-interfaces/FXDCWindow.i +8 -8
  304. data/swig-interfaces/FXDataTarget.i +5 -5
  305. data/swig-interfaces/FXDebugTarget.i +1 -1
  306. data/swig-interfaces/FXDelegator.i +3 -3
  307. data/swig-interfaces/FXDial.i +8 -8
  308. data/swig-interfaces/FXDialogBox.i +3 -3
  309. data/swig-interfaces/FXDict.i +14 -14
  310. data/swig-interfaces/FXDirBox.i +1 -1
  311. data/swig-interfaces/FXDirDialog.i +2 -2
  312. data/swig-interfaces/FXDirList.i +16 -16
  313. data/swig-interfaces/FXDirSelector.i +2 -2
  314. data/swig-interfaces/FXDockBar.i +1 -1
  315. data/swig-interfaces/FXDockHandler.i +1 -1
  316. data/swig-interfaces/FXDockSite.i +1 -1
  317. data/swig-interfaces/FXDockTitle.i +1 -1
  318. data/swig-interfaces/FXDocument.i +1 -1
  319. data/swig-interfaces/FXDragCorner.i +3 -3
  320. data/swig-interfaces/FXDriveBox.i +1 -1
  321. data/swig-interfaces/FXFileDialog.i +8 -8
  322. data/swig-interfaces/FXFileDict.i +2 -2
  323. data/swig-interfaces/FXFileList.i +11 -11
  324. data/swig-interfaces/FXFileSelector.i +4 -4
  325. data/swig-interfaces/FXFoldingList.i +7 -7
  326. data/swig-interfaces/FXFont.i +20 -20
  327. data/swig-interfaces/FXFrame.i +3 -3
  328. data/swig-interfaces/FXGLCanvas.i +3 -3
  329. data/swig-interfaces/FXGLContext.i +7 -7
  330. data/swig-interfaces/FXGLObject.i +1 -1
  331. data/swig-interfaces/FXGLShape.i +6 -6
  332. data/swig-interfaces/FXGLViewer.i +40 -40
  333. data/swig-interfaces/FXGLVisual.i +2 -2
  334. data/swig-interfaces/FXGradientBar.i +4 -4
  335. data/swig-interfaces/FXGroupBox.i +3 -3
  336. data/swig-interfaces/FXHeader.i +7 -7
  337. data/swig-interfaces/FXIcon.i +4 -4
  338. data/swig-interfaces/FXIconDict.i +1 -1
  339. data/swig-interfaces/FXIconList.i +46 -46
  340. data/swig-interfaces/FXImage.i +2 -2
  341. data/swig-interfaces/FXImageView.i +1 -1
  342. data/swig-interfaces/FXInputDialog.i +3 -3
  343. data/swig-interfaces/FXJPGIcon.i +3 -3
  344. data/swig-interfaces/FXJPGImage.i +2 -2
  345. data/swig-interfaces/FXKnob.i +2 -2
  346. data/swig-interfaces/FXLabel.i +2 -2
  347. data/swig-interfaces/FXList.i +35 -35
  348. data/swig-interfaces/FXListBox.i +5 -5
  349. data/swig-interfaces/FXMDIButton.i +5 -5
  350. data/swig-interfaces/FXMDIChild.i +12 -12
  351. data/swig-interfaces/FXMDIClient.i +2 -2
  352. data/swig-interfaces/FXMat4d.i +2 -2
  353. data/swig-interfaces/FXMat4f.i +5 -5
  354. data/swig-interfaces/FXMatrix.i +12 -12
  355. data/swig-interfaces/FXMemoryBuffer.i +4 -4
  356. data/swig-interfaces/FXMenuBar.i +3 -3
  357. data/swig-interfaces/FXMenuButton.i +7 -7
  358. data/swig-interfaces/FXMenuCaption.i +4 -4
  359. data/swig-interfaces/FXMenuCommand.i +1 -1
  360. data/swig-interfaces/FXMenuPane.i +1 -1
  361. data/swig-interfaces/FXMenuRadio.i +1 -1
  362. data/swig-interfaces/FXMenuSeparator.i +1 -1
  363. data/swig-interfaces/FXMessageBox.i +1 -1
  364. data/swig-interfaces/FXOptionMenu.i +6 -6
  365. data/swig-interfaces/FXPNGIcon.i +2 -2
  366. data/swig-interfaces/FXPPMIcon.i +2 -2
  367. data/swig-interfaces/FXPacker.i +6 -6
  368. data/swig-interfaces/FXPopup.i +13 -13
  369. data/swig-interfaces/FXProgressBar.i +12 -12
  370. data/swig-interfaces/FXProgressDialog.i +5 -5
  371. data/swig-interfaces/FXQuatd.i +7 -7
  372. data/swig-interfaces/FXQuatf.i +1 -1
  373. data/swig-interfaces/FXRadioButton.i +4 -4
  374. data/swig-interfaces/FXRanged.i +4 -4
  375. data/swig-interfaces/FXRangef.i +5 -5
  376. data/swig-interfaces/FXRealSlider.i +10 -10
  377. data/swig-interfaces/FXRealSpinner.i +17 -17
  378. data/swig-interfaces/FXRecentFiles.i +1 -1
  379. data/swig-interfaces/FXRegion.i +4 -4
  380. data/swig-interfaces/FXRegistry.i +3 -3
  381. data/swig-interfaces/FXReplaceDialog.i +1 -1
  382. data/swig-interfaces/FXScintilla.i +3 -3
  383. data/swig-interfaces/FXScrollArea.i +7 -7
  384. data/swig-interfaces/FXScrollBar.i +3 -3
  385. data/swig-interfaces/FXScrollWindow.i +6 -6
  386. data/swig-interfaces/FXSearchDialog.i +1 -1
  387. data/swig-interfaces/FXSeparator.i +3 -3
  388. data/swig-interfaces/FXSettings.i +3 -3
  389. data/swig-interfaces/FXShell.i +1 -1
  390. data/swig-interfaces/FXSlider.i +11 -11
  391. data/swig-interfaces/FXSphered.i +1 -1
  392. data/swig-interfaces/FXSpheref.i +1 -1
  393. data/swig-interfaces/FXSpinner.i +15 -15
  394. data/swig-interfaces/FXSplitter.i +6 -6
  395. data/swig-interfaces/FXStatusBar.i +4 -4
  396. data/swig-interfaces/FXStatusLine.i +5 -5
  397. data/swig-interfaces/FXStream.i +1 -1
  398. data/swig-interfaces/FXSwitcher.i +5 -5
  399. data/swig-interfaces/FXTabBar.i +2 -2
  400. data/swig-interfaces/FXTabBook.i +1 -1
  401. data/swig-interfaces/FXTabItem.i +4 -4
  402. data/swig-interfaces/FXTable.i +37 -37
  403. data/swig-interfaces/FXText.i +13 -13
  404. data/swig-interfaces/FXTextField.i +1 -1
  405. data/swig-interfaces/FXToggleButton.i +6 -6
  406. data/swig-interfaces/FXToolBar.i +4 -4
  407. data/swig-interfaces/FXToolBarGrip.i +3 -3
  408. data/swig-interfaces/FXToolBarShell.i +3 -3
  409. data/swig-interfaces/FXToolBarTab.i +5 -5
  410. data/swig-interfaces/FXToolTip.i +1 -1
  411. data/swig-interfaces/FXTopWindow.i +10 -10
  412. data/swig-interfaces/FXTreeList.i +28 -28
  413. data/swig-interfaces/FXTreeListBox.i +36 -36
  414. data/swig-interfaces/FXVec3d.i +2 -2
  415. data/swig-interfaces/FXVec3f.i +2 -2
  416. data/swig-interfaces/FXVec4d.i +1 -1
  417. data/swig-interfaces/FXVec4f.i +9 -9
  418. data/swig-interfaces/FXVerticalFrame.i +1 -1
  419. data/swig-interfaces/FXVisual.i +1 -1
  420. data/swig-interfaces/FXWindow.i +46 -46
  421. data/swig-interfaces/FXXPMIcon.i +1 -1
  422. data/swig-interfaces/FXXPMImage.i +1 -1
  423. data/swig-interfaces/exceptions.i +1 -1
  424. data/swig-interfaces/freefuncs.i +1 -1
  425. data/swig-interfaces/fxdefs.i +13 -13
  426. data/swig-interfaces/macros.i +79 -79
  427. data/test/TC_FXAccelTable.rb +3 -3
  428. data/test/TC_FXButton.rb +9 -9
  429. data/test/TC_FXCheckButton.rb +4 -4
  430. data/test/TC_FXComboBox.rb +1 -1
  431. data/test/TC_FXDC.rb +42 -42
  432. data/test/TC_FXDialogBox.rb +1 -1
  433. data/test/TC_FXExtentd.rb +2 -2
  434. data/test/TC_FXExtentf.rb +2 -2
  435. data/test/TC_FXFileAssoc.rb +5 -5
  436. data/test/TC_FXFileStream.rb +5 -5
  437. data/test/TC_FXFoldingList.rb +3 -3
  438. data/test/TC_FXFont.rb +3 -3
  439. data/test/TC_FXGLGroup.rb +1 -1
  440. data/test/TC_FXHeader.rb +3 -3
  441. data/test/TC_FXIconDict.rb +5 -5
  442. data/test/TC_FXIconList.rb +12 -12
  443. data/test/TC_FXImage.rb +16 -16
  444. data/test/TC_FXList.rb +5 -5
  445. data/test/TC_FXListBox.rb +1 -1
  446. data/test/TC_FXMainWindow.rb +2 -2
  447. data/test/TC_FXMat4f.rb +33 -33
  448. data/test/TC_FXMaterial.rb +5 -5
  449. data/test/TC_FXMemoryStream.rb +2 -2
  450. data/test/TC_FXMenuCheck.rb +5 -5
  451. data/test/TC_FXMessageBox.rb +3 -3
  452. data/test/TC_FXPoint.rb +1 -1
  453. data/test/TC_FXRadioButton.rb +4 -4
  454. data/test/TC_FXRanged.rb +3 -3
  455. data/test/TC_FXRangef.rb +3 -3
  456. data/test/TC_FXRegion.rb +1 -1
  457. data/test/TC_FXScrollArea.rb +1 -1
  458. data/test/TC_FXScrollWindow.rb +1 -1
  459. data/test/TC_FXSettings.rb +2 -2
  460. data/test/TC_FXShell.rb +2 -2
  461. data/test/TC_FXTopWindow.rb +2 -2
  462. data/test/TC_FXTreeList.rb +4 -4
  463. data/test/TC_FXTreeListBox.rb +3 -3
  464. data/test/TC_FXVec2d.rb +3 -3
  465. data/test/TC_FXVec2f.rb +3 -3
  466. data/test/TC_FXVec3d.rb +5 -5
  467. data/test/TC_FXVec3f.rb +5 -5
  468. data/test/TC_FXVec4f.rb +6 -6
  469. data/test/TC_Misc.rb +6 -2
  470. data/test/TS_All.rb +1 -17
  471. data/test/stress1.rb +5 -5
  472. data/test/stress2.rb +3 -3
  473. data/test/stress3.rb +12 -12
  474. data/test/testcase.rb +4 -4
  475. metadata +76 -76
@@ -71,7 +71,7 @@ public:
71
71
  FXFileDict(FXApp* a){
72
72
  return new FXRbFileDict(a);
73
73
  }
74
-
74
+
75
75
  /**
76
76
  * Construct a dictionary mapping file-extension to file associations,
77
77
  * using the specified settings database as a source for the bindings.
@@ -110,7 +110,7 @@ public:
110
110
 
111
111
  /// Find file association from registry
112
112
  FXFileAssoc* find(const FXchar* ext);
113
-
113
+
114
114
  /// Destructor
115
115
  virtual ~FXFileDict();
116
116
  };
@@ -21,7 +21,7 @@
21
21
  ***********************************************************************/
22
22
 
23
23
  struct FXFileAssoc;
24
- class FXFileDict;
24
+ class FXFileDict;
25
25
  class FXIcon;
26
26
 
27
27
 
@@ -81,7 +81,7 @@ public:
81
81
 
82
82
  /// Return the date for this item
83
83
  FXTime getDate() const;
84
-
84
+
85
85
  /// Destructor
86
86
  virtual ~FXFileItem();
87
87
  };
@@ -279,7 +279,7 @@ public:
279
279
 
280
280
  /// Return full pathname of item at index
281
281
  FXString getItemPathname(FXint index) const;
282
-
282
+
283
283
  /// Return file association of item
284
284
  FXFileAssoc* getItemAssoc(FXint index) const;
285
285
 
@@ -289,18 +289,18 @@ public:
289
289
  /// Change wildcard matching mode
290
290
  void setMatchMode(FXuint mode);
291
291
 
292
- /// Return TRUE if showing hidden files
292
+ /// Return TRUE if showing hidden files
293
293
  FXbool showHiddenFiles() const;
294
-
294
+
295
295
  /// Show or hide hidden files
296
296
  void showHiddenFiles(FXbool showing);
297
-
297
+
298
298
  /// Return TRUE if showing directories only
299
299
  FXbool showOnlyDirectories() const;
300
-
300
+
301
301
  /// Show directories only
302
302
  void showOnlyDirectories(FXbool shown);
303
-
303
+
304
304
  /// Return TRUE if showing files only
305
305
  FXbool showOnlyFiles() const;
306
306
 
@@ -315,10 +315,10 @@ public:
315
315
 
316
316
  /// Return images preview size
317
317
  FXint getImageSize() const;
318
-
318
+
319
319
  /// Change images preview size
320
320
  void setImageSize(FXint size);
321
-
321
+
322
322
  /// Return TRUE if showing parent directories
323
323
  FXbool showParents() const;
324
324
 
@@ -327,7 +327,7 @@ public:
327
327
 
328
328
  /// Change file associations
329
329
  void setAssociations(FXFileDict* assoc);
330
-
330
+
331
331
  /// Return file associations
332
332
  FXFileDict* getAssociations() const;
333
333
 
@@ -247,7 +247,7 @@ public:
247
247
 
248
248
  /// Return number of patterns
249
249
  FXint getNumPatterns() const;
250
-
250
+
251
251
  /// Allow pattern entry
252
252
  void allowPatternEntry(FXbool allow);
253
253
 
@@ -319,10 +319,10 @@ public:
319
319
 
320
320
  /// Show readonly button
321
321
  void showReadOnly(FXbool show);
322
-
322
+
323
323
  /// Return TRUE if readonly is shown
324
324
  FXbool shownReadOnly() const;
325
-
325
+
326
326
  /// Set initial state of readonly button
327
327
  void setReadOnly(FXbool state);
328
328
 
@@ -331,7 +331,7 @@ public:
331
331
 
332
332
  /// Allow or disallow navigation
333
333
  void allowNavigation(FXbool navigable);
334
-
334
+
335
335
  /// Is navigation allowed?
336
336
  FXbool allowNavigation() const;
337
337
 
@@ -101,7 +101,7 @@ public:
101
101
  void setData(VALUE ptr){
102
102
  self->setData(reinterpret_cast<void*>(ptr));
103
103
  }
104
-
104
+
105
105
  VALUE getData() const {
106
106
  return self->getData() ? reinterpret_cast<VALUE>(self->getData()) : Qnil;
107
107
  }
@@ -127,10 +127,10 @@ public:
127
127
 
128
128
  /// Return TRUE if subitems, real or imagined
129
129
  FXbool hasItems() const;
130
-
130
+
131
131
  /// Change has items flag
132
132
  void setHasItems(FXbool flag);
133
-
133
+
134
134
  /// Return true if descendent of parent item
135
135
  FXbool isChildOf(const FXFoldingItem* item) const;
136
136
 
@@ -318,7 +318,7 @@ public:
318
318
  FXFoldingItem* appendItem(FXFoldingItem* father,const FXString& text,FXIcon* oi=NULL,FXIcon* ci=NULL,void* ITEMDATA=NULL,FXbool notify=FALSE);
319
319
 
320
320
  %extend {
321
- /// Prepend [possibly subclassed] item as first child of father
321
+ /// Prepend [possibly subclassed] item as first child of father
322
322
  FXFoldingItem* prependItem(FXFoldingItem* father,FXFoldingItem* item,FXbool notify=FALSE){
323
323
  if(item->isMemberOf(FXMETACLASS(FXRbFoldingItem))){
324
324
  dynamic_cast<FXRbFoldingItem*>(item)->owned=TRUE;
@@ -342,10 +342,10 @@ public:
342
342
  // Save pointer(s) to the soon-to-be-destroyed items
343
343
  FXObjectListOf<FXFoldingItem> items;
344
344
  FXRbFoldingList::enumerateItem(item,items);
345
-
345
+
346
346
  // Do the deed
347
347
  self->removeItem(item,notify);
348
-
348
+
349
349
  // Now zero-out pointers held by still-alive Ruby objects
350
350
  for(FXint i=0;i<items.no();i++){
351
351
  FXRbUnregisterRubyObj(items[i]);
@@ -433,7 +433,7 @@ public:
433
433
  void setItemData(FXFoldingItem* item,VALUE ptr){
434
434
  self->setItemData(item,reinterpret_cast<void*>(ptr));
435
435
  }
436
-
436
+
437
437
  /// Return item user-data pointer
438
438
  VALUE getItemData(const FXFoldingItem* item) const {
439
439
  return self->getItemData(item) ? reinterpret_cast<VALUE>(self->getItemData(item)) : Qnil;
@@ -34,7 +34,7 @@ enum FXFontEncoding {
34
34
  FONTENCODING_ISO_8859_2 = 2, /// Central and East European (Latin2)
35
35
  FONTENCODING_ISO_8859_3 = 3, /// Esperanto (Latin3)
36
36
  FONTENCODING_ISO_8859_4 = 4,
37
- FONTENCODING_ISO_8859_5 = 5, /// Cyrillic (almost obsolete)
37
+ FONTENCODING_ISO_8859_5 = 5, /// Cyrillic (almost obsolete)
38
38
  FONTENCODING_ISO_8859_6 = 6, /// Arabic
39
39
  FONTENCODING_ISO_8859_7 = 7, /// Greek
40
40
  FONTENCODING_ISO_8859_8 = 8, /// Hebrew
@@ -80,29 +80,29 @@ enum FXFontEncoding {
80
80
 
81
81
  FONTENCODING_UNICODE = 9999,
82
82
 
83
- FONTENCODING_LATIN1 = FONTENCODING_ISO_8859_1, /// Latin 1 (West European)
84
- FONTENCODING_LATIN2 = FONTENCODING_ISO_8859_2, /// Latin 2 (East European)
85
- FONTENCODING_LATIN3 = FONTENCODING_ISO_8859_3, /// Latin 3 (South European)
86
- FONTENCODING_LATIN4 = FONTENCODING_ISO_8859_4, /// Latin 4 (North European)
87
- FONTENCODING_LATIN5 = FONTENCODING_ISO_8859_9, /// Latin 5 (Turkish)
88
- FONTENCODING_LATIN6 = FONTENCODING_ISO_8859_10, /// Latin 6 (Nordic)
83
+ FONTENCODING_LATIN1 = FONTENCODING_ISO_8859_1, /// Latin 1 (West European)
84
+ FONTENCODING_LATIN2 = FONTENCODING_ISO_8859_2, /// Latin 2 (East European)
85
+ FONTENCODING_LATIN3 = FONTENCODING_ISO_8859_3, /// Latin 3 (South European)
86
+ FONTENCODING_LATIN4 = FONTENCODING_ISO_8859_4, /// Latin 4 (North European)
87
+ FONTENCODING_LATIN5 = FONTENCODING_ISO_8859_9, /// Latin 5 (Turkish)
88
+ FONTENCODING_LATIN6 = FONTENCODING_ISO_8859_10, /// Latin 6 (Nordic)
89
89
  FONTENCODING_LATIN7 = FONTENCODING_ISO_8859_13, /// Latin 7 (Baltic Rim)
90
90
  FONTENCODING_LATIN8 = FONTENCODING_ISO_8859_14, /// Latin 8 (Celtic)
91
91
  FONTENCODING_LATIN9 = FONTENCODING_ISO_8859_15, /// Latin 9 AKA Latin 0
92
92
  FONTENCODING_LATIN10 = FONTENCODING_ISO_8859_16, /// Latin 10
93
93
 
94
94
  FONTENCODING_USASCII = FONTENCODING_ISO_8859_1, /// Latin 1
95
- FONTENCODING_WESTEUROPE = FONTENCODING_ISO_8859_1, /// Latin 1 (West European)
96
- FONTENCODING_EASTEUROPE = FONTENCODING_ISO_8859_2, /// Latin 2 (East European)
97
- FONTENCODING_SOUTHEUROPE = FONTENCODING_ISO_8859_3, /// Latin 3 (South European)
98
- FONTENCODING_NORTHEUROPE = FONTENCODING_ISO_8859_4, /// Latin 4 (North European)
95
+ FONTENCODING_WESTEUROPE = FONTENCODING_ISO_8859_1, /// Latin 1 (West European)
96
+ FONTENCODING_EASTEUROPE = FONTENCODING_ISO_8859_2, /// Latin 2 (East European)
97
+ FONTENCODING_SOUTHEUROPE = FONTENCODING_ISO_8859_3, /// Latin 3 (South European)
98
+ FONTENCODING_NORTHEUROPE = FONTENCODING_ISO_8859_4, /// Latin 4 (North European)
99
99
  FONTENCODING_CYRILLIC = FONTENCODING_ISO_8859_5, /// Cyrillic
100
100
  FONTENCODING_RUSSIAN = FONTENCODING_KOI8, /// Cyrillic
101
101
  FONTENCODING_ARABIC = FONTENCODING_ISO_8859_6, /// Arabic
102
102
  FONTENCODING_GREEK = FONTENCODING_ISO_8859_7, /// Greek
103
103
  FONTENCODING_HEBREW = FONTENCODING_ISO_8859_8, /// Hebrew
104
- FONTENCODING_TURKISH = FONTENCODING_ISO_8859_9, /// Latin 5 (Turkish)
105
- FONTENCODING_NORDIC = FONTENCODING_ISO_8859_10, /// Latin 6 (Nordic)
104
+ FONTENCODING_TURKISH = FONTENCODING_ISO_8859_9, /// Latin 5 (Turkish)
105
+ FONTENCODING_NORDIC = FONTENCODING_ISO_8859_10, /// Latin 6 (Nordic)
106
106
  FONTENCODING_THAI = FONTENCODING_ISO_8859_11, /// Thai
107
107
  FONTENCODING_BALTIC = FONTENCODING_ISO_8859_13, /// Latin 7 (Baltic Rim)
108
108
  FONTENCODING_CELTIC = FONTENCODING_ISO_8859_14 /// Latin 8 (Celtic)
@@ -224,17 +224,17 @@ public:
224
224
  FXFont(FXApp* a,const FXString& string){
225
225
  return new FXRbFont(a,string);
226
226
  }
227
-
227
+
228
228
  /**
229
229
  * Construct a font with given name, size in points, weight, slant, character set
230
230
  * encoding, setwidth, and hints.
231
- * The font name may be comprised of a family name and optional foundry name enclosed in
231
+ * The font name may be comprised of a family name and optional foundry name enclosed in
232
232
  * square brackets, for example, "helvetica [bitstream]".
233
233
  */
234
234
  FXFont(FXApp* a,const FXString& face,FXuint sz,FXuint wt=FXFont::Normal,FXuint slant=FXFont::Straight,FXuint encoding=FONTENCODING_DEFAULT,FXuint setwidth=FXFont::NonExpanded,FXuint h=0){
235
235
  return new FXRbFont(a,face,sz,wt,slant,encoding,setwidth,h);
236
236
  }
237
-
237
+
238
238
  /// Construct font from font description
239
239
  FXFont(FXApp* a,const FXFontDesc& fontdesc){
240
240
  return new FXRbFont(a,fontdesc);
@@ -249,13 +249,13 @@ public:
249
249
 
250
250
  /// Get font family name
251
251
  const FXString& getName() const;
252
-
252
+
253
253
  /// Get actual family name
254
254
  const FXString& getActualName() const;
255
255
 
256
256
  /// Get size in deci-points
257
257
  FXuint getSize() const;
258
-
258
+
259
259
  /// Get actual size in deci-points
260
260
  FXuint getActualSize() const;
261
261
 
@@ -267,7 +267,7 @@ public:
267
267
 
268
268
  /// Get slant
269
269
  FXuint getSlant() const;
270
-
270
+
271
271
  /// Get actual slant
272
272
  FXuint getActualSlant() const;
273
273
 
@@ -297,7 +297,7 @@ public:
297
297
  return fontdesc;
298
298
  }
299
299
  }
300
-
300
+
301
301
  /// Return angle
302
302
  FXint getAngle() const;
303
303
 
@@ -72,10 +72,10 @@ public:
72
72
 
73
73
  /// Change frame style
74
74
  void setFrameStyle(FXuint style);
75
-
75
+
76
76
  /// Get current frame style
77
77
  FXuint getFrameStyle() const;
78
-
78
+
79
79
  /// Get border width
80
80
  FXint getBorderWidth() const;
81
81
 
@@ -123,7 +123,7 @@ public:
123
123
 
124
124
  /// Change base gui color
125
125
  void setBaseColor(FXColor clr);
126
-
126
+
127
127
  /// Get base gui color
128
128
  FXColor getBaseColor() const;
129
129
  };
@@ -36,7 +36,7 @@ public:
36
36
  FXGLCanvas(FXComposite* p,FXGLVisual *vis,FXObject* tgt=NULL,FXSelector sel=0,FXuint opts=0,FXint x=0,FXint y=0,FXint w=0,FXint h=0){
37
37
  return new FXRbGLCanvas(p,vis,tgt,sel,opts,x,y,w,h);
38
38
  }
39
-
39
+
40
40
  /**
41
41
  * Construct an OpenGL-capable canvas, sharing display
42
42
  * list with another GL canvas. This canvas becomes a member
@@ -50,7 +50,7 @@ public:
50
50
 
51
51
  /// Return TRUE if it is sharing display lists
52
52
  FXbool isShared() const;
53
-
53
+
54
54
  %extend {
55
55
  /// Return current context, if any
56
56
  static unsigned long getCurrentContext(){
@@ -62,7 +62,7 @@ public:
62
62
  return reinterpret_cast<unsigned long>(self->getContext());
63
63
  }
64
64
  }
65
-
65
+
66
66
  /// Destructor
67
67
  virtual ~FXGLCanvas();
68
68
  };
@@ -48,7 +48,7 @@ public:
48
48
  FXGLContext(FXApp* a,FXGLVisual *vis){
49
49
  return new FXRbGLContext(a,vis);
50
50
  }
51
-
51
+
52
52
  /**
53
53
  * Construct an OpenGL context sharing display lists with an existing GL context.
54
54
  */
@@ -59,22 +59,22 @@ public:
59
59
 
60
60
  /// Return TRUE if it is sharing display lists
61
61
  FXbool isShared() const;
62
-
62
+
63
63
  /// Get the visual
64
64
  FXGLVisual* getVisual() const;
65
65
 
66
66
  /// Make OpenGL context current prior to performing OpenGL commands
67
67
  FXbool begin(FXDrawable *drawable);
68
-
69
- /// Make OpenGL context non current
68
+
69
+ /// Make OpenGL context non current
70
70
  FXbool end();
71
-
71
+
72
72
  /// Swap front and back buffer
73
73
  void swapBuffers();
74
-
74
+
75
75
  /// Copy part of backbuffer to front buffer [Mesa]
76
76
  void swapSubBuffers(FXint x,FXint y,FXint w,FXint h);
77
-
77
+
78
78
  /// Destructor
79
79
  virtual ~FXGLContext();
80
80
  };
@@ -45,7 +45,7 @@ public:
45
45
  return self->identify(path);
46
46
  }
47
47
  }
48
-
48
+
49
49
  // Destructor
50
50
  virtual ~FXGLObject();
51
51
  };
@@ -38,8 +38,8 @@ enum {
38
38
  STYLE_POINTS = 0x00000040, // Draw as points
39
39
  STYLE_BOUNDBOX = 0x00000080 // Draw bounding box
40
40
  };
41
-
42
-
41
+
42
+
43
43
 
44
44
  /// OpenGL Shape Object
45
45
  class FXGLShape : public FXGLObject {
@@ -91,7 +91,7 @@ public:
91
91
  FXGLShape(FXfloat x,FXfloat y,FXfloat z,FXuint opts){
92
92
  return new FXRbGLShape(x,y,z,opts);
93
93
  }
94
-
94
+
95
95
  /// Construct with specified origin, options and front and back materials
96
96
  FXGLShape(FXfloat x,FXfloat y,FXfloat z,FXuint opts,const FXMaterial& front,const FXMaterial& back){
97
97
  return new FXRbGLShape(x,y,z,opts,front,back);
@@ -126,21 +126,21 @@ public:
126
126
  FXASSERT(self->isMemberOf(FXMETACLASS(FXRbGLShape)));
127
127
  dynamic_cast<FXRbGLShape*>(self)->setPosition(pos);
128
128
  }
129
-
129
+
130
130
  // Get the material for specified side (where side = 0 or 1)
131
131
  FXMaterial getMaterial(FXint side) const {
132
132
  FXMaterial mtl;
133
133
  self->getMaterial(side, mtl);
134
134
  return mtl;
135
135
  }
136
-
136
+
137
137
  // Set the range for this shape
138
138
  void setRange(const FXRangef& box){
139
139
  FXASSERT(self->isMemberOf(FXMETACLASS(FXRbGLShape)));
140
140
  dynamic_cast<FXRbGLShape*>(self)->setRange(box);
141
141
  }
142
142
  }
143
-
143
+
144
144
  // Destructor
145
145
  virtual ~FXGLShape();
146
146
  };
@@ -31,9 +31,9 @@ enum {
31
31
  VIEWER_DITHER = 0x00020000 /// Dithering
32
32
  };
33
33
 
34
-
34
+
35
35
  /******************************* Viewer Structs *****************************/
36
-
36
+
37
37
 
38
38
  /// OpenGL Viewer Viewport
39
39
  struct FXViewport {
@@ -74,7 +74,7 @@ struct FXMaterial {
74
74
  ~FXMaterial();
75
75
  };
76
76
 
77
-
77
+
78
78
  // Feedback buffer sort routine
79
79
  // typedef FXbool (*FXZSortFunc)(FXfloat*& buffer,FXint& used,FXint& size); FIXME
80
80
 
@@ -254,7 +254,7 @@ public:
254
254
  long onQueryTip(FXObject*,FXSelector,void* PTR_IGNORE); // FIXME
255
255
 
256
256
  public:
257
-
257
+
258
258
  // Projection modes
259
259
  enum {
260
260
  PARALLEL, // Parallel projection
@@ -275,7 +275,7 @@ public:
275
275
  ID_FITVIEW,
276
276
  ID_TOP_COLOR,
277
277
  ID_BOTTOM_COLOR,
278
- ID_BACK_COLOR,
278
+ ID_BACK_COLOR,
279
279
  ID_AMBIENT_COLOR,
280
280
  ID_LIGHT_AMBIENT,
281
281
  ID_LIGHT_DIFFUSE,
@@ -321,7 +321,7 @@ public:
321
321
  FXGLViewer(FXComposite* p,FXGLVisual *vis,FXObject* tgt=NULL,FXSelector sel=0,FXuint opts=0,FXint x=0,FXint y=0,FXint w=0,FXint h=0){
322
322
  return new FXRbGLViewer(p,vis,tgt,sel,opts,x,y,w,h);
323
323
  }
324
-
324
+
325
325
  /// Construct GL viewer widget sharing display list with another GL viewer
326
326
  FXGLViewer(FXComposite* p,FXGLVisual *vis,FXGLViewer* sharegroup,FXObject* tgt=NULL,FXSelector sel=0,FXuint opts=0,FXint x=0,FXint y=0,FXint w=0,FXint h=0){
327
327
  return new FXRbGLViewer(p,vis,sharegroup,tgt,sel,opts,x,y,w,h);
@@ -353,7 +353,7 @@ public:
353
353
 
354
354
  /// Fit viewer to the given bounding box
355
355
  FXbool fitToBounds(const FXRangef& box);
356
-
356
+
357
357
  %extend {
358
358
  /// Return the viewer's viewport
359
359
  FXViewport getViewport() const {
@@ -362,7 +362,7 @@ public:
362
362
  return v;
363
363
  }
364
364
  }
365
-
365
+
366
366
  %extend {
367
367
  /// Translate eye-coordinate to screen coordinate
368
368
  VALUE eyeToScreen(FXVec3f e) {
@@ -377,25 +377,25 @@ public:
377
377
 
378
378
  /// Translate screen coordinate to eye coordinate at the given depth
379
379
  FXVec3f screenToEye(FXint sx,FXint sy,FXfloat eyez=0.0);
380
-
380
+
381
381
  /// Translate screen coordinate to eye coordinate at the target point depth
382
382
  FXVec3f screenToTarget(FXint sx,FXint sy);
383
-
383
+
384
384
  /// Translate world coordinate to eye coordinate
385
385
  FXVec3f worldToEye(FXVec3f w);
386
-
386
+
387
387
  /// Translate world coordinate to eye coordinate depth
388
388
  FXfloat worldToEyeZ(FXVec3f w);
389
-
389
+
390
390
  /// Translate eye coordinate to eye coordinate
391
- FXVec3f eyeToWorld(FXVec3f e);
392
-
391
+ FXVec3f eyeToWorld(FXVec3f e);
392
+
393
393
  /// Calculate world coordinate vector from screen movement
394
394
  FXVec3f worldVector(FXint fx,FXint fy,FXint tx,FXint ty);
395
-
395
+
396
396
  /// Change default object material setting
397
397
  void setMaterial(const FXMaterial &mtl);
398
-
398
+
399
399
  %extend {
400
400
  /// Return default object material setting
401
401
  FXMaterial getMaterial() const {
@@ -404,46 +404,46 @@ public:
404
404
  return mtl;
405
405
  }
406
406
  }
407
-
407
+
408
408
  /// Change camera field of view angle (in degrees)
409
409
  void setFieldOfView(FXdouble fv);
410
-
410
+
411
411
  /// Return camera field of view angle
412
412
  FXdouble getFieldOfView() const { return fov; }
413
413
 
414
414
  /// Change camera zoom factor
415
415
  void setZoom(FXdouble zm);
416
-
416
+
417
417
  /// Return camera zoom factor
418
418
  FXdouble getZoom() const;
419
419
 
420
420
  /// Change target point distance
421
421
  void setDistance(FXdouble ed);
422
-
422
+
423
423
  /// Return target point distance
424
424
  FXdouble getDistance() const;
425
425
 
426
426
  /// Change unequal model scaling factors
427
427
  void setScale(FXVec3f s);
428
-
428
+
429
429
  /// Return current scaling factors
430
430
  const FXVec3f& getScale() const;
431
431
 
432
432
  /// Change camera orientation from quaternion
433
433
  void setOrientation(FXQuatf rot);
434
-
434
+
435
435
  /// Return current camera orientation quaternion
436
436
  const FXQuatf& getOrientation() const;
437
437
 
438
438
  /// Change object center (tranlation)
439
439
  void setCenter(FXVec3f cntr);
440
-
440
+
441
441
  /// Return object center
442
442
  const FXVec3f& getCenter() const;
443
443
 
444
444
  /// Translate object center
445
445
  void translate(FXVec3f vec);
446
-
446
+
447
447
  %extend {
448
448
  /// Return boresight vector (an array of two arrays)
449
449
  VALUE getBoreVector(FXint sx,FXint sy) {
@@ -470,19 +470,19 @@ public:
470
470
 
471
471
  /// Return eyesight vector
472
472
  FXVec3f getEyeVector() const;
473
-
474
- /// Return eye position
473
+
474
+ /// Return eye position
475
475
  FXVec3f getEyePosition() const;
476
-
476
+
477
477
  /// Change help text
478
478
  void setHelpText(const FXString& text);
479
-
479
+
480
480
  /// Return help text
481
481
  const FXString& getHelpText() const;
482
482
 
483
483
  /// Change tip text
484
484
  void setTipText(const FXString& text);
485
-
485
+
486
486
  /// Return tip text
487
487
  const FXString& getTipText() const;
488
488
 
@@ -494,7 +494,7 @@ public:
494
494
 
495
495
  /// Change the scene, i.e. the object being displayed.
496
496
  void setScene(FXGLObject* sc);
497
-
497
+
498
498
  /// Return the current scene object
499
499
  FXGLObject* getScene() const;
500
500
 
@@ -506,19 +506,19 @@ public:
506
506
 
507
507
  /// Change the projection mode, PERSPECTIVE or PARALLEL
508
508
  void setProjection(FXuint proj);
509
-
509
+
510
510
  /// Return the projection mode
511
511
  FXuint getProjection() const;
512
512
 
513
513
  /// Change top or bottom or both background colors
514
514
  void setBackgroundColor(const FXVec4f& clr,FXbool bottom=MAYBE);
515
-
515
+
516
516
  /// Return top or bottom window background color.
517
517
  const FXVec4f& getBackgroundColor(FXbool bottom=FALSE) const;
518
518
 
519
519
  /// Change global ambient light color
520
520
  void setAmbientColor(const FXVec4f& clr);
521
-
521
+
522
522
  /// Return global ambient light color
523
523
  const FXVec4f& getAmbientColor() const;
524
524
 
@@ -538,9 +538,9 @@ public:
538
538
  }
539
539
  return pixels;
540
540
  }
541
-
541
+
542
542
  /**
543
- * Read the feedback buffer containing the current scene, returning used
543
+ * Read the feedback buffer containing the current scene, returning used
544
544
  * and allocated size.
545
545
  */
546
546
  VALUE readFeedback(FXint x,FXint y,FXint w,FXint h){
@@ -621,12 +621,12 @@ public:
621
621
  }
622
622
  }
623
623
  #endif
624
-
624
+
625
625
  #ifdef SWIGRUBY
626
626
  /**
627
627
  * Change hidden-surface feedback buffer sorting algorithm.
628
628
  * This can be used for move/draw printed output depth sorting.
629
- */
629
+ */
630
630
  %extend {
631
631
  void setZSortFunc(VALUE proc){
632
632
  }
@@ -642,7 +642,7 @@ public:
642
642
  }
643
643
  #endif
644
644
 
645
- /**
645
+ /**
646
646
  * Change the maximum hits, i.e. the maximum size of the pick buffer.
647
647
  * When set to less than or equal to zero, picking is essentially turned off.
648
648
  */
@@ -664,7 +664,7 @@ public:
664
664
 
665
665
  /// Set turbo mode
666
666
  void setTurboMode(FXbool turbo=TRUE);
667
-
667
+
668
668
  %extend {
669
669
  // Return light source settings
670
670
  FXLight getLight() const {
@@ -673,7 +673,7 @@ public:
673
673
  return lite;
674
674
  }
675
675
  }
676
-
676
+
677
677
  /// Change light source settings
678
678
  void setLight(const FXLight& lite);
679
679