fxruby 1.2.6 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (437) hide show
  1. data/ChangeLog +0 -90
  2. data/doc/apes02.html +2 -2
  3. data/doc/apes03.html +1 -1
  4. data/doc/book.html +1 -1
  5. data/doc/build.html +26 -26
  6. data/doc/ch03s02.html +1 -2
  7. data/doc/ch03s03.html +1 -2
  8. data/doc/ch03s04.html +1 -2
  9. data/doc/ch03s05.html +1 -2
  10. data/doc/changes.html +12 -7
  11. data/doc/cvs.html +2 -2
  12. data/doc/differences.html +3 -3
  13. data/doc/gems.html +44 -44
  14. data/doc/implementation.html +1 -1
  15. data/doc/library.html +5 -5
  16. data/doc/opengl.html +5 -5
  17. data/doc/pt02.html +1 -1
  18. data/doc/scintilla.html +6 -6
  19. data/doc/tutorial1.html +8 -15
  20. data/examples/babelfish.rb +6 -16
  21. data/examples/bounce.rb +1 -1
  22. data/examples/browser.rb +1 -1
  23. data/examples/button.rb +1 -1
  24. data/examples/datatarget.rb +2 -2
  25. data/examples/dctest.rb +1 -1
  26. data/examples/dialog.rb +1 -1
  27. data/examples/dilbert.rb +2 -2
  28. data/examples/dirlist.rb +1 -1
  29. data/examples/dragdrop.rb +1 -1
  30. data/examples/dragsource.rb +1 -1
  31. data/examples/dropsite.rb +1 -1
  32. data/examples/foursplit.rb +1 -1
  33. data/examples/gltest.rb +2 -2
  34. data/examples/glviewer.rb +4 -4
  35. data/examples/groupbox.rb +2 -2
  36. data/examples/header.rb +3 -3
  37. data/examples/hello.rb +1 -1
  38. data/examples/hello2.rb +1 -1
  39. data/examples/iconlist.rb +16 -1
  40. data/examples/image.rb +2 -2
  41. data/examples/imageviewer.rb +1 -1
  42. data/examples/inputs.rb +1 -1
  43. data/examples/mditest.rb +2 -2
  44. data/examples/pig.rb +1 -1
  45. data/examples/raabrowser.rb +2 -2
  46. data/examples/ratio.rb +2 -2
  47. data/examples/scintilla-test.rb +2 -2
  48. data/examples/scribble-orig.rb +3 -3
  49. data/examples/scribble.rb +1 -1
  50. data/examples/shutter.rb +1 -1
  51. data/examples/splitter.rb +1 -1
  52. data/examples/styledtext.rb +2 -2
  53. data/examples/tabbook.rb +1 -1
  54. data/examples/table.rb +1 -1
  55. data/ext/{fox12 → fox14}/FXRbApp.cpp +7 -13
  56. data/ext/{fox12 → fox14}/FXRbDataTarget.cpp +5 -1
  57. data/ext/{fox12 → fox14}/FXRbGLViewer.cpp +1 -1
  58. data/ext/{fox12 → fox14}/FXRuby.cpp +49 -14
  59. data/ext/{fox12 → fox14}/MANIFEST +0 -0
  60. data/ext/{fox12 → fox14}/core_wrap.cpp +1098 -390
  61. data/ext/{fox12 → fox14}/dc_wrap.cpp +61 -1
  62. data/ext/{fox12 → fox14}/dialogs_wrap.cpp +2293 -939
  63. data/ext/{fox12 → fox14}/extconf.rb +8 -8
  64. data/ext/{fox12 → fox14}/frames_wrap.cpp +1396 -395
  65. data/ext/{fox12 → fox14}/fx3d_wrap.cpp +884 -363
  66. data/ext/{fox12 → fox14}/iconlist_wrap.cpp +338 -117
  67. data/ext/{fox12 → fox14}/icons_wrap.cpp +668 -61
  68. data/ext/{fox12 → fox14}/image_wrap.cpp +245 -164
  69. data/ext/{fox12 → fox14}/impl.cpp +58 -2
  70. data/ext/{fox12 → fox14}/include/FXMemoryBuffer.h +1 -1
  71. data/ext/{fox12 → fox14}/include/FXRb4Splitter.h +1 -1
  72. data/ext/fox14/include/FXRb7Segment.h +51 -0
  73. data/ext/{fox12 → fox14}/include/FXRbAccelTable.h +1 -1
  74. data/ext/{fox12 → fox14}/include/FXRbApp.h +1 -2
  75. data/ext/{fox12 → fox14}/include/FXRbAppVirtuals.h +0 -0
  76. data/ext/{fox12 → fox14}/include/FXRbArrowButton.h +1 -1
  77. data/ext/{fox12 → fox14}/include/FXRbBMPIcon.h +1 -1
  78. data/ext/{fox12 → fox14}/include/FXRbBMPImage.h +1 -1
  79. data/ext/{fox12 → fox14}/include/FXRbBitmap.h +5 -5
  80. data/ext/{fox12 → fox14}/include/FXRbBitmapFrame.h +1 -1
  81. data/ext/{fox12 → fox14}/include/FXRbBitmapView.h +1 -1
  82. data/ext/{fox12 → fox14}/include/FXRbBitmapVirtuals.h +1 -1
  83. data/ext/{fox12 → fox14}/include/FXRbButton.h +1 -1
  84. data/ext/{fox12 → fox14}/include/FXRbCURCursor.h +1 -1
  85. data/ext/{fox12 → fox14}/include/FXRbCanvas.h +1 -1
  86. data/ext/{fox12 → fox14}/include/FXRbCheckButton.h +1 -1
  87. data/ext/fox14/include/FXRbChoiceBox.h +56 -0
  88. data/ext/{fox12 → fox14}/include/FXRbColorBar.h +1 -1
  89. data/ext/{fox12 → fox14}/include/FXRbColorDialog.h +1 -1
  90. data/ext/{fox12 → fox14}/include/FXRbColorSelector.h +1 -1
  91. data/ext/{fox12 → fox14}/include/FXRbColorWell.h +1 -1
  92. data/ext/{fox12 → fox14}/include/FXRbColorWheel.h +1 -1
  93. data/ext/{fox12 → fox14}/include/FXRbComboBox.h +1 -1
  94. data/ext/{fox12 → fox14}/include/FXRbCommon.h +1 -1
  95. data/ext/{fox12 → fox14}/include/FXRbComposite.h +1 -1
  96. data/ext/{fox12 → fox14}/include/FXRbCursor.h +1 -1
  97. data/ext/{fox12 → fox14}/include/FXRbCursorVirtuals.h +0 -0
  98. data/ext/{fox12 → fox14}/include/FXRbDC.h +25 -1
  99. data/ext/{fox12 → fox14}/include/FXRbDCPrint.h +1 -1
  100. data/ext/{fox12 → fox14}/include/FXRbDCVirtuals.h +12 -0
  101. data/ext/{fox12 → fox14}/include/FXRbDCWindow.h +1 -1
  102. data/ext/{fox12 → fox14}/include/FXRbDataTarget.h +1 -1
  103. data/ext/{fox12 → fox14}/include/FXRbDebugTarget.h +1 -1
  104. data/ext/{fox12 → fox14}/include/FXRbDelegator.h +1 -1
  105. data/ext/{fox12 → fox14}/include/FXRbDial.h +1 -1
  106. data/ext/{fox12 → fox14}/include/FXRbDialogBox.h +1 -1
  107. data/ext/{fox12 → fox14}/include/FXRbDialogBoxVirtuals.h +0 -0
  108. data/ext/{fox12 → fox14}/include/FXRbDict.h +1 -1
  109. data/ext/{fox12 → fox14}/include/FXRbDirBox.h +2 -1
  110. data/ext/{fox12 → fox14}/include/FXRbDirDialog.h +4 -1
  111. data/ext/{fox12 → fox14}/include/FXRbDirList.h +1 -1
  112. data/ext/{fox12 → fox14}/include/FXRbDirSelector.h +1 -1
  113. data/ext/fox14/include/FXRbDockBar.h +86 -0
  114. data/ext/fox14/include/FXRbDockBarVirtuals.h +10 -0
  115. data/ext/fox14/include/FXRbDockHandler.h +51 -0
  116. data/ext/fox14/include/FXRbDockSite.h +85 -0
  117. data/ext/fox14/include/FXRbDockSiteVirtuals.h +13 -0
  118. data/ext/fox14/include/FXRbDockTitle.h +51 -0
  119. data/ext/{fox12 → fox14}/include/FXRbDocument.h +1 -1
  120. data/ext/{fox12 → fox14}/include/FXRbDragCorner.h +1 -1
  121. data/ext/{fox12 → fox14}/include/FXRbDrawable.h +1 -1
  122. data/ext/{fox12 → fox14}/include/FXRbDrawableVirtuals.h +0 -0
  123. data/ext/{fox12 → fox14}/include/FXRbDriveBox.h +2 -1
  124. data/ext/{fox12 → fox14}/include/FXRbFileDialog.h +1 -1
  125. data/ext/{fox12 → fox14}/include/FXRbFileDict.h +1 -1
  126. data/ext/{fox12 → fox14}/include/FXRbFileDictVirtuals.h +0 -0
  127. data/ext/{fox12 → fox14}/include/FXRbFileList.h +1 -1
  128. data/ext/{fox12 → fox14}/include/FXRbFileSelector.h +1 -1
  129. data/ext/{fox12 → fox14}/include/FXRbFoldingItemVirtuals.h +2 -5
  130. data/ext/{fox12 → fox14}/include/FXRbFoldingList.h +98 -15
  131. data/ext/fox14/include/FXRbFoldingListVirtuals.h +43 -0
  132. data/ext/{fox12 → fox14}/include/FXRbFont.h +1 -1
  133. data/ext/{fox12 → fox14}/include/FXRbFontDialog.h +1 -1
  134. data/ext/{fox12 → fox14}/include/FXRbFontSelector.h +1 -1
  135. data/ext/{fox12 → fox14}/include/FXRbFrame.h +1 -1
  136. data/ext/{fox12 → fox14}/include/FXRbGIFCursor.h +1 -1
  137. data/ext/{fox12 → fox14}/include/FXRbGIFIcon.h +1 -1
  138. data/ext/{fox12 → fox14}/include/FXRbGIFImage.h +1 -1
  139. data/ext/{fox12 → fox14}/include/FXRbGLCanvas.h +1 -1
  140. data/ext/{fox12 → fox14}/include/FXRbGLCanvasVirtuals.h +0 -0
  141. data/ext/{fox12 → fox14}/include/FXRbGLContext.h +1 -1
  142. data/ext/{fox12 → fox14}/include/FXRbGLObject.h +1 -1
  143. data/ext/{fox12 → fox14}/include/FXRbGLObjectVirtuals.h +0 -0
  144. data/ext/{fox12 → fox14}/include/FXRbGLShape.h +1 -1
  145. data/ext/{fox12 → fox14}/include/FXRbGLShapeVirtuals.h +0 -0
  146. data/ext/{fox12 → fox14}/include/FXRbGLViewer.h +7 -1
  147. data/ext/{fox12 → fox14}/include/FXRbGLViewerVirtuals.h +4 -0
  148. data/ext/{fox12 → fox14}/include/FXRbGLVisual.h +1 -1
  149. data/ext/{fox12 → fox14}/include/FXRbGradientBar.h +1 -1
  150. data/ext/{fox12 → fox14}/include/FXRbGroupBox.h +1 -1
  151. data/ext/{fox12 → fox14}/include/FXRbHeader.h +1 -1
  152. data/ext/{fox12 → fox14}/include/FXRbHeaderItemVirtuals.h +0 -0
  153. data/ext/{fox12 → fox14}/include/FXRbHorizontalFrame.h +1 -1
  154. data/ext/{fox12 → fox14}/include/FXRbICOIcon.h +1 -1
  155. data/ext/{fox12 → fox14}/include/FXRbICOImage.h +1 -1
  156. data/ext/{fox12 → fox14}/include/FXRbIcon.h +1 -1
  157. data/ext/{fox12 → fox14}/include/FXRbIconItemVirtuals.h +2 -5
  158. data/ext/{fox12 → fox14}/include/FXRbIconList.h +33 -15
  159. data/ext/{fox12 → fox14}/include/FXRbIconListVirtuals.h +14 -0
  160. data/ext/fox14/include/FXRbIconSource.h +127 -0
  161. data/ext/fox14/include/FXRbIconSourceVirtuals.h +37 -0
  162. data/ext/{fox12 → fox14}/include/FXRbId.h +1 -1
  163. data/ext/{fox12 → fox14}/include/FXRbIdVirtuals.h +0 -0
  164. data/ext/{fox12 → fox14}/include/FXRbImage.h +5 -5
  165. data/ext/{fox12 → fox14}/include/FXRbImageFrame.h +1 -1
  166. data/ext/{fox12 → fox14}/include/FXRbImageView.h +1 -1
  167. data/ext/{fox12 → fox14}/include/FXRbImageVirtuals.h +1 -1
  168. data/ext/{fox12 → fox14}/include/FXRbInputDialog.h +4 -1
  169. data/ext/{fox12 → fox14}/include/FXRbJPGIcon.h +1 -1
  170. data/ext/{fox12 → fox14}/include/FXRbJPGImage.h +1 -1
  171. data/ext/{fox12 → fox14}/include/FXRbLabel.h +1 -1
  172. data/ext/{fox12 → fox14}/include/FXRbList.h +29 -11
  173. data/ext/{fox12 → fox14}/include/FXRbListBox.h +12 -1
  174. data/ext/fox14/include/FXRbListBoxVirtuals.h +4 -0
  175. data/ext/{fox12 → fox14}/include/FXRbListItemVirtuals.h +1 -4
  176. data/ext/{fox12 → fox14}/include/FXRbListVirtuals.h +12 -0
  177. data/ext/{fox12 → fox14}/include/FXRbMDIButton.h +1 -1
  178. data/ext/{fox12 → fox14}/include/FXRbMDIChild.h +1 -1
  179. data/ext/{fox12 → fox14}/include/FXRbMDIChildVirtuals.h +0 -0
  180. data/ext/{fox12 → fox14}/include/FXRbMDIClient.h +1 -1
  181. data/ext/{fox12 → fox14}/include/FXRbMDIClientVirtuals.h +0 -0
  182. data/ext/{fox12 → fox14}/include/FXRbMainWindow.h +1 -1
  183. data/ext/{fox12 → fox14}/include/FXRbMatrix.h +1 -1
  184. data/ext/{fox12 → fox14}/include/FXRbMenuBar.h +2 -2
  185. data/ext/{fox12 → fox14}/include/FXRbMenuButton.h +1 -1
  186. data/ext/{fox12 → fox14}/include/FXRbMenuCaption.h +1 -1
  187. data/ext/{fox12 → fox14}/include/FXRbMenuCascade.h +1 -1
  188. data/ext/{fox12 → fox14}/include/FXRbMenuCheck.h +1 -1
  189. data/ext/{fox12 → fox14}/include/FXRbMenuCommand.h +1 -1
  190. data/ext/{fox12 → fox14}/include/FXRbMenuPane.h +1 -1
  191. data/ext/{fox12 → fox14}/include/FXRbMenuRadio.h +1 -1
  192. data/ext/{fox12 → fox14}/include/FXRbMenuSeparator.h +1 -1
  193. data/ext/{fox12 → fox14}/include/FXRbMenuTitle.h +1 -1
  194. data/ext/{fox12 → fox14}/include/FXRbMessageBox.h +1 -1
  195. data/ext/{fox12 → fox14}/include/FXRbObject.h +1 -1
  196. data/ext/{fox12 → fox14}/include/FXRbObjectVirtuals.h +0 -0
  197. data/ext/{fox12 → fox14}/include/FXRbOptionMenu.h +1 -1
  198. data/ext/{fox12 → fox14}/include/FXRbPCXIcon.h +1 -1
  199. data/ext/{fox12 → fox14}/include/FXRbPCXImage.h +1 -1
  200. data/ext/{fox12 → fox14}/include/FXRbPNGIcon.h +1 -1
  201. data/ext/{fox12 → fox14}/include/FXRbPNGImage.h +1 -1
  202. data/ext/{fox12 → fox14}/include/FXRbPPMIcon.h +1 -1
  203. data/ext/{fox12 → fox14}/include/FXRbPPMImage.h +1 -1
  204. data/ext/{fox12 → fox14}/include/FXRbPacker.h +1 -1
  205. data/ext/{fox12 → fox14}/include/FXRbPicker.h +1 -1
  206. data/ext/{fox12 → fox14}/include/FXRbPopup.h +1 -1
  207. data/ext/{fox12 → fox14}/include/FXRbPopupVirtuals.h +0 -0
  208. data/ext/{fox12 → fox14}/include/FXRbPrintDialog.h +1 -1
  209. data/ext/{fox12 → fox14}/include/FXRbProgressBar.h +1 -1
  210. data/ext/{fox12 → fox14}/include/FXRbProgressDialog.h +1 -1
  211. data/ext/{fox12 → fox14}/include/FXRbRGBIcon.h +1 -1
  212. data/ext/{fox12 → fox14}/include/FXRbRGBImage.h +1 -1
  213. data/ext/{fox12 → fox14}/include/FXRbRadioButton.h +1 -1
  214. data/ext/{fox12 → fox14}/include/FXRbRealSlider.h +1 -1
  215. data/ext/{fox12 → fox14}/include/FXRbRealSpinner.h +1 -1
  216. data/ext/{fox12 → fox14}/include/FXRbRealSpinnerVirtuals.h +0 -0
  217. data/ext/{fox12 → fox14}/include/FXRbRecentFiles.h +1 -1
  218. data/ext/{fox12 → fox14}/include/FXRbRegistry.h +1 -1
  219. data/ext/{fox12 → fox14}/include/FXRbReplaceDialog.h +1 -1
  220. data/ext/{fox12 → fox14}/include/FXRbRootWindow.h +1 -1
  221. data/ext/{fox12 → fox14}/include/FXRbRuler.h +1 -1
  222. data/ext/{fox12 → fox14}/include/FXRbScintilla.h +1 -1
  223. data/ext/{fox12 → fox14}/include/FXRbScrollArea.h +1 -1
  224. data/ext/{fox12 → fox14}/include/FXRbScrollAreaVirtuals.h +0 -0
  225. data/ext/{fox12 → fox14}/include/FXRbScrollBar.h +1 -1
  226. data/ext/{fox12 → fox14}/include/FXRbScrollPane.h +1 -1
  227. data/ext/{fox12 → fox14}/include/FXRbScrollWindow.h +1 -1
  228. data/ext/{fox12 → fox14}/include/FXRbSearchDialog.h +1 -1
  229. data/ext/{fox12 → fox14}/include/FXRbSeparator.h +1 -1
  230. data/ext/{fox12 → fox14}/include/FXRbSettings.h +1 -1
  231. data/ext/{fox12 → fox14}/include/FXRbShell.h +1 -1
  232. data/ext/{fox12 → fox14}/include/FXRbShutter.h +1 -1
  233. data/ext/{fox12 → fox14}/include/FXRbShutterVirtuals.h +0 -0
  234. data/ext/{fox12 → fox14}/include/FXRbSlider.h +1 -1
  235. data/ext/{fox12 → fox14}/include/FXRbSpinner.h +1 -1
  236. data/ext/{fox12 → fox14}/include/FXRbSpinnerVirtuals.h +0 -0
  237. data/ext/fox14/include/FXRbSplashWindow.h +57 -0
  238. data/ext/{fox12 → fox14}/include/FXRbSplitter.h +1 -1
  239. data/ext/{fox12 → fox14}/include/FXRbSpring.h +1 -1
  240. data/ext/{fox12 → fox14}/include/FXRbStatusBar.h +1 -1
  241. data/ext/{fox12 → fox14}/include/FXRbStatusLine.h +1 -1
  242. data/ext/{fox12 → fox14}/include/FXRbStream.h +3 -3
  243. data/ext/{fox12 → fox14}/include/FXRbStreamVirtuals.h +1 -1
  244. data/ext/{fox12 → fox14}/include/FXRbStringDict.h +1 -1
  245. data/ext/{fox12 → fox14}/include/FXRbSwitcher.h +1 -1
  246. data/ext/{fox12 → fox14}/include/FXRbTGAIcon.h +1 -1
  247. data/ext/{fox12 → fox14}/include/FXRbTGAImage.h +1 -1
  248. data/ext/{fox12 → fox14}/include/FXRbTIFIcon.h +1 -1
  249. data/ext/{fox12 → fox14}/include/FXRbTIFImage.h +1 -1
  250. data/ext/{fox12 → fox14}/include/FXRbTabBar.h +1 -1
  251. data/ext/{fox12 → fox14}/include/FXRbTabBarVirtuals.h +0 -0
  252. data/ext/{fox12 → fox14}/include/FXRbTabBook.h +1 -1
  253. data/ext/{fox12 → fox14}/include/FXRbTabItem.h +1 -1
  254. data/ext/{fox12 → fox14}/include/FXRbTable.h +96 -36
  255. data/ext/{fox12 → fox14}/include/FXRbTableItemVirtuals.h +24 -3
  256. data/ext/{fox12 → fox14}/include/FXRbTableVirtuals.h +19 -6
  257. data/ext/{fox12 → fox14}/include/FXRbText.h +2 -2
  258. data/ext/{fox12 → fox14}/include/FXRbTextField.h +1 -1
  259. data/ext/{fox12 → fox14}/include/FXRbTextVirtuals.h +0 -0
  260. data/ext/{fox12 → fox14}/include/FXRbToggleButton.h +1 -1
  261. data/ext/{fox12 → fox14}/include/FXRbToolBar.h +2 -19
  262. data/ext/{fox12 → fox14}/include/FXRbToolBarGrip.h +1 -1
  263. data/ext/{fox12 → fox14}/include/FXRbToolBarShell.h +1 -1
  264. data/ext/{fox12 → fox14}/include/FXRbToolBarTab.h +1 -1
  265. data/ext/{fox12 → fox14}/include/FXRbToolTip.h +1 -1
  266. data/ext/{fox12 → fox14}/include/FXRbTopWindow.h +1 -1
  267. data/ext/{fox12 → fox14}/include/FXRbTopWindowVirtuals.h +0 -0
  268. data/ext/{fox12 → fox14}/include/FXRbTreeItemVirtuals.h +2 -2
  269. data/ext/{fox12 → fox14}/include/FXRbTreeList.h +33 -9
  270. data/ext/{fox12 → fox14}/include/FXRbTreeListBox.h +12 -1
  271. data/ext/fox14/include/FXRbTreeListBoxVirtuals.h +4 -0
  272. data/ext/{fox12 → fox14}/include/FXRbTreeListVirtuals.h +12 -0
  273. data/ext/{fox12 → fox14}/include/FXRbTriStateButton.h +1 -1
  274. data/ext/{fox12 → fox14}/include/FXRbVerticalFrame.h +1 -1
  275. data/ext/{fox12 → fox14}/include/FXRbVisual.h +1 -1
  276. data/ext/{fox12 → fox14}/include/FXRbWindow.h +35 -5
  277. data/ext/{fox12 → fox14}/include/FXRbWindowVirtuals.h +17 -1
  278. data/ext/{fox12 → fox14}/include/FXRbWizard.h +1 -1
  279. data/ext/{fox12 → fox14}/include/FXRbXBMIcon.h +1 -1
  280. data/ext/{fox12 → fox14}/include/FXRbXBMImage.h +1 -1
  281. data/ext/{fox12 → fox14}/include/FXRbXPMIcon.h +1 -1
  282. data/ext/{fox12 → fox14}/include/FXRbXPMImage.h +1 -1
  283. data/ext/{fox12 → fox14}/include/FXRuby.h +78 -7
  284. data/ext/{fox12 → fox14}/include/impl.h +7 -0
  285. data/ext/{fox12 → fox14}/include/inlinestubs.h +58 -2
  286. data/ext/{fox12 → fox14}/label_wrap.cpp +524 -68
  287. data/ext/{fox12 → fox14}/layout_wrap.cpp +1025 -90
  288. data/ext/{fox12 → fox14}/librb.c +0 -0
  289. data/ext/{fox12 → fox14}/list_wrap.cpp +328 -234
  290. data/ext/{fox12 → fox14}/markfuncs.cpp +29 -4
  291. data/ext/{fox12 → fox14}/mdi_wrap.cpp +553 -99
  292. data/ext/{fox12 → fox14}/menu_wrap.cpp +967 -404
  293. data/ext/{fox12 → fox14}/scintilla_wrap.cpp +754 -635
  294. data/ext/{fox12 → fox14}/table_wrap.cpp +501 -284
  295. data/ext/{fox12 → fox14}/text_wrap.cpp +765 -629
  296. data/ext/{fox12 → fox14}/treelist_wrap.cpp +859 -661
  297. data/ext/{fox12 → fox14}/ui_wrap.cpp +3025 -627
  298. data/ext/{fox12 → fox14}/unregisterOwnedObjects.cpp +1 -1
  299. data/lib/{fox12 → fox14}/aliases.rb +252 -45
  300. data/lib/{fox12 → fox14}/calendar.rb +2 -2
  301. data/lib/{fox12 → fox14}/chore.rb +1 -1
  302. data/lib/{fox12 → fox14}/colors.rb +1 -1
  303. data/lib/{fox12 → fox14}/core.rb +126 -52
  304. data/lib/{fox12 → fox14}/dict.rb +0 -0
  305. data/lib/{fox12 → fox14}/execute_nonmodal.rb +0 -0
  306. data/lib/{fox12 → fox14}/glgroup.rb +1 -1
  307. data/lib/{fox12 → fox14}/glshapes.rb +1 -1
  308. data/lib/{fox12 → fox14}/input.rb +1 -1
  309. data/lib/{fox12 → fox14}/irb.rb +1 -1
  310. data/lib/{fox12 → fox14}/iterators.rb +1 -1
  311. data/lib/{fox12 → fox14}/keys.rb +1 -1
  312. data/lib/{fox12 → fox14}/missingdep.rb +1 -1
  313. data/lib/{fox12 → fox14}/pseudokeyboard.rb +1 -1
  314. data/lib/{fox12 → fox14}/pseudomouse.rb +1 -1
  315. data/lib/{fox12 → fox14}/responder.rb +1 -1
  316. data/lib/{fox12 → fox14}/responder2.rb +5 -5
  317. data/lib/{fox12 → fox14}/scintilla.rb +0 -0
  318. data/lib/{fox12 → fox14}/settings.rb +0 -0
  319. data/lib/{fox12 → fox14}/signal.rb +1 -1
  320. data/lib/{fox12 → fox14}/splashscreen.rb +2 -2
  321. data/lib/{fox12 → fox14}/timeout.rb +1 -1
  322. data/lib/{fox12 → fox14}/undolist.rb +2 -2
  323. data/lib/{fox12 → fox14}/version.rb +2 -2
  324. data/rdoc-sources/FX7Segment.rb +48 -0
  325. data/rdoc-sources/FXApp.rb +51 -31
  326. data/rdoc-sources/FXBMPIcon.rb +18 -1
  327. data/rdoc-sources/FXBMPImage.rb +5 -0
  328. data/rdoc-sources/FXBitmap.rb +18 -3
  329. data/rdoc-sources/FXBitmapFrame.rb +3 -1
  330. data/rdoc-sources/FXBitmapView.rb +4 -1
  331. data/rdoc-sources/FXButton.rb +16 -0
  332. data/rdoc-sources/FXCheckButton.rb +25 -1
  333. data/rdoc-sources/FXChoiceBox.rb +82 -0
  334. data/rdoc-sources/FXColorBar.rb +6 -1
  335. data/rdoc-sources/FXColorDialog.rb +1 -0
  336. data/rdoc-sources/FXColorWell.rb +14 -6
  337. data/rdoc-sources/FXColorWheel.rb +6 -4
  338. data/rdoc-sources/FXComboBox.rb +53 -5
  339. data/rdoc-sources/FXCursor.rb +2 -2
  340. data/rdoc-sources/FXDC.rb +36 -2
  341. data/rdoc-sources/FXDial.rb +10 -4
  342. data/rdoc-sources/FXDirBox.rb +7 -1
  343. data/rdoc-sources/FXDirDialog.rb +33 -0
  344. data/rdoc-sources/FXDirList.rb +8 -3
  345. data/rdoc-sources/FXDirSelector.rb +36 -2
  346. data/rdoc-sources/FXDockBar.rb +136 -0
  347. data/rdoc-sources/FXDockHandler.rb +19 -0
  348. data/rdoc-sources/FXDockSite.rb +86 -0
  349. data/rdoc-sources/FXDockTitle.rb +26 -0
  350. data/rdoc-sources/FXFileDialog.rb +33 -0
  351. data/rdoc-sources/FXFileDict.rb +29 -56
  352. data/rdoc-sources/FXFileList.rb +39 -16
  353. data/rdoc-sources/FXFileSelector.rb +28 -2
  354. data/rdoc-sources/FXFileStream.rb +3 -0
  355. data/rdoc-sources/FXFoldingList.rb +104 -62
  356. data/rdoc-sources/FXFont.rb +2 -9
  357. data/rdoc-sources/FXFrame.rb +7 -1
  358. data/rdoc-sources/FXGIFCursor.rb +17 -5
  359. data/rdoc-sources/FXGIFIcon.rb +5 -0
  360. data/rdoc-sources/FXGIFImage.rb +5 -0
  361. data/rdoc-sources/FXHeader.rb +24 -4
  362. data/rdoc-sources/FXICOIcon.rb +10 -0
  363. data/rdoc-sources/FXICOImage.rb +5 -0
  364. data/rdoc-sources/FXIconList.rb +37 -13
  365. data/rdoc-sources/FXIconSource.rb +100 -0
  366. data/rdoc-sources/FXImage.rb +8 -2
  367. data/rdoc-sources/FXInputDialog.rb +6 -0
  368. data/rdoc-sources/FXJPGIcon.rb +13 -0
  369. data/rdoc-sources/FXJPGImage.rb +8 -0
  370. data/rdoc-sources/FXLabel.rb +4 -1
  371. data/rdoc-sources/FXList.rb +19 -9
  372. data/rdoc-sources/FXListBox.rb +22 -4
  373. data/rdoc-sources/FXMDIChild.rb +21 -2
  374. data/rdoc-sources/FXMDIClient.rb +15 -11
  375. data/rdoc-sources/FXMainWindow.rb +7 -1
  376. data/rdoc-sources/FXMemoryStream.rb +2 -0
  377. data/rdoc-sources/FXMenuBar.rb +1 -1
  378. data/rdoc-sources/FXMessageBox.rb +17 -7
  379. data/rdoc-sources/FXObject.rb +7 -1
  380. data/rdoc-sources/FXPCXIcon.rb +10 -0
  381. data/rdoc-sources/FXPCXImage.rb +5 -0
  382. data/rdoc-sources/FXPNGIcon.rb +15 -2
  383. data/rdoc-sources/FXPNGImage.rb +8 -0
  384. data/rdoc-sources/FXPPMIcon.rb +10 -0
  385. data/rdoc-sources/FXPPMImage.rb +5 -0
  386. data/rdoc-sources/FXQuatd.rb +1 -1
  387. data/rdoc-sources/FXQuatf.rb +1 -1
  388. data/rdoc-sources/FXRGBIcon.rb +12 -2
  389. data/rdoc-sources/FXRGBImage.rb +5 -0
  390. data/rdoc-sources/FXRegistry.rb +19 -2
  391. data/rdoc-sources/FXRuler.rb +47 -5
  392. data/rdoc-sources/FXScrollArea.rb +4 -4
  393. data/rdoc-sources/FXScrollPane.rb +3 -1
  394. data/rdoc-sources/FXSeparator.rb +20 -10
  395. data/rdoc-sources/FXSettings.rb +3 -3
  396. data/rdoc-sources/FXShell.rb +2 -1
  397. data/rdoc-sources/FXShutter.rb +7 -2
  398. data/rdoc-sources/FXSphered.rb +5 -2
  399. data/rdoc-sources/FXSpheref.rb +5 -2
  400. data/rdoc-sources/FXSplashWindow.rb +31 -0
  401. data/rdoc-sources/FXSplitter.rb +2 -1
  402. data/rdoc-sources/FXStream.rb +11 -2
  403. data/rdoc-sources/FXTGAIcon.rb +12 -2
  404. data/rdoc-sources/FXTGAImage.rb +5 -0
  405. data/rdoc-sources/FXTIFIcon.rb +15 -2
  406. data/rdoc-sources/FXTIFImage.rb +8 -0
  407. data/rdoc-sources/FXTable.rb +92 -15
  408. data/rdoc-sources/FXText.rb +11 -2
  409. data/rdoc-sources/FXTextField.rb +6 -2
  410. data/rdoc-sources/FXToolBar.rb +5 -65
  411. data/rdoc-sources/FXToolBarGrip.rb +5 -10
  412. data/rdoc-sources/FXToolBarTab.rb +8 -3
  413. data/rdoc-sources/FXTopWindow.rb +4 -0
  414. data/rdoc-sources/FXTreeList.rb +56 -50
  415. data/rdoc-sources/FXTreeListBox.rb +49 -30
  416. data/rdoc-sources/FXWindow.rb +30 -11
  417. data/rdoc-sources/FXXBMIcon.rb +10 -0
  418. data/rdoc-sources/FXXBMImage.rb +5 -0
  419. data/rdoc-sources/FXXPMIcon.rb +11 -1
  420. data/rdoc-sources/FXXPMImage.rb +5 -0
  421. data/rdoc-sources/README.rdoc +1 -1
  422. data/tests/TC_FXBMPIcon.rb +15 -0
  423. data/tests/TC_FXBMPImage.rb +15 -0
  424. data/tests/TC_FXFont.rb +0 -10
  425. data/tests/TC_FXXBMIcon.rb +15 -0
  426. data/tests/TC_FXXBMImage.rb +15 -0
  427. data/tests/TC_FXXPMIcon.rb +15 -0
  428. data/tests/TC_FXXPMImage.rb +15 -0
  429. data/web/downloads.html +3 -1
  430. data/web/home.html +3 -1
  431. metadata +290 -268
  432. data/ANNOUNCE +0 -25
  433. data/examples/mditest2.rb +0 -195
  434. data/ext/fox12/include/FXRbToolBarVirtuals.h +0 -6
  435. data/lib/fox12/dialogs.rb +0 -72
  436. data/tests/TC_FXSettings.rb +0 -34
  437. data/tests/doit.rb +0 -5
@@ -21,7 +21,7 @@
21
21
  ***********************************************************************/
22
22
 
23
23
  /***********************************************************************
24
- * $Id: FXRbTextField.h,v 1.1 2004/08/07 10:55:26 lyle Exp $
24
+ * $Id: FXRbTextField.h,v 1.1 2005/08/14 15:12:43 lyle Exp $
25
25
  ***********************************************************************/
26
26
 
27
27
  #ifndef FXRBTEXTFIELD_H
@@ -21,7 +21,7 @@
21
21
  ***********************************************************************/
22
22
 
23
23
  /***********************************************************************
24
- * $Id: FXRbToggleButton.h,v 1.1 2004/08/07 10:55:26 lyle Exp $
24
+ * $Id: FXRbToggleButton.h,v 1.1 2005/08/14 15:12:43 lyle Exp $
25
25
  ***********************************************************************/
26
26
 
27
27
  #ifndef FXRBTOGGLEBUTTON_H
@@ -21,29 +21,12 @@
21
21
  ***********************************************************************/
22
22
 
23
23
  /***********************************************************************
24
- * $Id: FXRbToolBar.h,v 1.1 2004/08/07 10:55:26 lyle Exp $
24
+ * $Id: FXRbToolBar.h,v 1.1 2005/08/14 15:12:43 lyle Exp $
25
25
  ***********************************************************************/
26
26
 
27
27
  #ifndef FXRBTOOLBAR_H
28
28
  #define FXRBTOOLBAR_H
29
29
 
30
- #define DECLARE_FXTOOLBAR_STUBS(klass) \
31
- inline void klass ## _dock(klass* self,FXuint side,FXWindow* after){ \
32
- self->klass::dock(side,after); \
33
- } \
34
- inline void klass ## _undock(klass* self){ \
35
- self->klass::undock(); \
36
- }
37
-
38
- #define IMPLEMENT_FXTOOLBAR_STUBS(cls) \
39
- void cls::dock(FXuint side,FXWindow* after){ \
40
- FXRbCallVoidMethod(this,rb_intern("dock"),side,after); \
41
- } \
42
- void cls::undock(){ \
43
- FXRbCallVoidMethod(this,rb_intern("undock")); \
44
- }
45
-
46
-
47
30
  class FXRbToolBar : public FXToolBar {
48
31
  FXDECLARE(FXRbToolBar)
49
32
  protected:
@@ -52,7 +35,7 @@ protected:
52
35
  #include "FXRbIdVirtuals.h"
53
36
  #include "FXRbDrawableVirtuals.h"
54
37
  #include "FXRbWindowVirtuals.h"
55
- #include "FXRbToolBarVirtuals.h"
38
+ #include "FXRbDockBarVirtuals.h"
56
39
  public:
57
40
  /**
58
41
  * Construct a floatable toolbar
@@ -21,7 +21,7 @@
21
21
  ***********************************************************************/
22
22
 
23
23
  /***********************************************************************
24
- * $Id: FXRbToolBarGrip.h,v 1.1 2004/08/07 10:55:26 lyle Exp $
24
+ * $Id: FXRbToolBarGrip.h,v 1.1 2005/08/14 15:12:43 lyle Exp $
25
25
  ***********************************************************************/
26
26
 
27
27
  #ifndef FXRBTOOLBARGRIP_H
@@ -21,7 +21,7 @@
21
21
  ***********************************************************************/
22
22
 
23
23
  /***********************************************************************
24
- * $Id: FXRbToolBarShell.h,v 1.1 2004/08/07 10:55:26 lyle Exp $
24
+ * $Id: FXRbToolBarShell.h,v 1.1 2005/08/14 15:12:43 lyle Exp $
25
25
  ***********************************************************************/
26
26
 
27
27
  #ifndef FXRBTOOLBARSHELL_H
@@ -21,7 +21,7 @@
21
21
  ***********************************************************************/
22
22
 
23
23
  /***********************************************************************
24
- * $Id: FXRbToolBarTab.h,v 1.1 2004/08/07 10:55:26 lyle Exp $
24
+ * $Id: FXRbToolBarTab.h,v 1.1 2005/08/14 15:12:43 lyle Exp $
25
25
  ***********************************************************************/
26
26
 
27
27
  #ifndef FXRBTOOLBARTAB_H
@@ -21,7 +21,7 @@
21
21
  ***********************************************************************/
22
22
 
23
23
  /***********************************************************************
24
- * $Id: FXRbToolTip.h,v 1.1 2004/08/07 10:55:26 lyle Exp $
24
+ * $Id: FXRbToolTip.h,v 1.1 2005/08/14 15:12:43 lyle Exp $
25
25
  ***********************************************************************/
26
26
 
27
27
  #ifndef FXRBTOOLTIP_H
@@ -21,7 +21,7 @@
21
21
  ***********************************************************************/
22
22
 
23
23
  /***********************************************************************
24
- * $Id: FXRbTopWindow.h,v 1.1 2004/08/07 10:55:26 lyle Exp $
24
+ * $Id: FXRbTopWindow.h,v 1.1 2005/08/14 15:12:43 lyle Exp $
25
25
  ***********************************************************************/
26
26
 
27
27
  #ifndef FXRBTOPWINDOW_H
@@ -3,10 +3,10 @@ public:
3
3
  virtual void setText(const FXString& txt);
4
4
 
5
5
  // Overrides the base class version of setOpenIcon()
6
- virtual void setOpenIcon(FXIcon* icn);
6
+ virtual void setOpenIcon(FXIcon* icn,FXbool owned=FALSE);
7
7
 
8
8
  // Overrides the base class version of setClosedIcon()
9
- virtual void setClosedIcon(FXIcon* icn);
9
+ virtual void setClosedIcon(FXIcon* icn,FXbool owned=FALSE);
10
10
 
11
11
  // Overrides the base class version of setFocus()
12
12
  virtual void setFocus(FXbool focus);
@@ -21,7 +21,7 @@
21
21
  ***********************************************************************/
22
22
 
23
23
  /***********************************************************************
24
- * $Id: FXRbTreeList.h,v 1.2 2005/02/27 21:05:22 lyle Exp $
24
+ * $Id: FXRbTreeList.h,v 1.1 2005/08/14 15:12:43 lyle Exp $
25
25
  ***********************************************************************/
26
26
 
27
27
  #ifndef FXRBTREELIST_H
@@ -31,11 +31,11 @@
31
31
  inline void klass ## _setText(klass* self,const FXString& text){ \
32
32
  self->klass::setText(text); \
33
33
  } \
34
- inline void klass ## _setOpenIcon(klass* self,FXIcon* icn){ \
35
- self->klass::setOpenIcon(icn); \
34
+ inline void klass ## _setOpenIcon(klass* self,FXIcon* icn,FXbool owned){ \
35
+ self->klass::setOpenIcon(icn,owned); \
36
36
  } \
37
- inline void klass ## _setClosedIcon(klass* self,FXIcon* icn){ \
38
- self->klass::setClosedIcon(icn); \
37
+ inline void klass ## _setClosedIcon(klass* self,FXIcon* icn,FXbool owned){ \
38
+ self->klass::setClosedIcon(icn,owned); \
39
39
  } \
40
40
  inline void klass ## _setFocus(klass* self,FXbool focus){ \
41
41
  self->klass::setFocus(focus); \
@@ -76,11 +76,11 @@ inline void klass ## _destroy(klass* self){ \
76
76
  void klass::setText(const FXString& txt){ \
77
77
  FXRbCallVoidMethod(this,rb_intern("setText"),txt); \
78
78
  } \
79
- void klass::setOpenIcon(FXIcon* icn){ \
80
- FXRbCallVoidMethod(this,rb_intern("setOpenIcon"),icn); \
79
+ void klass::setOpenIcon(FXIcon* icn,FXbool owned){ \
80
+ FXRbCallVoidMethod(this,rb_intern("setOpenIcon"),icn,owned); \
81
81
  } \
82
- void klass::setClosedIcon(FXIcon* icn){ \
83
- FXRbCallVoidMethod(this,rb_intern("setClosedIcon"),icn); \
82
+ void klass::setClosedIcon(FXIcon* icn,FXbool owned){ \
83
+ FXRbCallVoidMethod(this,rb_intern("setClosedIcon"),icn,owned); \
84
84
  } \
85
85
  void klass::setFocus(FXbool focus){ \
86
86
  if(NIL_P(FXRbGetRubyObj(this,false))){ \
@@ -178,6 +178,18 @@ inline FXbool klass ## _expandTree(klass* self,FXTreeItem* tree,FXbool notify){
178
178
  } \
179
179
  inline void klass ## _setCurrentItem(klass* self,FXTreeItem* item,FXbool notify){ \
180
180
  self->klass::setCurrentItem(item,notify); \
181
+ } \
182
+ inline FXTreeItem* klass ## _getItemAt(const klass* self,FXint x,FXint y){ \
183
+ return self->klass::getItemAt(x,y); \
184
+ } \
185
+ inline void klass ## _makeItemVisible(klass* self,FXTreeItem* item){ \
186
+ self->klass::makeItemVisible(item); \
187
+ } \
188
+ inline FXbool klass ## _enableItem(klass* self,FXTreeItem* item){ \
189
+ return self->klass::enableItem(item); \
190
+ } \
191
+ inline FXbool klass ## _disableItem(klass* self,FXTreeItem* item){ \
192
+ return self->klass::disableItem(item); \
181
193
  }
182
194
 
183
195
 
@@ -211,6 +223,18 @@ inline void klass ## _setCurrentItem(klass* self,FXTreeItem* item,FXbool notify)
211
223
  } \
212
224
  void cls::setCurrentItem(FXTreeItem* item,FXbool notify){ \
213
225
  FXRbCallVoidMethod(this,rb_intern("setCurrentItem"),item,notify); \
226
+ } \
227
+ FXTreeItem* cls::getItemAt(FXint x,FXint y) const { \
228
+ return FXRbCallTreeItemMethod(this,rb_intern("getItemAt"),x,y); \
229
+ } \
230
+ void cls::makeItemVisible(FXTreeItem* item) { \
231
+ FXRbCallVoidMethod(this,rb_intern("makeItemVisible"),item); \
232
+ } \
233
+ FXbool cls::enableItem(FXTreeItem* item){ \
234
+ return FXRbCallBoolMethod(this,rb_intern("enableItem"),item); \
235
+ } \
236
+ FXbool cls::disableItem(FXTreeItem* item){ \
237
+ return FXRbCallBoolMethod(this,rb_intern("disableItem"),item); \
214
238
  }
215
239
 
216
240
 
@@ -21,12 +21,22 @@
21
21
  ***********************************************************************/
22
22
 
23
23
  /***********************************************************************
24
- * $Id: FXRbTreeListBox.h,v 1.1 2004/08/07 10:55:26 lyle Exp $
24
+ * $Id: FXRbTreeListBox.h,v 1.1 2005/08/14 15:12:43 lyle Exp $
25
25
  ***********************************************************************/
26
26
 
27
27
  #ifndef FXRBTREELISTBOX_H
28
28
  #define FXRBTREELISTBOX_H
29
29
 
30
+ #define DECLARE_FXTREELISTBOX_STUBS(klass) \
31
+ inline void klass ## _setCurrentItem(klass* self,FXTreeItem* item,FXbool notify){ \
32
+ self->klass::setCurrentItem(item,notify); \
33
+ }
34
+
35
+ #define IMPLEMENT_FXTREELISTBOX_STUBS(cls) \
36
+ void cls::setCurrentItem(FXTreeItem* item,FXbool notify){ \
37
+ FXRbCallVoidMethod(this,rb_intern("setCurrentItem"),item,notify); \
38
+ }
39
+
30
40
  class FXRbTreeListBox : public FXTreeListBox {
31
41
  FXDECLARE(FXRbTreeListBox)
32
42
  protected:
@@ -35,6 +45,7 @@ protected:
35
45
  #include "FXRbIdVirtuals.h"
36
46
  #include "FXRbDrawableVirtuals.h"
37
47
  #include "FXRbWindowVirtuals.h"
48
+ #include "FXRbTreeListBoxVirtuals.h"
38
49
  public:
39
50
  /// Construct tree list box
40
51
  FXRbTreeListBox(FXComposite *p,FXObject* tgt=NULL,FXSelector sel=0,FXuint opts=FRAME_SUNKEN|FRAME_THICK|TREELISTBOX_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=DEFAULT_PAD,FXint pr=DEFAULT_PAD,FXint pt=DEFAULT_PAD,FXint pb=DEFAULT_PAD) : FXTreeListBox(p,tgt,sel,opts,x,y,w,h,pl,pr,pt,pb){
@@ -0,0 +1,4 @@
1
+ public:
2
+ // Overrides the base class version of setCurrentItem()
3
+ virtual void setCurrentItem(FXTreeItem* item,FXbool notify=FALSE);
4
+
@@ -28,3 +28,15 @@ public:
28
28
 
29
29
  // Overrides the base class version of setCurrentItem()
30
30
  virtual void setCurrentItem(FXTreeItem* item,FXbool notify=FALSE);
31
+
32
+ // Overrides the base class version of getItemAt()
33
+ virtual FXTreeItem* getItemAt(FXint x,FXint y) const;
34
+
35
+ // Overrides the base class version of makeItemVisible()
36
+ virtual void makeItemVisible(FXTreeItem* item);
37
+
38
+ // Overrides the base class version of enableItem()
39
+ virtual FXbool enableItem(FXTreeItem* item);
40
+
41
+ // Overrides the base class version of disableItem()
42
+ virtual FXbool disableItem(FXTreeItem* item);
@@ -21,7 +21,7 @@
21
21
  ***********************************************************************/
22
22
 
23
23
  /***********************************************************************
24
- * $Id: FXRbTriStateButton.h,v 1.1 2004/08/07 10:55:26 lyle Exp $
24
+ * $Id: FXRbTriStateButton.h,v 1.1 2005/08/14 15:12:43 lyle Exp $
25
25
  ***********************************************************************/
26
26
 
27
27
  #ifndef FXRBTRISTATEBUTTON_H
@@ -21,7 +21,7 @@
21
21
  ***********************************************************************/
22
22
 
23
23
  /***********************************************************************
24
- * $Id: FXRbVerticalFrame.h,v 1.1 2004/08/07 10:55:26 lyle Exp $
24
+ * $Id: FXRbVerticalFrame.h,v 1.1 2005/08/14 15:12:43 lyle Exp $
25
25
  ***********************************************************************/
26
26
 
27
27
  #ifndef FXRBVERTICALFRAME_H
@@ -21,7 +21,7 @@
21
21
  ***********************************************************************/
22
22
 
23
23
  /***********************************************************************
24
- * $Id: FXRbVisual.h,v 1.1 2004/08/07 10:55:26 lyle Exp $
24
+ * $Id: FXRbVisual.h,v 1.1 2005/08/14 15:12:43 lyle Exp $
25
25
  ***********************************************************************/
26
26
 
27
27
  #ifndef FXRBVISUAL_H
@@ -21,7 +21,7 @@
21
21
  ***********************************************************************/
22
22
 
23
23
  /***********************************************************************
24
- * $Id: FXRbWindow.h,v 1.1 2004/08/07 10:55:26 lyle Exp $
24
+ * $Id: FXRbWindow.h,v 1.1 2005/08/14 15:12:43 lyle Exp $
25
25
  ***********************************************************************/
26
26
 
27
27
  #ifndef FXRBWINDOW_H
@@ -52,6 +52,9 @@ inline void klass ## _setFocus(klass* self){ \
52
52
  inline void klass ## _killFocus(klass* self){ \
53
53
  self->klass::killFocus(); \
54
54
  } \
55
+ inline void klass ## _changeFocus(klass* self,FXWindow* child){ \
56
+ self->klass::changeFocus(child); \
57
+ } \
55
58
  inline void klass ## _setDefault(klass* self,FXbool enable){ \
56
59
  self->klass::setDefault(enable); \
57
60
  } \
@@ -76,8 +79,8 @@ inline void klass ## _position(klass* self,FXint x,FXint y,FXint w,FXint h){ \
76
79
  inline void klass ## _recalc(klass* self){ \
77
80
  self->klass::recalc(); \
78
81
  } \
79
- inline void klass ## _reparent(klass* self,FXComposite* newparent){ \
80
- self->klass::reparent(newparent); \
82
+ inline void klass ## _reparent(klass* self,FXWindow* father,FXWindow* other){ \
83
+ self->klass::reparent(father,other); \
81
84
  } \
82
85
  inline void klass ## _show(klass* self){ \
83
86
  self->klass::show(); \
@@ -96,6 +99,18 @@ inline FXbool klass ## _doesSaveUnder(const klass* self) { \
96
99
  } \
97
100
  inline void klass ## _setBackColor(klass* self,FXColor clr){ \
98
101
  self->klass::setBackColor(clr); \
102
+ } \
103
+ inline void klass ## _setShape(klass* self,const FXRegion& region){ \
104
+ self->klass::setShape(region); \
105
+ } \
106
+ inline void klass ## _setShape(klass* self,FXBitmap* bitmap){ \
107
+ self->klass::setShape(bitmap); \
108
+ } \
109
+ inline void klass ## _setShape(klass* self,FXIcon* icon){ \
110
+ self->klass::setShape(icon); \
111
+ } \
112
+ inline void klass ## _clearShape(klass* self){ \
113
+ self->klass::clearShape(); \
99
114
  }
100
115
 
101
116
 
@@ -124,6 +139,9 @@ inline void klass ## _setBackColor(klass* self,FXColor clr){ \
124
139
  void cls::killFocus(){ \
125
140
  FXRbCallVoidMethod(this,rb_intern("killFocus")); \
126
141
  } \
142
+ void cls::changeFocus(FXWindow* child){ \
143
+ FXRbCallVoidMethod(this,rb_intern("changeFocus"),child); \
144
+ } \
127
145
  void cls::setDefault(FXbool enable){ \
128
146
  FXRbCallVoidMethod(this,rb_intern("setDefault"),enable); \
129
147
  } \
@@ -148,8 +166,8 @@ inline void klass ## _setBackColor(klass* self,FXColor clr){ \
148
166
  void cls::recalc(){ \
149
167
  FXRbCallVoidMethod(this,rb_intern("recalc")); \
150
168
  } \
151
- void cls::reparent(FXComposite* newparent){ \
152
- FXRbCallVoidMethod(this,rb_intern("reparent"),newparent); \
169
+ void cls::reparent(FXWindow* father,FXWindow* other){ \
170
+ FXRbCallVoidMethod(this,rb_intern("reparent"),father,other); \
153
171
  } \
154
172
  void cls::show(){ \
155
173
  FXRbCallVoidMethod(this,rb_intern("show")); \
@@ -168,6 +186,18 @@ inline void klass ## _setBackColor(klass* self,FXColor clr){ \
168
186
  } \
169
187
  void cls::setBackColor(FXColor clr) { \
170
188
  FXRbCallVoidMethod(this,rb_intern("setBackColor"),clr); \
189
+ } \
190
+ void cls::setShape(const FXRegion& region) { \
191
+ FXRbCallVoidMethod(this,rb_intern("setShape"),region); \
192
+ } \
193
+ void cls::setShape(FXBitmap* bitmap) { \
194
+ FXRbCallVoidMethod(this,rb_intern("setShape"),bitmap); \
195
+ } \
196
+ void cls::setShape(FXIcon* icon) { \
197
+ FXRbCallVoidMethod(this,rb_intern("setShape"),icon); \
198
+ } \
199
+ void cls::clearShape() { \
200
+ FXRbCallVoidMethod(this,rb_intern("clearShape")); \
171
201
  }
172
202
 
173
203
  class FXRbWindow : public FXWindow {
@@ -23,6 +23,9 @@ public:
23
23
  // Overrides the base class version of killFocus()
24
24
  virtual void killFocus();
25
25
 
26
+ // Overrides the base class version of changeFocus()
27
+ virtual void changeFocus(FXWindow *child);
28
+
26
29
  // Overrides the base class version of setDefault()
27
30
  virtual void setDefault(FXbool enable);
28
31
 
@@ -48,7 +51,7 @@ public:
48
51
  virtual void recalc();
49
52
 
50
53
  // Overrides the base class version of reparent()
51
- virtual void reparent(FXComposite* newparent);
54
+ virtual void reparent(FXWindow* father,FXWindow* other=NULL);
52
55
 
53
56
  // Overrides the base class version of show()
54
57
  virtual void show();
@@ -67,3 +70,16 @@ public:
67
70
 
68
71
  // Overrides the base class version of setBackColor()
69
72
  virtual void setBackColor(FXColor clr);
73
+
74
+ /// Overrides the base class version of setShape()
75
+ virtual void setShape(const FXRegion& region);
76
+
77
+ /// Overrides the base class version of setShape()
78
+ virtual void setShape(FXBitmap* bitmap);
79
+
80
+ /// Overrides the base class version of setShape()
81
+ virtual void setShape(FXIcon* icon);
82
+
83
+ /// Overrides the base class version of clearShape()
84
+ virtual void clearShape();
85
+
@@ -21,7 +21,7 @@
21
21
  ***********************************************************************/
22
22
 
23
23
  /***********************************************************************
24
- * $Id: FXRbWizard.h,v 1.1 2004/08/07 10:55:26 lyle Exp $
24
+ * $Id: FXRbWizard.h,v 1.1 2005/08/14 15:12:43 lyle Exp $
25
25
  ***********************************************************************/
26
26
 
27
27
  #ifndef FXRBWIZARD_H
@@ -21,7 +21,7 @@
21
21
  ***********************************************************************/
22
22
 
23
23
  /***********************************************************************
24
- * $Id: FXRbXBMIcon.h,v 1.1 2004/08/07 10:55:26 lyle Exp $
24
+ * $Id: FXRbXBMIcon.h,v 1.1 2005/08/14 15:12:43 lyle Exp $
25
25
  ***********************************************************************/
26
26
 
27
27
  #ifndef FXRBXBMICON_H
@@ -21,7 +21,7 @@
21
21
  ***********************************************************************/
22
22
 
23
23
  /***********************************************************************
24
- * $Id: FXRbXBMImage.h,v 1.1 2004/08/07 10:55:26 lyle Exp $
24
+ * $Id: FXRbXBMImage.h,v 1.1 2005/08/14 15:12:43 lyle Exp $
25
25
  ***********************************************************************/
26
26
 
27
27
  #ifndef FXRBXBMIMAGE_H
@@ -21,7 +21,7 @@
21
21
  ***********************************************************************/
22
22
 
23
23
  /***********************************************************************
24
- * $Id: FXRbXPMIcon.h,v 1.1 2004/08/07 10:55:26 lyle Exp $
24
+ * $Id: FXRbXPMIcon.h,v 1.1 2005/08/14 15:12:43 lyle Exp $
25
25
  ***********************************************************************/
26
26
 
27
27
  #ifndef FXRBXPMICON_H