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
@@ -75,7 +75,7 @@ public:
75
75
  if(n==0.0) rb_raise(rb_eZeroDivError,"divided by 0");
76
76
  return (*self)/n;
77
77
  }
78
-
78
+
79
79
  /// Dot product
80
80
  FXdouble operator*(const FXVec3d& other) const { return (*self)*other; }
81
81
  FXdouble dot(const FXVec3d& other) const { return (*self)*other; }
@@ -83,7 +83,7 @@ public:
83
83
  /// Cross product
84
84
  FXVec3d operator^(const FXVec3d& other) const { return (*self)^other; }
85
85
  FXVec3d cross(const FXVec3d& other) const { return (*self)^other; }
86
-
86
+
87
87
  /// Equality tests
88
88
  bool operator==(const FXVec3d& other) const { return (*self)==other; }
89
89
 
@@ -75,13 +75,13 @@ public:
75
75
  if(n==0.0f) rb_raise(rb_eZeroDivError,"divided by 0");
76
76
  return (*self)/n;
77
77
  }
78
-
78
+
79
79
  /// Dot and cross products
80
80
  FXfloat operator*(const FXVec3f& other) const { return (*self)*other; }
81
81
  FXfloat dot(const FXVec3f& other) const { return (*self)*other; }
82
82
  FXVec3f operator^(const FXVec3f& other) const { return (*self)^other; }
83
83
  FXVec3f cross(const FXVec3f& other) const { return (*self)^other; }
84
-
84
+
85
85
  /// Equality tests
86
86
  bool operator==(const FXVec3f& other) const { return (*self)==other; }
87
87
 
@@ -55,7 +55,7 @@ public:
55
55
 
56
56
  /// Return true if edge a-b crosses plane
57
57
  bool crosses(const FXVec3d& a,const FXVec3d& b) const;
58
-
58
+
59
59
  /// Length and square of length
60
60
  FXdouble length2() const;
61
61
  FXdouble length() const;
@@ -55,7 +55,7 @@ public:
55
55
 
56
56
  /// Return true if edge a-b crosses plane
57
57
  bool crosses(const FXVec3f& a,const FXVec3f& b) const;
58
-
58
+
59
59
  FXfloat length() const;
60
60
  FXfloat length2() const;
61
61
 
@@ -70,33 +70,33 @@ public:
70
70
  (*self)[i]=f;
71
71
  return f;
72
72
  }
73
-
73
+
74
74
  // Negation
75
75
  FXVec4f operator-() const { return -(*self); }
76
-
76
+
77
77
  // Addition
78
78
  FXVec4f operator+(const FXVec4f& b) const { return (*self)+b; }
79
-
79
+
80
80
  // Subtraction
81
81
  FXVec4f operator-(const FXVec4f& b) const { return (*self)-b; }
82
-
82
+
83
83
  // Multiply by a scalar
84
84
  FXVec4f operator*(FXfloat n) const { return (*self)*n; }
85
-
85
+
86
86
  // Divide by a scalar
87
87
  FXVec4f operator/(FXfloat n) const {
88
88
  if(n==0.0f) rb_raise(rb_eZeroDivError,"divided by 0");
89
89
  return (*self)/n;
90
90
  }
91
-
91
+
92
92
  /// Dot product
93
93
  FXfloat operator*(const FXVec4f& a) const { return (*self)*a; }
94
94
  FXfloat dot(const FXVec4f& a) const { return (*self)*a; }
95
-
95
+
96
96
  /// Equality tests
97
97
  bool operator==(const FXVec4f& b) const { return (*self == b); }
98
98
  bool operator==(FXfloat n) const { return (*self == n); }
99
-
99
+
100
100
  // Other functions
101
101
  FXVec4f normalize() const { return normalize(*self); }
102
102
  FXVec4f lo(const FXVec4f& other) const { return lo(*self,other); }
@@ -37,7 +37,7 @@ public:
37
37
  return new FXRbVerticalFrame(p,opts,x,y,w,h,pl,pr,pt,pb,hs,vs);
38
38
  }
39
39
  }
40
-
40
+
41
41
  /// Destructor
42
42
  virtual ~FXVerticalFrame();
43
43
  };
@@ -44,7 +44,7 @@ enum FXVisualType {
44
44
  VISUALTYPE_INDEX, /// Index [palette] color
45
45
  VISUALTYPE_GRAY /// Gray scale
46
46
  };
47
-
47
+
48
48
  %rename("visualType") FXVisual::getType() const;
49
49
 
50
50
  %ignore FXVisual::getInfo() const;
@@ -70,7 +70,7 @@ enum {
70
70
  PACK_UNIFORM_HEIGHT = 0x00008000, /// Uniform height
71
71
  PACK_UNIFORM_WIDTH = 0x00010000 /// Uniform width
72
72
  };
73
-
73
+
74
74
  class FXCursor;
75
75
  class FXAccelTable;
76
76
  class FXComposite;
@@ -163,7 +163,7 @@ protected:
163
163
  };
164
164
 
165
165
  public:
166
-
166
+
167
167
  // Message handlers
168
168
  long onPaint(FXObject*,FXSelector,void* PTR_EVENT);
169
169
  long onMap(FXObject*,FXSelector,void* PTR_EVENT);
@@ -252,9 +252,9 @@ public:
252
252
  ID_GETICONVALUE,
253
253
  ID_GETINTRANGE,
254
254
  ID_GETREALRANGE,
255
- ID_SETHELPSTRING,
256
- ID_GETHELPSTRING,
257
- ID_SETTIPSTRING,
255
+ ID_SETHELPSTRING,
256
+ ID_GETHELPSTRING,
257
+ ID_SETTIPSTRING,
258
258
  ID_GETTIPSTRING,
259
259
  ID_QUERY_MENU,
260
260
  ID_HOTKEY,
@@ -285,7 +285,7 @@ public:
285
285
  static VALUE octetTypeName() {
286
286
  return to_ruby(FXWindow::octetTypeName);
287
287
  }
288
-
288
+
289
289
  static VALUE deleteTypeName() {
290
290
  return to_ruby(FXWindow::deleteTypeName);
291
291
  }
@@ -319,28 +319,28 @@ public:
319
319
  FXWindow(FXComposite* p,FXuint opts=0,FXint x=0,FXint y=0,FXint w=0,FXint h=0){
320
320
  return new FXRbWindow(p,opts,x,y,w,h);
321
321
  }
322
-
322
+
323
323
  // Shell window constructor
324
324
  FXWindow(FXApp* a,FXVisual *vis){
325
325
  return new FXRbWindow(a,vis);
326
326
  }
327
-
327
+
328
328
  // Construct owned window
329
329
  FXWindow(FXApp* a,FXWindow* own,FXuint opts,FXint x,FXint y,FXint w,FXint h){
330
330
  return new FXRbWindow(a,own,opts,x,y,w,h);
331
331
  }
332
332
  }
333
333
 
334
- /// Return a pointer to the parent window
334
+ /// Return a pointer to the parent window
335
335
  FXWindow* getParent() const;
336
336
 
337
- /// Return a pointer to the owner window
337
+ /// Return a pointer to the owner window
338
338
  FXWindow* getOwner() const;
339
339
 
340
- /// Return a pointer to the shell window
340
+ /// Return a pointer to the shell window
341
341
  FXWindow* getShell() const;
342
342
 
343
- /// Return a pointer to the root window
343
+ /// Return a pointer to the root window
344
344
  FXWindow* getRoot() const;
345
345
 
346
346
  /// Return a pointer to the next (sibling) window, if any
@@ -370,10 +370,10 @@ public:
370
370
  /// Get the message target object for this window, if any
371
371
  FXObject* getTarget() const;
372
372
 
373
- /// Set the message identifier for this window
373
+ /// Set the message identifier for this window
374
374
  void setSelector(FXSelector sel);
375
375
 
376
- /// Get the message identifier for this window
376
+ /// Get the message identifier for this window
377
377
  FXSelector getSelector() const;
378
378
 
379
379
  /// Get this window's x-coordinate, in the parent's coordinate system
@@ -402,22 +402,22 @@ public:
402
402
  */
403
403
  void setHeight(FXint h);
404
404
 
405
- /// Set layout hints for this window
405
+ /// Set layout hints for this window
406
406
  void setLayoutHints(FXuint lout);
407
407
 
408
- /// Get layout hints for this window
408
+ /// Get layout hints for this window
409
409
  FXuint getLayoutHints() const;
410
410
 
411
- /// Return a pointer to the accelerator table
411
+ /// Return a pointer to the accelerator table
412
412
  FXAccelTable* getAccelTable() const;
413
413
 
414
- /// Set the accelerator table
414
+ /// Set the accelerator table
415
415
  void setAccelTable(FXAccelTable* acceltable);
416
416
 
417
417
  /// Add a hot key
418
418
  void addHotKey(FXHotKey code);
419
419
 
420
- /// Remove a hot key
420
+ /// Remove a hot key
421
421
  void remHotKey(FXHotKey code);
422
422
 
423
423
  /// Change help tag for this widget
@@ -441,11 +441,11 @@ public:
441
441
  /// Return the child window at specified coordinates
442
442
  FXWindow* getChildAt(FXint x,FXint y) const;
443
443
 
444
- /// Return the number of child windows for this window
444
+ /// Return the number of child windows for this window
445
445
  FXint numChildren() const;
446
446
 
447
447
  /**
448
- * Return the index (starting from zero) of the specified child window,
448
+ * Return the index (starting from zero) of the specified child window,
449
449
  * or -1 if the window is not a child or NULL
450
450
  */
451
451
  FXint indexOfChild(const FXWindow *window) const;
@@ -464,7 +464,7 @@ public:
464
464
  }
465
465
 
466
466
  /**
467
- * Return the child window at specified index,
467
+ * Return the child window at specified index,
468
468
  * or NULL if the index is negative or out of range
469
469
  */
470
470
  FXWindow* childAtIndex(FXint index) const;
@@ -482,26 +482,26 @@ public:
482
482
  bool before(const FXWindow *other) const { return FXWindow::before(self, other); }
483
483
  bool after(const FXWindow *other) const { return FXWindow::after(self, other); }
484
484
  }
485
-
485
+
486
486
  /// Return compose context
487
487
  FXComposeContext* getComposeContext() const;
488
-
488
+
489
489
  /// Create compose context
490
490
  void createComposeContext();
491
-
491
+
492
492
  /// Destroy compose context
493
493
  void destroyComposeContext();
494
494
 
495
495
  /// Set the default cursor for this window
496
496
  void setDefaultCursor(FXCursor* cur);
497
497
 
498
- /// Return the default cursor for this window
498
+ /// Return the default cursor for this window
499
499
  FXCursor* getDefaultCursor() const;
500
500
 
501
501
  /// Set the drag cursor for this window
502
502
  void setDragCursor(FXCursor* cur);
503
503
 
504
- /// Return the drag cursor for this window
504
+ /// Return the drag cursor for this window
505
505
  FXCursor* getDragCursor() const;
506
506
 
507
507
  %extend {
@@ -535,14 +535,14 @@ public:
535
535
 
536
536
  /// Return true if this is the default window
537
537
  bool isDefault() const;
538
-
538
+
539
539
  /// Make this window the initial default window
540
540
  void setInitial(bool enable=true);
541
-
541
+
542
542
  /// Return true if this is the initial default window
543
543
  bool isInitial() const;
544
544
 
545
- /// Generate a SEL_UPDATE message for the window and its children
545
+ /// Generate a SEL_UPDATE message for the window and its children
546
546
  void forceRefresh();
547
547
 
548
548
  /// Scroll rectangle x,y,w,h by a shift of dx,dy
@@ -556,7 +556,7 @@ public:
556
556
 
557
557
  /// Process any outstanding repaint messages immediately, for the given rectangle
558
558
  void repaint(FXint x,FXint y,FXint w,FXint h) const;
559
-
559
+
560
560
  /// If marked but not yet painted, paint the window now
561
561
  void repaint() const;
562
562
 
@@ -566,7 +566,7 @@ public:
566
566
  */
567
567
  void grab();
568
568
 
569
- /// Release the mouse grab
569
+ /// Release the mouse grab
570
570
  void ungrab();
571
571
 
572
572
  /// Return true if the window has been grabbed
@@ -640,7 +640,7 @@ public:
640
640
 
641
641
  /// Return true if a drag operaion has been initiated from this window
642
642
  bool isDragging() const;
643
-
643
+
644
644
  %extend {
645
645
  /// Initiate a drag operation with a list of previously registered drag types
646
646
  bool beginDrag(VALUE typesArray){
@@ -658,37 +658,37 @@ public:
658
658
  return result;
659
659
  }
660
660
  }
661
-
661
+
662
662
  /**
663
663
  * When dragging, inform the drop-target of the new position and
664
664
  * the drag action
665
665
  */
666
666
  bool handleDrag(FXint x,FXint y,FXDragAction action=DRAG_COPY);
667
-
667
+
668
668
  /// Terminate the drag operation with or without actually dropping the data
669
669
  FXDragAction endDrag(bool drop=true);
670
-
670
+
671
671
  /// Return true if this window is the target of a drop
672
672
  bool isDropTarget() const;
673
-
673
+
674
674
  /**
675
675
  * When being dragged over, indicate that no further SEL_DND_MOTION messages
676
676
  * are required while the cursor is inside the given rectangle
677
677
  */
678
678
  void setDragRectangle(FXint x,FXint y,FXint w,FXint h,bool wantupdates=true) const;
679
-
679
+
680
680
  /**
681
681
  * When being dragged over, indicate we want to receive SEL_DND_MOTION messages
682
682
  * every time the cursor moves
683
683
  */
684
684
  void clearDragRectangle() const;
685
-
685
+
686
686
  /// When being dragged over, indicate acceptance or rejection of the dragged data
687
687
  void acceptDrop(FXDragAction action=DRAG_ACCEPT) const;
688
-
688
+
689
689
  /// The target accepted our drop
690
690
  FXDragAction didAccept() const;
691
-
691
+
692
692
  /**
693
693
  * Sent by the drop target in response to SEL_DND_DROP. The drag action
694
694
  * should be the same as the action the drop target reported to the drag
@@ -703,7 +703,7 @@ public:
703
703
  void dropFinished(FXDragAction action=DRAG_REJECT) const;
704
704
 
705
705
  %extend {
706
- // When being dragged over, inquire the drag types which are being offered
706
+ // When being dragged over, inquire the drag types which are being offered
707
707
  VALUE inquireDNDTypes(FXDNDOrigin origin) const {
708
708
  FXDragType* types;
709
709
  FXuint numtypes;
@@ -719,10 +719,10 @@ public:
719
719
 
720
720
  /// When being dragged over, return true if we are offered the given drag type
721
721
  bool offeredDNDType(FXDNDOrigin origin,FXDragType type) const;
722
-
722
+
723
723
  /// When being dragged over, return the drag action
724
724
  FXDragAction inquireDNDAction() const;
725
-
725
+
726
726
  %extend {
727
727
  // Set DND data; ownership is transferred to the system
728
728
  void setDNDData(FXDNDOrigin origin, FXDragType type, VALUE str) const {
@@ -772,7 +772,7 @@ public:
772
772
  rb_ary_push(result, INT2NUM(toy));
773
773
  return result;
774
774
  }
775
-
775
+
776
776
  // Translate coordinates from this window's coordinate space
777
777
  // to towindow's coordinate space
778
778
  VALUE translateCoordinatesTo(const FXWindow* towindow,
@@ -785,7 +785,7 @@ public:
785
785
  return result;
786
786
  }
787
787
  }
788
-
788
+
789
789
  /// Get background color
790
790
  FXColor getBackColor() const;
791
791
 
@@ -83,7 +83,7 @@ DECLARE_FXIMAGE_VIRTUALS(FXXPMIcon)
83
83
  FXint width;
84
84
  FXint height;
85
85
  VALUE ary=Qnil;
86
-
86
+
87
87
  // Confirm that the input is an array of strings
88
88
  Check_Type(strArray,T_ARRAY);
89
89
  len=RARRAY_LEN(strArray);
@@ -36,7 +36,7 @@ public:
36
36
  }
37
37
  }
38
38
  public:
39
-
39
+
40
40
  /// Construct image from compiled-in X Pixmap format
41
41
  %extend {
42
42
  FXXPMImage(FXApp* a,const FXchar **pix=NULL,FXuint opts=0,FXint w=1,FXint h=1){
@@ -29,7 +29,7 @@
29
29
  }
30
30
  %freefunc klass "FXRbObject::freefunc"; // some classes override this in freefuncs.i
31
31
  %enddef
32
-
32
+
33
33
  DO_CLASS_SETUP(FX4Splitter)
34
34
  DO_CLASS_SETUP(FX7Segment)
35
35
  DO_CLASS_SETUP(FXAccelTable)
@@ -25,7 +25,7 @@
25
25
  * time is defined by FXRbObject::freefunc, and it is associated with
26
26
  * all of the classes as part of the DO_CLASS_SETUP macro (see exceptions.i).
27
27
  */
28
-
28
+
29
29
  /**
30
30
  * Special cases.
31
31
  */