fxruby 1.4.7 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (527) hide show
  1. data/doc/apes02.html +6 -6
  2. data/doc/apes03.html +11 -11
  3. data/doc/book.html +1 -1
  4. data/doc/build.html +65 -67
  5. data/doc/ch03s02.html +7 -7
  6. data/doc/ch03s03.html +18 -18
  7. data/doc/ch03s04.html +11 -11
  8. data/doc/ch03s05.html +14 -14
  9. data/doc/ch04s02.html +14 -14
  10. data/doc/ch04s03.html +15 -15
  11. data/doc/ch04s04.html +28 -28
  12. data/doc/ch05s02.html +49 -49
  13. data/doc/ch05s03.html +8 -8
  14. data/doc/clipboardtut.html +45 -57
  15. data/doc/cvs.html +10 -10
  16. data/doc/differences.html +4 -4
  17. data/doc/dragdroptut.html +50 -50
  18. data/doc/events.html +11 -11
  19. data/doc/examples.html +48 -48
  20. data/doc/gems.html +38 -38
  21. data/doc/goals.html +4 -4
  22. data/doc/implementation.html +4 -4
  23. data/doc/infosources.html +9 -9
  24. data/doc/library.html +19 -19
  25. data/doc/opengl.html +31 -31
  26. data/doc/pt01.html +1 -1
  27. data/doc/pt02.html +1 -1
  28. data/doc/scintilla.html +15 -15
  29. data/doc/todo.html +6 -6
  30. data/doc/tutorial1.html +34 -34
  31. data/examples/babelfish.rb +1 -1
  32. data/examples/bounce.rb +1 -1
  33. data/examples/browser.rb +2 -2
  34. data/examples/button.rb +1 -1
  35. data/examples/datatarget.rb +2 -2
  36. data/examples/dctest.rb +12 -12
  37. data/examples/dialog.rb +1 -1
  38. data/examples/dilbert.rb +2 -2
  39. data/examples/dirlist.rb +1 -1
  40. data/examples/dragdrop.rb +1 -1
  41. data/examples/dragsource.rb +1 -1
  42. data/examples/dropsite.rb +1 -1
  43. data/examples/foursplit.rb +1 -1
  44. data/examples/gltest.rb +2 -2
  45. data/examples/glviewer.rb +4 -4
  46. data/examples/groupbox.rb +22 -22
  47. data/examples/header.rb +1 -1
  48. data/examples/hello.rb +1 -1
  49. data/examples/hello2.rb +1 -1
  50. data/examples/iconlist.rb +1 -1
  51. data/examples/image.rb +2 -2
  52. data/examples/imageviewer.rb +1 -1
  53. data/examples/inputs.rb +1 -1
  54. data/examples/mditest.rb +2 -2
  55. data/examples/pig.rb +1 -1
  56. data/examples/raabrowser.rb +2 -2
  57. data/examples/ratio.rb +2 -2
  58. data/examples/scintilla-test.rb +2 -2
  59. data/examples/scribble-orig.rb +3 -3
  60. data/examples/scribble.rb +1 -1
  61. data/examples/shutter.rb +1 -1
  62. data/examples/splitter.rb +36 -36
  63. data/examples/styledtext.rb +2 -2
  64. data/examples/tabbook.rb +1 -1
  65. data/examples/table.rb +1 -1
  66. data/examples/textedit/commands.rb +2 -2
  67. data/examples/textedit/helpwindow.rb +1 -1
  68. data/examples/textedit/prefdialog.rb +1 -1
  69. data/examples/textedit/textedit.rb +5 -3
  70. data/ext/{fox14 → fox16}/FXRbApp.cpp +1 -1
  71. data/ext/{fox14 → fox16}/FXRbDataTarget.cpp +1 -1
  72. data/ext/{fox14 → fox16}/FXRbGLViewer.cpp +1 -1
  73. data/ext/{fox14 → fox16}/FXRuby.cpp +137 -39
  74. data/ext/{fox14 → fox16}/MANIFEST +0 -0
  75. data/ext/{fox14 → fox16}/core_wrap.cpp +1177 -659
  76. data/ext/{fox14 → fox16}/dc_wrap.cpp +110 -3
  77. data/ext/{fox14 → fox16}/dialogs_wrap.cpp +381 -153
  78. data/ext/{fox14 → fox16}/extconf.rb +8 -8
  79. data/ext/{fox14 → fox16}/frames_wrap.cpp +1590 -1219
  80. data/ext/{fox14 → fox16}/fx3d_wrap.cpp +1060 -403
  81. data/ext/{fox14 → fox16}/iconlist_wrap.cpp +80 -25
  82. data/ext/{fox14 → fox16}/icons_wrap.cpp +296 -316
  83. data/ext/{fox14 → fox16}/image_wrap.cpp +267 -153
  84. data/ext/{fox14 → fox16}/impl.cpp +29 -0
  85. data/ext/{fox14 → fox16}/include/FXMemoryBuffer.h +1 -1
  86. data/ext/{fox14 → fox16}/include/FXRb4Splitter.h +1 -1
  87. data/ext/{fox14 → fox16}/include/FXRb7Segment.h +1 -1
  88. data/ext/{fox14 → fox16}/include/FXRbAccelTable.h +1 -1
  89. data/ext/{fox14 → fox16}/include/FXRbApp.h +3 -3
  90. data/ext/{fox14 → fox16}/include/FXRbAppVirtuals.h +1 -1
  91. data/ext/{fox14 → fox16}/include/FXRbArrowButton.h +1 -1
  92. data/ext/{fox14 → fox16}/include/FXRbBMPIcon.h +1 -1
  93. data/ext/{fox14 → fox16}/include/FXRbBMPImage.h +1 -1
  94. data/ext/{fox14 → fox16}/include/FXRbBitmap.h +23 -5
  95. data/ext/{fox14 → fox16}/include/FXRbBitmapFrame.h +1 -1
  96. data/ext/{fox14 → fox16}/include/FXRbBitmapView.h +1 -1
  97. data/ext/{fox14 → fox16}/include/FXRbBitmapVirtuals.h +12 -2
  98. data/ext/{fox14 → fox16}/include/FXRbButton.h +1 -1
  99. data/ext/{fox14 → fox16}/include/FXRbCURCursor.h +1 -1
  100. data/ext/{fox14 → fox16}/include/FXRbCanvas.h +1 -1
  101. data/ext/{fox14 → fox16}/include/FXRbCheckButton.h +1 -1
  102. data/ext/{fox14 → fox16}/include/FXRbChoiceBox.h +1 -1
  103. data/ext/{fox14 → fox16}/include/FXRbColorBar.h +1 -1
  104. data/ext/{fox14 → fox16}/include/FXRbColorDialog.h +1 -1
  105. data/ext/fox16/include/FXRbColorList.h +84 -0
  106. data/ext/fox16/include/FXRbColorRing.h +51 -0
  107. data/ext/{fox14 → fox16}/include/FXRbColorSelector.h +1 -1
  108. data/ext/{fox14 → fox16}/include/FXRbColorWell.h +1 -1
  109. data/ext/{fox14 → fox16}/include/FXRbColorWheel.h +1 -1
  110. data/ext/{fox14 → fox16}/include/FXRbComboBox.h +1 -1
  111. data/ext/{fox14 → fox16}/include/FXRbCommon.h +4 -1
  112. data/ext/{fox14 → fox16}/include/FXRbComposite.h +1 -1
  113. data/ext/{fox14 → fox16}/include/FXRbCursor.h +5 -5
  114. data/ext/{fox14 → fox16}/include/FXRbCursorVirtuals.h +2 -2
  115. data/ext/{fox14 → fox16}/include/FXRbDC.h +18 -0
  116. data/ext/{fox14 → fox16}/include/FXRbDCPrint.h +0 -0
  117. data/ext/{fox14 → fox16}/include/FXRbDCVirtuals.h +9 -0
  118. data/ext/{fox14 → fox16}/include/FXRbDCWindow.h +0 -0
  119. data/ext/{fox14 → fox16}/include/FXRbDataTarget.h +1 -1
  120. data/ext/{fox14 → fox16}/include/FXRbDebugTarget.h +1 -1
  121. data/ext/{fox14 → fox16}/include/FXRbDelegator.h +1 -1
  122. data/ext/{fox14 → fox16}/include/FXRbDial.h +1 -1
  123. data/ext/{fox14 → fox16}/include/FXRbDialogBox.h +1 -1
  124. data/ext/{fox14 → fox16}/include/FXRbDialogBoxVirtuals.h +0 -0
  125. data/ext/{fox14 → fox16}/include/FXRbDict.h +1 -1
  126. data/ext/{fox14 → fox16}/include/FXRbDirBox.h +1 -1
  127. data/ext/{fox14 → fox16}/include/FXRbDirDialog.h +1 -1
  128. data/ext/{fox14 → fox16}/include/FXRbDirList.h +1 -1
  129. data/ext/{fox14 → fox16}/include/FXRbDirSelector.h +1 -1
  130. data/ext/{fox14 → fox16}/include/FXRbDockBar.h +13 -13
  131. data/ext/{fox14 → fox16}/include/FXRbDockBarVirtuals.h +3 -3
  132. data/ext/{fox14 → fox16}/include/FXRbDockHandler.h +1 -1
  133. data/ext/{fox14 → fox16}/include/FXRbDockSite.h +1 -1
  134. data/ext/{fox14 → fox16}/include/FXRbDockSiteVirtuals.h +0 -0
  135. data/ext/{fox14 → fox16}/include/FXRbDockTitle.h +1 -1
  136. data/ext/{fox14 → fox16}/include/FXRbDocument.h +1 -1
  137. data/ext/{fox14 → fox16}/include/FXRbDragCorner.h +1 -1
  138. data/ext/{fox14 → fox16}/include/FXRbDrawable.h +1 -1
  139. data/ext/{fox14 → fox16}/include/FXRbDrawableVirtuals.h +0 -0
  140. data/ext/{fox14 → fox16}/include/FXRbDriveBox.h +1 -1
  141. data/ext/{fox14 → fox16}/include/FXRbFileDialog.h +1 -1
  142. data/ext/{fox14 → fox16}/include/FXRbFileDict.h +1 -1
  143. data/ext/{fox14 → fox16}/include/FXRbFileDictVirtuals.h +0 -0
  144. data/ext/{fox14 → fox16}/include/FXRbFileList.h +1 -1
  145. data/ext/{fox14 → fox16}/include/FXRbFileSelector.h +1 -1
  146. data/ext/{fox14 → fox16}/include/FXRbFoldingItemVirtuals.h +0 -0
  147. data/ext/{fox14 → fox16}/include/FXRbFoldingList.h +1 -1
  148. data/ext/{fox14 → fox16}/include/FXRbFoldingListVirtuals.h +0 -0
  149. data/ext/fox16/include/FXRbFont.h +183 -0
  150. data/ext/{fox14 → fox16}/include/FXRbFontDialog.h +1 -1
  151. data/ext/{fox14 → fox16}/include/FXRbFontSelector.h +1 -1
  152. data/ext/fox16/include/FXRbFontVirtuals.h +55 -0
  153. data/ext/{fox14 → fox16}/include/FXRbFrame.h +1 -1
  154. data/ext/{fox14 → fox16}/include/FXRbGIFCursor.h +1 -1
  155. data/ext/{fox14 → fox16}/include/FXRbGIFIcon.h +1 -1
  156. data/ext/{fox14 → fox16}/include/FXRbGIFImage.h +1 -1
  157. data/ext/{fox14 → fox16}/include/FXRbGLCanvas.h +1 -1
  158. data/ext/{fox14 → fox16}/include/FXRbGLCanvasVirtuals.h +0 -0
  159. data/ext/{fox14 → fox16}/include/FXRbGLContext.h +1 -1
  160. data/ext/{fox14 → fox16}/include/FXRbGLObject.h +1 -1
  161. data/ext/{fox14 → fox16}/include/FXRbGLObjectVirtuals.h +0 -0
  162. data/ext/{fox14 → fox16}/include/FXRbGLShape.h +1 -1
  163. data/ext/{fox14 → fox16}/include/FXRbGLShapeVirtuals.h +0 -0
  164. data/ext/{fox14 → fox16}/include/FXRbGLViewer.h +1 -1
  165. data/ext/{fox14 → fox16}/include/FXRbGLViewerVirtuals.h +0 -0
  166. data/ext/{fox14 → fox16}/include/FXRbGLVisual.h +1 -1
  167. data/ext/{fox14 → fox16}/include/FXRbGradientBar.h +1 -1
  168. data/ext/{fox14 → fox16}/include/FXRbGroupBox.h +1 -1
  169. data/ext/{fox14 → fox16}/include/FXRbHeader.h +1 -1
  170. data/ext/{fox14 → fox16}/include/FXRbHeaderItemVirtuals.h +0 -0
  171. data/ext/{fox14 → fox16}/include/FXRbHorizontalFrame.h +1 -1
  172. data/ext/{fox14 → fox16}/include/FXRbICOIcon.h +1 -1
  173. data/ext/{fox14 → fox16}/include/FXRbICOImage.h +1 -1
  174. data/ext/{fox14 → fox16}/include/FXRbIcon.h +1 -1
  175. data/ext/{fox14 → fox16}/include/FXRbIconItemVirtuals.h +0 -0
  176. data/ext/{fox14 → fox16}/include/FXRbIconList.h +1 -1
  177. data/ext/{fox14 → fox16}/include/FXRbIconListVirtuals.h +0 -0
  178. data/ext/fox16/include/FXRbIconSource.h +127 -0
  179. data/ext/fox16/include/FXRbIconSourceVirtuals.h +37 -0
  180. data/ext/{fox14 → fox16}/include/FXRbId.h +1 -1
  181. data/ext/{fox14 → fox16}/include/FXRbIdVirtuals.h +0 -0
  182. data/ext/{fox14 → fox16}/include/FXRbImage.h +7 -7
  183. data/ext/{fox14 → fox16}/include/FXRbImageFrame.h +1 -1
  184. data/ext/{fox14 → fox16}/include/FXRbImageView.h +1 -1
  185. data/ext/{fox14 → fox16}/include/FXRbImageVirtuals.h +3 -3
  186. data/ext/{fox14 → fox16}/include/FXRbInputDialog.h +1 -1
  187. data/ext/{fox14 → fox16}/include/FXRbJPGIcon.h +2 -2
  188. data/ext/{fox14 → fox16}/include/FXRbJPGImage.h +2 -2
  189. data/ext/fox16/include/FXRbKnob.h +51 -0
  190. data/ext/{fox14 → fox16}/include/FXRbLabel.h +1 -1
  191. data/ext/{fox14 → fox16}/include/FXRbList.h +1 -1
  192. data/ext/{fox14 → fox16}/include/FXRbListBox.h +5 -5
  193. data/ext/{fox14 → fox16}/include/FXRbListBoxVirtuals.h +1 -1
  194. data/ext/{fox14 → fox16}/include/FXRbListItemVirtuals.h +0 -0
  195. data/ext/{fox14 → fox16}/include/FXRbListVirtuals.h +0 -0
  196. data/ext/{fox14 → fox16}/include/FXRbMDIButton.h +1 -1
  197. data/ext/{fox14 → fox16}/include/FXRbMDIChild.h +1 -1
  198. data/ext/{fox14 → fox16}/include/FXRbMDIChildVirtuals.h +0 -0
  199. data/ext/{fox14 → fox16}/include/FXRbMDIClient.h +1 -1
  200. data/ext/{fox14 → fox16}/include/FXRbMDIClientVirtuals.h +0 -0
  201. data/ext/{fox14 → fox16}/include/FXRbMainWindow.h +1 -1
  202. data/ext/{fox14 → fox16}/include/FXRbMatrix.h +1 -1
  203. data/ext/{fox14 → fox16}/include/FXRbMenuBar.h +1 -1
  204. data/ext/{fox14 → fox16}/include/FXRbMenuButton.h +1 -1
  205. data/ext/{fox14 → fox16}/include/FXRbMenuCaption.h +1 -1
  206. data/ext/{fox14 → fox16}/include/FXRbMenuCascade.h +1 -1
  207. data/ext/{fox14 → fox16}/include/FXRbMenuCheck.h +1 -1
  208. data/ext/{fox14 → fox16}/include/FXRbMenuCommand.h +1 -1
  209. data/ext/{fox14 → fox16}/include/FXRbMenuPane.h +1 -1
  210. data/ext/{fox14 → fox16}/include/FXRbMenuRadio.h +1 -1
  211. data/ext/{fox14 → fox16}/include/FXRbMenuSeparator.h +1 -1
  212. data/ext/{fox14 → fox16}/include/FXRbMenuTitle.h +1 -1
  213. data/ext/{fox14 → fox16}/include/FXRbMessageBox.h +1 -1
  214. data/ext/{fox14 → fox16}/include/FXRbObject.h +1 -1
  215. data/ext/{fox14 → fox16}/include/FXRbObjectVirtuals.h +0 -0
  216. data/ext/{fox14 → fox16}/include/FXRbOptionMenu.h +1 -1
  217. data/ext/{fox14 → fox16}/include/FXRbPCXIcon.h +1 -1
  218. data/ext/{fox14 → fox16}/include/FXRbPCXImage.h +1 -1
  219. data/ext/{fox14 → fox16}/include/FXRbPNGIcon.h +1 -1
  220. data/ext/{fox14 → fox16}/include/FXRbPNGImage.h +1 -1
  221. data/ext/{fox14 → fox16}/include/FXRbPPMIcon.h +1 -1
  222. data/ext/{fox14 → fox16}/include/FXRbPPMImage.h +1 -1
  223. data/ext/{fox14 → fox16}/include/FXRbPacker.h +1 -1
  224. data/ext/{fox14 → fox16}/include/FXRbPicker.h +1 -1
  225. data/ext/{fox14 → fox16}/include/FXRbPopup.h +1 -1
  226. data/ext/{fox14 → fox16}/include/FXRbPopupVirtuals.h +0 -0
  227. data/ext/{fox14 → fox16}/include/FXRbPrintDialog.h +1 -1
  228. data/ext/{fox14 → fox16}/include/FXRbProgressBar.h +1 -1
  229. data/ext/{fox14 → fox16}/include/FXRbProgressDialog.h +1 -1
  230. data/ext/{fox14 → fox16}/include/FXRbRGBIcon.h +1 -1
  231. data/ext/{fox14 → fox16}/include/FXRbRGBImage.h +1 -1
  232. data/ext/{fox14 → fox16}/include/FXRbRadioButton.h +1 -1
  233. data/ext/{fox14 → fox16}/include/FXRbRealSlider.h +1 -1
  234. data/ext/{fox14 → fox16}/include/FXRbRealSpinner.h +5 -5
  235. data/ext/fox16/include/FXRbRealSpinnerVirtuals.h +3 -0
  236. data/ext/{fox14 → fox16}/include/FXRbRecentFiles.h +6 -3
  237. data/ext/{fox14 → fox16}/include/FXRbRegistry.h +1 -1
  238. data/ext/{fox14 → fox16}/include/FXRbReplaceDialog.h +1 -1
  239. data/ext/{fox14 → fox16}/include/FXRbRootWindow.h +1 -1
  240. data/ext/{fox14 → fox16}/include/FXRbRuler.h +1 -1
  241. data/ext/{fox14 → fox16}/include/FXRbScintilla.h +1 -1
  242. data/ext/{fox14 → fox16}/include/FXRbScrollArea.h +1 -1
  243. data/ext/{fox14 → fox16}/include/FXRbScrollAreaVirtuals.h +0 -0
  244. data/ext/{fox14 → fox16}/include/FXRbScrollBar.h +1 -1
  245. data/ext/{fox14 → fox16}/include/FXRbScrollPane.h +1 -1
  246. data/ext/{fox14 → fox16}/include/FXRbScrollWindow.h +1 -1
  247. data/ext/{fox14 → fox16}/include/FXRbSearchDialog.h +1 -1
  248. data/ext/{fox14 → fox16}/include/FXRbSeparator.h +1 -1
  249. data/ext/{fox14 → fox16}/include/FXRbSettings.h +1 -1
  250. data/ext/{fox14 → fox16}/include/FXRbShell.h +1 -1
  251. data/ext/{fox14 → fox16}/include/FXRbShutter.h +1 -1
  252. data/ext/{fox14 → fox16}/include/FXRbShutterVirtuals.h +0 -0
  253. data/ext/{fox14 → fox16}/include/FXRbSlider.h +1 -1
  254. data/ext/{fox14 → fox16}/include/FXRbSpinner.h +5 -5
  255. data/ext/{fox14 → fox16}/include/FXRbSpinnerVirtuals.h +1 -1
  256. data/ext/{fox14 → fox16}/include/FXRbSplashWindow.h +1 -1
  257. data/ext/{fox14 → fox16}/include/FXRbSplitter.h +1 -1
  258. data/ext/{fox14 → fox16}/include/FXRbSpring.h +1 -1
  259. data/ext/{fox14 → fox16}/include/FXRbStatusBar.h +1 -1
  260. data/ext/{fox14 → fox16}/include/FXRbStatusLine.h +1 -1
  261. data/ext/{fox14 → fox16}/include/FXRbStream.h +7 -7
  262. data/ext/{fox14 → fox16}/include/FXRbStreamVirtuals.h +3 -3
  263. data/ext/{fox14 → fox16}/include/FXRbStringDict.h +1 -1
  264. data/ext/{fox14 → fox16}/include/FXRbSwitcher.h +1 -1
  265. data/ext/{fox14 → fox16}/include/FXRbTGAIcon.h +1 -1
  266. data/ext/{fox14 → fox16}/include/FXRbTGAImage.h +1 -1
  267. data/ext/{fox14 → fox16}/include/FXRbTIFIcon.h +1 -1
  268. data/ext/{fox14 → fox16}/include/FXRbTIFImage.h +1 -1
  269. data/ext/{fox14 → fox16}/include/FXRbTabBar.h +1 -1
  270. data/ext/{fox14 → fox16}/include/FXRbTabBarVirtuals.h +0 -0
  271. data/ext/{fox14 → fox16}/include/FXRbTabBook.h +1 -1
  272. data/ext/{fox14 → fox16}/include/FXRbTabItem.h +1 -1
  273. data/ext/{fox14 → fox16}/include/FXRbTable.h +9 -3
  274. data/ext/{fox14 → fox16}/include/FXRbTableItemVirtuals.h +0 -0
  275. data/ext/{fox14 → fox16}/include/FXRbTableVirtuals.h +3 -0
  276. data/ext/fox16/include/FXRbText.h +187 -0
  277. data/ext/{fox14 → fox16}/include/FXRbTextField.h +1 -1
  278. data/ext/fox16/include/FXRbTextVirtuals.h +52 -0
  279. data/ext/{fox14 → fox16}/include/FXRbToggleButton.h +1 -1
  280. data/ext/{fox14 → fox16}/include/FXRbToolBar.h +1 -1
  281. data/ext/{fox14 → fox16}/include/FXRbToolBarGrip.h +1 -1
  282. data/ext/{fox14 → fox16}/include/FXRbToolBarShell.h +1 -1
  283. data/ext/{fox14 → fox16}/include/FXRbToolBarTab.h +1 -1
  284. data/ext/{fox14 → fox16}/include/FXRbToolTip.h +1 -1
  285. data/ext/{fox14 → fox16}/include/FXRbTopWindow.h +1 -1
  286. data/ext/{fox14 → fox16}/include/FXRbTopWindowVirtuals.h +0 -0
  287. data/ext/fox16/include/FXRbTranslator.h +61 -0
  288. data/ext/fox16/include/FXRbTranslatorVirtuals.h +4 -0
  289. data/ext/{fox14 → fox16}/include/FXRbTreeItemVirtuals.h +0 -0
  290. data/ext/{fox14 → fox16}/include/FXRbTreeList.h +1 -1
  291. data/ext/{fox14 → fox16}/include/FXRbTreeListBox.h +1 -1
  292. data/ext/{fox14 → fox16}/include/FXRbTreeListBoxVirtuals.h +0 -0
  293. data/ext/{fox14 → fox16}/include/FXRbTreeListVirtuals.h +0 -0
  294. data/ext/{fox14 → fox16}/include/FXRbTriStateButton.h +1 -1
  295. data/ext/{fox14 → fox16}/include/FXRbVerticalFrame.h +1 -1
  296. data/ext/{fox14 → fox16}/include/FXRbVisual.h +1 -1
  297. data/ext/{fox14 → fox16}/include/FXRbWindow.h +27 -9
  298. data/ext/{fox14 → fox16}/include/FXRbWindowVirtuals.h +13 -4
  299. data/ext/{fox14 → fox16}/include/FXRbWizard.h +1 -1
  300. data/ext/{fox14 → fox16}/include/FXRbXBMIcon.h +1 -1
  301. data/ext/{fox14 → fox16}/include/FXRbXBMImage.h +1 -1
  302. data/ext/{fox14 → fox16}/include/FXRbXPMIcon.h +1 -1
  303. data/ext/{fox14 → fox16}/include/FXRbXPMImage.h +1 -1
  304. data/ext/{fox14 → fox16}/include/FXRuby.h +43 -18
  305. data/ext/{fox14 → fox16}/include/impl.h +5 -0
  306. data/ext/{fox14 → fox16}/include/inlinestubs.h +29 -0
  307. data/ext/{fox14 → fox16}/label_wrap.cpp +319 -122
  308. data/ext/{fox14 → fox16}/layout_wrap.cpp +443 -153
  309. data/ext/{fox14 → fox16}/librb.c +0 -0
  310. data/ext/{fox14 → fox16}/list_wrap.cpp +660 -44
  311. data/ext/{fox14 → fox16}/markfuncs.cpp +38 -8
  312. data/ext/{fox14 → fox16}/mdi_wrap.cpp +253 -109
  313. data/ext/{fox14 → fox16}/menu_wrap.cpp +342 -146
  314. data/ext/{fox14 → fox16}/scintilla_wrap.cpp +58 -39
  315. data/ext/{fox14 → fox16}/table_wrap.cpp +294 -82
  316. data/ext/{fox14 → fox16}/text_wrap.cpp +203 -193
  317. data/ext/{fox14 → fox16}/treelist_wrap.cpp +125 -60
  318. data/ext/{fox14 → fox16}/ui_wrap.cpp +993 -714
  319. data/ext/{fox14 → fox16}/unregisterOwnedObjects.cpp +6 -1
  320. data/lib/{fox14 → fox16}/aliases.rb +119 -46
  321. data/lib/{fox14 → fox16}/calendar.rb +2 -2
  322. data/lib/{fox14 → fox16}/chore.rb +6 -22
  323. data/lib/{fox14 → fox16}/colors.rb +1 -1
  324. data/lib/{fox14 → fox16}/core.rb +122 -4
  325. data/lib/{fox14 → fox16}/dict.rb +0 -0
  326. data/lib/{fox14 → fox16}/execute_nonmodal.rb +0 -0
  327. data/lib/{fox14 → fox16}/glgroup.rb +4 -2
  328. data/lib/{fox14 → fox16}/glshapes.rb +1 -1
  329. data/lib/{fox14 → fox16}/input.rb +1 -1
  330. data/lib/{fox14 → fox16}/irb.rb +1 -1
  331. data/lib/{fox14 → fox16}/iterators.rb +1 -1
  332. data/lib/{fox14 → fox16}/keys.rb +2 -2
  333. data/lib/{fox14 → fox16}/missingdep.rb +1 -1
  334. data/lib/{fox14 → fox16}/pseudokeyboard.rb +1 -1
  335. data/lib/{fox14 → fox16}/pseudomouse.rb +1 -1
  336. data/lib/{fox14 → fox16}/responder.rb +1 -1
  337. data/lib/{fox14 → fox16}/responder2.rb +5 -5
  338. data/lib/{fox14 → fox16}/scintilla.rb +249 -12
  339. data/lib/{fox14 → fox16}/settings.rb +0 -0
  340. data/lib/{fox14 → fox16}/signal.rb +1 -1
  341. data/lib/{fox14 → fox16}/splashscreen.rb +2 -2
  342. data/lib/{fox14 → fox16}/timeout.rb +10 -37
  343. data/lib/{fox14 → fox16}/undolist.rb +2 -2
  344. data/lib/{fox14 → fox16}/version.rb +2 -2
  345. data/rdoc-sources/FX4Splitter.rb +24 -6
  346. data/rdoc-sources/FX7Segment.rb +6 -0
  347. data/rdoc-sources/FXAccelTable.rb +35 -0
  348. data/rdoc-sources/FXApp.rb +113 -1
  349. data/rdoc-sources/FXBMPIcon.rb +5 -0
  350. data/rdoc-sources/FXBMPImage.rb +5 -0
  351. data/rdoc-sources/FXBitmap.rb +23 -1
  352. data/rdoc-sources/FXCheckButton.rb +7 -0
  353. data/rdoc-sources/FXColorList.rb +55 -0
  354. data/rdoc-sources/FXColorRing.rb +49 -0
  355. data/rdoc-sources/FXColorWheel.rb +22 -2
  356. data/rdoc-sources/FXComboBox.rb +10 -0
  357. data/rdoc-sources/FXDC.rb +18 -0
  358. data/rdoc-sources/FXDial.rb +34 -1
  359. data/rdoc-sources/FXDirList.rb +1 -0
  360. data/rdoc-sources/FXDockBar.rb +21 -6
  361. data/rdoc-sources/FXDockHandler.rb +7 -0
  362. data/rdoc-sources/FXDockSite.rb +18 -0
  363. data/rdoc-sources/FXExtentd.rb +85 -0
  364. data/rdoc-sources/FXExtentf.rb +85 -0
  365. data/rdoc-sources/FXFileDialog.rb +11 -0
  366. data/rdoc-sources/FXFileDict.rb +7 -7
  367. data/rdoc-sources/FXFileList.rb +22 -0
  368. data/rdoc-sources/FXFileSelector.rb +10 -0
  369. data/rdoc-sources/FXFoldingList.rb +13 -2
  370. data/rdoc-sources/FXFont.rb +68 -62
  371. data/rdoc-sources/FXGIFIcon.rb +5 -0
  372. data/rdoc-sources/FXGIFImage.rb +5 -0
  373. data/rdoc-sources/FXGLViewer.rb +23 -0
  374. data/rdoc-sources/FXGradientBar.rb +10 -0
  375. data/rdoc-sources/FXHeader.rb +11 -0
  376. data/rdoc-sources/FXICOIcon.rb +5 -0
  377. data/rdoc-sources/FXICOImage.rb +5 -0
  378. data/rdoc-sources/FXIconList.rb +8 -0
  379. data/rdoc-sources/FXIconSource.rb +12 -12
  380. data/rdoc-sources/FXImage.rb +0 -4
  381. data/rdoc-sources/FXInputDialog.rb +19 -6
  382. data/rdoc-sources/FXJPGIcon.rb +5 -0
  383. data/rdoc-sources/FXJPGImage.rb +5 -0
  384. data/rdoc-sources/FXKnob.rb +76 -0
  385. data/rdoc-sources/FXList.rb +8 -0
  386. data/rdoc-sources/FXListBox.rb +7 -1
  387. data/rdoc-sources/FXMenuCaption.rb +3 -0
  388. data/rdoc-sources/FXMenuCheck.rb +2 -2
  389. data/rdoc-sources/FXMenuCommand.rb +1 -2
  390. data/rdoc-sources/FXMenuRadio.rb +5 -2
  391. data/rdoc-sources/FXOptionMenu.rb +7 -0
  392. data/rdoc-sources/FXPCXIcon.rb +5 -0
  393. data/rdoc-sources/FXPCXImage.rb +5 -0
  394. data/rdoc-sources/FXPNGIcon.rb +5 -0
  395. data/rdoc-sources/FXPNGImage.rb +5 -0
  396. data/rdoc-sources/FXPPMIcon.rb +5 -0
  397. data/rdoc-sources/FXPPMImage.rb +5 -0
  398. data/rdoc-sources/FXQuatd.rb +5 -12
  399. data/rdoc-sources/FXQuatf.rb +5 -7
  400. data/rdoc-sources/FXRGBIcon.rb +5 -0
  401. data/rdoc-sources/FXRGBImage.rb +5 -0
  402. data/rdoc-sources/FXRadioButton.rb +6 -0
  403. data/rdoc-sources/FXRanged.rb +3 -0
  404. data/rdoc-sources/FXRangef.rb +3 -0
  405. data/rdoc-sources/FXRealSlider.rb +3 -1
  406. data/rdoc-sources/FXRealSpinner.rb +11 -4
  407. data/rdoc-sources/FXRecentFiles.rb +10 -6
  408. data/rdoc-sources/FXRectangle.rb +12 -0
  409. data/rdoc-sources/FXRuler.rb +28 -0
  410. data/rdoc-sources/FXScrollBar.rb +9 -3
  411. data/rdoc-sources/FXScrollPane.rb +3 -0
  412. data/rdoc-sources/FXSettings.rb +26 -0
  413. data/rdoc-sources/FXSize.rb +65 -0
  414. data/rdoc-sources/FXSlider.rb +2 -0
  415. data/rdoc-sources/FXSphered.rb +12 -0
  416. data/rdoc-sources/FXSpheref.rb +12 -0
  417. data/rdoc-sources/FXSpinner.rb +8 -4
  418. data/rdoc-sources/FXTGAIcon.rb +5 -0
  419. data/rdoc-sources/FXTGAImage.rb +5 -0
  420. data/rdoc-sources/FXTIFIcon.rb +5 -0
  421. data/rdoc-sources/FXTIFImage.rb +5 -0
  422. data/rdoc-sources/FXTabBar.rb +5 -1
  423. data/rdoc-sources/FXTabBook.rb +3 -0
  424. data/rdoc-sources/FXTabItem.rb +7 -0
  425. data/rdoc-sources/FXTable.rb +96 -18
  426. data/rdoc-sources/FXText.rb +47 -12
  427. data/rdoc-sources/FXTextField.rb +6 -0
  428. data/rdoc-sources/FXToggleButton.rb +0 -1
  429. data/rdoc-sources/FXTopWindow.rb +44 -2
  430. data/rdoc-sources/FXTranslator.rb +32 -0
  431. data/rdoc-sources/FXTreeList.rb +8 -0
  432. data/rdoc-sources/FXTreeListBox.rb +20 -0
  433. data/rdoc-sources/{FXVec.rb → FXVec2d.rb} +28 -29
  434. data/rdoc-sources/FXVec2f.rb +96 -0
  435. data/rdoc-sources/FXVec3d.rb +113 -0
  436. data/rdoc-sources/FXVec3f.rb +113 -0
  437. data/rdoc-sources/FXVec4d.rb +129 -0
  438. data/rdoc-sources/FXVec4f.rb +129 -0
  439. data/rdoc-sources/FXWindow.rb +89 -14
  440. data/rdoc-sources/FXXBMIcon.rb +5 -0
  441. data/rdoc-sources/FXXBMImage.rb +5 -0
  442. data/rdoc-sources/FXXPMIcon.rb +5 -0
  443. data/rdoc-sources/FXXPMImage.rb +5 -0
  444. data/rdoc-sources/README.rdoc +1 -1
  445. data/tests/TC_FXAccelTable.rb +1 -1
  446. data/tests/TC_FXApp.rb +1 -1
  447. data/tests/TC_FXArc.rb +1 -1
  448. data/tests/TC_FXBMPIcon.rb +1 -1
  449. data/tests/TC_FXBMPImage.rb +1 -1
  450. data/tests/TC_FXButton.rb +1 -1
  451. data/tests/TC_FXCheckButton.rb +1 -1
  452. data/tests/TC_FXComboBox.rb +2 -1
  453. data/tests/TC_FXDC.rb +1 -1
  454. data/tests/TC_FXDCPrint.rb +1 -1
  455. data/tests/TC_FXDCWindow.rb +1 -1
  456. data/tests/TC_FXDataTarget.rb +1 -1
  457. data/tests/TC_FXDirList.rb +2 -2
  458. data/tests/TC_FXFileAssoc.rb +1 -1
  459. data/tests/TC_FXFileStream.rb +1 -1
  460. data/tests/TC_FXFont.rb +2 -2
  461. data/tests/TC_FXFontDesc.rb +15 -19
  462. data/tests/TC_FXGLGroup.rb +1 -1
  463. data/tests/TC_FXGLShape.rb +1 -1
  464. data/tests/TC_FXGLViewer.rb +1 -3
  465. data/tests/TC_FXGradientBar.rb +1 -1
  466. data/tests/TC_FXHeader.rb +2 -2
  467. data/tests/TC_FXIconDict.rb +1 -1
  468. data/tests/TC_FXIconList.rb +2 -2
  469. data/tests/TC_FXId.rb +2 -2
  470. data/tests/TC_FXImage.rb +1 -1
  471. data/tests/TC_FXLight.rb +1 -1
  472. data/tests/TC_FXList.rb +2 -12
  473. data/tests/TC_FXListBox.rb +2 -2
  474. data/tests/TC_FXMat4f.rb +1 -1
  475. data/tests/TC_FXMaterial.rb +2 -2
  476. data/tests/TC_FXMemoryStream.rb +1 -1
  477. data/tests/TC_FXMenuCheck.rb +1 -1
  478. data/tests/TC_FXMenuCommand.rb +15 -1
  479. data/tests/TC_FXMenuRadio.rb +1 -1
  480. data/tests/TC_FXPoint.rb +1 -1
  481. data/tests/TC_FXQuatf.rb +1 -1
  482. data/tests/TC_FXRadioButton.rb +1 -1
  483. data/tests/TC_FXRangef.rb +1 -1
  484. data/tests/TC_FXRectangle.rb +1 -1
  485. data/tests/TC_FXRegion.rb +1 -1
  486. data/tests/TC_FXRegistry.rb +1 -1
  487. data/tests/TC_FXScrollArea.rb +1 -1
  488. data/tests/TC_FXScrollWindow.rb +1 -1
  489. data/tests/TC_FXSegment.rb +1 -1
  490. data/tests/TC_FXSettings.rb +1 -1
  491. data/tests/TC_FXShell.rb +1 -1
  492. data/tests/TC_FXSize.rb +1 -1
  493. data/tests/TC_FXStream.rb +1 -1
  494. data/tests/TC_FXTable.rb +33 -1
  495. data/tests/TC_FXTableItem.rb +2 -2
  496. data/tests/TC_FXText.rb +2 -2
  497. data/tests/TC_FXTopWindow.rb +1 -1
  498. data/tests/TC_FXTreeList.rb +2 -2
  499. data/tests/TC_FXTreeListBox.rb +2 -2
  500. data/tests/TC_FXUndoList.rb +2 -2
  501. data/tests/TC_FXVec2d.rb +6 -6
  502. data/tests/TC_FXVec2f.rb +5 -5
  503. data/tests/TC_FXVec3d.rb +5 -5
  504. data/tests/TC_FXVec3f.rb +5 -5
  505. data/tests/TC_FXVec4f.rb +3 -3
  506. data/tests/TC_FXViewport.rb +1 -1
  507. data/tests/TC_FXXBMIcon.rb +1 -1
  508. data/tests/TC_FXXBMImage.rb +1 -1
  509. data/tests/TC_FXXPMIcon.rb +1 -1
  510. data/tests/TC_FXXPMImage.rb +1 -1
  511. data/tests/TC_Misc.rb +1 -1
  512. data/tests/TC_downcast.rb +1 -1
  513. data/tests/TS_All.rb +1 -2
  514. data/tests/stress1.rb +5 -5
  515. data/tests/stress2.rb +1 -1
  516. data/tests/stress3.rb +1 -1
  517. data/tests/testcase.rb +1 -1
  518. metadata +294 -280
  519. data/doc/changes.html +0 -433
  520. data/ext/fox14/include/FXRbFont.h +0 -70
  521. data/ext/fox14/include/FXRbIconSource.h +0 -127
  522. data/ext/fox14/include/FXRbIconSourceVirtuals.h +0 -37
  523. data/ext/fox14/include/FXRbRealSpinnerVirtuals.h +0 -3
  524. data/ext/fox14/include/FXRbText.h +0 -94
  525. data/ext/fox14/include/FXRbTextVirtuals.h +0 -9
  526. data/rdoc-sources/FXMat4.rb +0 -171
  527. data/rdoc-sources/FXVec4.rb +0 -91
@@ -4,9 +4,12 @@ module Fox
4
4
  # visible. The range is the total size of the document, the page is the part
5
5
  # of the document which is visible. The size of the scrollbar thumb is adjusted
6
6
  # to give feedback of the relative sizes of each.
7
- # The scroll bar may be manipulated by the left mouse (normal scrolling), right
8
- # mouse (vernier or fine-scrolling), or middle mouse (same as the left mouse only
9
- # the scroll position can hop to the place where the click is made).
7
+ # The scroll bar may be manipulated by the left mouse button (normal scrolling), by the
8
+ # middle mouse button (same as the left mouse only the scroll position can jump to the
9
+ # place where the click is made), or by the right mouse button (vernier- or fine-scrolling).
10
+ # Holding down the control key while scrolling with the left or middle mouse button also
11
+ # enables vernier-scrolling mode. The vernier-scrolling mode is very useful for accurate
12
+ # positioning in large documents.
10
13
  # Finally, if the mouse sports a wheel, the scroll bar can be manipulated by means
11
14
  # of the mouse wheel as well. Holding down the Control-key during wheel motion
12
15
  # will cause the scrolling to go faster than normal.
@@ -67,6 +70,9 @@ module Fox
67
70
 
68
71
  # Scroll bar style [Integer]
69
72
  attr_accessor :scrollbarStyle
73
+
74
+ # Bar size [Integer]
75
+ attr_accessor :barSize
70
76
 
71
77
  #
72
78
  # Return an initialized FXScrollBar instance.
@@ -8,6 +8,9 @@ module Fox
8
8
 
9
9
  # Index of top-most menu item [Integer]
10
10
  attr_accessor :topItem
11
+
12
+ # Number of visible items [Integer]
13
+ attr_accessor :numVisible
11
14
 
12
15
  #
13
16
  # Return an initialized FXScrollPane instance.
@@ -3,6 +3,8 @@ module Fox
3
3
  # The Settings class manages a key-value database. This is normally used as
4
4
  # part of Registry, but can also be used separately in applications that need
5
5
  # to maintain a key-value database in a file of their own.
6
+ # String values can contain any character, and will be escaped when written
7
+ # to the file.
6
8
  #
7
9
  class FXSettings < FXDict
8
10
  #
@@ -109,6 +111,18 @@ module Fox
109
111
  #
110
112
  def readColorEntry(section, key, default=0) ; end
111
113
 
114
+ #
115
+ # Read a boolean valued registry entry from the specified _section_ and _key_.
116
+ # If no value is found, the _default_ value is returned.
117
+ #
118
+ # ==== Parameters:
119
+ #
120
+ # +section+:: the section name [String]
121
+ # +key+:: the key for the setting of interest [String]
122
+ # +default+:: the default value to return if _key_ is not found [true or false]
123
+ #
124
+ def readBoolEntry(section, key, default=false) ; end
125
+
112
126
  #
113
127
  # Write a string registry _value_ to the specified _section_ and _key_.
114
128
  # Returns true on success, false otherwise.
@@ -169,6 +183,18 @@ module Fox
169
183
  #
170
184
  def writeColorEntry(section, key, value) ; end
171
185
 
186
+ #
187
+ # Write a boolean registry _value_ to the specified _section_ and _key_.
188
+ # Returns true on success, false otherwise.
189
+ #
190
+ # ==== Parameters:
191
+ #
192
+ # +section+:: the section name [String]
193
+ # +key+:: the key for this setting [String]
194
+ # +value+:: the value for this setting [true or false]
195
+ #
196
+ def writeBoolEntry(section, key, value) ; end
197
+
172
198
  #
173
199
  # Delete the registry entry for the specified _section_ and _key_.
174
200
  # Returns true on success, false otherwise.
@@ -25,6 +25,71 @@ module Fox
25
25
  # _hh_ are the initial width and height.
26
26
  #
27
27
  def initialize(ww, hh); end
28
+
29
+ # Return +true+ if width or height is less than or equal to zero.
30
+ def empty?; end
31
+
32
+ #
33
+ # Grow the rectangle by some amount and return a reference to the rectangle.
34
+ #
35
+ # ==== Parameters:
36
+ #
37
+ # +margin+:: number of units to grow on each side [Integer]
38
+ #
39
+ def grow!(margin); end
40
+
41
+ #
42
+ # Grow the rectangle by some amount and return a reference to the rectangle.
43
+ #
44
+ # ==== Parameters:
45
+ #
46
+ # +hormargin+:: number of units to grow on the left and right sides [Integer]
47
+ # +vermargin+:: number of units to grow on the top and bottom sides [Integer]
48
+ #
49
+ def grow!(hormargin, vermargin); end
50
+
51
+ #
52
+ # Grow the rectangle by some amount and return a reference to the rectangle.
53
+ #
54
+ # ==== Parameters:
55
+ #
56
+ # +leftmargin+:: number of units to grow on the left side [Integer]
57
+ # +rightmargin+:: number of units to grow on the right side [Integer]
58
+ # +topmargin+:: number of units to grow on the top side [Integer]
59
+ # +bottommargin+:: number of units to grow on the bottom side [Integer]
60
+ #
61
+ def grow!(leftmargin, rightmargin, topmargin, bottommargin); end
62
+
63
+ #
64
+ # Shrink the rectangle by _margin_ units, and return a reference to the rectangle.
65
+ #
66
+ # ==== Parameters:
67
+ #
68
+ # +margin+:: number of units to shrink on each side [Integer]
69
+ #
70
+ def shrink!(margin); end
71
+
72
+ #
73
+ # Shrink the rectangle by some amount, and return a reference to the rectangle.
74
+ #
75
+ # ==== Parameters:
76
+ #
77
+ # +hormargin+:: number of units to shrink on the left and right sides [Integer]
78
+ # +vermargin+:: number of units to shrink on the top and bottom sides [Integer]
79
+ #
80
+ def shrink!(hormargin, vermargin); end
81
+
82
+ #
83
+ # Shrink the rectangle by some amount, and return a reference to the rectangle.
84
+ #
85
+ # ==== Parameters:
86
+ #
87
+ # +leftmargin+:: number of units to shrink on the left side [Integer]
88
+ # +rightmargin+:: number of units to shrink on the right side [Integer]
89
+ # +topmargin+:: number of units to shrink on the top side [Integer]
90
+ # +bottommargin+:: number of units to shrink on the bottom side [Integer]
91
+ #
92
+ def shrink!(leftmargin, rightmargin, topmargin, bottommargin); end
28
93
  end
29
94
  end
30
95
 
@@ -9,6 +9,8 @@ module Fox
9
9
  #
10
10
  # The following messages are sent by FXSlider to its target:
11
11
  #
12
+ # +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
13
+ # +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
12
14
  # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
13
15
  # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
14
16
  # +SEL_MIDDLEBUTTONPRESS+:: sent when the middle mouse button goes down; the message data is an FXEvent instance.
@@ -45,9 +45,18 @@ module Fox
45
45
  # Include the point _p_ (an FXVec3d instance) and return a reference to self.
46
46
  def include!(p); end
47
47
 
48
+ # Expand radius to include point and return a reference to self.
49
+ def includeInRadius!(x, y, z); end
50
+
51
+ # Expand radius to include point (an FXVec3d instance) and return a reference to self.
52
+ def includeInRadius!(p); end
53
+
48
54
  # Include the range _box_ (an FXRanged instance) into this sphere and return self.
49
55
  def include!(box); end
50
56
 
57
+ # Expand radius to include box (an FXRanged instance) and return a reference to self.
58
+ def includeInRadius!(box);
59
+
51
60
  # Include the sphere _sphere_ (an FXSphered instance) into this sphere and return self.
52
61
  def include!(sphere); end
53
62
 
@@ -55,6 +64,9 @@ module Fox
55
64
  # Here, _plane_ is an FXVec4d instance describing the plane.
56
65
  def intersect(plane); end
57
66
 
67
+ # Expand radius to include sphere (an FXSphered instance) and return self.
68
+ def includeInRadius!(sphere); end
69
+
58
70
  # Return +true+ if this sphere intersects the ray between points _u_ and _v_
59
71
  # (both FXVec3d instances).
60
72
  def intersects?(u, v); end
@@ -45,12 +45,24 @@ module Fox
45
45
  # Include the point _p_ (an FXVec3f instance) and return a reference to self.
46
46
  def include!(p); end
47
47
 
48
+ # Expand radius to include point and return a reference to self.
49
+ def includeInRadius!(x, y, z); end
50
+
51
+ # Expand radius to include point (an FXVec3f instance) and return a reference to self.
52
+ def includeInRadius!(p); end
53
+
48
54
  # Include the range _box_ (an FXRangef instance) into this sphere and return self.
49
55
  def include!(box); end
50
56
 
57
+ # Expand radius to include box (an FXRangef instance) and return a reference to self.
58
+ def includeInRadius!(box);
59
+
51
60
  # Include the sphere _sphere_ (an FXSpheref instance) into this sphere and return self.
52
61
  def include!(sphere); end
53
62
 
63
+ # Expand radius to include sphere (an FXSpheref instance) and return self.
64
+ def includeInRadius!(sphere); end
65
+
54
66
  # Intersect this sphere with the plane <em>ax+by+cz+w</em> and return -1, 0 or +1.
55
67
  # Here, _plane_ is an FXVec4f instance describing the plane.
56
68
  def intersect(plane); end
@@ -8,8 +8,6 @@ module Fox
8
8
  #
9
9
  # +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
10
10
  # +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
11
- # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
12
- # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
13
11
  # +SEL_COMMAND+::
14
12
  # sent whenever the spinner's value changes; the message data is an integer
15
13
  # indicating the new spinner value.
@@ -94,10 +92,16 @@ module Fox
94
92
  end
95
93
 
96
94
  # Increment spinner
97
- def increment(); end
95
+ def increment(notify=FALSE); end
96
+
97
+ # Increment spinner by certain amount
98
+ def incrementByAmount(amt, notify=false); end
98
99
 
99
100
  # Decrement spinner
100
- def decrement(); end
101
+ def decrement(notify=FALSE); end
102
+
103
+ # Decrement spinner by certain amount
104
+ def decrementByAmount(amt, notify=false); end
101
105
 
102
106
  # Return +true+ if the spinner is in cyclic mode.
103
107
  def cyclic?; end
@@ -7,6 +7,11 @@ module Fox
7
7
  # Return the suggested file extension for this image type ("tga").
8
8
  #
9
9
  def FXTGAIcon.fileExt; end
10
+
11
+ #
12
+ # Return the MIME type for this image type
13
+ #
14
+ def FXTGAIcon.mimeType; end
10
15
 
11
16
  #
12
17
  # Return an initialized FXTGAIcon instance.
@@ -7,6 +7,11 @@ module Fox
7
7
  # Return the suggested file extension for this image type ("tga").
8
8
  #
9
9
  def FXTGAImage.fileExt; end
10
+
11
+ #
12
+ # Return the MIME type for this image type
13
+ #
14
+ def FXTGAImage.mimeType; end
10
15
 
11
16
  #
12
17
  # Return an initialized FXTGAImage instance.
@@ -8,6 +8,11 @@ module Fox
8
8
  #
9
9
  def FXTIFIcon.fileExt; end
10
10
 
11
+ #
12
+ # Return the MIME type for this image type
13
+ #
14
+ def FXTIFIcon.mimeType; end
15
+
11
16
  # Return +true+ if TIF image file format is supported.
12
17
  def FXTIFIcon.supported? ; end
13
18
 
@@ -7,6 +7,11 @@ module Fox
7
7
  # Return the suggested file extension for this image type ("tif").
8
8
  #
9
9
  def FXTIFImage.fileExt; end
10
+
11
+ #
12
+ # Return the MIME type for this image type
13
+ #
14
+ def FXTIFImage.mimeType; end
10
15
 
11
16
  # Return +true+ if TIF image file format is supported.
12
17
  def FXTIFImage.supported? ; end
@@ -5,6 +5,9 @@ module Fox
5
5
  # In a the horizontal arrangement, the tab bar can have the tab
6
6
  # items on the top or on the bottom. In the vertical arrangement,
7
7
  # the tabs can be on the left or on the right.
8
+ # When one of the tab items is pressed, the tab bar's #setCurrent()
9
+ # method is called with _notify_ of +true+. This in turn causes the tab bar
10
+ # to send a +SEL_COMMAND+ message to its target.
8
11
  #
9
12
  # === Events
10
13
  #
@@ -67,7 +70,8 @@ module Fox
67
70
  end
68
71
 
69
72
  #
70
- # Set the current tab item to the one at _index_.
73
+ # Change currently active tab item; this raises the active tab item
74
+ # slightly above the neighboring tab items.
71
75
  # If _notify_ is +true+, a +SEL_COMMAND+ message is sent to the tab bar's message target
72
76
  #
73
77
  def setCurrent(index, notify=false); end
@@ -11,6 +11,9 @@ module Fox
11
11
  # Thus, a tab book can be used to present many GUI controls
12
12
  # in a small space by placing several panels on top of each
13
13
  # other and using tab items to select the desired panel.
14
+ # When one of the tab items is pressed, the tab book's #setCurrent method
15
+ # is called with _notify+=true. This causes the tab book to send a
16
+ # +SEL_COMMAND+ message to its target.
14
17
  #
15
18
  class FXTabBook < FXTabBar
16
19
  #
@@ -7,6 +7,13 @@ module Fox
7
7
  # In the tab book, activating a tab item also causes
8
8
  # the corresponding panel to be raised to the top.
9
9
  #
10
+ # === Events
11
+ #
12
+ # The following messages are sent by FXTabItem to its target:
13
+ #
14
+ # +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
15
+ # +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
16
+ #
10
17
  # === Tab item orientations (which affect border)
11
18
  #
12
19
  # +TAB_TOP+:: Top side tabs
@@ -185,6 +185,8 @@ module Fox
185
185
  # +TABLE_NO_COLSELECT+:: Disallow column selections
186
186
  # +TABLE_NO_ROWSELECT+:: Disallow row selections
187
187
  # +TABLE_READONLY+:: Table is not editable
188
+ # +TABLE_COL_RENUMBER+:: Renumber columns
189
+ # +TABLE_ROW_RENUMBER+:: Renumber rows
188
190
  #
189
191
  # === Message identifiers
190
192
  #
@@ -224,6 +226,9 @@ module Fox
224
226
 
225
227
  class FXTable < FXScrollArea
226
228
 
229
+ # Button in the upper left corner [FXButton]
230
+ attr_reader :cornerButton
231
+
227
232
  # Column header control [FXHeader]
228
233
  attr_reader :columnHeader
229
234
 
@@ -269,6 +274,12 @@ module Fox
269
274
  # attribute.
270
275
  attr_accessor :rowHeaderMode
271
276
 
277
+ # Row header font [FXFont]
278
+ attr_accessor :rowHeaderFont
279
+
280
+ # Column header font [FXFont]
281
+ attr_accessor :columnHeaderFont
282
+
272
283
  # The fixed column header height, if _columnHeaderMode_ is +LAYOUT_FIX_HEIGHT+.
273
284
  attr_accessor :columnHeaderHeight
274
285
 
@@ -506,6 +517,14 @@ module Fox
506
517
  #
507
518
  def removeColumns(column, nc=1, notify=false) ; end
508
519
 
520
+ #
521
+ # Extract item from table and return a reference to it.
522
+ # If _notify_ is +true+, a +SEL_REPLACED+ message is sent to the table's
523
+ # message target before this cell is removed.
524
+ # Raises IndexError if either _row_ or _col_ is out of bounds.
525
+ #
526
+ def extractItem(r, c, notify=false); end
527
+
509
528
  #
510
529
  # Remove item at (_row_, _col_), replacing it with +nil+.
511
530
  # If _notify_ is +true+, a +SEL_REPLACED+ message is sent to the table's
@@ -530,14 +549,8 @@ module Fox
530
549
  #
531
550
  def clearItems(notify=false); end
532
551
 
533
- #
534
552
  # Scroll to make cell at (_row_, _column_) fully visible.
535
- # If the input value for _row_ is out of bounds (i.e. is less than zero,
536
- # or greater than or equal to the numbers of rows), the call to
537
- # #makePositionVisible will have no effect on the horizontal position.
538
- # Likewise, if the input value for _column_ is out of bounds,
539
- # the call will have no effect on the vertical position.
540
- #
553
+ # Raises IndexError if either _row_ or _column_ is out of bounds.
541
554
  def makePositionVisible(row, column) ; end
542
555
 
543
556
  # Returns +true+ if the cell at position (_row_, _column_) is visible.
@@ -607,18 +620,62 @@ module Fox
607
620
 
608
621
  # Return text of row header at _index_.
609
622
  def getRowText(index); end
623
+
624
+ # Change column header icon
625
+ def setColumnIcon(FXint index,FXIcon* icon);
626
+
627
+ # Return icon of column header at index
628
+ def getColumnIcon(index); end
629
+
630
+ # Change row header icon
631
+ def setRowIcon(index, icon); end
610
632
 
611
- # Modify cell text for item at specified _row_ and _column_.
612
- # Raises IndexError if either _row_ or _column_ is out of bounds.
613
- def setItemText(row, column, text) ; end
633
+ # Return icon of row header at index
634
+ def getRowIcon(index); end
635
+
636
+ # Change column header icon position, e.g. FXHeaderItem::BEFORE, etc.
637
+ def setColumnIconPosition(index, mode); end
638
+
639
+ # Return icon position of column header at index
640
+ def getColumnIconPosition(index); end
641
+
642
+ # Change row header icon position, e.g. FXHeaderItem::BEFORE, etc.
643
+ def setRowIconPosition(index, mode); end
644
+
645
+ # Return icon position of row header at index
646
+ def getRowIconPosition(index); end
647
+
648
+ # Change column header justify, e.g. FXHeaderItem::RIGHT, etc.
649
+ def setColumnJustify(index, justify); end
650
+
651
+ # Return justify of column header at index
652
+ def getColumnJustify(index); end
653
+
654
+ # Change row header justify, e.g. FXHeaderItem::RIGHT, etc.
655
+ def setRowJustify(index, justify); end
656
+
657
+ # Return justify of row header at index
658
+ def getRowJustify(index); end
659
+
660
+ #
661
+ # Modify cell text for item at specified _row_ and _col_.
662
+ # If _notify_ is +true+, a +SEL_REPLACED+ message is sent to the table's
663
+ # message target before the item's text is changed..
664
+ # Raises IndexError if either _row_ or _col_ is out of bounds.
665
+ #
666
+ def setItemText(row, col, text, notify=false) ; end
614
667
 
615
668
  # Return cell text for item at specified _row_ and _column_.
616
669
  # Raises IndexError if either _row_ or _column_ is out of bounds.
617
670
  def getItemText(row, column) ; end
618
671
 
672
+ #
619
673
  # Modify cell icon, deleting the old icon if it was owned.
620
- # Raises IndexError if either _row_ or _column_ is out of bounds.
621
- def setItemIcon(row, column, icon) ; end
674
+ # If _notify_ is +true+, a +SEL_REPLACED+ message is sent to the table's
675
+ # message target before the item's icon is changed..
676
+ # Raises IndexError if either _row_ or _col_ is out of bounds.
677
+ #
678
+ def setItemIcon(row, col, icon, notify=false) ; end
622
679
 
623
680
  # Return item icon.
624
681
  # Raises IndexError if either _row_ or _column_ is out of bounds.
@@ -636,8 +693,8 @@ module Fox
636
693
  # Extract the text from all the cells in the specified range and
637
694
  # return the result as a string.
638
695
  # Within the result string, each column's text is delimited by
639
- # the character specified by _cs_, and each row is delimited by
640
- # the character specified by _rs_.
696
+ # the string specified by _cs_, and each row is delimited by
697
+ # the string specified by _rs_.
641
698
  # To reverse this operation (i.e. set the table cells' text
642
699
  # from a string), see #overlayText.
643
700
  # Raises IndexError if any of _startrow_, _endrow_, _startcol_
@@ -649,10 +706,10 @@ module Fox
649
706
  # +endrow+:: the ending row for the range [Integer]
650
707
  # +startcol+:: the starting column for the range [Integer]
651
708
  # +endcol+:: the ending column for the range [Integer]
652
- # +cs+:: the character to insert at each column break [String]
653
- # +rs+:: the character to insert at each row break [String]
709
+ # +cs+:: the string to insert at each column break [String]
710
+ # +rs+:: the string to insert at each row break [String]
654
711
  #
655
- def extractText(startrow, endrow, startcol, endcol, cs='\t', rs='\n'); end
712
+ def extractText(startrow, endrow, startcol, endcol, cs="\t", rs="\n"); end
656
713
 
657
714
  #
658
715
  # Overlay the text for the cells in the specified range with
@@ -675,8 +732,17 @@ module Fox
675
732
  # +cs+:: the character to insert at each column break [String]
676
733
  # +rs+:: the character to insert at each row break [String]
677
734
  #
678
- def overlayText(startrow, endrow, startcol, endcol, text, cs='\t', rs='\n'); end
735
+ def overlayText(startrow, endrow, startcol, endcol, text, cs="\t", rs="\n", notify=false); end
679
736
 
737
+ #
738
+ # Determine the number of rows and columns in a block of text
739
+ # where columns are separated by characters from the set _cs_, and rows
740
+ # are separated by characters from the set _rs_.
741
+ # Return a two-element array containing the number of rows and
742
+ # columns, respectively.
743
+ #
744
+ def countText(text, cs="\t,", rs="\n"); end
745
+
680
746
  # Return +true+ if the cell at position (_r_, _c_) is a spanning cell.
681
747
  # Raises IndexError if either _r_ or _c_ is out of bounds.
682
748
  def itemSpanning?(r, c); end
@@ -849,6 +915,18 @@ module Fox
849
915
 
850
916
  # Draw a range of cells
851
917
  def drawRange(dc, xlo, xhi, ylo, yhi, xoff, yoff, rlo, rhi, clo, chi) ; end
918
+
919
+ # Set column renumbering to +true+ or +false+.
920
+ def columnRenumbering=(renumber); end
921
+
922
+ # Get column renumbering
923
+ def columnRenumbering? ; end
924
+
925
+ # Set row renumbering to +true+ or +false+.
926
+ def rowRenumbering=(renumber); end
927
+
928
+ # Get row renumbering
929
+ def rowRenumbering? ; end
852
930
  end
853
931
  end
854
932