fxruby 1.6.20-x86-linux

Sign up to get free protection for your applications and to get access to all the features.
Files changed (924) hide show
  1. data/History.txt +10 -0
  2. data/Manifest.txt +922 -0
  3. data/README +39 -0
  4. data/README.txt +482 -0
  5. data/Rakefile +191 -0
  6. data/TODO +47 -0
  7. data/doap.rdf +87 -0
  8. data/examples/RAA.rb +25 -0
  9. data/examples/README +53 -0
  10. data/examples/babelfish.rb +72 -0
  11. data/examples/bounce.rb +159 -0
  12. data/examples/browser.rb +191 -0
  13. data/examples/button.rb +168 -0
  14. data/examples/charts.rb +35 -0
  15. data/examples/custom_table_item.rb +170 -0
  16. data/examples/datatarget.rb +223 -0
  17. data/examples/dctest.rb +696 -0
  18. data/examples/dialog.rb +143 -0
  19. data/examples/dilbert.rb +66 -0
  20. data/examples/dirlist.rb +63 -0
  21. data/examples/dragdrop.rb +97 -0
  22. data/examples/dragsource.rb +80 -0
  23. data/examples/dropsite.rb +59 -0
  24. data/examples/foursplit.rb +97 -0
  25. data/examples/gltest.rb +330 -0
  26. data/examples/glviewer.rb +576 -0
  27. data/examples/groupbox.rb +392 -0
  28. data/examples/header.rb +149 -0
  29. data/examples/hello.rb +12 -0
  30. data/examples/hello2.rb +51 -0
  31. data/examples/iRAA.rb +153 -0
  32. data/examples/iconlist.rb +92 -0
  33. data/examples/icons/AngryGuyInBunnySuit.ico +0 -0
  34. data/examples/icons/FatBot.ico +0 -0
  35. data/examples/icons/FlippedySwitch.ico +0 -0
  36. data/examples/icons/LeGoon.ico +0 -0
  37. data/examples/icons/Net.ico +0 -0
  38. data/examples/icons/RedMacOS.ico +0 -0
  39. data/examples/icons/SawBlade.ico +0 -0
  40. data/examples/icons/backview.png +0 -0
  41. data/examples/icons/big.png +0 -0
  42. data/examples/icons/bigfolder.png +0 -0
  43. data/examples/icons/bigpenguin.png +0 -0
  44. data/examples/icons/bluebullet14x14.gif +0 -0
  45. data/examples/icons/bottomview.png +0 -0
  46. data/examples/icons/camera.png +0 -0
  47. data/examples/icons/capbutt.png +0 -0
  48. data/examples/icons/capnotlast.png +0 -0
  49. data/examples/icons/capproj.png +0 -0
  50. data/examples/icons/capround.png +0 -0
  51. data/examples/icons/colorpal.png +0 -0
  52. data/examples/icons/copy.png +0 -0
  53. data/examples/icons/cut.png +0 -0
  54. data/examples/icons/delimit.png +0 -0
  55. data/examples/icons/dippy.png +0 -0
  56. data/examples/icons/double_dash.png +0 -0
  57. data/examples/icons/filenew.png +0 -0
  58. data/examples/icons/fileopen.png +0 -0
  59. data/examples/icons/filesave.png +0 -0
  60. data/examples/icons/filesaveas.png +0 -0
  61. data/examples/icons/fonts.png +0 -0
  62. data/examples/icons/fox.png +0 -0
  63. data/examples/icons/foxicon.png +0 -0
  64. data/examples/icons/frontview.png +0 -0
  65. data/examples/icons/gem_big.png +0 -0
  66. data/examples/icons/gem_small.png +0 -0
  67. data/examples/icons/hello2.png +0 -0
  68. data/examples/icons/help.png +0 -0
  69. data/examples/icons/indent.png +0 -0
  70. data/examples/icons/jbevel.png +0 -0
  71. data/examples/icons/jmiter.png +0 -0
  72. data/examples/icons/jround.png +0 -0
  73. data/examples/icons/kill.png +0 -0
  74. data/examples/icons/leftview.png +0 -0
  75. data/examples/icons/light.png +0 -0
  76. data/examples/icons/minidoc.png +0 -0
  77. data/examples/icons/minifolder.png +0 -0
  78. data/examples/icons/minifolderopen.png +0 -0
  79. data/examples/icons/newfolder.png +0 -0
  80. data/examples/icons/nolight.png +0 -0
  81. data/examples/icons/onoff_dash.png +0 -0
  82. data/examples/icons/palette.png +0 -0
  83. data/examples/icons/parallel.png +0 -0
  84. data/examples/icons/paste.png +0 -0
  85. data/examples/icons/pattern.png +0 -0
  86. data/examples/icons/penguin.png +0 -0
  87. data/examples/icons/perspective.png +0 -0
  88. data/examples/icons/printicon.png +0 -0
  89. data/examples/icons/prop.png +0 -0
  90. data/examples/icons/redo.png +0 -0
  91. data/examples/icons/rightview.png +0 -0
  92. data/examples/icons/saveas.png +0 -0
  93. data/examples/icons/shutter1.png +0 -0
  94. data/examples/icons/shutter2.png +0 -0
  95. data/examples/icons/small.png +0 -0
  96. data/examples/icons/smoothlight.png +0 -0
  97. data/examples/icons/solid_line.png +0 -0
  98. data/examples/icons/tbuplevel.png +0 -0
  99. data/examples/icons/topview.png +0 -0
  100. data/examples/icons/transpbullet14x14.gif +0 -0
  101. data/examples/icons/undo.png +0 -0
  102. data/examples/icons/winapp.png +0 -0
  103. data/examples/icons/zoom.png +0 -0
  104. data/examples/image.rb +279 -0
  105. data/examples/imageviewer.rb +509 -0
  106. data/examples/inputs.rb +83 -0
  107. data/examples/mditest.rb +180 -0
  108. data/examples/pig.rb +77 -0
  109. data/examples/raabrowser.rb +122 -0
  110. data/examples/ratio.rb +80 -0
  111. data/examples/rulerview.rb +27 -0
  112. data/examples/scintilla-test.rb +81 -0
  113. data/examples/scribble-orig.rb +186 -0
  114. data/examples/scribble.rb +162 -0
  115. data/examples/shutter.rb +158 -0
  116. data/examples/splitter.rb +211 -0
  117. data/examples/styledtext.rb +82 -0
  118. data/examples/tabbook.rb +165 -0
  119. data/examples/table.rb +182 -0
  120. data/examples/textedit/commands.rb +114 -0
  121. data/examples/textedit/helpwindow.rb +299 -0
  122. data/examples/textedit/prefdialog.rb +239 -0
  123. data/examples/textedit/textedit.rb +1763 -0
  124. data/examples/unicode.rb +36 -0
  125. data/ext/fox16/FXRbApp.cpp +128 -0
  126. data/ext/fox16/FXRbDataTarget.cpp +110 -0
  127. data/ext/fox16/FXRbGLViewer.cpp +89 -0
  128. data/ext/fox16/FXRuby.cpp +2067 -0
  129. data/ext/fox16/MANIFEST +189 -0
  130. data/ext/fox16/core_wrap.cpp +11541 -0
  131. data/ext/fox16/dc_wrap.cpp +2874 -0
  132. data/ext/fox16/dialogs_wrap.cpp +7963 -0
  133. data/ext/fox16/extconf.rb +143 -0
  134. data/ext/fox16/frames_wrap.cpp +11380 -0
  135. data/ext/fox16/fx3d_wrap.cpp +10651 -0
  136. data/ext/fox16/iconlist_wrap.cpp +4074 -0
  137. data/ext/fox16/icons_wrap.cpp +4745 -0
  138. data/ext/fox16/image_wrap.cpp +4388 -0
  139. data/ext/fox16/impl.cpp +1156 -0
  140. data/ext/fox16/include/FXMemoryBuffer.h +52 -0
  141. data/ext/fox16/include/FXRb4Splitter.h +54 -0
  142. data/ext/fox16/include/FXRb7Segment.h +51 -0
  143. data/ext/fox16/include/FXRbAccelTable.h +46 -0
  144. data/ext/fox16/include/FXRbApp.h +155 -0
  145. data/ext/fox16/include/FXRbAppVirtuals.h +15 -0
  146. data/ext/fox16/include/FXRbArrowButton.h +51 -0
  147. data/ext/fox16/include/FXRbBMPIcon.h +54 -0
  148. data/ext/fox16/include/FXRbBMPImage.h +54 -0
  149. data/ext/fox16/include/FXRbBitmap.h +133 -0
  150. data/ext/fox16/include/FXRbBitmapFrame.h +56 -0
  151. data/ext/fox16/include/FXRbBitmapView.h +56 -0
  152. data/ext/fox16/include/FXRbBitmapVirtuals.h +37 -0
  153. data/ext/fox16/include/FXRbButton.h +51 -0
  154. data/ext/fox16/include/FXRbCURCursor.h +60 -0
  155. data/ext/fox16/include/FXRbCanvas.h +51 -0
  156. data/ext/fox16/include/FXRbCheckButton.h +51 -0
  157. data/ext/fox16/include/FXRbChoiceBox.h +56 -0
  158. data/ext/fox16/include/FXRbColorBar.h +51 -0
  159. data/ext/fox16/include/FXRbColorDialog.h +53 -0
  160. data/ext/fox16/include/FXRbColorList.h +84 -0
  161. data/ext/fox16/include/FXRbColorRing.h +51 -0
  162. data/ext/fox16/include/FXRbColorSelector.h +51 -0
  163. data/ext/fox16/include/FXRbColorWell.h +51 -0
  164. data/ext/fox16/include/FXRbColorWheel.h +51 -0
  165. data/ext/fox16/include/FXRbComboBox.h +56 -0
  166. data/ext/fox16/include/FXRbCommon.h +93 -0
  167. data/ext/fox16/include/FXRbComposite.h +51 -0
  168. data/ext/fox16/include/FXRbCursor.h +87 -0
  169. data/ext/fox16/include/FXRbCursorVirtuals.h +6 -0
  170. data/ext/fox16/include/FXRbDC.h +427 -0
  171. data/ext/fox16/include/FXRbDCPrint.h +49 -0
  172. data/ext/fox16/include/FXRbDCVirtuals.h +187 -0
  173. data/ext/fox16/include/FXRbDCWindow.h +64 -0
  174. data/ext/fox16/include/FXRbDataTarget.h +65 -0
  175. data/ext/fox16/include/FXRbDebugTarget.h +46 -0
  176. data/ext/fox16/include/FXRbDelegator.h +46 -0
  177. data/ext/fox16/include/FXRbDial.h +51 -0
  178. data/ext/fox16/include/FXRbDialogBox.h +68 -0
  179. data/ext/fox16/include/FXRbDialogBoxVirtuals.h +3 -0
  180. data/ext/fox16/include/FXRbDict.h +46 -0
  181. data/ext/fox16/include/FXRbDirBox.h +52 -0
  182. data/ext/fox16/include/FXRbDirDialog.h +56 -0
  183. data/ext/fox16/include/FXRbDirList.h +79 -0
  184. data/ext/fox16/include/FXRbDirSelector.h +51 -0
  185. data/ext/fox16/include/FXRbDockBar.h +86 -0
  186. data/ext/fox16/include/FXRbDockBarVirtuals.h +10 -0
  187. data/ext/fox16/include/FXRbDockHandler.h +51 -0
  188. data/ext/fox16/include/FXRbDockSite.h +85 -0
  189. data/ext/fox16/include/FXRbDockSiteVirtuals.h +13 -0
  190. data/ext/fox16/include/FXRbDockTitle.h +51 -0
  191. data/ext/fox16/include/FXRbDocument.h +46 -0
  192. data/ext/fox16/include/FXRbDragCorner.h +51 -0
  193. data/ext/fox16/include/FXRbDrawable.h +64 -0
  194. data/ext/fox16/include/FXRbDrawableVirtuals.h +3 -0
  195. data/ext/fox16/include/FXRbDriveBox.h +52 -0
  196. data/ext/fox16/include/FXRbFileDialog.h +56 -0
  197. data/ext/fox16/include/FXRbFileDict.h +104 -0
  198. data/ext/fox16/include/FXRbFileDictVirtuals.h +9 -0
  199. data/ext/fox16/include/FXRbFileList.h +81 -0
  200. data/ext/fox16/include/FXRbFileSelector.h +51 -0
  201. data/ext/fox16/include/FXRbFoldingItemVirtuals.h +42 -0
  202. data/ext/fox16/include/FXRbFoldingList.h +270 -0
  203. data/ext/fox16/include/FXRbFoldingListVirtuals.h +43 -0
  204. data/ext/fox16/include/FXRbFont.h +183 -0
  205. data/ext/fox16/include/FXRbFontDialog.h +53 -0
  206. data/ext/fox16/include/FXRbFontSelector.h +51 -0
  207. data/ext/fox16/include/FXRbFontVirtuals.h +55 -0
  208. data/ext/fox16/include/FXRbFrame.h +51 -0
  209. data/ext/fox16/include/FXRbGIFCursor.h +60 -0
  210. data/ext/fox16/include/FXRbGIFIcon.h +54 -0
  211. data/ext/fox16/include/FXRbGIFImage.h +54 -0
  212. data/ext/fox16/include/FXRbGLCanvas.h +92 -0
  213. data/ext/fox16/include/FXRbGLCanvasVirtuals.h +13 -0
  214. data/ext/fox16/include/FXRbGLContext.h +58 -0
  215. data/ext/fox16/include/FXRbGLObject.h +103 -0
  216. data/ext/fox16/include/FXRbGLObjectVirtuals.h +22 -0
  217. data/ext/fox16/include/FXRbGLShape.h +81 -0
  218. data/ext/fox16/include/FXRbGLShapeVirtuals.h +8 -0
  219. data/ext/fox16/include/FXRbGLViewer.h +89 -0
  220. data/ext/fox16/include/FXRbGLViewerVirtuals.h +10 -0
  221. data/ext/fox16/include/FXRbGLVisual.h +56 -0
  222. data/ext/fox16/include/FXRbGradientBar.h +55 -0
  223. data/ext/fox16/include/FXRbGroupBox.h +51 -0
  224. data/ext/fox16/include/FXRbHeader.h +129 -0
  225. data/ext/fox16/include/FXRbHeaderItemVirtuals.h +22 -0
  226. data/ext/fox16/include/FXRbHorizontalFrame.h +51 -0
  227. data/ext/fox16/include/FXRbICOIcon.h +54 -0
  228. data/ext/fox16/include/FXRbICOImage.h +54 -0
  229. data/ext/fox16/include/FXRbIcon.h +57 -0
  230. data/ext/fox16/include/FXRbIconItemVirtuals.h +68 -0
  231. data/ext/fox16/include/FXRbIconList.h +288 -0
  232. data/ext/fox16/include/FXRbIconListVirtuals.h +35 -0
  233. data/ext/fox16/include/FXRbIconSource.h +127 -0
  234. data/ext/fox16/include/FXRbIconSourceVirtuals.h +37 -0
  235. data/ext/fox16/include/FXRbId.h +74 -0
  236. data/ext/fox16/include/FXRbIdVirtuals.h +9 -0
  237. data/ext/fox16/include/FXRbImage.h +162 -0
  238. data/ext/fox16/include/FXRbImageFrame.h +56 -0
  239. data/ext/fox16/include/FXRbImageView.h +55 -0
  240. data/ext/fox16/include/FXRbImageVirtuals.h +51 -0
  241. data/ext/fox16/include/FXRbInputDialog.h +56 -0
  242. data/ext/fox16/include/FXRbJPGIcon.h +54 -0
  243. data/ext/fox16/include/FXRbJPGImage.h +54 -0
  244. data/ext/fox16/include/FXRbKnob.h +51 -0
  245. data/ext/fox16/include/FXRbLabel.h +51 -0
  246. data/ext/fox16/include/FXRbList.h +226 -0
  247. data/ext/fox16/include/FXRbListBox.h +67 -0
  248. data/ext/fox16/include/FXRbListBoxVirtuals.h +4 -0
  249. data/ext/fox16/include/FXRbListItemVirtuals.h +33 -0
  250. data/ext/fox16/include/FXRbListVirtuals.h +30 -0
  251. data/ext/fox16/include/FXRbMDIButton.h +162 -0
  252. data/ext/fox16/include/FXRbMDIChild.h +82 -0
  253. data/ext/fox16/include/FXRbMDIChildVirtuals.h +12 -0
  254. data/ext/fox16/include/FXRbMDIClient.h +80 -0
  255. data/ext/fox16/include/FXRbMDIClientVirtuals.h +12 -0
  256. data/ext/fox16/include/FXRbMainWindow.h +54 -0
  257. data/ext/fox16/include/FXRbMatrix.h +51 -0
  258. data/ext/fox16/include/FXRbMenuBar.h +63 -0
  259. data/ext/fox16/include/FXRbMenuButton.h +51 -0
  260. data/ext/fox16/include/FXRbMenuCaption.h +51 -0
  261. data/ext/fox16/include/FXRbMenuCascade.h +51 -0
  262. data/ext/fox16/include/FXRbMenuCheck.h +49 -0
  263. data/ext/fox16/include/FXRbMenuCommand.h +49 -0
  264. data/ext/fox16/include/FXRbMenuPane.h +52 -0
  265. data/ext/fox16/include/FXRbMenuRadio.h +49 -0
  266. data/ext/fox16/include/FXRbMenuSeparator.h +51 -0
  267. data/ext/fox16/include/FXRbMenuTitle.h +51 -0
  268. data/ext/fox16/include/FXRbMessageBox.h +56 -0
  269. data/ext/fox16/include/FXRbObject.h +67 -0
  270. data/ext/fox16/include/FXRbObjectVirtuals.h +9 -0
  271. data/ext/fox16/include/FXRbOptionMenu.h +73 -0
  272. data/ext/fox16/include/FXRbPCXIcon.h +54 -0
  273. data/ext/fox16/include/FXRbPCXImage.h +54 -0
  274. data/ext/fox16/include/FXRbPNGIcon.h +54 -0
  275. data/ext/fox16/include/FXRbPNGImage.h +54 -0
  276. data/ext/fox16/include/FXRbPPMIcon.h +54 -0
  277. data/ext/fox16/include/FXRbPPMImage.h +54 -0
  278. data/ext/fox16/include/FXRbPacker.h +51 -0
  279. data/ext/fox16/include/FXRbPicker.h +51 -0
  280. data/ext/fox16/include/FXRbPopup.h +70 -0
  281. data/ext/fox16/include/FXRbPopupVirtuals.h +6 -0
  282. data/ext/fox16/include/FXRbPrintDialog.h +53 -0
  283. data/ext/fox16/include/FXRbProgressBar.h +51 -0
  284. data/ext/fox16/include/FXRbProgressDialog.h +53 -0
  285. data/ext/fox16/include/FXRbRGBIcon.h +54 -0
  286. data/ext/fox16/include/FXRbRGBImage.h +54 -0
  287. data/ext/fox16/include/FXRbRadioButton.h +51 -0
  288. data/ext/fox16/include/FXRbRealSlider.h +51 -0
  289. data/ext/fox16/include/FXRbRealSpinner.h +64 -0
  290. data/ext/fox16/include/FXRbRealSpinnerVirtuals.h +3 -0
  291. data/ext/fox16/include/FXRbRecentFiles.h +52 -0
  292. data/ext/fox16/include/FXRbRegistry.h +46 -0
  293. data/ext/fox16/include/FXRbReplaceDialog.h +53 -0
  294. data/ext/fox16/include/FXRbRootWindow.h +51 -0
  295. data/ext/fox16/include/FXRbRuler.h +56 -0
  296. data/ext/fox16/include/FXRbRulerView.h +54 -0
  297. data/ext/fox16/include/FXRbScintilla.h +52 -0
  298. data/ext/fox16/include/FXRbScrollArea.h +87 -0
  299. data/ext/fox16/include/FXRbScrollAreaVirtuals.h +13 -0
  300. data/ext/fox16/include/FXRbScrollBar.h +73 -0
  301. data/ext/fox16/include/FXRbScrollPane.h +52 -0
  302. data/ext/fox16/include/FXRbScrollWindow.h +57 -0
  303. data/ext/fox16/include/FXRbSearchDialog.h +53 -0
  304. data/ext/fox16/include/FXRbSeparator.h +95 -0
  305. data/ext/fox16/include/FXRbSettings.h +46 -0
  306. data/ext/fox16/include/FXRbShell.h +56 -0
  307. data/ext/fox16/include/FXRbShutter.h +86 -0
  308. data/ext/fox16/include/FXRbShutterVirtuals.h +3 -0
  309. data/ext/fox16/include/FXRbSlider.h +51 -0
  310. data/ext/fox16/include/FXRbSpinner.h +64 -0
  311. data/ext/fox16/include/FXRbSpinnerVirtuals.h +3 -0
  312. data/ext/fox16/include/FXRbSplashWindow.h +57 -0
  313. data/ext/fox16/include/FXRbSplitter.h +54 -0
  314. data/ext/fox16/include/FXRbSpring.h +51 -0
  315. data/ext/fox16/include/FXRbStatusBar.h +51 -0
  316. data/ext/fox16/include/FXRbStatusLine.h +51 -0
  317. data/ext/fox16/include/FXRbStream.h +101 -0
  318. data/ext/fox16/include/FXRbStreamVirtuals.h +9 -0
  319. data/ext/fox16/include/FXRbStringDict.h +46 -0
  320. data/ext/fox16/include/FXRbSwitcher.h +51 -0
  321. data/ext/fox16/include/FXRbTGAIcon.h +54 -0
  322. data/ext/fox16/include/FXRbTGAImage.h +54 -0
  323. data/ext/fox16/include/FXRbTIFIcon.h +54 -0
  324. data/ext/fox16/include/FXRbTIFImage.h +54 -0
  325. data/ext/fox16/include/FXRbTabBar.h +64 -0
  326. data/ext/fox16/include/FXRbTabBarVirtuals.h +3 -0
  327. data/ext/fox16/include/FXRbTabBook.h +52 -0
  328. data/ext/fox16/include/FXRbTabItem.h +51 -0
  329. data/ext/fox16/include/FXRbTable.h +509 -0
  330. data/ext/fox16/include/FXRbTableItemVirtuals.h +89 -0
  331. data/ext/fox16/include/FXRbTableVirtuals.h +89 -0
  332. data/ext/fox16/include/FXRbText.h +187 -0
  333. data/ext/fox16/include/FXRbTextField.h +51 -0
  334. data/ext/fox16/include/FXRbTextVirtuals.h +52 -0
  335. data/ext/fox16/include/FXRbToggleButton.h +51 -0
  336. data/ext/fox16/include/FXRbToolBar.h +63 -0
  337. data/ext/fox16/include/FXRbToolBarGrip.h +51 -0
  338. data/ext/fox16/include/FXRbToolBarShell.h +52 -0
  339. data/ext/fox16/include/FXRbToolBarTab.h +51 -0
  340. data/ext/fox16/include/FXRbToolTip.h +51 -0
  341. data/ext/fox16/include/FXRbTopWindow.h +91 -0
  342. data/ext/fox16/include/FXRbTopWindowVirtuals.h +15 -0
  343. data/ext/fox16/include/FXRbTranslator.h +61 -0
  344. data/ext/fox16/include/FXRbTranslatorVirtuals.h +4 -0
  345. data/ext/fox16/include/FXRbTreeItemVirtuals.h +42 -0
  346. data/ext/fox16/include/FXRbTreeList.h +277 -0
  347. data/ext/fox16/include/FXRbTreeListBox.h +64 -0
  348. data/ext/fox16/include/FXRbTreeListBoxVirtuals.h +4 -0
  349. data/ext/fox16/include/FXRbTreeListVirtuals.h +42 -0
  350. data/ext/fox16/include/FXRbTriStateButton.h +51 -0
  351. data/ext/fox16/include/FXRbVerticalFrame.h +51 -0
  352. data/ext/fox16/include/FXRbVisual.h +56 -0
  353. data/ext/fox16/include/FXRbWindow.h +248 -0
  354. data/ext/fox16/include/FXRbWindowVirtuals.h +94 -0
  355. data/ext/fox16/include/FXRbWizard.h +60 -0
  356. data/ext/fox16/include/FXRbXBMIcon.h +54 -0
  357. data/ext/fox16/include/FXRbXBMImage.h +54 -0
  358. data/ext/fox16/include/FXRbXPMIcon.h +54 -0
  359. data/ext/fox16/include/FXRbXPMImage.h +54 -0
  360. data/ext/fox16/include/FXRuby.h +842 -0
  361. data/ext/fox16/include/impl.h +214 -0
  362. data/ext/fox16/include/inlinestubs.h +1155 -0
  363. data/ext/fox16/label_wrap.cpp +5700 -0
  364. data/ext/fox16/layout_wrap.cpp +6358 -0
  365. data/ext/fox16/librb.c +647 -0
  366. data/ext/fox16/list_wrap.cpp +2981 -0
  367. data/ext/fox16/make_impl.rb +121 -0
  368. data/ext/fox16/markfuncs.cpp +1650 -0
  369. data/ext/fox16/mdi_wrap.cpp +5266 -0
  370. data/ext/fox16/menu_wrap.cpp +5589 -0
  371. data/ext/fox16/scintilla_wrap.cpp +2518 -0
  372. data/ext/fox16/table_wrap.cpp +4173 -0
  373. data/ext/fox16/text_wrap.cpp +3832 -0
  374. data/ext/fox16/treelist_wrap.cpp +6004 -0
  375. data/ext/fox16/ui_wrap.cpp +14230 -0
  376. data/ext/fox16/unregisterOwnedObjects.cpp +120 -0
  377. data/index.html +14 -0
  378. data/lib/fox16.rb +8 -0
  379. data/lib/fox16.so +0 -0
  380. data/lib/fox16/accel_table.rb +70 -0
  381. data/lib/fox16/aliases.rb +5611 -0
  382. data/lib/fox16/bitmapview.rb +223 -0
  383. data/lib/fox16/calendar.rb +217 -0
  384. data/lib/fox16/chore.rb +105 -0
  385. data/lib/fox16/colors.rb +280 -0
  386. data/lib/fox16/core.rb +700 -0
  387. data/lib/fox16/dict.rb +35 -0
  388. data/lib/fox16/exceptions_for_fxerror.rb +17 -0
  389. data/lib/fox16/execute_nonmodal.rb +70 -0
  390. data/lib/fox16/glgroup.rb +166 -0
  391. data/lib/fox16/glshapes.rb +456 -0
  392. data/lib/fox16/input.rb +59 -0
  393. data/lib/fox16/irb.rb +178 -0
  394. data/lib/fox16/iterators.rb +420 -0
  395. data/lib/fox16/keys.rb +1374 -0
  396. data/lib/fox16/kwargs.rb +2740 -0
  397. data/lib/fox16/missingdep.rb +14 -0
  398. data/lib/fox16/pseudokeyboard.rb +40 -0
  399. data/lib/fox16/pseudomouse.rb +87 -0
  400. data/lib/fox16/responder.rb +70 -0
  401. data/lib/fox16/responder2.rb +132 -0
  402. data/lib/fox16/scintilla.rb +3741 -0
  403. data/lib/fox16/settings.rb +18 -0
  404. data/lib/fox16/signal.rb +71 -0
  405. data/lib/fox16/splashscreen.rb +82 -0
  406. data/lib/fox16/timeout.rb +136 -0
  407. data/lib/fox16/undolist.rb +455 -0
  408. data/lib/fox16/version.rb +5 -0
  409. data/rdoc-sources/FX4Splitter.rb +156 -0
  410. data/rdoc-sources/FX7Segment.rb +54 -0
  411. data/rdoc-sources/FXAccelTable.rb +84 -0
  412. data/rdoc-sources/FXApp.rb +545 -0
  413. data/rdoc-sources/FXArrowButton.rb +69 -0
  414. data/rdoc-sources/FXBMPIcon.rb +67 -0
  415. data/rdoc-sources/FXBMPImage.rb +30 -0
  416. data/rdoc-sources/FXBitmap.rb +115 -0
  417. data/rdoc-sources/FXBitmapFrame.rb +31 -0
  418. data/rdoc-sources/FXBitmapView.rb +44 -0
  419. data/rdoc-sources/FXButton.rb +59 -0
  420. data/rdoc-sources/FXCURCursor.rb +13 -0
  421. data/rdoc-sources/FXCanvas.rb +18 -0
  422. data/rdoc-sources/FXCheckButton.rb +58 -0
  423. data/rdoc-sources/FXChoiceBox.rb +49 -0
  424. data/rdoc-sources/FXColorBar.rb +48 -0
  425. data/rdoc-sources/FXColorDialog.rb +37 -0
  426. data/rdoc-sources/FXColorList.rb +55 -0
  427. data/rdoc-sources/FXColorRing.rb +49 -0
  428. data/rdoc-sources/FXColorSelector.rb +65 -0
  429. data/rdoc-sources/FXColorWell.rb +65 -0
  430. data/rdoc-sources/FXColorWheel.rb +57 -0
  431. data/rdoc-sources/FXComboBox.rb +214 -0
  432. data/rdoc-sources/FXComposite.rb +34 -0
  433. data/rdoc-sources/FXCursor.rb +67 -0
  434. data/rdoc-sources/FXDC.rb +720 -0
  435. data/rdoc-sources/FXDCPrint.rb +127 -0
  436. data/rdoc-sources/FXDCWindow.rb +33 -0
  437. data/rdoc-sources/FXDataTarget.rb +66 -0
  438. data/rdoc-sources/FXDebugTarget.rb +25 -0
  439. data/rdoc-sources/FXDelegator.rb +23 -0
  440. data/rdoc-sources/FXDial.rb +107 -0
  441. data/rdoc-sources/FXDialogBox.rb +32 -0
  442. data/rdoc-sources/FXDict.rb +79 -0
  443. data/rdoc-sources/FXDirBox.rb +55 -0
  444. data/rdoc-sources/FXDirDialog.rb +47 -0
  445. data/rdoc-sources/FXDirList.rb +149 -0
  446. data/rdoc-sources/FXDirSelector.rb +64 -0
  447. data/rdoc-sources/FXDockBar.rb +151 -0
  448. data/rdoc-sources/FXDockHandler.rb +26 -0
  449. data/rdoc-sources/FXDockSite.rb +104 -0
  450. data/rdoc-sources/FXDockTitle.rb +26 -0
  451. data/rdoc-sources/FXDocument.rb +29 -0
  452. data/rdoc-sources/FXDragCorner.rb +19 -0
  453. data/rdoc-sources/FXDrawable.rb +27 -0
  454. data/rdoc-sources/FXDriveBox.rb +46 -0
  455. data/rdoc-sources/FXExtentd.rb +85 -0
  456. data/rdoc-sources/FXExtentf.rb +85 -0
  457. data/rdoc-sources/FXFileDialog.rb +217 -0
  458. data/rdoc-sources/FXFileDict.rb +131 -0
  459. data/rdoc-sources/FXFileList.rb +208 -0
  460. data/rdoc-sources/FXFileSelector.rb +184 -0
  461. data/rdoc-sources/FXFileStream.rb +27 -0
  462. data/rdoc-sources/FXFoldingList.rb +504 -0
  463. data/rdoc-sources/FXFont.rb +361 -0
  464. data/rdoc-sources/FXFontDialog.rb +14 -0
  465. data/rdoc-sources/FXFontSelector.rb +37 -0
  466. data/rdoc-sources/FXFrame.rb +53 -0
  467. data/rdoc-sources/FXGIFCursor.rb +50 -0
  468. data/rdoc-sources/FXGIFIcon.rb +31 -0
  469. data/rdoc-sources/FXGIFImage.rb +29 -0
  470. data/rdoc-sources/FXGLCanvas.rb +45 -0
  471. data/rdoc-sources/FXGLContext.rb +40 -0
  472. data/rdoc-sources/FXGLObject.rb +75 -0
  473. data/rdoc-sources/FXGLShape.rb +69 -0
  474. data/rdoc-sources/FXGLViewer.rb +332 -0
  475. data/rdoc-sources/FXGLVisual.rb +94 -0
  476. data/rdoc-sources/FXGradientBar.rb +301 -0
  477. data/rdoc-sources/FXGroupBox.rb +36 -0
  478. data/rdoc-sources/FXHeader.rb +411 -0
  479. data/rdoc-sources/FXHorizontalFrame.rb +29 -0
  480. data/rdoc-sources/FXICOIcon.rb +65 -0
  481. data/rdoc-sources/FXICOImage.rb +31 -0
  482. data/rdoc-sources/FXIcon.rb +38 -0
  483. data/rdoc-sources/FXIconDict.rb +48 -0
  484. data/rdoc-sources/FXIconList.rb +450 -0
  485. data/rdoc-sources/FXIconSource.rb +100 -0
  486. data/rdoc-sources/FXId.rb +34 -0
  487. data/rdoc-sources/FXImage.rb +292 -0
  488. data/rdoc-sources/FXImageFrame.rb +36 -0
  489. data/rdoc-sources/FXImageView.rb +35 -0
  490. data/rdoc-sources/FXInputDialog.rb +80 -0
  491. data/rdoc-sources/FXJPGIcon.rb +70 -0
  492. data/rdoc-sources/FXJPGImage.rb +38 -0
  493. data/rdoc-sources/FXKnob.rb +76 -0
  494. data/rdoc-sources/FXLabel.rb +72 -0
  495. data/rdoc-sources/FXList.rb +443 -0
  496. data/rdoc-sources/FXListBox.rb +191 -0
  497. data/rdoc-sources/FXMDIButton.rb +67 -0
  498. data/rdoc-sources/FXMDIChild.rb +155 -0
  499. data/rdoc-sources/FXMDIClient.rb +65 -0
  500. data/rdoc-sources/FXMainWindow.rb +26 -0
  501. data/rdoc-sources/FXMatrix.rb +57 -0
  502. data/rdoc-sources/FXMemoryBuffer.rb +28 -0
  503. data/rdoc-sources/FXMemoryStream.rb +50 -0
  504. data/rdoc-sources/FXMenuBar.rb +23 -0
  505. data/rdoc-sources/FXMenuButton.rb +84 -0
  506. data/rdoc-sources/FXMenuCaption.rb +53 -0
  507. data/rdoc-sources/FXMenuCascade.rb +18 -0
  508. data/rdoc-sources/FXMenuCheck.rb +30 -0
  509. data/rdoc-sources/FXMenuCommand.rb +26 -0
  510. data/rdoc-sources/FXMenuPane.rb +13 -0
  511. data/rdoc-sources/FXMenuRadio.rb +33 -0
  512. data/rdoc-sources/FXMenuSeparator.rb +21 -0
  513. data/rdoc-sources/FXMenuTitle.rb +27 -0
  514. data/rdoc-sources/FXMessageBox.rb +73 -0
  515. data/rdoc-sources/FXObject.rb +28 -0
  516. data/rdoc-sources/FXOptionMenu.rb +83 -0
  517. data/rdoc-sources/FXPCXIcon.rb +63 -0
  518. data/rdoc-sources/FXPCXImage.rb +31 -0
  519. data/rdoc-sources/FXPNGIcon.rb +66 -0
  520. data/rdoc-sources/FXPNGImage.rb +34 -0
  521. data/rdoc-sources/FXPPMIcon.rb +36 -0
  522. data/rdoc-sources/FXPPMImage.rb +31 -0
  523. data/rdoc-sources/FXPacker.rb +63 -0
  524. data/rdoc-sources/FXPicker.rb +27 -0
  525. data/rdoc-sources/FXPopup.rb +53 -0
  526. data/rdoc-sources/FXPrintDialog.rb +36 -0
  527. data/rdoc-sources/FXProgressBar.rb +57 -0
  528. data/rdoc-sources/FXProgressDialog.rb +36 -0
  529. data/rdoc-sources/FXQuatd.rb +164 -0
  530. data/rdoc-sources/FXQuatf.rb +173 -0
  531. data/rdoc-sources/FXRGBIcon.rb +64 -0
  532. data/rdoc-sources/FXRGBImage.rb +31 -0
  533. data/rdoc-sources/FXRadioButton.rb +70 -0
  534. data/rdoc-sources/FXRanged.rb +100 -0
  535. data/rdoc-sources/FXRangef.rb +100 -0
  536. data/rdoc-sources/FXRealSlider.rb +101 -0
  537. data/rdoc-sources/FXRealSpinner.rb +140 -0
  538. data/rdoc-sources/FXRecentFiles.rb +77 -0
  539. data/rdoc-sources/FXRectangle.rb +149 -0
  540. data/rdoc-sources/FXRegion.rb +64 -0
  541. data/rdoc-sources/FXRegistry.rb +56 -0
  542. data/rdoc-sources/FXReplaceDialog.rb +56 -0
  543. data/rdoc-sources/FXRootWindow.rb +17 -0
  544. data/rdoc-sources/FXRuler.rb +130 -0
  545. data/rdoc-sources/FXRulerView.rb +225 -0
  546. data/rdoc-sources/FXScintilla.rb +121 -0
  547. data/rdoc-sources/FXScrollArea.rb +86 -0
  548. data/rdoc-sources/FXScrollBar.rb +107 -0
  549. data/rdoc-sources/FXScrollPane.rb +28 -0
  550. data/rdoc-sources/FXScrollWindow.rb +38 -0
  551. data/rdoc-sources/FXSearchDialog.rb +24 -0
  552. data/rdoc-sources/FXSeparator.rb +74 -0
  553. data/rdoc-sources/FXSettings.rb +248 -0
  554. data/rdoc-sources/FXShell.rb +8 -0
  555. data/rdoc-sources/FXShutter.rb +102 -0
  556. data/rdoc-sources/FXSize.rb +95 -0
  557. data/rdoc-sources/FXSlider.rb +98 -0
  558. data/rdoc-sources/FXSphered.rb +80 -0
  559. data/rdoc-sources/FXSpheref.rb +80 -0
  560. data/rdoc-sources/FXSpinner.rb +136 -0
  561. data/rdoc-sources/FXSplashWindow.rb +27 -0
  562. data/rdoc-sources/FXSplitter.rb +89 -0
  563. data/rdoc-sources/FXSpring.rb +61 -0
  564. data/rdoc-sources/FXStatusBar.rb +42 -0
  565. data/rdoc-sources/FXStatusLine.rb +60 -0
  566. data/rdoc-sources/FXStream.rb +142 -0
  567. data/rdoc-sources/FXStringDict.rb +38 -0
  568. data/rdoc-sources/FXSwitcher.rb +78 -0
  569. data/rdoc-sources/FXTGAIcon.rb +63 -0
  570. data/rdoc-sources/FXTGAImage.rb +31 -0
  571. data/rdoc-sources/FXTIFIcon.rb +70 -0
  572. data/rdoc-sources/FXTIFImage.rb +37 -0
  573. data/rdoc-sources/FXTabBar.rb +80 -0
  574. data/rdoc-sources/FXTabBook.rb +41 -0
  575. data/rdoc-sources/FXTabItem.rb +58 -0
  576. data/rdoc-sources/FXTable.rb +975 -0
  577. data/rdoc-sources/FXText.rb +581 -0
  578. data/rdoc-sources/FXTextField.rb +151 -0
  579. data/rdoc-sources/FXToggleButton.rb +70 -0
  580. data/rdoc-sources/FXToolBar.rb +61 -0
  581. data/rdoc-sources/FXToolBarGrip.rb +50 -0
  582. data/rdoc-sources/FXToolBarShell.rb +44 -0
  583. data/rdoc-sources/FXToolBarTab.rb +74 -0
  584. data/rdoc-sources/FXToolTip.rb +39 -0
  585. data/rdoc-sources/FXTopWindow.rb +163 -0
  586. data/rdoc-sources/FXTranslator.rb +32 -0
  587. data/rdoc-sources/FXTreeList.rb +514 -0
  588. data/rdoc-sources/FXTreeListBox.rb +219 -0
  589. data/rdoc-sources/FXTriStateButton.rb +49 -0
  590. data/rdoc-sources/FXVec2d.rb +96 -0
  591. data/rdoc-sources/FXVec2f.rb +96 -0
  592. data/rdoc-sources/FXVec3d.rb +118 -0
  593. data/rdoc-sources/FXVec3f.rb +118 -0
  594. data/rdoc-sources/FXVec4d.rb +139 -0
  595. data/rdoc-sources/FXVec4f.rb +139 -0
  596. data/rdoc-sources/FXVerticalFrame.rb +29 -0
  597. data/rdoc-sources/FXVisual.rb +79 -0
  598. data/rdoc-sources/FXWindow.rb +725 -0
  599. data/rdoc-sources/FXWizard.rb +59 -0
  600. data/rdoc-sources/FXXBMIcon.rb +37 -0
  601. data/rdoc-sources/FXXBMImage.rb +32 -0
  602. data/rdoc-sources/FXXPMIcon.rb +65 -0
  603. data/rdoc-sources/FXXPMImage.rb +31 -0
  604. data/rdoc-sources/Makefile +23 -0
  605. data/rdoc-sources/README.rdoc +53 -0
  606. data/rdoc-sources/fxdefs.rb +90 -0
  607. data/scripts/build-fox.rb +31 -0
  608. data/scripts/generate_kwargs_lib.rb +414 -0
  609. data/scripts/iface.rb +391 -0
  610. data/swig-interfaces/FX4Splitter.i +149 -0
  611. data/swig-interfaces/FX7Segment.i +141 -0
  612. data/swig-interfaces/FXAccelTable.i +100 -0
  613. data/swig-interfaces/FXApp.i +735 -0
  614. data/swig-interfaces/FXArrowButton.i +136 -0
  615. data/swig-interfaces/FXBMPIcon.i +88 -0
  616. data/swig-interfaces/FXBMPImage.i +54 -0
  617. data/swig-interfaces/FXBitmap.i +90 -0
  618. data/swig-interfaces/FXBitmapFrame.i +72 -0
  619. data/swig-interfaces/FXBitmapView.i +94 -0
  620. data/swig-interfaces/FXButton.i +130 -0
  621. data/swig-interfaces/FXCURCursor.i +49 -0
  622. data/swig-interfaces/FXCanvas.i +61 -0
  623. data/swig-interfaces/FXCheckButton.i +108 -0
  624. data/swig-interfaces/FXChoiceBox.i +91 -0
  625. data/swig-interfaces/FXColorBar.i +110 -0
  626. data/swig-interfaces/FXColorDialog.i +79 -0
  627. data/swig-interfaces/FXColorList.i +99 -0
  628. data/swig-interfaces/FXColorRing.i +148 -0
  629. data/swig-interfaces/FXColorSelector.i +157 -0
  630. data/swig-interfaces/FXColorWell.i +133 -0
  631. data/swig-interfaces/FXColorWheel.i +108 -0
  632. data/swig-interfaces/FXComboBox.i +280 -0
  633. data/swig-interfaces/FXComposeContext.i +66 -0
  634. data/swig-interfaces/FXComposite.i +103 -0
  635. data/swig-interfaces/FXCursor.i +120 -0
  636. data/swig-interfaces/FXDC.i +280 -0
  637. data/swig-interfaces/FXDCPrint.i +141 -0
  638. data/swig-interfaces/FXDCWindow.i +75 -0
  639. data/swig-interfaces/FXDataTarget.i +115 -0
  640. data/swig-interfaces/FXDebugTarget.i +60 -0
  641. data/swig-interfaces/FXDelegator.i +56 -0
  642. data/swig-interfaces/FXDial.i +168 -0
  643. data/swig-interfaces/FXDialogBox.i +131 -0
  644. data/swig-interfaces/FXDict.i +200 -0
  645. data/swig-interfaces/FXDirBox.i +68 -0
  646. data/swig-interfaces/FXDirDialog.i +97 -0
  647. data/swig-interfaces/FXDirList.i +274 -0
  648. data/swig-interfaces/FXDirSelector.i +142 -0
  649. data/swig-interfaces/FXDockBar.i +180 -0
  650. data/swig-interfaces/FXDockHandler.i +94 -0
  651. data/swig-interfaces/FXDockSite.i +91 -0
  652. data/swig-interfaces/FXDockTitle.i +91 -0
  653. data/swig-interfaces/FXDocument.i +70 -0
  654. data/swig-interfaces/FXDragCorner.i +72 -0
  655. data/swig-interfaces/FXDrawable.i +90 -0
  656. data/swig-interfaces/FXDriveBox.i +63 -0
  657. data/swig-interfaces/FXExtentd.i +131 -0
  658. data/swig-interfaces/FXExtentf.i +131 -0
  659. data/swig-interfaces/FXFileDialog.i +268 -0
  660. data/swig-interfaces/FXFileDict.i +121 -0
  661. data/swig-interfaces/FXFileList.i +345 -0
  662. data/swig-interfaces/FXFileSelector.i +347 -0
  663. data/swig-interfaces/FXFileStream.i +49 -0
  664. data/swig-interfaces/FXFoldingList.i +556 -0
  665. data/swig-interfaces/FXFont.i +333 -0
  666. data/swig-interfaces/FXFontDialog.i +63 -0
  667. data/swig-interfaces/FXFontSelector.i +127 -0
  668. data/swig-interfaces/FXFrame.i +245 -0
  669. data/swig-interfaces/FXGIFCursor.i +86 -0
  670. data/swig-interfaces/FXGIFIcon.i +54 -0
  671. data/swig-interfaces/FXGIFImage.i +54 -0
  672. data/swig-interfaces/FXGLCanvas.i +90 -0
  673. data/swig-interfaces/FXGLContext.i +85 -0
  674. data/swig-interfaces/FXGLObject.i +70 -0
  675. data/swig-interfaces/FXGLShape.i +152 -0
  676. data/swig-interfaces/FXGLViewer.i +691 -0
  677. data/swig-interfaces/FXGLVisual.i +136 -0
  678. data/swig-interfaces/FXGradientBar.i +310 -0
  679. data/swig-interfaces/FXGroupBox.i +94 -0
  680. data/swig-interfaces/FXHeader.i +432 -0
  681. data/swig-interfaces/FXHorizontalFrame.i +60 -0
  682. data/swig-interfaces/FXICOIcon.i +92 -0
  683. data/swig-interfaces/FXICOImage.i +54 -0
  684. data/swig-interfaces/FXIcon.i +128 -0
  685. data/swig-interfaces/FXIconDict.i +90 -0
  686. data/swig-interfaces/FXIconList.i +596 -0
  687. data/swig-interfaces/FXIconSource.i +55 -0
  688. data/swig-interfaces/FXId.i +103 -0
  689. data/swig-interfaces/FXImage.i +197 -0
  690. data/swig-interfaces/FXImageFrame.i +66 -0
  691. data/swig-interfaces/FXImageView.i +88 -0
  692. data/swig-interfaces/FXInputDialog.i +180 -0
  693. data/swig-interfaces/FXJPGIcon.i +101 -0
  694. data/swig-interfaces/FXJPGImage.i +67 -0
  695. data/swig-interfaces/FXKnob.i +182 -0
  696. data/swig-interfaces/FXLabel.i +199 -0
  697. data/swig-interfaces/FXList.i +476 -0
  698. data/swig-interfaces/FXListBox.i +234 -0
  699. data/swig-interfaces/FXMDIButton.i +173 -0
  700. data/swig-interfaces/FXMDIChild.i +242 -0
  701. data/swig-interfaces/FXMDIClient.i +149 -0
  702. data/swig-interfaces/FXMainWindow.i +53 -0
  703. data/swig-interfaces/FXMat3d.i +102 -0
  704. data/swig-interfaces/FXMat3f.i +102 -0
  705. data/swig-interfaces/FXMat4d.i +122 -0
  706. data/swig-interfaces/FXMat4f.i +138 -0
  707. data/swig-interfaces/FXMatrix.i +101 -0
  708. data/swig-interfaces/FXMemoryBuffer.i +64 -0
  709. data/swig-interfaces/FXMemoryStream.i +73 -0
  710. data/swig-interfaces/FXMenuBar.i +67 -0
  711. data/swig-interfaces/FXMenuButton.i +152 -0
  712. data/swig-interfaces/FXMenuCaption.i +176 -0
  713. data/swig-interfaces/FXMenuCascade.i +76 -0
  714. data/swig-interfaces/FXMenuCheck.i +90 -0
  715. data/swig-interfaces/FXMenuCommand.i +69 -0
  716. data/swig-interfaces/FXMenuPane.i +60 -0
  717. data/swig-interfaces/FXMenuRadio.i +93 -0
  718. data/swig-interfaces/FXMenuSeparator.i +65 -0
  719. data/swig-interfaces/FXMenuTitle.i +74 -0
  720. data/swig-interfaces/FXMessageBox.i +128 -0
  721. data/swig-interfaces/FXObject.i +169 -0
  722. data/swig-interfaces/FXOptionMenu.i +140 -0
  723. data/swig-interfaces/FXPCXIcon.i +91 -0
  724. data/swig-interfaces/FXPCXImage.i +55 -0
  725. data/swig-interfaces/FXPNGIcon.i +95 -0
  726. data/swig-interfaces/FXPNGImage.i +59 -0
  727. data/swig-interfaces/FXPPMIcon.i +91 -0
  728. data/swig-interfaces/FXPPMImage.i +55 -0
  729. data/swig-interfaces/FXPacker.i +255 -0
  730. data/swig-interfaces/FXPicker.i +54 -0
  731. data/swig-interfaces/FXPoint.i +52 -0
  732. data/swig-interfaces/FXPopup.i +162 -0
  733. data/swig-interfaces/FXPrintDialog.i +154 -0
  734. data/swig-interfaces/FXProgressBar.i +133 -0
  735. data/swig-interfaces/FXProgressDialog.i +105 -0
  736. data/swig-interfaces/FXQuatd.i +128 -0
  737. data/swig-interfaces/FXQuatf.i +122 -0
  738. data/swig-interfaces/FXRGBIcon.i +90 -0
  739. data/swig-interfaces/FXRGBImage.i +56 -0
  740. data/swig-interfaces/FXRadioButton.i +117 -0
  741. data/swig-interfaces/FXRanged.i +163 -0
  742. data/swig-interfaces/FXRangef.i +172 -0
  743. data/swig-interfaces/FXRealSlider.i +166 -0
  744. data/swig-interfaces/FXRealSpinner.i +215 -0
  745. data/swig-interfaces/FXRecentFiles.i +119 -0
  746. data/swig-interfaces/FXRectangle.i +104 -0
  747. data/swig-interfaces/FXRegion.i +88 -0
  748. data/swig-interfaces/FXRegistry.i +96 -0
  749. data/swig-interfaces/FXReplaceDialog.i +131 -0
  750. data/swig-interfaces/FXRootWindow.i +50 -0
  751. data/swig-interfaces/FXRuler.i +245 -0
  752. data/swig-interfaces/FXRulerView.i +233 -0
  753. data/swig-interfaces/FXScintilla.i +192 -0
  754. data/swig-interfaces/FXScrollArea.i +211 -0
  755. data/swig-interfaces/FXScrollBar.i +178 -0
  756. data/swig-interfaces/FXScrollPane.i +83 -0
  757. data/swig-interfaces/FXScrollWindow.i +67 -0
  758. data/swig-interfaces/FXSearchDialog.i +48 -0
  759. data/swig-interfaces/FXSeparator.i +138 -0
  760. data/swig-interfaces/FXSettings.i +160 -0
  761. data/swig-interfaces/FXShell.i +91 -0
  762. data/swig-interfaces/FXShutter.i +140 -0
  763. data/swig-interfaces/FXSize.i +71 -0
  764. data/swig-interfaces/FXSlider.i +181 -0
  765. data/swig-interfaces/FXSphered.i +126 -0
  766. data/swig-interfaces/FXSpheref.i +126 -0
  767. data/swig-interfaces/FXSpinner.i +212 -0
  768. data/swig-interfaces/FXSplashWindow.i +82 -0
  769. data/swig-interfaces/FXSplitter.i +123 -0
  770. data/swig-interfaces/FXSpring.i +79 -0
  771. data/swig-interfaces/FXStatusBar.i +68 -0
  772. data/swig-interfaces/FXStatusLine.i +100 -0
  773. data/swig-interfaces/FXStream.i +150 -0
  774. data/swig-interfaces/FXStringDict.i +61 -0
  775. data/swig-interfaces/FXSwitcher.i +110 -0
  776. data/swig-interfaces/FXTGAIcon.i +85 -0
  777. data/swig-interfaces/FXTGAImage.i +56 -0
  778. data/swig-interfaces/FXTIFIcon.i +73 -0
  779. data/swig-interfaces/FXTIFImage.i +93 -0
  780. data/swig-interfaces/FXTabBar.i +121 -0
  781. data/swig-interfaces/FXTabBook.i +70 -0
  782. data/swig-interfaces/FXTabItem.i +82 -0
  783. data/swig-interfaces/FXTable.i +861 -0
  784. data/swig-interfaces/FXText.i +763 -0
  785. data/swig-interfaces/FXTextField.i +290 -0
  786. data/swig-interfaces/FXToggleButton.i +136 -0
  787. data/swig-interfaces/FXToolBar.i +75 -0
  788. data/swig-interfaces/FXToolBarGrip.i +82 -0
  789. data/swig-interfaces/FXToolBarShell.i +98 -0
  790. data/swig-interfaces/FXToolBarTab.i +114 -0
  791. data/swig-interfaces/FXToolTip.i +93 -0
  792. data/swig-interfaces/FXTopWindow.i +263 -0
  793. data/swig-interfaces/FXTranslator.i +55 -0
  794. data/swig-interfaces/FXTreeList.i +549 -0
  795. data/swig-interfaces/FXTreeListBox.i +317 -0
  796. data/swig-interfaces/FXTriStateButton.i +77 -0
  797. data/swig-interfaces/FXURL.i +35 -0
  798. data/swig-interfaces/FXVec2d.i +87 -0
  799. data/swig-interfaces/FXVec2f.i +87 -0
  800. data/swig-interfaces/FXVec3d.i +111 -0
  801. data/swig-interfaces/FXVec3f.i +109 -0
  802. data/swig-interfaces/FXVec4d.i +115 -0
  803. data/swig-interfaces/FXVec4f.i +115 -0
  804. data/swig-interfaces/FXVerticalFrame.i +69 -0
  805. data/swig-interfaces/FXVisual.i +162 -0
  806. data/swig-interfaces/FXWindow.i +851 -0
  807. data/swig-interfaces/FXWizard.i +125 -0
  808. data/swig-interfaces/FXXBMIcon.i +56 -0
  809. data/swig-interfaces/FXXBMImage.i +118 -0
  810. data/swig-interfaces/FXXPMIcon.i +122 -0
  811. data/swig-interfaces/FXXPMImage.i +56 -0
  812. data/swig-interfaces/README +17 -0
  813. data/swig-interfaces/common.i +48 -0
  814. data/swig-interfaces/core.i +85 -0
  815. data/swig-interfaces/dcmodule.i +36 -0
  816. data/swig-interfaces/dialogs.i +49 -0
  817. data/swig-interfaces/exceptions.i +249 -0
  818. data/swig-interfaces/framesmodule.i +54 -0
  819. data/swig-interfaces/freefuncs.i +93 -0
  820. data/swig-interfaces/fx3d.i +60 -0
  821. data/swig-interfaces/fxdefs.i +419 -0
  822. data/swig-interfaces/handlers.i +615 -0
  823. data/swig-interfaces/iconlistmodule.i +37 -0
  824. data/swig-interfaces/icons.i +48 -0
  825. data/swig-interfaces/ignore-message-handlers.rb +16 -0
  826. data/swig-interfaces/image.i +49 -0
  827. data/swig-interfaces/labelmodule.i +47 -0
  828. data/swig-interfaces/layout.i +47 -0
  829. data/swig-interfaces/listmodule.i +37 -0
  830. data/swig-interfaces/macros.i +1326 -0
  831. data/swig-interfaces/markfuncs.i +210 -0
  832. data/swig-interfaces/mdi.i +38 -0
  833. data/swig-interfaces/menumodule.i +44 -0
  834. data/swig-interfaces/ruby-typemaps.i +772 -0
  835. data/swig-interfaces/scintilla.i +57 -0
  836. data/swig-interfaces/table-module.i +36 -0
  837. data/swig-interfaces/text-module.i +36 -0
  838. data/swig-interfaces/treelist-module.i +37 -0
  839. data/swig-interfaces/ui.i +63 -0
  840. data/test/README +19 -0
  841. data/test/TC_FXAccelTable.rb +57 -0
  842. data/test/TC_FXApp.rb +16 -0
  843. data/test/TC_FXArc.rb +26 -0
  844. data/test/TC_FXBMPIcon.rb +15 -0
  845. data/test/TC_FXBMPImage.rb +15 -0
  846. data/test/TC_FXButton.rb +78 -0
  847. data/test/TC_FXCheckButton.rb +57 -0
  848. data/test/TC_FXComboBox.rb +63 -0
  849. data/test/TC_FXDC.rb +372 -0
  850. data/test/TC_FXDCPrint.rb +101 -0
  851. data/test/TC_FXDCWindow.rb +23 -0
  852. data/test/TC_FXDataTarget.rb +24 -0
  853. data/test/TC_FXDialogBox.rb +12 -0
  854. data/test/TC_FXDirList.rb +30 -0
  855. data/test/TC_FXExtentd.rb +21 -0
  856. data/test/TC_FXExtentf.rb +21 -0
  857. data/test/TC_FXFileAssoc.rb +62 -0
  858. data/test/TC_FXFileStream.rb +89 -0
  859. data/test/TC_FXFoldingList.rb +32 -0
  860. data/test/TC_FXFont.rb +69 -0
  861. data/test/TC_FXFontDesc.rb +58 -0
  862. data/test/TC_FXGLGroup.rb +32 -0
  863. data/test/TC_FXGLShape.rb +28 -0
  864. data/test/TC_FXGLViewer.rb +20 -0
  865. data/test/TC_FXGradientBar.rb +89 -0
  866. data/test/TC_FXHeader.rb +82 -0
  867. data/test/TC_FXHiliteStyle.rb +23 -0
  868. data/test/TC_FXIconDict.rb +52 -0
  869. data/test/TC_FXIconList.rb +192 -0
  870. data/test/TC_FXId.rb +19 -0
  871. data/test/TC_FXImage.rb +155 -0
  872. data/test/TC_FXLight.rb +33 -0
  873. data/test/TC_FXList.rb +116 -0
  874. data/test/TC_FXListBox.rb +49 -0
  875. data/test/TC_FXMainWindow.rb +19 -0
  876. data/test/TC_FXMat4f.rb +228 -0
  877. data/test/TC_FXMaterial.rb +89 -0
  878. data/test/TC_FXMemoryStream.rb +97 -0
  879. data/test/TC_FXMenuCheck.rb +57 -0
  880. data/test/TC_FXMenuCommand.rb +12 -0
  881. data/test/TC_FXMenuRadio.rb +57 -0
  882. data/test/TC_FXMessageBox.rb +25 -0
  883. data/test/TC_FXPoint.rb +57 -0
  884. data/test/TC_FXQuatf.rb +93 -0
  885. data/test/TC_FXRadioButton.rb +57 -0
  886. data/test/TC_FXRanged.rb +42 -0
  887. data/test/TC_FXRangef.rb +42 -0
  888. data/test/TC_FXRectangle.rb +88 -0
  889. data/test/TC_FXRegion.rb +54 -0
  890. data/test/TC_FXRegistry.rb +27 -0
  891. data/test/TC_FXScrollArea.rb +28 -0
  892. data/test/TC_FXScrollWindow.rb +28 -0
  893. data/test/TC_FXSegment.rb +22 -0
  894. data/test/TC_FXSettings.rb +34 -0
  895. data/test/TC_FXShell.rb +26 -0
  896. data/test/TC_FXSize.rb +54 -0
  897. data/test/TC_FXStream.rb +11 -0
  898. data/test/TC_FXTable.rb +561 -0
  899. data/test/TC_FXTableItem.rb +48 -0
  900. data/test/TC_FXText.rb +96 -0
  901. data/test/TC_FXTopWindow.rb +32 -0
  902. data/test/TC_FXTreeList.rb +100 -0
  903. data/test/TC_FXTreeListBox.rb +41 -0
  904. data/test/TC_FXUndoList.rb +43 -0
  905. data/test/TC_FXVec2d.rb +142 -0
  906. data/test/TC_FXVec2f.rb +137 -0
  907. data/test/TC_FXVec3d.rb +150 -0
  908. data/test/TC_FXVec3f.rb +150 -0
  909. data/test/TC_FXVec4f.rb +158 -0
  910. data/test/TC_FXViewport.rb +30 -0
  911. data/test/TC_FXXBMIcon.rb +15 -0
  912. data/test/TC_FXXBMImage.rb +15 -0
  913. data/test/TC_FXXPMIcon.rb +15 -0
  914. data/test/TC_FXXPMImage.rb +15 -0
  915. data/test/TC_Misc.rb +157 -0
  916. data/test/TC_downcast.rb +15 -0
  917. data/test/TS_All.rb +25 -0
  918. data/test/blankpage.ps +166 -0
  919. data/test/howdypage.ps +181 -0
  920. data/test/stress1.rb +92 -0
  921. data/test/stress2.rb +51 -0
  922. data/test/stress3.rb +117 -0
  923. data/test/testcase.rb +37 -0
  924. metadata +1071 -0
@@ -0,0 +1,2981 @@
1
+ /* ----------------------------------------------------------------------------
2
+ * This file was automatically generated by SWIG (http://www.swig.org).
3
+ * Version 1.3.22
4
+ *
5
+ * This file is not intended to be easily readable and contains a number of
6
+ * coding conventions designed to improve portability and efficiency. Do not make
7
+ * changes to this file unless you know what you are doing--modify the SWIG
8
+ * interface file instead.
9
+ * ----------------------------------------------------------------------------- */
10
+
11
+ #define SWIG_NOINCLUDE
12
+
13
+ #ifdef __cplusplus
14
+ template<class T> class SwigValueWrapper {
15
+ T *tt;
16
+ public:
17
+ SwigValueWrapper() : tt(0) { }
18
+ SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19
+ SwigValueWrapper(const T& t) : tt(new T(t)) { }
20
+ ~SwigValueWrapper() { delete tt; }
21
+ SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22
+ operator T&() const { return *tt; }
23
+ T *operator&() { return tt; }
24
+ private:
25
+ SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
26
+ };
27
+ #endif
28
+
29
+ /* ruby.swg */
30
+ /* Implementation : RUBY */
31
+ #define SWIGRUBY 1
32
+
33
+ #include "ruby.h"
34
+
35
+ /* Flags for pointer conversion */
36
+ #define SWIG_POINTER_EXCEPTION 0x1
37
+ #define SWIG_POINTER_DISOWN 0x2
38
+
39
+ #define NUM2USHRT(n) (\
40
+ (0 <= NUM2UINT(n) && NUM2UINT(n) <= USHRT_MAX)\
41
+ ? (unsigned short) NUM2UINT(n) \
42
+ : (rb_raise(rb_eArgError, "integer %d out of range of `unsigned short'",\
43
+ NUM2UINT(n)), (short)0)\
44
+ )
45
+
46
+ #define NUM2SHRT(n) (\
47
+ (SHRT_MIN <= NUM2INT(n) && NUM2INT(n) <= SHRT_MAX)\
48
+ ? (short)NUM2INT(n)\
49
+ : (rb_raise(rb_eArgError, "integer %d out of range of `short'",\
50
+ NUM2INT(n)), (short)0)\
51
+ )
52
+
53
+ /* Ruby 1.7 defines NUM2LL(), LL2NUM() and ULL2NUM() macros */
54
+ #ifndef NUM2LL
55
+ #define NUM2LL(x) NUM2LONG((x))
56
+ #endif
57
+ #ifndef LL2NUM
58
+ #define LL2NUM(x) INT2NUM((long) (x))
59
+ #endif
60
+ #ifndef ULL2NUM
61
+ #define ULL2NUM(x) UINT2NUM((unsigned long) (x))
62
+ #endif
63
+
64
+ /* Ruby 1.7 doesn't (yet) define NUM2ULL() */
65
+ #ifndef NUM2ULL
66
+ #ifdef HAVE_LONG_LONG
67
+ #define NUM2ULL(x) rb_num2ull((x))
68
+ #else
69
+ #define NUM2ULL(x) NUM2ULONG(x)
70
+ #endif
71
+ #endif
72
+
73
+ /*
74
+ * Need to be very careful about how these macros are defined, especially
75
+ * when compiling C++ code or C code with an ANSI C compiler.
76
+ *
77
+ * VALUEFUNC(f) is a macro used to typecast a C function that implements
78
+ * a Ruby method so that it can be passed as an argument to API functions
79
+ * like rb_define_method() and rb_define_singleton_method().
80
+ *
81
+ * VOIDFUNC(f) is a macro used to typecast a C function that implements
82
+ * either the "mark" or "free" stuff for a Ruby Data object, so that it
83
+ * can be passed as an argument to API functions like Data_Wrap_Struct()
84
+ * and Data_Make_Struct().
85
+ */
86
+
87
+ #ifdef __cplusplus
88
+ # ifndef RUBY_METHOD_FUNC /* These definitions should work for Ruby 1.4.6 */
89
+ # define PROTECTFUNC(f) ((VALUE (*)()) f)
90
+ # define VALUEFUNC(f) ((VALUE (*)()) f)
91
+ # define VOIDFUNC(f) ((void (*)()) f)
92
+ # else
93
+ # ifndef ANYARGS /* These definitions should work for Ruby 1.6 */
94
+ # define PROTECTFUNC(f) ((VALUE (*)()) f)
95
+ # define VALUEFUNC(f) ((VALUE (*)()) f)
96
+ # define VOIDFUNC(f) ((RUBY_DATA_FUNC) f)
97
+ # else /* These definitions should work for Ruby 1.7+ */
98
+ # define PROTECTFUNC(f) ((VALUE (*)(VALUE)) f)
99
+ # define VALUEFUNC(f) ((VALUE (*)(ANYARGS)) f)
100
+ # define VOIDFUNC(f) ((RUBY_DATA_FUNC) f)
101
+ # endif
102
+ # endif
103
+ #else
104
+ # define VALUEFUNC(f) (f)
105
+ # define VOIDFUNC(f) (f)
106
+ #endif
107
+
108
+ typedef struct {
109
+ VALUE klass;
110
+ VALUE mImpl;
111
+ void (*mark)(void *);
112
+ void (*destroy)(void *);
113
+ } swig_class;
114
+
115
+ /* Don't use for expressions have side effect */
116
+ #ifndef RB_STRING_VALUE
117
+ #define RB_STRING_VALUE(s) (TYPE(s) == T_STRING ? (s) : (*(volatile VALUE *)&(s) = rb_str_to_str(s)))
118
+ #endif
119
+ #ifndef StringValue
120
+ #define StringValue(s) RB_STRING_VALUE(s)
121
+ #endif
122
+ #ifndef StringValuePtr
123
+ #define StringValuePtr(s) RSTRING(RB_STRING_VALUE(s))->ptr
124
+ #endif
125
+ #ifndef StringValueLen
126
+ #define StringValueLen(s) RSTRING(RB_STRING_VALUE(s))->len
127
+ #endif
128
+ #ifndef SafeStringValue
129
+ #define SafeStringValue(v) do {\
130
+ StringValue(v);\
131
+ rb_check_safe_str(v);\
132
+ } while (0)
133
+ #endif
134
+
135
+ #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
136
+ #define rb_define_alloc_func(klass, func) rb_define_singleton_method((klass), "new", VALUEFUNC((func)), -1)
137
+ #define rb_undef_alloc_func(klass) rb_undef_method(CLASS_OF((klass)), "new")
138
+ #endif
139
+
140
+ /* Contract support */
141
+
142
+ #define SWIG_contract_assert(expr, msg) if (!(expr)) { rb_raise(rb_eRuntimeError, (char *) msg ); } else
143
+
144
+
145
+ /*************************************************************** -*- c -*-
146
+ * ruby/precommon.swg
147
+ *
148
+ * Rename all exported symbols from common.swg, to avoid symbol
149
+ * clashes if multiple interpreters are included
150
+ *
151
+ ************************************************************************/
152
+
153
+ #define SWIG_TypeRegister SWIG_Ruby_TypeRegister
154
+ #define SWIG_TypeCheck SWIG_Ruby_TypeCheck
155
+ #define SWIG_TypeCast SWIG_Ruby_TypeCast
156
+ #define SWIG_TypeDynamicCast SWIG_Ruby_TypeDynamicCast
157
+ #define SWIG_TypeName SWIG_Ruby_TypeName
158
+ #define SWIG_TypePrettyName SWIG_Ruby_TypePrettyName
159
+ #define SWIG_TypeQuery SWIG_Ruby_TypeQuery
160
+ #define SWIG_TypeClientData SWIG_Ruby_TypeClientData
161
+ #define SWIG_PackData SWIG_Ruby_PackData
162
+ #define SWIG_UnpackData SWIG_Ruby_UnpackData
163
+
164
+ /* Also rename all exported symbols from rubydef.swig */
165
+
166
+ /* Common SWIG API */
167
+ #define SWIG_ConvertPtr(obj, pp, type, flags) \
168
+ SWIG_Ruby_ConvertPtr(obj, pp, type, flags)
169
+ #define SWIG_NewPointerObj(p, type, flags) \
170
+ SWIG_Ruby_NewPointerObj(p, type, flags)
171
+ #define SWIG_MustGetPtr(p, type, argnum, flags) \
172
+ SWIG_Ruby_MustGetPtr(p, type, argnum, flags)
173
+
174
+ /* Ruby-specific SWIG API */
175
+
176
+ #define SWIG_InitRuntime() \
177
+ SWIG_Ruby_InitRuntime()
178
+ #define SWIG_define_class(ty) \
179
+ SWIG_Ruby_define_class(ty)
180
+ #define SWIG_NewClassInstance(value, ty) \
181
+ SWIG_Ruby_NewClassInstance(value, ty)
182
+ #define SWIG_MangleStr(value) \
183
+ SWIG_Ruby_MangleStr(value)
184
+ #define SWIG_CheckConvert(value, ty) \
185
+ SWIG_Ruby_CheckConvert(value, ty)
186
+ #define SWIG_NewPackedObj(ptr, sz, ty) \
187
+ SWIG_Ruby_NewPackedObj(ptr, sz, ty)
188
+ #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
189
+ SWIG_Ruby_ConvertPacked(obj, ptr, sz, ty, flags)
190
+
191
+
192
+ /***********************************************************************
193
+ * common.swg
194
+ *
195
+ * This file contains generic SWIG runtime support for pointer
196
+ * type checking as well as a few commonly used macros to control
197
+ * external linkage.
198
+ *
199
+ * Author : David Beazley (beazley@cs.uchicago.edu)
200
+ *
201
+ * Copyright (c) 1999-2000, The University of Chicago
202
+ *
203
+ * This file may be freely redistributed without license or fee provided
204
+ * this copyright message remains intact.
205
+ ************************************************************************/
206
+
207
+ #include <string.h>
208
+
209
+ #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
210
+ # if defined(_MSC_VER) || defined(__GNUC__)
211
+ # if defined(STATIC_LINKED)
212
+ # define SWIGEXPORT(a) a
213
+ # define SWIGIMPORT(a) extern a
214
+ # else
215
+ # define SWIGEXPORT(a) __declspec(dllexport) a
216
+ # define SWIGIMPORT(a) extern a
217
+ # endif
218
+ # else
219
+ # if defined(__BORLANDC__)
220
+ # define SWIGEXPORT(a) a _export
221
+ # define SWIGIMPORT(a) a _export
222
+ # else
223
+ # define SWIGEXPORT(a) a
224
+ # define SWIGIMPORT(a) a
225
+ # endif
226
+ # endif
227
+ #else
228
+ # define SWIGEXPORT(a) a
229
+ # define SWIGIMPORT(a) a
230
+ #endif
231
+
232
+ #ifdef SWIG_GLOBAL
233
+ # define SWIGRUNTIME(a) SWIGEXPORT(a)
234
+ #else
235
+ # define SWIGRUNTIME(a) static a
236
+ #endif
237
+
238
+ #ifdef __cplusplus
239
+ extern "C" {
240
+ #endif
241
+
242
+ typedef void *(*swig_converter_func)(void *);
243
+ typedef struct swig_type_info *(*swig_dycast_func)(void **);
244
+
245
+ typedef struct swig_type_info {
246
+ const char *name;
247
+ swig_converter_func converter;
248
+ const char *str;
249
+ void *clientdata;
250
+ swig_dycast_func dcast;
251
+ struct swig_type_info *next;
252
+ struct swig_type_info *prev;
253
+ } swig_type_info;
254
+
255
+ #ifdef SWIG_NOINCLUDE
256
+
257
+ SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
258
+ SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
259
+ SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
260
+ SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
261
+ SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
262
+ SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *);
263
+ SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
264
+ SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
265
+ SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
266
+ SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
267
+
268
+ #else
269
+
270
+ static swig_type_info *swig_type_list = 0;
271
+ static swig_type_info **swig_type_list_handle = &swig_type_list;
272
+
273
+ /* Register a type mapping with the type-checking */
274
+ SWIGRUNTIME(swig_type_info *)
275
+ SWIG_TypeRegister(swig_type_info *ti) {
276
+ swig_type_info *tc, *head, *ret, *next;
277
+ /* Check to see if this type has already been registered */
278
+ tc = *swig_type_list_handle;
279
+ while (tc) {
280
+ if (strcmp(tc->name, ti->name) == 0) {
281
+ /* Already exists in the table. Just add additional types to the list */
282
+ if (tc->clientdata) ti->clientdata = tc->clientdata;
283
+ head = tc;
284
+ next = tc->next;
285
+ goto l1;
286
+ }
287
+ tc = tc->prev;
288
+ }
289
+ head = ti;
290
+ next = 0;
291
+
292
+ /* Place in list */
293
+ ti->prev = *swig_type_list_handle;
294
+ *swig_type_list_handle = ti;
295
+
296
+ /* Build linked lists */
297
+ l1:
298
+ ret = head;
299
+ tc = ti + 1;
300
+ /* Patch up the rest of the links */
301
+ while (tc->name) {
302
+ head->next = tc;
303
+ tc->prev = head;
304
+ head = tc;
305
+ tc++;
306
+ }
307
+ if (next) next->prev = head;
308
+ head->next = next;
309
+ return ret;
310
+ }
311
+
312
+ /* Check the typename */
313
+ SWIGRUNTIME(swig_type_info *)
314
+ SWIG_TypeCheck(char *c, swig_type_info *ty) {
315
+ swig_type_info *s;
316
+ if (!ty) return 0; /* Void pointer */
317
+ s = ty->next; /* First element always just a name */
318
+ do {
319
+ if (strcmp(s->name,c) == 0) {
320
+ if (s == ty->next) return s;
321
+ /* Move s to the top of the linked list */
322
+ s->prev->next = s->next;
323
+ if (s->next) {
324
+ s->next->prev = s->prev;
325
+ }
326
+ /* Insert s as second element in the list */
327
+ s->next = ty->next;
328
+ if (ty->next) ty->next->prev = s;
329
+ ty->next = s;
330
+ s->prev = ty;
331
+ return s;
332
+ }
333
+ s = s->next;
334
+ } while (s && (s != ty->next));
335
+ return 0;
336
+ }
337
+
338
+ /* Cast a pointer up an inheritance hierarchy */
339
+ SWIGRUNTIME(void *)
340
+ SWIG_TypeCast(swig_type_info *ty, void *ptr) {
341
+ if ((!ty) || (!ty->converter)) return ptr;
342
+ return (*ty->converter)(ptr);
343
+ }
344
+
345
+ /* Dynamic pointer casting. Down an inheritance hierarchy */
346
+ SWIGRUNTIME(swig_type_info *)
347
+ SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
348
+ swig_type_info *lastty = ty;
349
+ if (!ty || !ty->dcast) return ty;
350
+ while (ty && (ty->dcast)) {
351
+ ty = (*ty->dcast)(ptr);
352
+ if (ty) lastty = ty;
353
+ }
354
+ return lastty;
355
+ }
356
+
357
+ /* Return the name associated with this type */
358
+ SWIGRUNTIME(const char *)
359
+ SWIG_TypeName(const swig_type_info *ty) {
360
+ return ty->name;
361
+ }
362
+
363
+ /* Return the pretty name associated with this type,
364
+ that is an unmangled type name in a form presentable to the user.
365
+ */
366
+ SWIGRUNTIME(const char *)
367
+ SWIG_TypePrettyName(const swig_type_info *type) {
368
+ /* The "str" field contains the equivalent pretty names of the
369
+ type, separated by vertical-bar characters. We choose
370
+ to print the last name, as it is often (?) the most
371
+ specific. */
372
+ if (type->str != NULL) {
373
+ const char *last_name = type->str;
374
+ const char *s;
375
+ for (s = type->str; *s; s++)
376
+ if (*s == '|') last_name = s+1;
377
+ return last_name;
378
+ }
379
+ else
380
+ return type->name;
381
+ }
382
+
383
+ /*
384
+ Compare two type names skipping the space characters, therefore
385
+ "char*" == "char *" and "Class<int>" == "Class<int >", etc.
386
+
387
+ Return 0 when the two name types are equivalent, as in
388
+ strncmp, but skipping ' '.
389
+ */
390
+ static int
391
+ SWIG_TypeNameComp(const char *f1, const char *l1,
392
+ const char *f2, const char *l2) {
393
+ for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
394
+ while ((*f1 == ' ') && (f1 != l1)) ++f1;
395
+ while ((*f2 == ' ') && (f2 != l2)) ++f2;
396
+ if (*f1 != *f2) return *f1 - *f2;
397
+ }
398
+ return (l1 - f1) - (l2 - f2);
399
+ }
400
+
401
+ /*
402
+ Check type equivalence in a name list like <name1>|<name2>|...
403
+ */
404
+ static int
405
+ SWIG_TypeEquiv(const char *nb, const char *tb) {
406
+ int equiv = 0;
407
+ const char* te = tb + strlen(tb);
408
+ const char* ne = nb;
409
+ while (!equiv && *ne) {
410
+ for (nb = ne; *ne; ++ne) {
411
+ if (*ne == '|') break;
412
+ }
413
+ equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0;
414
+ if (*ne) ++ne;
415
+ }
416
+ return equiv;
417
+ }
418
+
419
+
420
+ /* Search for a swig_type_info structure */
421
+ SWIGRUNTIME(swig_type_info *)
422
+ SWIG_TypeQuery(const char *name) {
423
+ swig_type_info *ty = *swig_type_list_handle;
424
+ while (ty) {
425
+ if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty;
426
+ if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
427
+ ty = ty->prev;
428
+ }
429
+ return 0;
430
+ }
431
+
432
+ /* Set the clientdata field for a type */
433
+ SWIGRUNTIME(void)
434
+ SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
435
+ swig_type_info *tc, *equiv;
436
+ if (ti->clientdata == clientdata) return;
437
+ ti->clientdata = clientdata;
438
+ equiv = ti->next;
439
+ while (equiv) {
440
+ if (!equiv->converter) {
441
+ tc = *swig_type_list_handle;
442
+ while (tc) {
443
+ if ((strcmp(tc->name, equiv->name) == 0))
444
+ SWIG_TypeClientData(tc,clientdata);
445
+ tc = tc->prev;
446
+ }
447
+ }
448
+ equiv = equiv->next;
449
+ }
450
+ }
451
+
452
+ /* Pack binary data into a string */
453
+ SWIGRUNTIME(char *)
454
+ SWIG_PackData(char *c, void *ptr, int sz) {
455
+ static char hex[17] = "0123456789abcdef";
456
+ unsigned char *u = (unsigned char *) ptr;
457
+ const unsigned char *eu = u + sz;
458
+ register unsigned char uu;
459
+ for (; u != eu; ++u) {
460
+ uu = *u;
461
+ *(c++) = hex[(uu & 0xf0) >> 4];
462
+ *(c++) = hex[uu & 0xf];
463
+ }
464
+ return c;
465
+ }
466
+
467
+ /* Unpack binary data from a string */
468
+ SWIGRUNTIME(char *)
469
+ SWIG_UnpackData(char *c, void *ptr, int sz) {
470
+ register unsigned char uu = 0;
471
+ register int d;
472
+ unsigned char *u = (unsigned char *) ptr;
473
+ const unsigned char *eu = u + sz;
474
+ for (; u != eu; ++u) {
475
+ d = *(c++);
476
+ if ((d >= '0') && (d <= '9'))
477
+ uu = ((d - '0') << 4);
478
+ else if ((d >= 'a') && (d <= 'f'))
479
+ uu = ((d - ('a'-10)) << 4);
480
+ d = *(c++);
481
+ if ((d >= '0') && (d <= '9'))
482
+ uu |= (d - '0');
483
+ else if ((d >= 'a') && (d <= 'f'))
484
+ uu |= (d - ('a'-10));
485
+ *u = uu;
486
+ }
487
+ return c;
488
+ }
489
+
490
+ #endif
491
+
492
+ #ifdef __cplusplus
493
+ }
494
+ #endif
495
+
496
+ /* rubydec.swg -*- c -*- */
497
+ #ifdef __cplusplus
498
+ extern "C" {
499
+ #endif
500
+
501
+ SWIGIMPORT(void) SWIG_Ruby_InitRuntime(void);
502
+ SWIGIMPORT(void) SWIG_Ruby_define_class(swig_type_info *);
503
+ SWIGIMPORT(VALUE) SWIG_Ruby_NewPointerObj(void *, swig_type_info *, int);
504
+ SWIGIMPORT(VALUE) SWIG_Ruby_NewClassInstance(VALUE, swig_type_info *);
505
+ SWIGIMPORT(char *) SWIG_Ruby_MangleStr(VALUE);
506
+ SWIGIMPORT(int) SWIG_Ruby_ConvertPtr(VALUE, void**, swig_type_info *, int);
507
+ SWIGIMPORT(void *) SWIG_Ruby_MustGetPtr(VALUE, swig_type_info *, int, int);
508
+ SWIGIMPORT(int) SWIG_Ruby_CheckConvert(VALUE, swig_type_info *);
509
+ SWIGIMPORT(VALUE) SWIG_Ruby_NewPackedObj(void *ptr, int sz, swig_type_info *type);
510
+ SWIGIMPORT(void) SWIG_Ruby_ConvertPacked(VALUE obj, void *ptr, int sz, swig_type_info *ty, int flags);
511
+
512
+ #ifdef __cplusplus
513
+ }
514
+ #endif
515
+
516
+
517
+ /* -------- TYPES TABLE (BEGIN) -------- */
518
+
519
+ #define SWIGTYPE_p_FXObject swig_types[0]
520
+ #define SWIGTYPE_p_FXColorList swig_types[1]
521
+ #define SWIGTYPE_p_FXScrollArea swig_types[2]
522
+ #define SWIGTYPE_p_FXWindow swig_types[3]
523
+ #define SWIGTYPE_p_FXComposite swig_types[4]
524
+ #define SWIGTYPE_p_FXBitmap swig_types[5]
525
+ #define SWIGTYPE_p_FXColorItem swig_types[6]
526
+ #define SWIGTYPE_p_FXFont swig_types[7]
527
+ #define SWIGTYPE_p_FXId swig_types[8]
528
+ #define SWIGTYPE_p_FXStream swig_types[9]
529
+ #define SWIGTYPE_p_FXDrawable swig_types[10]
530
+ #define SWIGTYPE_p_FXList swig_types[11]
531
+ #define SWIGTYPE_p_FXIcon swig_types[12]
532
+ #define SWIGTYPE_p_FXColor swig_types[13]
533
+ #define SWIGTYPE_p_FXRegion swig_types[14]
534
+ #define SWIGTYPE_p_FXListItem swig_types[15]
535
+ static swig_type_info *swig_types[17];
536
+
537
+ /* -------- TYPES TABLE (END) -------- */
538
+
539
+ #define SWIG_init Init_list
540
+ #define SWIG_name "List"
541
+
542
+
543
+ static void SWIG_AsVal(VALUE obj, int *val)
544
+ {
545
+ *val = (int) NUM2INT(obj);
546
+ }
547
+
548
+
549
+ #include "FXRbCommon.h"
550
+
551
+
552
+ #define SWIG_MemoryError 1
553
+ #define SWIG_IOError 2
554
+ #define SWIG_RuntimeError 3
555
+ #define SWIG_IndexError 4
556
+ #define SWIG_TypeError 5
557
+ #define SWIG_DivisionByZero 6
558
+ #define SWIG_OverflowError 7
559
+ #define SWIG_SyntaxError 8
560
+ #define SWIG_ValueError 9
561
+ #define SWIG_SystemError 10
562
+ #define SWIG_UnknownError 99
563
+
564
+
565
+ static void SWIG_exception_(int code, const char *msg) {
566
+ switch (code) {
567
+ case SWIG_MemoryError:
568
+ rb_raise(rb_eNoMemError, msg);
569
+ break;
570
+ case SWIG_IOError:
571
+ rb_raise(rb_eIOError, msg);
572
+ break;
573
+ case SWIG_RuntimeError:
574
+ rb_raise(rb_eRuntimeError, msg);
575
+ break;
576
+ case SWIG_IndexError:
577
+ rb_raise(rb_eIndexError, msg);
578
+ break;
579
+ case SWIG_TypeError:
580
+ rb_raise(rb_eTypeError, msg);
581
+ break;
582
+ case SWIG_DivisionByZero:
583
+ rb_raise(rb_eZeroDivError, msg);
584
+ break;
585
+ case SWIG_OverflowError:
586
+ rb_raise(rb_eRangeError, msg);
587
+ break;
588
+ case SWIG_SyntaxError:
589
+ rb_raise(rb_eSyntaxError, msg);
590
+ break;
591
+ case SWIG_ValueError:
592
+ rb_raise(rb_eArgError, msg);
593
+ break;
594
+ case SWIG_SystemError:
595
+ rb_raise(rb_eFatal, msg);
596
+ break;
597
+ case SWIG_UnknownError:
598
+ rb_raise(rb_eRuntimeError, msg);
599
+ break;
600
+ default:
601
+ break;
602
+ }
603
+ }
604
+
605
+ #define SWIG_exception(a, b) SWIG_exception_((a), (b))
606
+
607
+
608
+ #include <stdexcept>
609
+
610
+
611
+ inline FXColor to_FXColor(VALUE obj){
612
+ if(TYPE(obj)==T_STRING){
613
+ return fxcolorfromname(StringValuePtr(obj));
614
+ }
615
+ else if(TYPE(obj)==T_SYMBOL){
616
+ return fxcolorfromname(rb_id2name(SYM2ID(obj)));
617
+ }
618
+ else{
619
+ return NUM2ULONG(obj);
620
+ }
621
+ }
622
+
623
+
624
+ inline FXString to_FXString(VALUE obj){
625
+ if(!NIL_P(obj)){
626
+ Check_Type(obj,T_STRING);
627
+ return FXString(StringValuePtr(obj));
628
+ }
629
+ else{
630
+ return FXString::null;
631
+ }
632
+ }
633
+
634
+
635
+ inline FXbool to_FXbool(VALUE obj){
636
+ if (obj == Qtrue || obj == Qfalse){
637
+ return (obj == Qtrue) ? TRUE : FALSE;
638
+ }
639
+ else{
640
+ return static_cast<FXbool>(NUM2UINT(obj));
641
+ }
642
+ }
643
+
644
+
645
+ static swig_type_info* FXEventTypeInfo=0;
646
+
647
+ inline void* to_FXEvent(VALUE obj){
648
+ void* ptr;
649
+ if(!FXEventTypeInfo){
650
+ FXEventTypeInfo=SWIG_TypeQuery("FXEvent *");
651
+ FXASSERT(FXEventTypeInfo!=0);
652
+ }
653
+ SWIG_ConvertPtr(obj,&ptr,FXEventTypeInfo,1);
654
+ return ptr;
655
+ }
656
+
657
+ FXListItem *new_FXListItem(FXString const &text,FXIcon *ic,void *ITEMDATA){
658
+ return new FXRbListItem(text,ic,ITEMDATA);
659
+ }
660
+ void FXListItem_setData(FXListItem *self,VALUE ptr){
661
+ self->setData((void*) ptr);
662
+ }
663
+ VALUE FXListItem_getData(FXListItem const *self){
664
+ return self->getData() ? (VALUE) self->getData() : Qnil;
665
+ }
666
+
667
+ swig_class cFXListItem;
668
+ static void free_FXListItem(FXListItem *);
669
+
670
+ static swig_type_info *FXListItem_dynamic_cast(void **ptr) {
671
+ FXListItem **ppListItem = reinterpret_cast<FXListItem **>(ptr);
672
+ FXColorItem *pColorItem=dynamic_cast<FXColorItem*>(*ppListItem);
673
+ if(pColorItem){
674
+ *ptr=reinterpret_cast<void*>(pColorItem);
675
+ return SWIG_TypeQuery("FXColorItem *");
676
+ }
677
+ return 0;
678
+ }
679
+
680
+ FXList *new_FXList(FXComposite *p,FXObject *tgt,FXSelector sel,FXuint opts,FXint x,FXint y,FXint w,FXint h){
681
+ return new FXRbList(p,tgt,sel,opts,x,y,w,h);
682
+ }
683
+ FXint FXList_setItem__SWIG_0(FXList *self,FXint index,FXListItem *item,FXbool notify){
684
+ // Save pointer to the soon-to-be-destroyed item
685
+ FXListItem* oldItem=self->getItem(index);
686
+
687
+ // Do the deed
688
+ if(item->isMemberOf(FXMETACLASS(FXRbListItem)))
689
+ dynamic_cast<FXRbListItem*>(item)->owned=1;
690
+ FXint result=self->setItem(index,item,notify);
691
+
692
+ // Now zero-out pointers held by still-alive Ruby objects
693
+ FXRbUnregisterRubyObj(oldItem);
694
+
695
+ // Done
696
+ return result;
697
+ }
698
+ FXint FXList_setItem__SWIG_1(FXList *self,FXint index,FXString const &text,FXIcon *icon,void *ITEMDATA,FXbool notify){
699
+ // Save pointer to the soon-to-be-destroyed item
700
+ FXListItem* oldItem=self->getItem(index);
701
+
702
+ // Do the deed
703
+ FXint result=self->setItem(index,text,icon,ITEMDATA,notify);
704
+
705
+ // Now zero-out pointers held by still-alive Ruby objects
706
+ FXRbUnregisterRubyObj(oldItem);
707
+
708
+ // Done
709
+ return result;
710
+ }
711
+ FXint FXList_insertItem__SWIG_0(FXList *self,FXint index,FXListItem *item,FXbool notify){
712
+ if(item->isMemberOf(FXMETACLASS(FXRbListItem)))
713
+ dynamic_cast<FXRbListItem*>(item)->owned=1;
714
+ return self->insertItem(index,item,notify);
715
+ }
716
+ FXint FXList_appendItem__SWIG_0(FXList *self,FXListItem *item,FXbool notify){
717
+ if(item->isMemberOf(FXMETACLASS(FXRbListItem)))
718
+ dynamic_cast<FXRbListItem*>(item)->owned=1;
719
+ return self->appendItem(item,notify);
720
+ }
721
+ FXint FXList_prependItem__SWIG_0(FXList *self,FXListItem *item,FXbool notify){
722
+ if(item->isMemberOf(FXMETACLASS(FXRbListItem)))
723
+ dynamic_cast<FXRbListItem*>(item)->owned=1;
724
+ return self->prependItem(item,notify);
725
+ }
726
+ void FXList_removeItem(FXList *self,FXint index,FXbool notify){
727
+ // Save pointer to the soon-to-be-destroyed item
728
+ FXListItem* item=self->getItem(index);
729
+
730
+ // Do the deed
731
+ self->removeItem(index,notify);
732
+
733
+ // Now zero-out pointers held by still-alive Ruby objects
734
+ FXRbUnregisterRubyObj(item);
735
+ }
736
+ void FXList_clearItems(FXList *self,FXbool notify){
737
+ // Save pointers to the soon-to-be-destroyed items
738
+ FXObjectListOf<FXListItem> items;
739
+ for(FXint i=0; i<self->getNumItems(); i++) items.append(self->getItem(i));
740
+
741
+ // Do the deed
742
+ self->clearItems(notify);
743
+
744
+ // Now zero-out pointers held by still-alive Ruby objects
745
+ for(FXint j=0; j<items.no(); j++) FXRbUnregisterRubyObj(items[j]);
746
+ }
747
+ void FXList_makeItemVisible__SWIG_0(FXList *self,FXListItem *item){
748
+ FXint numItems=self->getNumItems();
749
+ for(FXint i=0; i<numItems; i++){
750
+ if(self->getItem(i)==item){
751
+ self->makeItemVisible(i);
752
+ break;
753
+ }
754
+ }
755
+ }
756
+ void FXList_setItemData(FXList *self,FXint index,VALUE ptr){
757
+ self->setItemData(index, (void*) ptr);
758
+ }
759
+ VALUE FXList_getItemData(FXList const *self,FXint index){
760
+ return self->getItemData(index) ? (VALUE) self->getItemData(index) : Qnil;
761
+ }
762
+ VALUE FXList_position__SWIG_1(FXList const *self){
763
+ FXint x, y;
764
+ self->getPosition(x, y);
765
+ VALUE pos = rb_ary_new();
766
+ rb_ary_push(pos, INT2NUM(x));
767
+ rb_ary_push(pos, INT2NUM(y));
768
+ return pos;
769
+ }
770
+
771
+ swig_class cFXList;
772
+ static void free_FXList(FXList *);
773
+
774
+ static swig_type_info *FXList_dynamic_cast(void **ptr) {
775
+ FXList **ppList = reinterpret_cast<FXList **>(ptr);
776
+ FXColorList *pColorList=dynamic_cast<FXColorList*>(*ppList);
777
+ if(pColorList){
778
+ *ptr=reinterpret_cast<void*>(pColorList);
779
+ return SWIG_TypeQuery("FXColorList *");
780
+ }
781
+ return 0;
782
+ }
783
+
784
+ FXColorItem *new_FXColorItem(FXString const &text,FXColor clr,void *ITEMDATA){
785
+ return new FXRbColorItem(text,clr,ITEMDATA);
786
+ }
787
+
788
+ swig_class cFXColorItem;
789
+ static void free_FXColorItem(FXColorItem *);
790
+ FXColorList *new_FXColorList(FXComposite *p,FXObject *tgt,FXSelector sel,FXuint opts,FXint x,FXint y,FXint w,FXint h){
791
+ return new FXRbColorList(p,tgt,sel,opts,x,y,w,h);
792
+ }
793
+ VALUE FXColorList_position__SWIG_1(FXColorList const *self){
794
+ FXint x, y;
795
+ self->getPosition(x, y);
796
+ VALUE pos = rb_ary_new();
797
+ rb_ary_push(pos, INT2NUM(x));
798
+ rb_ary_push(pos, INT2NUM(y));
799
+ return pos;
800
+ }
801
+
802
+ swig_class cFXColorList;
803
+ static void free_FXColorList(FXColorList *);
804
+ #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
805
+ static VALUE _wrap_FXListItem_allocate(VALUE self) {
806
+ #else
807
+ static VALUE _wrap_FXListItem_allocate(int argc, VALUE *argv, VALUE self) {
808
+ #endif
809
+ VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXListItem);
810
+ #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
811
+ rb_obj_call_init(vresult, argc, argv);
812
+ #endif
813
+ return vresult; }
814
+ static VALUE _wrap_new_FXListItem(int argc, VALUE *argv, VALUE self) { FXString *arg1 = 0 ; FXIcon *arg2 = (FXIcon *) 0 ;
815
+ void *arg3 = (void *) 0 ; FXListItem *result; SwigValueWrapper<FXString > p1 ; if ((argc < 1) || (argc > 3))
816
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); p1 = to_FXString(argv[0]); arg1 = &p1; if (argc > 1) {
817
+ SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_FXIcon, 1); } if (argc > 2) {
818
+ arg3 = (argv[2] == Qnil) ? NULL : (void *) argv[2]; } {
819
+ result = (FXListItem *)new_FXListItem((FXString const &)*arg1,arg2,arg3);
820
+ DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
821
+ static VALUE _wrap_FXListItem_getText(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 0 ;
822
+ FXString *result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
823
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
824
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXListItem, 1); {
825
+ FXString const &_result_ref = ((FXListItem const *)arg1)->getText(); result = (FXString *) &_result_ref; }
826
+ vresult = rb_str_new2(result->text()); return vresult; }
827
+ static VALUE _wrap_FXListItem_getIcon(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 0 ; FXIcon *result;
828
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
829
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXListItem, 1); result = (FXIcon *)((FXListItem const *)arg1)->getIcon();
830
+ { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXIcon, (void **) &result); vresult = FXRbGetRubyObj(result, ty); }
831
+ return vresult; }
832
+ static VALUE _wrap_FXListItem_setData(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 0 ; VALUE arg2 ;
833
+ if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
834
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXListItem, 1); arg2 = argv[0]; FXListItem_setData(arg1,arg2);
835
+ return Qnil; }
836
+ static VALUE _wrap_FXListItem_getData(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 0 ; VALUE result;
837
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
838
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXListItem, 1);
839
+ result = (VALUE)FXListItem_getData((FXListItem const *)arg1); vresult = result; return vresult; }
840
+ static VALUE _wrap_FXListItem_hasFocus(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 0 ; FXbool result;
841
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
842
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXListItem, 1); result = (FXbool)((FXListItem const *)arg1)->hasFocus();
843
+ vresult = result ? Qtrue : Qfalse; return vresult; }
844
+ static VALUE _wrap_FXListItem_isSelected(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 0 ;
845
+ FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
846
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
847
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXListItem, 1); result = (FXbool)((FXListItem const *)arg1)->isSelected();
848
+ vresult = result ? Qtrue : Qfalse; return vresult; }
849
+ static VALUE _wrap_FXListItem_isEnabled(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 0 ;
850
+ FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
851
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
852
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXListItem, 1); result = (FXbool)((FXListItem const *)arg1)->isEnabled();
853
+ vresult = result ? Qtrue : Qfalse; return vresult; }
854
+ static VALUE _wrap_FXListItem_isDraggable(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 0 ;
855
+ FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
856
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
857
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXListItem, 1);
858
+ result = (FXbool)((FXListItem const *)arg1)->isDraggable(); vresult = result ? Qtrue : Qfalse; return vresult; }
859
+ static void
860
+ free_FXListItem(FXListItem *arg1) {
861
+ delete arg1;
862
+ }
863
+ static VALUE _wrap_FXListItem_save(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 0 ;
864
+ FXStream *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
865
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXListItem, 1);
866
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
867
+ FXListItem_save((FXListItem const *)arg1,*arg2); return Qnil; }
868
+ static VALUE _wrap_FXListItem_load(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 0 ;
869
+ FXStream *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
870
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXListItem, 1);
871
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
872
+ FXListItem_load(arg1,*arg2); return Qnil; }
873
+ static VALUE _wrap_FXListItem_setText(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 0 ;
874
+ FXString *arg2 = 0 ; SwigValueWrapper<FXString > p2 ; if ((argc < 1) || (argc > 1))
875
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
876
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXListItem, 1); p2 = to_FXString(argv[0]); arg2 = &p2;
877
+ FXListItem_setText(arg1,(FXString const &)*arg2); return Qnil; }
878
+ static VALUE _wrap_FXListItem_setIcon(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 0 ;
879
+ FXIcon *arg2 = (FXIcon *) 0 ; FXbool arg3 = (FXbool) 0 ; if ((argc < 1) || (argc > 2))
880
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
881
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXListItem, 1);
882
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXIcon, 1); if (argc > 1) { arg3 = to_FXbool(argv[1]); }
883
+ FXListItem_setIcon(arg1,arg2,arg3); return Qnil; }
884
+ static VALUE _wrap_FXListItem_setFocus(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 0 ; FXbool arg2 ;
885
+ if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
886
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXListItem, 1); arg2 = to_FXbool(argv[0]); FXListItem_setFocus(arg1,arg2);
887
+ return Qnil; }
888
+ static VALUE _wrap_FXListItem_setSelected(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 0 ;
889
+ FXbool arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
890
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXListItem, 1); arg2 = to_FXbool(argv[0]);
891
+ FXListItem_setSelected(arg1,arg2); return Qnil; }
892
+ static VALUE _wrap_FXListItem_setEnabled(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 0 ;
893
+ FXbool arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
894
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXListItem, 1); arg2 = to_FXbool(argv[0]);
895
+ FXListItem_setEnabled(arg1,arg2); return Qnil; }
896
+ static VALUE _wrap_FXListItem_setDraggable(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 0 ;
897
+ FXbool arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
898
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXListItem, 1); arg2 = to_FXbool(argv[0]);
899
+ FXListItem_setDraggable(arg1,arg2); return Qnil; }
900
+ static VALUE _wrap_FXListItem_getWidth(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 0 ;
901
+ FXList *arg2 = (FXList *) 0 ; FXint result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
902
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
903
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXListItem, 1);
904
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXList, 1);
905
+ result = (FXint)FXListItem_getWidth((FXListItem const *)arg1,(FXList const *)arg2); vresult = INT2NUM(result);
906
+ return vresult; }
907
+ static VALUE _wrap_FXListItem_getHeight(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 0 ;
908
+ FXList *arg2 = (FXList *) 0 ; FXint result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
909
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
910
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXListItem, 1);
911
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXList, 1);
912
+ result = (FXint)FXListItem_getHeight((FXListItem const *)arg1,(FXList const *)arg2); vresult = INT2NUM(result);
913
+ return vresult; }
914
+ static VALUE _wrap_FXListItem_create(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 0 ;
915
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
916
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXListItem, 1); FXListItem_create(arg1); return Qnil; }
917
+ static VALUE _wrap_FXListItem_detach(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 0 ;
918
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
919
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXListItem, 1); FXListItem_detach(arg1); return Qnil; }
920
+ static VALUE _wrap_FXListItem_destroy(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 0 ;
921
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
922
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXListItem, 1); FXListItem_destroy(arg1); return Qnil; }
923
+ static VALUE _wrap_FXList_onPaint(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
924
+ FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; long result; VALUE vresult = Qnil;
925
+ if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
926
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
927
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]);
928
+ result = (long)(arg1)->onPaint(arg2,arg3,arg4); vresult = INT2NUM(result); return vresult; }
929
+ static VALUE _wrap_FXList_onEnter(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
930
+ FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; long result; VALUE vresult = Qnil;
931
+ if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
932
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
933
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]);
934
+ result = (long)(arg1)->onEnter(arg2,arg3,arg4); vresult = INT2NUM(result); return vresult; }
935
+ static VALUE _wrap_FXList_onLeave(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
936
+ FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; long result; VALUE vresult = Qnil;
937
+ if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
938
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
939
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]);
940
+ result = (long)(arg1)->onLeave(arg2,arg3,arg4); vresult = INT2NUM(result); return vresult; }
941
+ static VALUE _wrap_FXList_onUngrabbed(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
942
+ FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; long result; VALUE vresult = Qnil;
943
+ if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
944
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
945
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]);
946
+ result = (long)(arg1)->onUngrabbed(arg2,arg3,arg4); vresult = INT2NUM(result); return vresult; }
947
+ static VALUE _wrap_FXList_onKeyPress(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
948
+ FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; long result; VALUE vresult = Qnil;
949
+ if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
950
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
951
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]);
952
+ result = (long)(arg1)->onKeyPress(arg2,arg3,arg4); vresult = INT2NUM(result); return vresult; }
953
+ static VALUE _wrap_FXList_onKeyRelease(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
954
+ FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; long result; VALUE vresult = Qnil;
955
+ if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
956
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
957
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]);
958
+ result = (long)(arg1)->onKeyRelease(arg2,arg3,arg4); vresult = INT2NUM(result); return vresult; }
959
+ static VALUE _wrap_FXList_onLeftBtnPress(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
960
+ FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; long result; VALUE vresult = Qnil;
961
+ if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
962
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
963
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]);
964
+ result = (long)(arg1)->onLeftBtnPress(arg2,arg3,arg4); vresult = INT2NUM(result); return vresult; }
965
+ static VALUE _wrap_FXList_onLeftBtnRelease(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
966
+ FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; long result; VALUE vresult = Qnil;
967
+ if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
968
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
969
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]);
970
+ result = (long)(arg1)->onLeftBtnRelease(arg2,arg3,arg4); vresult = INT2NUM(result); return vresult; }
971
+ static VALUE _wrap_FXList_onRightBtnPress(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
972
+ FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; long result; VALUE vresult = Qnil;
973
+ if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
974
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
975
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]);
976
+ result = (long)(arg1)->onRightBtnPress(arg2,arg3,arg4); vresult = INT2NUM(result); return vresult; }
977
+ static VALUE _wrap_FXList_onRightBtnRelease(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
978
+ FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; long result; VALUE vresult = Qnil;
979
+ if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
980
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
981
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]);
982
+ result = (long)(arg1)->onRightBtnRelease(arg2,arg3,arg4); vresult = INT2NUM(result); return vresult; }
983
+ static VALUE _wrap_FXList_onMotion(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
984
+ FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; long result; VALUE vresult = Qnil;
985
+ if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
986
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
987
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]);
988
+ result = (long)(arg1)->onMotion(arg2,arg3,arg4); vresult = INT2NUM(result); return vresult; }
989
+ static VALUE _wrap_FXList_onFocusIn(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
990
+ FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; long result; VALUE vresult = Qnil;
991
+ if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
992
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
993
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]);
994
+ result = (long)(arg1)->onFocusIn(arg2,arg3,arg4); vresult = INT2NUM(result); return vresult; }
995
+ static VALUE _wrap_FXList_onFocusOut(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
996
+ FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; long result; VALUE vresult = Qnil;
997
+ if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
998
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
999
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]);
1000
+ result = (long)(arg1)->onFocusOut(arg2,arg3,arg4); vresult = INT2NUM(result); return vresult; }
1001
+ static VALUE _wrap_FXList_onAutoScroll(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1002
+ FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; long result; VALUE vresult = Qnil;
1003
+ if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
1004
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1005
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]);
1006
+ result = (long)(arg1)->onAutoScroll(arg2,arg3,arg4); vresult = INT2NUM(result); return vresult; }
1007
+ static VALUE _wrap_FXList_onClicked(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1008
+ FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; long result; VALUE vresult = Qnil;
1009
+ if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
1010
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1011
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]);
1012
+ arg4 = reinterpret_cast<void*>(NUM2INT(argv[2])); result = (long)(arg1)->onClicked(arg2,arg3,arg4);
1013
+ vresult = INT2NUM(result); return vresult; }
1014
+ static VALUE _wrap_FXList_onDoubleClicked(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1015
+ FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; long result; VALUE vresult = Qnil;
1016
+ if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
1017
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1018
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]);
1019
+ arg4 = reinterpret_cast<void*>(NUM2INT(argv[2])); result = (long)(arg1)->onDoubleClicked(arg2,arg3,arg4);
1020
+ vresult = INT2NUM(result); return vresult; }
1021
+ static VALUE _wrap_FXList_onTripleClicked(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1022
+ FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; long result; VALUE vresult = Qnil;
1023
+ if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
1024
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1025
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]);
1026
+ arg4 = reinterpret_cast<void*>(NUM2INT(argv[2])); result = (long)(arg1)->onTripleClicked(arg2,arg3,arg4);
1027
+ vresult = INT2NUM(result); return vresult; }
1028
+ static VALUE _wrap_FXList_onCommand(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1029
+ FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; long result; VALUE vresult = Qnil;
1030
+ if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
1031
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1032
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]);
1033
+ arg4 = reinterpret_cast<void*>(NUM2INT(argv[2])); result = (long)(arg1)->onCommand(arg2,arg3,arg4);
1034
+ vresult = INT2NUM(result); return vresult; }
1035
+ static VALUE _wrap_FXList_onQueryTip(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1036
+ FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; long result; VALUE vresult = Qnil;
1037
+ if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
1038
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1039
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]); arg4 = 0;
1040
+ result = (long)(arg1)->onQueryTip(arg2,arg3,arg4); vresult = INT2NUM(result); return vresult; }
1041
+ static VALUE _wrap_FXList_onQueryHelp(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1042
+ FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; long result; VALUE vresult = Qnil;
1043
+ if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
1044
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1045
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]); arg4 = 0;
1046
+ result = (long)(arg1)->onQueryHelp(arg2,arg3,arg4); vresult = INT2NUM(result); return vresult; }
1047
+ static VALUE _wrap_FXList_onTipTimer(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1048
+ FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; long result; VALUE vresult = Qnil;
1049
+ if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
1050
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1051
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]); arg4 = 0;
1052
+ result = (long)(arg1)->onTipTimer(arg2,arg3,arg4); vresult = INT2NUM(result); return vresult; }
1053
+ static VALUE _wrap_FXList_onLookupTimer(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1054
+ FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; long result; VALUE vresult = Qnil;
1055
+ if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
1056
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1057
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]); arg4 = 0;
1058
+ result = (long)(arg1)->onLookupTimer(arg2,arg3,arg4); vresult = INT2NUM(result); return vresult; }
1059
+ static VALUE _wrap_FXList_onCmdSetValue(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1060
+ FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; long result; VALUE vresult = Qnil;
1061
+ if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
1062
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1063
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]);
1064
+ arg4 = reinterpret_cast<void*>(NUM2INT(argv[2])); result = (long)(arg1)->onCmdSetValue(arg2,arg3,arg4);
1065
+ vresult = INT2NUM(result); return vresult; }
1066
+ static VALUE _wrap_FXList_onCmdGetIntValue(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1067
+ FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; long result; VALUE vresult = Qnil;
1068
+ if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
1069
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1070
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]); arg4 = 0;
1071
+ result = (long)(arg1)->onCmdGetIntValue(arg2,arg3,arg4); vresult = INT2NUM(result); return vresult; }
1072
+ static VALUE _wrap_FXList_onCmdSetIntValue(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1073
+ FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; long result; FXint value4 ;
1074
+ VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
1075
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1076
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXObject, 1); arg3 = NUM2UINT(argv[1]); {
1077
+ value4 = (FXint) NUM2INT(argv[2]); arg4 = static_cast<void*>(&value4); }
1078
+ result = (long)(arg1)->onCmdSetIntValue(arg2,arg3,arg4); vresult = INT2NUM(result); return vresult; }
1079
+ static VALUE _wrap_FXList_ascending(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 0 ;
1080
+ FXListItem *arg2 = (FXListItem *) 0 ; FXint result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
1081
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
1082
+ SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXListItem, 1);
1083
+ SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_FXListItem, 1);
1084
+ result = (FXint)FXList::ascending((FXListItem const *)arg1,(FXListItem const *)arg2); vresult = INT2NUM(result);
1085
+ return vresult; }
1086
+ static VALUE _wrap_FXList_descending(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 0 ;
1087
+ FXListItem *arg2 = (FXListItem *) 0 ; FXint result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
1088
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
1089
+ SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXListItem, 1);
1090
+ SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_FXListItem, 1);
1091
+ result = (FXint)FXList::descending((FXListItem const *)arg1,(FXListItem const *)arg2); vresult = INT2NUM(result);
1092
+ return vresult; }
1093
+ static VALUE _wrap_FXList_ascendingCase(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 0 ;
1094
+ FXListItem *arg2 = (FXListItem *) 0 ; FXint result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
1095
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
1096
+ SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXListItem, 1);
1097
+ SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_FXListItem, 1);
1098
+ result = (FXint)FXList::ascendingCase((FXListItem const *)arg1,(FXListItem const *)arg2); vresult = INT2NUM(result);
1099
+ return vresult; }
1100
+ static VALUE _wrap_FXList_descendingCase(int argc, VALUE *argv, VALUE self) { FXListItem *arg1 = (FXListItem *) 0 ;
1101
+ FXListItem *arg2 = (FXListItem *) 0 ; FXint result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
1102
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
1103
+ SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXListItem, 1);
1104
+ SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_FXListItem, 1);
1105
+ result = (FXint)FXList::descendingCase((FXListItem const *)arg1,(FXListItem const *)arg2); vresult = INT2NUM(result);
1106
+ return vresult; }
1107
+ #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
1108
+ static VALUE _wrap_FXList_allocate(VALUE self) {
1109
+ #else
1110
+ static VALUE _wrap_FXList_allocate(int argc, VALUE *argv, VALUE self) {
1111
+ #endif
1112
+ VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXList);
1113
+ #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
1114
+ rb_obj_call_init(vresult, argc, argv);
1115
+ #endif
1116
+ return vresult; }
1117
+ static VALUE _wrap_new_FXList(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ;
1118
+ FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 = (FXSelector) 0 ; FXuint arg4 = (FXuint) LIST_NORMAL ;
1119
+ FXint arg5 = (FXint) 0 ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 0 ; FXint arg8 = (FXint) 0 ; FXList *result;
1120
+ if ((argc < 1) || (argc > 8)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1121
+ SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXComposite, 1); if (argc > 1) {
1122
+ SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_FXObject, 1); } if (argc > 2) { arg3 = NUM2UINT(argv[2]); }
1123
+ if (argc > 3) { arg4 = NUM2UINT(argv[3]); } if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) {
1124
+ arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); } {
1125
+ result = (FXList *)new_FXList(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1126
+ DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
1127
+ static VALUE _wrap_FXList_getNumItems(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint result;
1128
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1129
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); result = (FXint)((FXList const *)arg1)->getNumItems();
1130
+ vresult = INT2NUM(result); return vresult; }
1131
+ static VALUE _wrap_FXList_getNumVisible(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint result;
1132
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1133
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); result = (FXint)((FXList const *)arg1)->getNumVisible();
1134
+ vresult = INT2NUM(result); return vresult; }
1135
+ static VALUE _wrap_FXList_setNumVisible(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ;
1136
+ if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1137
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); arg2 = NUM2INT(argv[0]); (arg1)->setNumVisible(arg2);
1138
+ return Qnil; }
1139
+ static VALUE _wrap_FXList_getItem(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ;
1140
+ FXListItem *result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
1141
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1142
+ arg2 = NUM2INT(argv[0]); { if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
1143
+ rb_raise(rb_eIndexError, "list item index out of bounds"); } }
1144
+ result = (FXListItem *)((FXList const *)arg1)->getItem(arg2); {
1145
+ swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXListItem, (void **) &result);
1146
+ vresult = FXRbGetRubyObj(result, ty); } return vresult; }
1147
+ static VALUE _wrap_FXList_setItem__SWIG_0(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ;
1148
+ FXListItem *arg3 = (FXListItem *) 0 ; FXbool arg4 = (FXbool) 0 ; FXint result; VALUE vresult = Qnil;
1149
+ if ((argc < 2) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
1150
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); arg2 = NUM2INT(argv[0]);
1151
+ SWIG_ConvertPtr(argv[1], (void **) &arg3, SWIGTYPE_p_FXListItem, 1); if (argc > 2) { arg4 = to_FXbool(argv[2]); } {
1152
+ if (arg2 < 0 || arg2 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "list item index out of bounds"); } }
1153
+ result = (FXint)FXList_setItem__SWIG_0(arg1,arg2,arg3,arg4); vresult = INT2NUM(result); return vresult; }
1154
+ static VALUE _wrap_FXList_setItem__SWIG_1(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ;
1155
+ FXString *arg3 = 0 ; FXIcon *arg4 = (FXIcon *) 0 ; void *arg5 = (void *) 0 ; FXbool arg6 = (FXbool) 0 ; FXint result;
1156
+ SwigValueWrapper<FXString > p3 ; VALUE vresult = Qnil; if ((argc < 2) || (argc > 5))
1157
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1158
+ arg2 = NUM2INT(argv[0]); p3 = to_FXString(argv[1]); arg3 = &p3; if (argc > 2) {
1159
+ SWIG_ConvertPtr(argv[2], (void **) &arg4, SWIGTYPE_p_FXIcon, 1); } if (argc > 3) {
1160
+ arg5 = (argv[3] == Qnil) ? NULL : (void *) argv[3]; } if (argc > 4) { arg6 = to_FXbool(argv[4]); } {
1161
+ if (arg2 < 0 || arg2 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "list item index out of bounds"); } }
1162
+ result = (FXint)FXList_setItem__SWIG_1(arg1,arg2,(FXString const &)*arg3,arg4,arg5,arg6); vresult = INT2NUM(result);
1163
+ return vresult; }
1164
+ static VALUE _wrap_FXList_setItem(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[7]; int ii; argc = nargs + 1;
1165
+ argv[0] = self; for (ii = 1; (ii < argc) && (ii < 6); ii++) { argv[ii] = args[ii-1]; } if ((argc >= 3) && (argc <= 4)) {
1166
+ int _v; { void *ptr;
1167
+ _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXList, 0) != -1)) ? 1 : 0; }
1168
+ if (_v) { { _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0; } if (_v) { { void *ptr;
1169
+ _v = (NIL_P(argv[2]) || (TYPE(argv[2]) == T_DATA && SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_FXListItem, 0) != -1)) ? 1 : 0; }
1170
+ if (_v) { if (argc <= 3) { return _wrap_FXList_setItem__SWIG_0(nargs, args, self);} {
1171
+ _v = (argv[3] == Qtrue || argv[3] == Qfalse) ? 1 : 0; } if (_v) {
1172
+ return _wrap_FXList_setItem__SWIG_0(nargs, args, self);} } } } } if ((argc >= 3) && (argc <= 6)) {
1173
+ int _v; { void *ptr;
1174
+ _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXList, 0) != -1)) ? 1 : 0; }
1175
+ if (_v) { { _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
1176
+ _v = (NIL_P(argv[2]) || TYPE(argv[2]) == T_STRING) ? 1 : 0; } if (_v) { if (argc <= 3) {
1177
+ return _wrap_FXList_setItem__SWIG_1(nargs, args, self);} { void *ptr;
1178
+ _v = (NIL_P(argv[3]) || (TYPE(argv[3]) == T_DATA && SWIG_ConvertPtr(argv[3], &ptr, SWIGTYPE_p_FXIcon, 0) != -1)) ? 1 : 0; }
1179
+ if (_v) { if (argc <= 4) { return _wrap_FXList_setItem__SWIG_1(nargs, args, self);} { _v = 1; } if (_v) {
1180
+ if (argc <= 5) { return _wrap_FXList_setItem__SWIG_1(nargs, args, self);} {
1181
+ _v = (argv[5] == Qtrue || argv[5] == Qfalse) ? 1 : 0; } if (_v) {
1182
+ return _wrap_FXList_setItem__SWIG_1(nargs, args, self);} } } } } } }
1183
+ rb_raise(rb_eArgError, "No matching function for overloaded 'FXList_setItem'"); return Qnil; }
1184
+ static VALUE _wrap_FXList_fillItems(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1185
+ FXchar **arg2 = (FXchar **) 0 ; FXIcon *arg3 = (FXIcon *) 0 ; void *arg4 = (void *) 0 ; FXbool arg5 = (FXbool) 0 ;
1186
+ FXint result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 4))
1187
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1188
+ { arg2 = NULL; if(!NIL_P(argv[0])){ Check_Type(argv[0], T_ARRAY); if (FXMALLOC(&arg2, FXchar *, RARRAY_LEN(argv[0]))+1) {
1189
+ for (long i = 0; i < RARRAY_LEN(argv[0]); i++) { VALUE e = rb_ary_entry(argv[0], i);
1190
+ arg2[i] = (FXchar *) StringValuePtr(e); } arg2[RARRAY_LEN(argv[0])] = 0; } } } if (argc > 1) {
1191
+ SWIG_ConvertPtr(argv[1], (void **) &arg3, SWIGTYPE_p_FXIcon, 1); } if (argc > 2) {
1192
+ SWIG_ConvertPtr(argv[2], (void **) &arg4, 0, 1); } if (argc > 3) { arg5 = to_FXbool(argv[3]); }
1193
+ result = (FXint)(arg1)->fillItems((FXchar const **)arg2,arg3,arg4,arg5); vresult = INT2NUM(result); FXFREE(&arg2);
1194
+ return vresult; }
1195
+ static VALUE _wrap_FXList_insertItem__SWIG_0(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ;
1196
+ FXListItem *arg3 = (FXListItem *) 0 ; FXbool arg4 = (FXbool) 0 ; FXint result; VALUE vresult = Qnil;
1197
+ if ((argc < 2) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
1198
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); arg2 = NUM2INT(argv[0]);
1199
+ SWIG_ConvertPtr(argv[1], (void **) &arg3, SWIGTYPE_p_FXListItem, 1); if (argc > 2) { arg4 = to_FXbool(argv[2]); } {
1200
+ if (arg2 < 0 || arg2 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "list item index out of bounds"); } }
1201
+ result = (FXint)FXList_insertItem__SWIG_0(arg1,arg2,arg3,arg4); vresult = INT2NUM(result); return vresult; }
1202
+ static VALUE _wrap_FXList_insertItem__SWIG_1(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ;
1203
+ FXString *arg3 = 0 ; FXIcon *arg4 = (FXIcon *) 0 ; void *arg5 = (void *) 0 ; FXbool arg6 = (FXbool) 0 ; FXint result;
1204
+ SwigValueWrapper<FXString > p3 ; VALUE vresult = Qnil; if ((argc < 2) || (argc > 5))
1205
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1206
+ arg2 = NUM2INT(argv[0]); p3 = to_FXString(argv[1]); arg3 = &p3; if (argc > 2) {
1207
+ SWIG_ConvertPtr(argv[2], (void **) &arg4, SWIGTYPE_p_FXIcon, 1); } if (argc > 3) {
1208
+ arg5 = (argv[3] == Qnil) ? NULL : (void *) argv[3]; } if (argc > 4) { arg6 = to_FXbool(argv[4]); } {
1209
+ if (arg2 < 0 || arg2 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "list item index out of bounds"); } }
1210
+ result = (FXint)(arg1)->insertItem(arg2,(FXString const &)*arg3,arg4,arg5,arg6); vresult = INT2NUM(result); return vresult; }
1211
+ static VALUE _wrap_FXList_insertItem(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[7]; int ii; argc = nargs + 1;
1212
+ argv[0] = self; for (ii = 1; (ii < argc) && (ii < 6); ii++) { argv[ii] = args[ii-1]; } if ((argc >= 3) && (argc <= 4)) {
1213
+ int _v; { void *ptr;
1214
+ _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXList, 0) != -1)) ? 1 : 0; }
1215
+ if (_v) { { _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0; } if (_v) { { void *ptr;
1216
+ _v = (NIL_P(argv[2]) || (TYPE(argv[2]) == T_DATA && SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_FXListItem, 0) != -1)) ? 1 : 0; }
1217
+ if (_v) { if (argc <= 3) { return _wrap_FXList_insertItem__SWIG_0(nargs, args, self);} {
1218
+ _v = (argv[3] == Qtrue || argv[3] == Qfalse) ? 1 : 0; } if (_v) {
1219
+ return _wrap_FXList_insertItem__SWIG_0(nargs, args, self);} } } } }
1220
+ if ((argc >= 3) && (argc <= 6)) { int _v; { void *ptr;
1221
+ _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXList, 0) != -1)) ? 1 : 0; }
1222
+ if (_v) { { _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
1223
+ _v = (NIL_P(argv[2]) || TYPE(argv[2]) == T_STRING) ? 1 : 0; } if (_v) { if (argc <= 3) {
1224
+ return _wrap_FXList_insertItem__SWIG_1(nargs, args, self);} { void *ptr;
1225
+ _v = (NIL_P(argv[3]) || (TYPE(argv[3]) == T_DATA && SWIG_ConvertPtr(argv[3], &ptr, SWIGTYPE_p_FXIcon, 0) != -1)) ? 1 : 0; }
1226
+ if (_v) { if (argc <= 4) { return _wrap_FXList_insertItem__SWIG_1(nargs, args, self);} { _v = 1; }
1227
+ if (_v) { if (argc <= 5) { return _wrap_FXList_insertItem__SWIG_1(nargs, args, self);} {
1228
+ _v = (argv[5] == Qtrue || argv[5] == Qfalse) ? 1 : 0; } if (_v) {
1229
+ return _wrap_FXList_insertItem__SWIG_1(nargs, args, self);} } } } } } }
1230
+ rb_raise(rb_eArgError, "No matching function for overloaded 'FXList_insertItem'"); return Qnil; }
1231
+ static VALUE _wrap_FXList_appendItem__SWIG_0(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1232
+ FXListItem *arg2 = (FXListItem *) 0 ; FXbool arg3 = (FXbool) 0 ; FXint result; VALUE vresult = Qnil;
1233
+ if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1234
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1235
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXListItem, 1); if (argc > 1) { arg3 = to_FXbool(argv[1]); }
1236
+ result = (FXint)FXList_appendItem__SWIG_0(arg1,arg2,arg3); vresult = INT2NUM(result); return vresult; }
1237
+ static VALUE _wrap_FXList_appendItem__SWIG_1(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1238
+ FXString *arg2 = 0 ; FXIcon *arg3 = (FXIcon *) 0 ; void *arg4 = (void *) 0 ; FXbool arg5 = (FXbool) 0 ; FXint result;
1239
+ SwigValueWrapper<FXString > p2 ; VALUE vresult = Qnil; if ((argc < 1) || (argc > 4))
1240
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1241
+ p2 = to_FXString(argv[0]); arg2 = &p2; if (argc > 1) { SWIG_ConvertPtr(argv[1], (void **) &arg3, SWIGTYPE_p_FXIcon, 1); }
1242
+ if (argc > 2) { arg4 = (argv[2] == Qnil) ? NULL : (void *) argv[2]; } if (argc > 3) { arg5 = to_FXbool(argv[3]); }
1243
+ result = (FXint)(arg1)->appendItem((FXString const &)*arg2,arg3,arg4,arg5); vresult = INT2NUM(result); return vresult; }
1244
+ static VALUE _wrap_FXList_appendItem(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[6]; int ii; argc = nargs + 1;
1245
+ argv[0] = self; for (ii = 1; (ii < argc) && (ii < 5); ii++) { argv[ii] = args[ii-1]; } if ((argc >= 2) && (argc <= 3)) {
1246
+ int _v; { void *ptr;
1247
+ _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXList, 0) != -1)) ? 1 : 0; }
1248
+ if (_v) { { void *ptr;
1249
+ _v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXListItem, 0) != -1)) ? 1 : 0; }
1250
+ if (_v) { if (argc <= 2) { return _wrap_FXList_appendItem__SWIG_0(nargs, args, self);} {
1251
+ _v = (argv[2] == Qtrue || argv[2] == Qfalse) ? 1 : 0; } if (_v) {
1252
+ return _wrap_FXList_appendItem__SWIG_0(nargs, args, self);} } } } if ((argc >= 2) && (argc <= 5)) {
1253
+ int _v; { void *ptr;
1254
+ _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXList, 0) != -1)) ? 1 : 0; }
1255
+ if (_v) { { _v = (NIL_P(argv[1]) || TYPE(argv[1]) == T_STRING) ? 1 : 0; } if (_v) { if (argc <= 2) {
1256
+ return _wrap_FXList_appendItem__SWIG_1(nargs, args, self);} { void *ptr;
1257
+ _v = (NIL_P(argv[2]) || (TYPE(argv[2]) == T_DATA && SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_FXIcon, 0) != -1)) ? 1 : 0; }
1258
+ if (_v) { if (argc <= 3) { return _wrap_FXList_appendItem__SWIG_1(nargs, args, self);} { _v = 1; } if (_v) {
1259
+ if (argc <= 4) { return _wrap_FXList_appendItem__SWIG_1(nargs, args, self);} {
1260
+ _v = (argv[4] == Qtrue || argv[4] == Qfalse) ? 1 : 0; } if (_v) {
1261
+ return _wrap_FXList_appendItem__SWIG_1(nargs, args, self);} } } } } }
1262
+ rb_raise(rb_eArgError, "No matching function for overloaded 'FXList_appendItem'"); return Qnil; }
1263
+ static VALUE _wrap_FXList_prependItem__SWIG_0(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1264
+ FXListItem *arg2 = (FXListItem *) 0 ; FXbool arg3 = (FXbool) 0 ; FXint result; VALUE vresult = Qnil;
1265
+ if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1266
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1267
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXListItem, 1); if (argc > 1) { arg3 = to_FXbool(argv[1]); }
1268
+ result = (FXint)FXList_prependItem__SWIG_0(arg1,arg2,arg3); vresult = INT2NUM(result); return vresult; }
1269
+ static VALUE _wrap_FXList_prependItem__SWIG_1(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1270
+ FXString *arg2 = 0 ; FXIcon *arg3 = (FXIcon *) 0 ; void *arg4 = (void *) 0 ; FXbool arg5 = (FXbool) 0 ; FXint result;
1271
+ SwigValueWrapper<FXString > p2 ; VALUE vresult = Qnil; if ((argc < 1) || (argc > 4))
1272
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1273
+ p2 = to_FXString(argv[0]); arg2 = &p2; if (argc > 1) { SWIG_ConvertPtr(argv[1], (void **) &arg3, SWIGTYPE_p_FXIcon, 1); }
1274
+ if (argc > 2) { arg4 = (argv[2] == Qnil) ? NULL : (void *) argv[2]; } if (argc > 3) { arg5 = to_FXbool(argv[3]); }
1275
+ result = (FXint)(arg1)->prependItem((FXString const &)*arg2,arg3,arg4,arg5); vresult = INT2NUM(result); return vresult; }
1276
+ static VALUE _wrap_FXList_prependItem(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[6]; int ii; argc = nargs + 1;
1277
+ argv[0] = self; for (ii = 1; (ii < argc) && (ii < 5); ii++) { argv[ii] = args[ii-1]; } if ((argc >= 2) && (argc <= 3)) {
1278
+ int _v; { void *ptr;
1279
+ _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXList, 0) != -1)) ? 1 : 0; }
1280
+ if (_v) { { void *ptr;
1281
+ _v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXListItem, 0) != -1)) ? 1 : 0; }
1282
+ if (_v) { if (argc <= 2) { return _wrap_FXList_prependItem__SWIG_0(nargs, args, self);} {
1283
+ _v = (argv[2] == Qtrue || argv[2] == Qfalse) ? 1 : 0; } if (_v) {
1284
+ return _wrap_FXList_prependItem__SWIG_0(nargs, args, self);} } } } if ((argc >= 2) && (argc <= 5)) {
1285
+ int _v; { void *ptr;
1286
+ _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXList, 0) != -1)) ? 1 : 0; }
1287
+ if (_v) { { _v = (NIL_P(argv[1]) || TYPE(argv[1]) == T_STRING) ? 1 : 0; } if (_v) { if (argc <= 2) {
1288
+ return _wrap_FXList_prependItem__SWIG_1(nargs, args, self);} { void *ptr;
1289
+ _v = (NIL_P(argv[2]) || (TYPE(argv[2]) == T_DATA && SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_FXIcon, 0) != -1)) ? 1 : 0; }
1290
+ if (_v) { if (argc <= 3) { return _wrap_FXList_prependItem__SWIG_1(nargs, args, self);} { _v = 1; } if (_v) {
1291
+ if (argc <= 4) { return _wrap_FXList_prependItem__SWIG_1(nargs, args, self);} {
1292
+ _v = (argv[4] == Qtrue || argv[4] == Qfalse) ? 1 : 0; } if (_v) {
1293
+ return _wrap_FXList_prependItem__SWIG_1(nargs, args, self);} } } } } }
1294
+ rb_raise(rb_eArgError, "No matching function for overloaded 'FXList_prependItem'"); return Qnil; }
1295
+ static VALUE _wrap_FXList_moveItem(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ; FXint arg3 ;
1296
+ FXbool arg4 = (FXbool) 0 ; FXint result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 3))
1297
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1298
+ arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); if (argc > 2) { arg4 = to_FXbool(argv[2]); } {
1299
+ if (arg2 < 0 || arg2 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "list item index out of bounds"); } } {
1300
+ if (arg3 < 0 || arg3 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "list item index out of bounds"); } }
1301
+ result = (FXint)(arg1)->moveItem(arg2,arg3,arg4); vresult = INT2NUM(result); return vresult; }
1302
+ static VALUE _wrap_FXList_extractItem(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ;
1303
+ FXbool arg3 = (FXbool) 0 ; FXListItem *result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 2))
1304
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1305
+ arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } { if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
1306
+ rb_raise(rb_eIndexError, "list item index out of bounds"); } }
1307
+ result = (FXListItem *)(arg1)->extractItem(arg2,arg3); {
1308
+ swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXListItem, (void **) &result);
1309
+ vresult = FXRbGetRubyObj(result, ty); } return vresult; }
1310
+ static VALUE _wrap_FXList_removeItem(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ;
1311
+ FXbool arg3 = (FXbool) 0 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1312
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); arg2 = NUM2INT(argv[0]); if (argc > 1) {
1313
+ arg3 = to_FXbool(argv[1]); } { if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
1314
+ rb_raise(rb_eIndexError, "list item index out of bounds"); } } FXList_removeItem(arg1,arg2,arg3); return Qnil; }
1315
+ static VALUE _wrap_FXList_clearItems(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1316
+ FXbool arg2 = (FXbool) 0 ; if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1317
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); if (argc > 0) { arg2 = to_FXbool(argv[0]); }
1318
+ FXList_clearItems(arg1,arg2); return Qnil; }
1319
+ static VALUE _wrap_FXList_getItemWidth(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ;
1320
+ FXint result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
1321
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1322
+ arg2 = NUM2INT(argv[0]); { if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
1323
+ rb_raise(rb_eIndexError, "list item index out of bounds"); } }
1324
+ result = (FXint)((FXList const *)arg1)->getItemWidth(arg2); vresult = INT2NUM(result); return vresult; }
1325
+ static VALUE _wrap_FXList_getItemHeight(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ;
1326
+ FXint result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
1327
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1328
+ arg2 = NUM2INT(argv[0]); { if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
1329
+ rb_raise(rb_eIndexError, "list item index out of bounds"); } }
1330
+ result = (FXint)((FXList const *)arg1)->getItemHeight(arg2); vresult = INT2NUM(result); return vresult; }
1331
+ static VALUE _wrap_FXList_hitItem(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ; FXint arg3 ;
1332
+ FXint arg4 ; FXint result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3))
1333
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1334
+ arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); { if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
1335
+ rb_raise(rb_eIndexError, "list item index out of bounds"); } }
1336
+ result = (FXint)((FXList const *)arg1)->hitItem(arg2,arg3,arg4); vresult = INT2NUM(result); return vresult; }
1337
+ static VALUE _wrap_FXList_findItem(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXString *arg2 = 0 ;
1338
+ FXint arg3 = (FXint) -1 ; FXuint arg4 = (FXuint) SEARCH_FORWARD|SEARCH_WRAP ; FXint result; SwigValueWrapper<FXString > p2 ;
1339
+ VALUE vresult = Qnil; if ((argc < 1) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1340
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); p2 = to_FXString(argv[0]); arg2 = &p2; if (argc > 1) {
1341
+ arg3 = NUM2INT(argv[1]); } if (argc > 2) { arg4 = NUM2UINT(argv[2]); }
1342
+ result = (FXint)((FXList const *)arg1)->findItem((FXString const &)*arg2,arg3,arg4); vresult = INT2NUM(result);
1343
+ return vresult; }
1344
+ static VALUE _wrap_FXList_findItemByData(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1345
+ void *arg2 = (void *) 0 ; FXint arg3 = (FXint) -1 ; FXuint arg4 = (FXuint) SEARCH_FORWARD|SEARCH_WRAP ; FXint result;
1346
+ VALUE vresult = Qnil; if ((argc < 1) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1347
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); arg2 = (argv[0] == Qnil) ? NULL : (void *) argv[0];
1348
+ if (argc > 1) { arg3 = NUM2INT(argv[1]); } if (argc > 2) { arg4 = NUM2UINT(argv[2]); }
1349
+ result = (FXint)((FXList const *)arg1)->findItemByData((void const *)arg2,arg3,arg4); vresult = INT2NUM(result);
1350
+ return vresult; }
1351
+ static VALUE _wrap_FXList_makeItemVisible__SWIG_0(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1352
+ FXListItem *arg2 = (FXListItem *) 0 ; if ((argc < 1) || (argc > 1))
1353
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1354
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXListItem, 1); FXList_makeItemVisible__SWIG_0(arg1,arg2);
1355
+ return Qnil; }
1356
+ static VALUE _wrap_FXList_setItemText(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ;
1357
+ FXString *arg3 = 0 ; SwigValueWrapper<FXString > p3 ; if ((argc < 2) || (argc > 2))
1358
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1359
+ arg2 = NUM2INT(argv[0]); p3 = to_FXString(argv[1]); arg3 = &p3; { if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
1360
+ rb_raise(rb_eIndexError, "list item index out of bounds"); } } (arg1)->setItemText(arg2,(FXString const &)*arg3);
1361
+ return Qnil; }
1362
+ static VALUE _wrap_FXList_getItemText(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ;
1363
+ FXString result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
1364
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1365
+ arg2 = NUM2INT(argv[0]); { if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
1366
+ rb_raise(rb_eIndexError, "list item index out of bounds"); } } result = ((FXList const *)arg1)->getItemText(arg2);
1367
+ vresult = rb_str_new2((&result)->text()); return vresult; }
1368
+ static VALUE _wrap_FXList_setItemIcon(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ;
1369
+ FXIcon *arg3 = (FXIcon *) 0 ; FXbool arg4 = (FXbool) 0 ; if ((argc < 2) || (argc > 3))
1370
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1371
+ arg2 = NUM2INT(argv[0]); SWIG_ConvertPtr(argv[1], (void **) &arg3, SWIGTYPE_p_FXIcon, 1); if (argc > 2) {
1372
+ arg4 = to_FXbool(argv[2]); } { if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
1373
+ rb_raise(rb_eIndexError, "list item index out of bounds"); } } (arg1)->setItemIcon(arg2,arg3,arg4); return Qnil; }
1374
+ static VALUE _wrap_FXList_getItemIcon(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ;
1375
+ FXIcon *result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
1376
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1377
+ arg2 = NUM2INT(argv[0]); { if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
1378
+ rb_raise(rb_eIndexError, "list item index out of bounds"); } }
1379
+ result = (FXIcon *)((FXList const *)arg1)->getItemIcon(arg2); {
1380
+ swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXIcon, (void **) &result); vresult = FXRbGetRubyObj(result, ty); }
1381
+ return vresult; }
1382
+ static VALUE _wrap_FXList_setItemData(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ;
1383
+ VALUE arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
1384
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); arg2 = NUM2INT(argv[0]); arg3 = argv[1]; {
1385
+ if (arg2 < 0 || arg2 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "list item index out of bounds"); } }
1386
+ FXList_setItemData(arg1,arg2,arg3); return Qnil; }
1387
+ static VALUE _wrap_FXList_getItemData(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ;
1388
+ VALUE result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
1389
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1390
+ arg2 = NUM2INT(argv[0]); { if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
1391
+ rb_raise(rb_eIndexError, "list item index out of bounds"); } }
1392
+ result = (VALUE)FXList_getItemData((FXList const *)arg1,arg2); vresult = result; return vresult; }
1393
+ static VALUE _wrap_FXList_isItemSelected(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ;
1394
+ FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
1395
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1396
+ arg2 = NUM2INT(argv[0]); { if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
1397
+ rb_raise(rb_eIndexError, "list item index out of bounds"); } }
1398
+ result = (FXbool)((FXList const *)arg1)->isItemSelected(arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
1399
+ static VALUE _wrap_FXList_isItemCurrent(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ;
1400
+ FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
1401
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1402
+ arg2 = NUM2INT(argv[0]); { if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
1403
+ rb_raise(rb_eIndexError, "list item index out of bounds"); } }
1404
+ result = (FXbool)((FXList const *)arg1)->isItemCurrent(arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
1405
+ static VALUE _wrap_FXList_isItemVisible(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ;
1406
+ FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
1407
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1408
+ arg2 = NUM2INT(argv[0]); { if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
1409
+ rb_raise(rb_eIndexError, "list item index out of bounds"); } }
1410
+ result = (FXbool)((FXList const *)arg1)->isItemVisible(arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
1411
+ static VALUE _wrap_FXList_isItemEnabled(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ;
1412
+ FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
1413
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1414
+ arg2 = NUM2INT(argv[0]); { if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
1415
+ rb_raise(rb_eIndexError, "list item index out of bounds"); } }
1416
+ result = (FXbool)((FXList const *)arg1)->isItemEnabled(arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
1417
+ static VALUE _wrap_FXList_updateItem(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ;
1418
+ if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1419
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); arg2 = NUM2INT(argv[0]); {
1420
+ if (arg2 < 0 || arg2 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "list item index out of bounds"); } }
1421
+ ((FXList const *)arg1)->updateItem(arg2); return Qnil; }
1422
+ static VALUE _wrap_FXList_getCurrentItem(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint result;
1423
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1424
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); result = (FXint)((FXList const *)arg1)->getCurrentItem();
1425
+ vresult = INT2NUM(result); return vresult; }
1426
+ static VALUE _wrap_FXList_setAnchorItem(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ;
1427
+ if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1428
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); arg2 = NUM2INT(argv[0]); {
1429
+ if (arg2 < 0 || arg2 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "list item index out of bounds"); } }
1430
+ (arg1)->setAnchorItem(arg2); return Qnil; }
1431
+ static VALUE _wrap_FXList_getAnchorItem(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint result;
1432
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1433
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); result = (FXint)((FXList const *)arg1)->getAnchorItem();
1434
+ vresult = INT2NUM(result); return vresult; }
1435
+ static VALUE _wrap_FXList_getCursorItem(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint result;
1436
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1437
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); result = (FXint)((FXList const *)arg1)->getCursorItem();
1438
+ vresult = INT2NUM(result); return vresult; }
1439
+ static VALUE _wrap_FXList_sortItems(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1440
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1441
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); (arg1)->sortItems(); return Qnil; }
1442
+ static VALUE _wrap_FXList_setFont(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1443
+ FXFont *arg2 = (FXFont *) 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1444
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1445
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXFont, 1); (arg1)->setFont(arg2); return Qnil; }
1446
+ static VALUE _wrap_FXList_getFont(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXFont *result;
1447
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1448
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); result = (FXFont *)((FXList const *)arg1)->getFont(); {
1449
+ swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXFont, (void **) &result); vresult = FXRbGetRubyObj(result, ty); }
1450
+ return vresult; }
1451
+ static VALUE _wrap_FXList_getTextColor(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXColor result;
1452
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1453
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); result = (FXColor)((FXList const *)arg1)->getTextColor();
1454
+ vresult = UINT2NUM(result); return vresult; }
1455
+ static VALUE _wrap_FXList_setTextColor(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXColor arg2 ;
1456
+ if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1457
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); arg2 = to_FXColor(argv[0]); (arg1)->setTextColor(arg2);
1458
+ return Qnil; }
1459
+ static VALUE _wrap_FXList_getSelBackColor(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXColor result;
1460
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1461
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); result = (FXColor)((FXList const *)arg1)->getSelBackColor();
1462
+ vresult = UINT2NUM(result); return vresult; }
1463
+ static VALUE _wrap_FXList_setSelBackColor(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXColor arg2 ;
1464
+ if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1465
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); arg2 = to_FXColor(argv[0]); (arg1)->setSelBackColor(arg2);
1466
+ return Qnil; }
1467
+ static VALUE _wrap_FXList_getSelTextColor(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXColor result;
1468
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1469
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); result = (FXColor)((FXList const *)arg1)->getSelTextColor();
1470
+ vresult = UINT2NUM(result); return vresult; }
1471
+ static VALUE _wrap_FXList_setSelTextColor(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXColor arg2 ;
1472
+ if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1473
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); arg2 = to_FXColor(argv[0]); (arg1)->setSelTextColor(arg2);
1474
+ return Qnil; }
1475
+ static VALUE _wrap_FXList_getListStyle(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXuint result;
1476
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1477
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); result = (FXuint)((FXList const *)arg1)->getListStyle();
1478
+ vresult = UINT2NUM(result); return vresult; }
1479
+ static VALUE _wrap_FXList_setListStyle(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXuint arg2 ;
1480
+ if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1481
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); arg2 = NUM2UINT(argv[0]); (arg1)->setListStyle(arg2);
1482
+ return Qnil; }
1483
+ static VALUE _wrap_FXList_setHelpText(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXString *arg2 = 0 ;
1484
+ SwigValueWrapper<FXString > p2 ; if ((argc < 1) || (argc > 1))
1485
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1486
+ p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setHelpText((FXString const &)*arg2); return Qnil; }
1487
+ static VALUE _wrap_FXList_getHelpText(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXString *result;
1488
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1489
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); {
1490
+ FXString const &_result_ref = ((FXList const *)arg1)->getHelpText(); result = (FXString *) &_result_ref; }
1491
+ vresult = rb_str_new2(result->text()); return vresult; }
1492
+ static void
1493
+ free_FXList(FXList *arg1) {
1494
+ delete arg1;
1495
+ }
1496
+ static VALUE _wrap_FXList_save(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXStream *arg2 = 0 ;
1497
+ if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1498
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1499
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
1500
+ FXList_save((FXList const *)arg1,*arg2); return Qnil; }
1501
+ static VALUE _wrap_FXList_load(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXStream *arg2 = 0 ;
1502
+ if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1503
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1504
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
1505
+ FXList_load(arg1,*arg2); return Qnil; }
1506
+ static VALUE _wrap_FXList_create(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1507
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1508
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); FXList_create(arg1); return Qnil; }
1509
+ static VALUE _wrap_FXList_detach(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1510
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1511
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); FXList_detach(arg1); return Qnil; }
1512
+ static VALUE _wrap_FXList_destroy(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1513
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1514
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); FXList_destroy(arg1); return Qnil; }
1515
+ static VALUE _wrap_FXList_resize(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ; FXint arg3 ;
1516
+ if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
1517
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
1518
+ FXList_resize(arg1,arg2,arg3); return Qnil; }
1519
+ static VALUE _wrap_FXList_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint result;
1520
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1521
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); result = (FXint)FXList_getDefaultWidth(arg1);
1522
+ vresult = INT2NUM(result); return vresult; }
1523
+ static VALUE _wrap_FXList_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint result;
1524
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1525
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); result = (FXint)FXList_getDefaultHeight(arg1);
1526
+ vresult = INT2NUM(result); return vresult; }
1527
+ static VALUE _wrap_FXList_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ;
1528
+ FXint result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
1529
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1530
+ arg2 = NUM2INT(argv[0]); result = (FXint)FXList_getWidthForHeight(arg1,arg2); vresult = INT2NUM(result); return vresult; }
1531
+ static VALUE _wrap_FXList_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ;
1532
+ FXint result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
1533
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1534
+ arg2 = NUM2INT(argv[0]); result = (FXint)FXList_getHeightForWidth(arg1,arg2); vresult = INT2NUM(result); return vresult; }
1535
+ static VALUE _wrap_FXList_canFocus(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; bool result;
1536
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1537
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); result = (bool)FXList_canFocus((FXList const *)arg1);
1538
+ vresult = result ? Qtrue : Qfalse; return vresult; }
1539
+ static VALUE _wrap_FXList_setFocus(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1540
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1541
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); FXList_setFocus(arg1); return Qnil; }
1542
+ static VALUE _wrap_FXList_killFocus(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1543
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1544
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); FXList_killFocus(arg1); return Qnil; }
1545
+ static VALUE _wrap_FXList_changeFocus(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1546
+ FXWindow *arg2 = (FXWindow *) 0 ; if ((argc < 1) || (argc > 1))
1547
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1548
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXWindow, 1); FXList_changeFocus(arg1,arg2); return Qnil; }
1549
+ static VALUE _wrap_FXList_setDefault(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1550
+ FXbool arg2 = (FXbool) 1 ; if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1551
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); if (argc > 0) { arg2 = to_FXbool(argv[0]); }
1552
+ FXList_setDefault(arg1,arg2); return Qnil; }
1553
+ static VALUE _wrap_FXList_enable(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1554
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1555
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); FXList_enable(arg1); return Qnil; }
1556
+ static VALUE _wrap_FXList_disable(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1557
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1558
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); FXList_disable(arg1); return Qnil; }
1559
+ static VALUE _wrap_FXList_raiseWindow(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1560
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1561
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); FXList_raise(arg1); return Qnil; }
1562
+ static VALUE _wrap_FXList_lower(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; if ((argc < 0) || (argc > 0))
1563
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1564
+ FXList_lower(arg1); return Qnil; }
1565
+ static VALUE _wrap_FXList_move(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ; FXint arg3 ;
1566
+ if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
1567
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
1568
+ FXList_move(arg1,arg2,arg3); return Qnil; }
1569
+ static VALUE _wrap_FXList_position__SWIG_0(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ;
1570
+ FXint arg3 ; FXint arg4 ; FXint arg5 ; if ((argc < 4) || (argc > 4))
1571
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1572
+ arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]);
1573
+ FXList_position(arg1,arg2,arg3,arg4,arg5); return Qnil; }
1574
+ static VALUE _wrap_FXList_layout(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1575
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1576
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); FXList_layout(arg1); return Qnil; }
1577
+ static VALUE _wrap_FXList_recalc(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1578
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1579
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); FXList_recalc(arg1); return Qnil; }
1580
+ static VALUE _wrap_FXList_reparent(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1581
+ FXWindow *arg2 = (FXWindow *) 0 ; FXWindow *arg3 = (FXWindow *) 0 ; if ((argc < 2) || (argc > 2))
1582
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1583
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXWindow, 1);
1584
+ SWIG_ConvertPtr(argv[1], (void **) &arg3, SWIGTYPE_p_FXWindow, 1); FXList_reparent(arg1,arg2,arg3); return Qnil; }
1585
+ static VALUE _wrap_FXList_show(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; if ((argc < 0) || (argc > 0))
1586
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1587
+ FXList_show(arg1); return Qnil; }
1588
+ static VALUE _wrap_FXList_hide(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; if ((argc < 0) || (argc > 0))
1589
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1590
+ FXList_hide(arg1); return Qnil; }
1591
+ static VALUE _wrap_FXList_isComposite(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; bool result;
1592
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1593
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); result = (bool)FXList_isComposite((FXList const *)arg1);
1594
+ vresult = result ? Qtrue : Qfalse; return vresult; }
1595
+ static VALUE _wrap_FXList_contains(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ; FXint arg3 ;
1596
+ bool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
1597
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1598
+ arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXList_contains((FXList const *)arg1,arg2,arg3);
1599
+ vresult = result ? Qtrue : Qfalse; return vresult; }
1600
+ static VALUE _wrap_FXList_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; bool result;
1601
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1602
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); result = (bool)FXList_doesSaveUnder((FXList const *)arg1);
1603
+ vresult = result ? Qtrue : Qfalse; return vresult; }
1604
+ static VALUE _wrap_FXList_setBackColor(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXColor arg2 ;
1605
+ if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1606
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); arg2 = to_FXColor(argv[0]); FXList_setBackColor(arg1,arg2);
1607
+ return Qnil; }
1608
+ static VALUE _wrap_FXList_tr(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXchar *arg2 ;
1609
+ FXchar *arg3 = (FXchar *) 0 ; FXchar *result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 2))
1610
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1611
+ arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); }
1612
+ result = (FXchar *)FXList_tr((FXList const *)arg1,(FXchar const *)arg2,(FXchar const *)arg3); vresult = rb_str_new2(result);
1613
+ return vresult; }
1614
+ static VALUE _wrap_FXList_dropEnable(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1615
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1616
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); FXList_dropEnable(arg1); return Qnil; }
1617
+ static VALUE _wrap_FXList_dropDisable(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1618
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1619
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); FXList_dropDisable(arg1); return Qnil; }
1620
+ static VALUE _wrap_FXList_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1621
+ FXRegion *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1622
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1623
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXRegion, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
1624
+ FXList_setShape(arg1,(FXRegion const &)*arg2); return Qnil; }
1625
+ static VALUE _wrap_FXList_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1626
+ FXBitmap *arg2 = (FXBitmap *) 0 ; if ((argc < 1) || (argc > 1))
1627
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1628
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXBitmap, 1); FXList_setShape(arg1,arg2); return Qnil; }
1629
+ static VALUE _wrap_FXList_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1630
+ FXIcon *arg2 = (FXIcon *) 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1631
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1632
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXIcon, 1); FXList_setShape(arg1,arg2); return Qnil; }
1633
+ static VALUE _wrap_FXList_setShape(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii; argc = nargs + 1;
1634
+ argv[0] = self; for (ii = 1; (ii < argc) && (ii < 2); ii++) { argv[ii] = args[ii-1]; } if (argc == 2) { int _v; {
1635
+ void *ptr;
1636
+ _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXList, 0) != -1)) ? 1 : 0; }
1637
+ if (_v) { { void *ptr;
1638
+ _v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXRegion, 0) != -1)) ? 1 : 0; }
1639
+ if (_v) { return _wrap_FXList_setShape__SWIG_0(nargs, args, self);} } } if (argc == 2) { int _v; { void *ptr;
1640
+ _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXList, 0) != -1)) ? 1 : 0; }
1641
+ if (_v) { { void *ptr;
1642
+ _v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXBitmap, 0) != -1)) ? 1 : 0; }
1643
+ if (_v) { return _wrap_FXList_setShape__SWIG_1(nargs, args, self);} } } if (argc == 2) { int _v; { void *ptr;
1644
+ _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXList, 0) != -1)) ? 1 : 0; }
1645
+ if (_v) { { void *ptr;
1646
+ _v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXIcon, 0) != -1)) ? 1 : 0; }
1647
+ if (_v) { return _wrap_FXList_setShape__SWIG_2(nargs, args, self);} } }
1648
+ rb_raise(rb_eArgError, "No matching function for overloaded 'FXList_setShape'"); return Qnil; }
1649
+ static VALUE _wrap_FXList_clearShape(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1650
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1651
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); FXList_clearShape(arg1); return Qnil; }
1652
+ static VALUE _wrap_FXList_getViewportHeight(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint result;
1653
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1654
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); result = (FXint)FXList_getViewportHeight(arg1);
1655
+ vresult = INT2NUM(result); return vresult; }
1656
+ static VALUE _wrap_FXList_getViewportWidth(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint result;
1657
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1658
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); result = (FXint)FXList_getViewportWidth(arg1);
1659
+ vresult = INT2NUM(result); return vresult; }
1660
+ static VALUE _wrap_FXList_getContentHeight(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint result;
1661
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1662
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); result = (FXint)FXList_getContentHeight(arg1);
1663
+ vresult = INT2NUM(result); return vresult; }
1664
+ static VALUE _wrap_FXList_getContentWidth(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint result;
1665
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1666
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); result = (FXint)FXList_getContentWidth(arg1);
1667
+ vresult = INT2NUM(result); return vresult; }
1668
+ static VALUE _wrap_FXList_position__SWIG_1(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; VALUE result;
1669
+ VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1670
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); result = (VALUE)FXList_position__SWIG_1((FXList const *)arg1);
1671
+ vresult = result; return vresult; }
1672
+ static VALUE _wrap_FXList_position(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[6]; int ii; argc = nargs + 1;
1673
+ argv[0] = self; for (ii = 1; (ii < argc) && (ii < 5); ii++) { argv[ii] = args[ii-1]; } if (argc == 1) { int _v; {
1674
+ void *ptr;
1675
+ _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXList, 0) != -1)) ? 1 : 0; }
1676
+ if (_v) { return _wrap_FXList_position__SWIG_1(nargs, args, self);} } if (argc == 5) { int _v; { void *ptr;
1677
+ _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXList, 0) != -1)) ? 1 : 0; }
1678
+ if (_v) { { _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
1679
+ _v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
1680
+ _v = ((TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
1681
+ _v = ((TYPE(argv[4]) == T_FIXNUM) || (TYPE(argv[4]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
1682
+ return _wrap_FXList_position__SWIG_0(nargs, args, self);} } } } } }
1683
+ rb_raise(rb_eArgError, "No matching function for overloaded 'FXList_position'"); return Qnil; }
1684
+ static VALUE _wrap_FXList_enableItem(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ;
1685
+ FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
1686
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1687
+ arg2 = NUM2INT(argv[0]); { if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
1688
+ rb_raise(rb_eIndexError, "list item index out of bounds"); } } result = (FXbool)FXList_enableItem(arg1,arg2);
1689
+ vresult = result ? Qtrue : Qfalse; return vresult; }
1690
+ static VALUE _wrap_FXList_disableItem(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ;
1691
+ FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
1692
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1693
+ arg2 = NUM2INT(argv[0]); { if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
1694
+ rb_raise(rb_eIndexError, "list item index out of bounds"); } } result = (FXbool)FXList_disableItem(arg1,arg2);
1695
+ vresult = result ? Qtrue : Qfalse; return vresult; }
1696
+ static VALUE _wrap_FXList_makeItemVisible__SWIG_1(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1697
+ FXint arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1698
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); arg2 = NUM2INT(argv[0]); {
1699
+ if (arg2 < 0 || arg2 >= arg1->getNumItems()) { rb_raise(rb_eIndexError, "list item index out of bounds"); } }
1700
+ FXList_makeItemVisible(arg1,arg2); return Qnil; }
1701
+ static VALUE _wrap_FXList_makeItemVisible(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii;
1702
+ argc = nargs + 1; argv[0] = self; for (ii = 1; (ii < argc) && (ii < 2); ii++) { argv[ii] = args[ii-1]; } if (argc == 2) {
1703
+ int _v; { void *ptr;
1704
+ _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXList, 0) != -1)) ? 1 : 0; }
1705
+ if (_v) { { void *ptr;
1706
+ _v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXListItem, 0) != -1)) ? 1 : 0; }
1707
+ if (_v) { return _wrap_FXList_makeItemVisible__SWIG_0(nargs, args, self);} } } if (argc == 2) { int _v; {
1708
+ void *ptr;
1709
+ _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXList, 0) != -1)) ? 1 : 0; }
1710
+ if (_v) { { _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
1711
+ return _wrap_FXList_makeItemVisible__SWIG_1(nargs, args, self);} } }
1712
+ rb_raise(rb_eArgError, "No matching function for overloaded 'FXList_makeItemVisible'"); return Qnil; }
1713
+ static VALUE _wrap_FXList_getItemAt(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ; FXint arg3 ;
1714
+ FXint result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
1715
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1716
+ arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (FXint)FXList_getItemAt((FXList const *)arg1,arg2,arg3);
1717
+ vresult = INT2NUM(result); return vresult; }
1718
+ static VALUE _wrap_FXList_selectItem(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ;
1719
+ FXbool arg3 = (FXbool) 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 2))
1720
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1721
+ arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } { if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
1722
+ rb_raise(rb_eIndexError, "list item index out of bounds"); } } result = (FXbool)FXList_selectItem(arg1,arg2,arg3);
1723
+ vresult = result ? Qtrue : Qfalse; return vresult; }
1724
+ static VALUE _wrap_FXList_deselectItem(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ;
1725
+ FXbool arg3 = (FXbool) 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 2))
1726
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1727
+ arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } { if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
1728
+ rb_raise(rb_eIndexError, "list item index out of bounds"); } }
1729
+ result = (FXbool)FXList_deselectItem(arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; }
1730
+ static VALUE _wrap_FXList_toggleItem(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ;
1731
+ FXbool arg3 = (FXbool) 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 2))
1732
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1733
+ arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } { if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
1734
+ rb_raise(rb_eIndexError, "list item index out of bounds"); } } result = (FXbool)FXList_toggleItem(arg1,arg2,arg3);
1735
+ vresult = result ? Qtrue : Qfalse; return vresult; }
1736
+ static VALUE _wrap_FXList_extendSelection(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ;
1737
+ FXbool arg3 = (FXbool) 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 2))
1738
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1739
+ arg2 = NUM2INT(argv[0]); if (argc > 1) { arg3 = to_FXbool(argv[1]); } { if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
1740
+ rb_raise(rb_eIndexError, "list item index out of bounds"); } }
1741
+ result = (FXbool)FXList_extendSelection(arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; }
1742
+ static VALUE _wrap_FXList_killSelection(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ;
1743
+ FXbool arg2 = (FXbool) 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 1))
1744
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1);
1745
+ if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXList_killSelection(arg1,arg2);
1746
+ vresult = result ? Qtrue : Qfalse; return vresult; }
1747
+ static VALUE _wrap_FXList_setCurrentItem(int argc, VALUE *argv, VALUE self) { FXList *arg1 = (FXList *) 0 ; FXint arg2 ;
1748
+ FXbool arg3 = (FXbool) 0 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1749
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXList, 1); arg2 = NUM2INT(argv[0]); if (argc > 1) {
1750
+ arg3 = to_FXbool(argv[1]); } { if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
1751
+ rb_raise(rb_eIndexError, "list item index out of bounds"); } } FXList_setCurrentItem(arg1,arg2,arg3);
1752
+ return Qnil; }
1753
+ #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
1754
+ static VALUE _wrap_FXColorItem_allocate(VALUE self) {
1755
+ #else
1756
+ static VALUE _wrap_FXColorItem_allocate(int argc, VALUE *argv, VALUE self) {
1757
+ #endif
1758
+ VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXColorItem);
1759
+ #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
1760
+ rb_obj_call_init(vresult, argc, argv);
1761
+ #endif
1762
+ return vresult; }
1763
+ static VALUE _wrap_new_FXColorItem(int argc, VALUE *argv, VALUE self) { FXString *arg1 = 0 ; FXColor arg2 ;
1764
+ void *arg3 = (void *) 0 ; FXColorItem *result; SwigValueWrapper<FXString > p1 ; if ((argc < 2) || (argc > 3))
1765
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); p1 = to_FXString(argv[0]); arg1 = &p1;
1766
+ arg2 = to_FXColor(argv[1]); if (argc > 2) { arg3 = (argv[2] == Qnil) ? NULL : (void *) argv[2]; } {
1767
+ result = (FXColorItem *)new_FXColorItem((FXString const &)*arg1,arg2,arg3);
1768
+ DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
1769
+ static VALUE _wrap_FXColorItem_colore___(int argc, VALUE *argv, VALUE self) { FXColorItem *arg1 = (FXColorItem *) 0 ;
1770
+ FXColor arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1771
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorItem, 1); arg2 = to_FXColor(argv[0]); (arg1)->setColor(arg2);
1772
+ return Qnil; }
1773
+ static VALUE _wrap_FXColorItem_color(int argc, VALUE *argv, VALUE self) { FXColorItem *arg1 = (FXColorItem *) 0 ;
1774
+ FXColor result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
1775
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1776
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorItem, 1);
1777
+ result = (FXColor)((FXColorItem const *)arg1)->getColor(); vresult = UINT2NUM(result); return vresult; }
1778
+ static void
1779
+ free_FXColorItem(FXColorItem *arg1) {
1780
+ delete arg1;
1781
+ }
1782
+ static VALUE _wrap_FXColorItem_save(int argc, VALUE *argv, VALUE self) { FXColorItem *arg1 = (FXColorItem *) 0 ;
1783
+ FXStream *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1784
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorItem, 1);
1785
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
1786
+ FXColorItem_save((FXColorItem const *)arg1,*arg2); return Qnil; }
1787
+ static VALUE _wrap_FXColorItem_load(int argc, VALUE *argv, VALUE self) { FXColorItem *arg1 = (FXColorItem *) 0 ;
1788
+ FXStream *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1789
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorItem, 1);
1790
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
1791
+ FXColorItem_load(arg1,*arg2); return Qnil; }
1792
+ static VALUE _wrap_FXColorItem_setText(int argc, VALUE *argv, VALUE self) { FXColorItem *arg1 = (FXColorItem *) 0 ;
1793
+ FXString *arg2 = 0 ; SwigValueWrapper<FXString > p2 ; if ((argc < 1) || (argc > 1))
1794
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1795
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorItem, 1); p2 = to_FXString(argv[0]); arg2 = &p2;
1796
+ FXColorItem_setText(arg1,(FXString const &)*arg2); return Qnil; }
1797
+ static VALUE _wrap_FXColorItem_setIcon(int argc, VALUE *argv, VALUE self) { FXColorItem *arg1 = (FXColorItem *) 0 ;
1798
+ FXIcon *arg2 = (FXIcon *) 0 ; FXbool arg3 = (FXbool) 0 ; if ((argc < 1) || (argc > 2))
1799
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1800
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorItem, 1);
1801
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXIcon, 1); if (argc > 1) { arg3 = to_FXbool(argv[1]); }
1802
+ FXColorItem_setIcon(arg1,arg2,arg3); return Qnil; }
1803
+ static VALUE _wrap_FXColorItem_setFocus(int argc, VALUE *argv, VALUE self) { FXColorItem *arg1 = (FXColorItem *) 0 ;
1804
+ FXbool arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1805
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorItem, 1); arg2 = to_FXbool(argv[0]);
1806
+ FXColorItem_setFocus(arg1,arg2); return Qnil; }
1807
+ static VALUE _wrap_FXColorItem_setSelected(int argc, VALUE *argv, VALUE self) { FXColorItem *arg1 = (FXColorItem *) 0 ;
1808
+ FXbool arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1809
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorItem, 1); arg2 = to_FXbool(argv[0]);
1810
+ FXColorItem_setSelected(arg1,arg2); return Qnil; }
1811
+ static VALUE _wrap_FXColorItem_setEnabled(int argc, VALUE *argv, VALUE self) { FXColorItem *arg1 = (FXColorItem *) 0 ;
1812
+ FXbool arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1813
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorItem, 1); arg2 = to_FXbool(argv[0]);
1814
+ FXColorItem_setEnabled(arg1,arg2); return Qnil; }
1815
+ static VALUE _wrap_FXColorItem_setDraggable(int argc, VALUE *argv, VALUE self) { FXColorItem *arg1 = (FXColorItem *) 0 ;
1816
+ FXbool arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1817
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorItem, 1); arg2 = to_FXbool(argv[0]);
1818
+ FXColorItem_setDraggable(arg1,arg2); return Qnil; }
1819
+ static VALUE _wrap_FXColorItem_getWidth(int argc, VALUE *argv, VALUE self) { FXColorItem *arg1 = (FXColorItem *) 0 ;
1820
+ FXList *arg2 = (FXList *) 0 ; FXint result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
1821
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1822
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorItem, 1);
1823
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXList, 1);
1824
+ result = (FXint)FXColorItem_getWidth((FXColorItem const *)arg1,(FXList const *)arg2); vresult = INT2NUM(result);
1825
+ return vresult; }
1826
+ static VALUE _wrap_FXColorItem_getHeight(int argc, VALUE *argv, VALUE self) { FXColorItem *arg1 = (FXColorItem *) 0 ;
1827
+ FXList *arg2 = (FXList *) 0 ; FXint result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
1828
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1829
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorItem, 1);
1830
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXList, 1);
1831
+ result = (FXint)FXColorItem_getHeight((FXColorItem const *)arg1,(FXList const *)arg2); vresult = INT2NUM(result);
1832
+ return vresult; }
1833
+ static VALUE _wrap_FXColorItem_create(int argc, VALUE *argv, VALUE self) { FXColorItem *arg1 = (FXColorItem *) 0 ;
1834
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1835
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorItem, 1); FXColorItem_create(arg1); return Qnil; }
1836
+ static VALUE _wrap_FXColorItem_detach(int argc, VALUE *argv, VALUE self) { FXColorItem *arg1 = (FXColorItem *) 0 ;
1837
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1838
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorItem, 1); FXColorItem_detach(arg1); return Qnil; }
1839
+ static VALUE _wrap_FXColorItem_destroy(int argc, VALUE *argv, VALUE self) { FXColorItem *arg1 = (FXColorItem *) 0 ;
1840
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1841
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorItem, 1); FXColorItem_destroy(arg1); return Qnil; }
1842
+ #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
1843
+ static VALUE _wrap_FXColorList_allocate(VALUE self) {
1844
+ #else
1845
+ static VALUE _wrap_FXColorList_allocate(int argc, VALUE *argv, VALUE self) {
1846
+ #endif
1847
+ VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXColorList);
1848
+ #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
1849
+ rb_obj_call_init(vresult, argc, argv);
1850
+ #endif
1851
+ return vresult; }
1852
+ static VALUE _wrap_new_FXColorList(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ;
1853
+ FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 = (FXSelector) 0 ; FXuint arg4 = (FXuint) LIST_BROWSESELECT ;
1854
+ FXint arg5 = (FXint) 0 ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 0 ; FXint arg8 = (FXint) 0 ; FXColorList *result;
1855
+ if ((argc < 1) || (argc > 8)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1856
+ SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXComposite, 1); if (argc > 1) {
1857
+ SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_FXObject, 1); } if (argc > 2) { arg3 = NUM2UINT(argv[2]); }
1858
+ if (argc > 3) { arg4 = NUM2UINT(argv[3]); } if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) {
1859
+ arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); } {
1860
+ result = (FXColorList *)new_FXColorList(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1861
+ DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
1862
+ static VALUE _wrap_FXColorList_fillItems(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
1863
+ FXchar **arg2 = (FXchar **) 0 ; FXColor *arg3 = (FXColor *) 0 ; void *arg4 = (void *) 0 ; FXbool arg5 = (FXbool) 0 ;
1864
+ FXint result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 4))
1865
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1866
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); { arg2 = NULL; if(!NIL_P(argv[0])){
1867
+ Check_Type(argv[0], T_ARRAY); if (FXMALLOC(&arg2, FXchar *, RARRAY_LEN(argv[0]))+1) {
1868
+ for (long i = 0; i < RARRAY_LEN(argv[0]); i++) { VALUE e = rb_ary_entry(argv[0], i);
1869
+ arg2[i] = (FXchar *) StringValuePtr(e); } arg2[RARRAY_LEN(argv[0])] = 0; } } } if (argc > 1) { {
1870
+ arg3 = NULL; if(!NIL_P(argv[1])){ Check_Type(argv[1], T_ARRAY);
1871
+ if (FXMALLOC(&arg3, FXColor, RARRAY_LEN(argv[1]))+1) { for (long i = 0; i < RARRAY_LEN(argv[1]); i++) {
1872
+ arg3[i] = static_cast<FXColor>(NUM2ULONG(rb_ary_entry(argv[1], i))); } arg3[RARRAY_LEN(argv[1])] = 0; }
1873
+ } } } if (argc > 2) { arg4 = (argv[2] == Qnil) ? NULL : (void *) argv[2]; } if (argc > 3) {
1874
+ arg5 = to_FXbool(argv[3]); } result = (FXint)(arg1)->fillItems((FXchar const **)arg2,arg3,arg4,arg5);
1875
+ vresult = INT2NUM(result); FXFREE(&arg2); FXFREE(&arg3); return vresult; }
1876
+ static VALUE _wrap_FXColorList_insertItem(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
1877
+ FXint arg2 ; FXString *arg3 = 0 ; FXColor arg4 = (FXColor) 0 ; void *arg5 = (void *) 0 ; FXbool arg6 = (FXbool) 0 ;
1878
+ FXint result; SwigValueWrapper<FXString > p3 ; VALUE vresult = Qnil; if ((argc < 2) || (argc > 5))
1879
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
1880
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); arg2 = NUM2INT(argv[0]);
1881
+ p3 = to_FXString(argv[1]); arg3 = &p3; if (argc > 2) { arg4 = to_FXColor(argv[2]); } if (argc > 3) {
1882
+ arg5 = (argv[3] == Qnil) ? NULL : (void *) argv[3]; } if (argc > 4) { arg6 = to_FXbool(argv[4]); }
1883
+ result = (FXint)(arg1)->insertItem(arg2,(FXString const &)*arg3,arg4,arg5,arg6); vresult = INT2NUM(result); return vresult; }
1884
+ static VALUE _wrap_FXColorList_appendItem(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
1885
+ FXString *arg2 = 0 ; FXColor arg3 = (FXColor) 0 ; void *arg4 = (void *) 0 ; FXbool arg5 = (FXbool) 0 ; FXint result;
1886
+ SwigValueWrapper<FXString > p2 ; VALUE vresult = Qnil; if ((argc < 1) || (argc > 4))
1887
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1888
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); p2 = to_FXString(argv[0]); arg2 = &p2; if (argc > 1) {
1889
+ arg3 = to_FXColor(argv[1]); } if (argc > 2) { arg4 = (argv[2] == Qnil) ? NULL : (void *) argv[2]; } if (argc > 3) {
1890
+ arg5 = to_FXbool(argv[3]); } result = (FXint)(arg1)->appendItem((FXString const &)*arg2,arg3,arg4,arg5);
1891
+ vresult = INT2NUM(result); return vresult; }
1892
+ static VALUE _wrap_FXColorList_prependItem(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
1893
+ FXString *arg2 = 0 ; FXColor arg3 = (FXColor) 0 ; void *arg4 = (void *) 0 ; FXbool arg5 = (FXbool) 0 ; FXint result;
1894
+ SwigValueWrapper<FXString > p2 ; VALUE vresult = Qnil; if ((argc < 1) || (argc > 4))
1895
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1896
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); p2 = to_FXString(argv[0]); arg2 = &p2; if (argc > 1) {
1897
+ arg3 = to_FXColor(argv[1]); } if (argc > 2) { arg4 = (argv[2] == Qnil) ? NULL : (void *) argv[2]; } if (argc > 3) {
1898
+ arg5 = to_FXbool(argv[3]); } result = (FXint)(arg1)->prependItem((FXString const &)*arg2,arg3,arg4,arg5);
1899
+ vresult = INT2NUM(result); return vresult; }
1900
+ static VALUE _wrap_FXColorList_setItemColor(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
1901
+ FXint arg2 ; FXColor arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
1902
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); arg2 = NUM2INT(argv[0]); arg3 = to_FXColor(argv[1]);
1903
+ (arg1)->setItemColor(arg2,arg3); return Qnil; }
1904
+ static VALUE _wrap_FXColorList_getItemColor(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
1905
+ FXint arg2 ; FXColor result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
1906
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1907
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); arg2 = NUM2INT(argv[0]);
1908
+ result = (FXColor)((FXColorList const *)arg1)->getItemColor(arg2); vresult = UINT2NUM(result); return vresult; }
1909
+ static void
1910
+ free_FXColorList(FXColorList *arg1) {
1911
+ delete arg1;
1912
+ }
1913
+ static VALUE _wrap_FXColorList_save(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
1914
+ FXStream *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1915
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1);
1916
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
1917
+ FXColorList_save((FXColorList const *)arg1,*arg2); return Qnil; }
1918
+ static VALUE _wrap_FXColorList_load(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
1919
+ FXStream *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1920
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1);
1921
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
1922
+ FXColorList_load(arg1,*arg2); return Qnil; }
1923
+ static VALUE _wrap_FXColorList_create(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
1924
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1925
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); FXColorList_create(arg1); return Qnil; }
1926
+ static VALUE _wrap_FXColorList_detach(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
1927
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1928
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); FXColorList_detach(arg1); return Qnil; }
1929
+ static VALUE _wrap_FXColorList_destroy(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
1930
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1931
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); FXColorList_destroy(arg1); return Qnil; }
1932
+ static VALUE _wrap_FXColorList_resize(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ; FXint arg2 ;
1933
+ FXint arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
1934
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
1935
+ FXColorList_resize(arg1,arg2,arg3); return Qnil; }
1936
+ static VALUE _wrap_FXColorList_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
1937
+ FXint result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
1938
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1939
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); result = (FXint)FXColorList_getDefaultWidth(arg1);
1940
+ vresult = INT2NUM(result); return vresult; }
1941
+ static VALUE _wrap_FXColorList_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
1942
+ FXint result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
1943
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1944
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); result = (FXint)FXColorList_getDefaultHeight(arg1);
1945
+ vresult = INT2NUM(result); return vresult; }
1946
+ static VALUE _wrap_FXColorList_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
1947
+ FXint arg2 ; FXint result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
1948
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1949
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); arg2 = NUM2INT(argv[0]);
1950
+ result = (FXint)FXColorList_getWidthForHeight(arg1,arg2); vresult = INT2NUM(result); return vresult; }
1951
+ static VALUE _wrap_FXColorList_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
1952
+ FXint arg2 ; FXint result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
1953
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1954
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); arg2 = NUM2INT(argv[0]);
1955
+ result = (FXint)FXColorList_getHeightForWidth(arg1,arg2); vresult = INT2NUM(result); return vresult; }
1956
+ static VALUE _wrap_FXColorList_canFocus(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
1957
+ bool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
1958
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1959
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1);
1960
+ result = (bool)FXColorList_canFocus((FXColorList const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
1961
+ static VALUE _wrap_FXColorList_setFocus(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
1962
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1963
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); FXColorList_setFocus(arg1); return Qnil; }
1964
+ static VALUE _wrap_FXColorList_killFocus(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
1965
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1966
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); FXColorList_killFocus(arg1); return Qnil; }
1967
+ static VALUE _wrap_FXColorList_changeFocus(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
1968
+ FXWindow *arg2 = (FXWindow *) 0 ; if ((argc < 1) || (argc > 1))
1969
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
1970
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1);
1971
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXWindow, 1); FXColorList_changeFocus(arg1,arg2); return Qnil; }
1972
+ static VALUE _wrap_FXColorList_setDefault(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
1973
+ FXbool arg2 = (FXbool) 1 ; if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1974
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); if (argc > 0) { arg2 = to_FXbool(argv[0]); }
1975
+ FXColorList_setDefault(arg1,arg2); return Qnil; }
1976
+ static VALUE _wrap_FXColorList_enable(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
1977
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1978
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); FXColorList_enable(arg1); return Qnil; }
1979
+ static VALUE _wrap_FXColorList_disable(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
1980
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1981
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); FXColorList_disable(arg1); return Qnil; }
1982
+ static VALUE _wrap_FXColorList_raiseWindow(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
1983
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1984
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); FXColorList_raise(arg1); return Qnil; }
1985
+ static VALUE _wrap_FXColorList_lower(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
1986
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1987
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); FXColorList_lower(arg1); return Qnil; }
1988
+ static VALUE _wrap_FXColorList_move(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ; FXint arg2 ;
1989
+ FXint arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
1990
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
1991
+ FXColorList_move(arg1,arg2,arg3); return Qnil; }
1992
+ static VALUE _wrap_FXColorList_position__SWIG_0(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
1993
+ FXint arg2 ; FXint arg3 ; FXint arg4 ; FXint arg5 ; if ((argc < 4) || (argc > 4))
1994
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
1995
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
1996
+ arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXColorList_position(arg1,arg2,arg3,arg4,arg5); return Qnil; }
1997
+ static VALUE _wrap_FXColorList_layout(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
1998
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
1999
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); FXColorList_layout(arg1); return Qnil; }
2000
+ static VALUE _wrap_FXColorList_recalc(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
2001
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
2002
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); FXColorList_recalc(arg1); return Qnil; }
2003
+ static VALUE _wrap_FXColorList_reparent(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
2004
+ FXWindow *arg2 = (FXWindow *) 0 ; FXWindow *arg3 = (FXWindow *) 0 ; if ((argc < 2) || (argc > 2))
2005
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
2006
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1);
2007
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXWindow, 1);
2008
+ SWIG_ConvertPtr(argv[1], (void **) &arg3, SWIGTYPE_p_FXWindow, 1); FXColorList_reparent(arg1,arg2,arg3); return Qnil; }
2009
+ static VALUE _wrap_FXColorList_show(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
2010
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
2011
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); FXColorList_show(arg1); return Qnil; }
2012
+ static VALUE _wrap_FXColorList_hide(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
2013
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
2014
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); FXColorList_hide(arg1); return Qnil; }
2015
+ static VALUE _wrap_FXColorList_isComposite(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
2016
+ bool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
2017
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
2018
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1);
2019
+ result = (bool)FXColorList_isComposite((FXColorList const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
2020
+ static VALUE _wrap_FXColorList_contains(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
2021
+ FXint arg2 ; FXint arg3 ; bool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
2022
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
2023
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
2024
+ result = (bool)FXColorList_contains((FXColorList const *)arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse;
2025
+ return vresult; }
2026
+ static VALUE _wrap_FXColorList_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
2027
+ bool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
2028
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
2029
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1);
2030
+ result = (bool)FXColorList_doesSaveUnder((FXColorList const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
2031
+ static VALUE _wrap_FXColorList_setBackColor(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
2032
+ FXColor arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
2033
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); arg2 = to_FXColor(argv[0]);
2034
+ FXColorList_setBackColor(arg1,arg2); return Qnil; }
2035
+ static VALUE _wrap_FXColorList_tr(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ; FXchar *arg2 ;
2036
+ FXchar *arg3 = (FXchar *) 0 ; FXchar *result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 2))
2037
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
2038
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]);
2039
+ if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); }
2040
+ result = (FXchar *)FXColorList_tr((FXColorList const *)arg1,(FXchar const *)arg2,(FXchar const *)arg3);
2041
+ vresult = rb_str_new2(result); return vresult; }
2042
+ static VALUE _wrap_FXColorList_dropEnable(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
2043
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
2044
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); FXColorList_dropEnable(arg1); return Qnil; }
2045
+ static VALUE _wrap_FXColorList_dropDisable(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
2046
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
2047
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); FXColorList_dropDisable(arg1); return Qnil; }
2048
+ static VALUE _wrap_FXColorList_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
2049
+ FXRegion *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
2050
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1);
2051
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXRegion, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
2052
+ FXColorList_setShape(arg1,(FXRegion const &)*arg2); return Qnil; }
2053
+ static VALUE _wrap_FXColorList_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
2054
+ FXBitmap *arg2 = (FXBitmap *) 0 ; if ((argc < 1) || (argc > 1))
2055
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
2056
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1);
2057
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXBitmap, 1); FXColorList_setShape(arg1,arg2); return Qnil; }
2058
+ static VALUE _wrap_FXColorList_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
2059
+ FXIcon *arg2 = (FXIcon *) 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
2060
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1);
2061
+ SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXIcon, 1); FXColorList_setShape(arg1,arg2); return Qnil; }
2062
+ static VALUE _wrap_FXColorList_setShape(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii; argc = nargs + 1;
2063
+ argv[0] = self; for (ii = 1; (ii < argc) && (ii < 2); ii++) { argv[ii] = args[ii-1]; } if (argc == 2) { int _v; {
2064
+ void *ptr;
2065
+ _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXColorList, 0) != -1)) ? 1 : 0; }
2066
+ if (_v) { { void *ptr;
2067
+ _v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXRegion, 0) != -1)) ? 1 : 0; }
2068
+ if (_v) { return _wrap_FXColorList_setShape__SWIG_0(nargs, args, self);} } } if (argc == 2) { int _v; {
2069
+ void *ptr;
2070
+ _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXColorList, 0) != -1)) ? 1 : 0; }
2071
+ if (_v) { { void *ptr;
2072
+ _v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXBitmap, 0) != -1)) ? 1 : 0; }
2073
+ if (_v) { return _wrap_FXColorList_setShape__SWIG_1(nargs, args, self);} } } if (argc == 2) { int _v; {
2074
+ void *ptr;
2075
+ _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXColorList, 0) != -1)) ? 1 : 0; }
2076
+ if (_v) { { void *ptr;
2077
+ _v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXIcon, 0) != -1)) ? 1 : 0; }
2078
+ if (_v) { return _wrap_FXColorList_setShape__SWIG_2(nargs, args, self);} } }
2079
+ rb_raise(rb_eArgError, "No matching function for overloaded 'FXColorList_setShape'"); return Qnil; }
2080
+ static VALUE _wrap_FXColorList_clearShape(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
2081
+ if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
2082
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); FXColorList_clearShape(arg1); return Qnil; }
2083
+ static VALUE _wrap_FXColorList_getViewportHeight(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
2084
+ FXint result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
2085
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
2086
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); result = (FXint)FXColorList_getViewportHeight(arg1);
2087
+ vresult = INT2NUM(result); return vresult; }
2088
+ static VALUE _wrap_FXColorList_getViewportWidth(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
2089
+ FXint result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
2090
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
2091
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); result = (FXint)FXColorList_getViewportWidth(arg1);
2092
+ vresult = INT2NUM(result); return vresult; }
2093
+ static VALUE _wrap_FXColorList_getContentHeight(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
2094
+ FXint result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
2095
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
2096
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); result = (FXint)FXColorList_getContentHeight(arg1);
2097
+ vresult = INT2NUM(result); return vresult; }
2098
+ static VALUE _wrap_FXColorList_getContentWidth(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
2099
+ FXint result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
2100
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
2101
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); result = (FXint)FXColorList_getContentWidth(arg1);
2102
+ vresult = INT2NUM(result); return vresult; }
2103
+ static VALUE _wrap_FXColorList_position__SWIG_1(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
2104
+ VALUE result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
2105
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
2106
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1);
2107
+ result = (VALUE)FXColorList_position__SWIG_1((FXColorList const *)arg1); vresult = result; return vresult; }
2108
+ static VALUE _wrap_FXColorList_position(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[6]; int ii; argc = nargs + 1;
2109
+ argv[0] = self; for (ii = 1; (ii < argc) && (ii < 5); ii++) { argv[ii] = args[ii-1]; } if (argc == 1) { int _v; {
2110
+ void *ptr;
2111
+ _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXColorList, 0) != -1)) ? 1 : 0; }
2112
+ if (_v) { return _wrap_FXColorList_position__SWIG_1(nargs, args, self);} } if (argc == 5) { int _v; { void *ptr;
2113
+ _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXColorList, 0) != -1)) ? 1 : 0; }
2114
+ if (_v) { { _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
2115
+ _v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
2116
+ _v = ((TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
2117
+ _v = ((TYPE(argv[4]) == T_FIXNUM) || (TYPE(argv[4]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
2118
+ return _wrap_FXColorList_position__SWIG_0(nargs, args, self);} } } } } }
2119
+ rb_raise(rb_eArgError, "No matching function for overloaded 'FXColorList_position'"); return Qnil; }
2120
+ static VALUE _wrap_FXColorList_enableItem(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
2121
+ FXint arg2 ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
2122
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
2123
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); arg2 = NUM2INT(argv[0]);
2124
+ result = (FXbool)FXColorList_enableItem(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
2125
+ static VALUE _wrap_FXColorList_disableItem(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
2126
+ FXint arg2 ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
2127
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
2128
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); arg2 = NUM2INT(argv[0]);
2129
+ result = (FXbool)FXColorList_disableItem(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
2130
+ static VALUE _wrap_FXColorList_makeItemVisible(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
2131
+ FXint arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
2132
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); arg2 = NUM2INT(argv[0]);
2133
+ FXColorList_makeItemVisible(arg1,arg2); return Qnil; }
2134
+ static VALUE _wrap_FXColorList_getItemAt(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
2135
+ FXint arg2 ; FXint arg3 ; FXint result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
2136
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
2137
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
2138
+ result = (FXint)FXColorList_getItemAt((FXColorList const *)arg1,arg2,arg3); vresult = INT2NUM(result); return vresult; }
2139
+ static VALUE _wrap_FXColorList_selectItem(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
2140
+ FXint arg2 ; FXbool arg3 = (FXbool) 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 2))
2141
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
2142
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); arg2 = NUM2INT(argv[0]); if (argc > 1) {
2143
+ arg3 = to_FXbool(argv[1]); } result = (FXbool)FXColorList_selectItem(arg1,arg2,arg3);
2144
+ vresult = result ? Qtrue : Qfalse; return vresult; }
2145
+ static VALUE _wrap_FXColorList_deselectItem(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
2146
+ FXint arg2 ; FXbool arg3 = (FXbool) 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 2))
2147
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
2148
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); arg2 = NUM2INT(argv[0]); if (argc > 1) {
2149
+ arg3 = to_FXbool(argv[1]); } result = (FXbool)FXColorList_deselectItem(arg1,arg2,arg3);
2150
+ vresult = result ? Qtrue : Qfalse; return vresult; }
2151
+ static VALUE _wrap_FXColorList_toggleItem(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
2152
+ FXint arg2 ; FXbool arg3 = (FXbool) 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 2))
2153
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
2154
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); arg2 = NUM2INT(argv[0]); if (argc > 1) {
2155
+ arg3 = to_FXbool(argv[1]); } result = (FXbool)FXColorList_toggleItem(arg1,arg2,arg3);
2156
+ vresult = result ? Qtrue : Qfalse; return vresult; }
2157
+ static VALUE _wrap_FXColorList_extendSelection(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
2158
+ FXint arg2 ; FXbool arg3 = (FXbool) 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 2))
2159
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
2160
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); arg2 = NUM2INT(argv[0]); if (argc > 1) {
2161
+ arg3 = to_FXbool(argv[1]); } result = (FXbool)FXColorList_extendSelection(arg1,arg2,arg3);
2162
+ vresult = result ? Qtrue : Qfalse; return vresult; }
2163
+ static VALUE _wrap_FXColorList_killSelection(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
2164
+ FXbool arg2 = (FXbool) 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 1))
2165
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
2166
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); if (argc > 0) { arg2 = to_FXbool(argv[0]); }
2167
+ result = (FXbool)FXColorList_killSelection(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
2168
+ static VALUE _wrap_FXColorList_setCurrentItem(int argc, VALUE *argv, VALUE self) { FXColorList *arg1 = (FXColorList *) 0 ;
2169
+ FXint arg2 ; FXbool arg3 = (FXbool) 0 ; if ((argc < 1) || (argc > 2))
2170
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
2171
+ SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXColorList, 1); arg2 = NUM2INT(argv[0]); if (argc > 1) {
2172
+ arg3 = to_FXbool(argv[1]); } FXColorList_setCurrentItem(arg1,arg2,arg3); return Qnil; }
2173
+
2174
+ /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
2175
+
2176
+ static void *_p_FXFrameTo_p_FXId(void *x) {
2177
+ return (void *)((FXId *) (FXDrawable *)(FXWindow *) ((FXFrame *) x));
2178
+ }
2179
+ static void *_p_FXDockSiteTo_p_FXId(void *x) {
2180
+ return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXDockSite *) x));
2181
+ }
2182
+ static void *_p_FXPopupTo_p_FXId(void *x) {
2183
+ return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *) ((FXPopup *) x));
2184
+ }
2185
+ static void *_p_FXColorListTo_p_FXId(void *x) {
2186
+ return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXScrollArea *)(FXList *) ((FXColorList *) x));
2187
+ }
2188
+ static void *_p_FXShutterItemTo_p_FXId(void *x) {
2189
+ return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutterItem *) x));
2190
+ }
2191
+ static void *_p_FXScrollAreaTo_p_FXId(void *x) {
2192
+ return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *) ((FXScrollArea *) x));
2193
+ }
2194
+ static void *_p_FXStatusBarTo_p_FXId(void *x) {
2195
+ return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXHorizontalFrame *) ((FXStatusBar *) x));
2196
+ }
2197
+ static void *_p_FXMainWindowTo_p_FXId(void *x) {
2198
+ return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXMainWindow *) x));
2199
+ }
2200
+ static void *_p_FXTopWindowTo_p_FXId(void *x) {
2201
+ return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *) ((FXTopWindow *) x));
2202
+ }
2203
+ static void *_p_FXRootWindowTo_p_FXId(void *x) {
2204
+ return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *) ((FXRootWindow *) x));
2205
+ }
2206
+ static void *_p_FXWindowTo_p_FXId(void *x) {
2207
+ return (void *)((FXId *) (FXDrawable *) ((FXWindow *) x));
2208
+ }
2209
+ static void *_p_FXCompositeTo_p_FXId(void *x) {
2210
+ return (void *)((FXId *) (FXDrawable *)(FXWindow *) ((FXComposite *) x));
2211
+ }
2212
+ static void *_p_FXSplashWindowTo_p_FXId(void *x) {
2213
+ return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXSplashWindow *) x));
2214
+ }
2215
+ static void *_p_FXScrollWindowTo_p_FXId(void *x) {
2216
+ return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXScrollArea *) ((FXScrollWindow *) x));
2217
+ }
2218
+ static void *_p_FXShellTo_p_FXId(void *x) {
2219
+ return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *) ((FXShell *) x));
2220
+ }
2221
+ static void *_p_FXGroupBoxTo_p_FXId(void *x) {
2222
+ return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXGroupBox *) x));
2223
+ }
2224
+ static void *_p_FXGIFCursorTo_p_FXId(void *x) {
2225
+ return (void *)((FXId *) (FXCursor *) ((FXGIFCursor *) x));
2226
+ }
2227
+ static void *_p_FXCURCursorTo_p_FXId(void *x) {
2228
+ return (void *)((FXId *) (FXCursor *) ((FXCURCursor *) x));
2229
+ }
2230
+ static void *_p_FXCursorTo_p_FXId(void *x) {
2231
+ return (void *)((FXId *) ((FXCursor *) x));
2232
+ }
2233
+ static void *_p_FXDrawableTo_p_FXId(void *x) {
2234
+ return (void *)((FXId *) ((FXDrawable *) x));
2235
+ }
2236
+ static void *_p_FXSplitterTo_p_FXId(void *x) {
2237
+ return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *) ((FXSplitter *) x));
2238
+ }
2239
+ static void *_p_FX4SplitterTo_p_FXId(void *x) {
2240
+ return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *) ((FX4Splitter *) x));
2241
+ }
2242
+ static void *_p_FXFontTo_p_FXId(void *x) {
2243
+ return (void *)((FXId *) ((FXFont *) x));
2244
+ }
2245
+ static void *_p_FXPackerTo_p_FXId(void *x) {
2246
+ return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *) ((FXPacker *) x));
2247
+ }
2248
+ static void *_p_FXHorizontalFrameTo_p_FXId(void *x) {
2249
+ return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXHorizontalFrame *) x));
2250
+ }
2251
+ static void *_p_FXVerticalFrameTo_p_FXId(void *x) {
2252
+ return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXVerticalFrame *) x));
2253
+ }
2254
+ static void *_p_FXShutterTo_p_FXId(void *x) {
2255
+ return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutter *) x));
2256
+ }
2257
+ static void *_p_FXVisualTo_p_FXId(void *x) {
2258
+ return (void *)((FXId *) ((FXVisual *) x));
2259
+ }
2260
+ static void *_p_FXMatrixTo_p_FXId(void *x) {
2261
+ return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXMatrix *) x));
2262
+ }
2263
+ static void *_p_FXListTo_p_FXId(void *x) {
2264
+ return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXScrollArea *) ((FXList *) x));
2265
+ }
2266
+ static void *_p_FXSpringTo_p_FXId(void *x) {
2267
+ return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXSpring *) x));
2268
+ }
2269
+ static void *_p_FXSwitcherTo_p_FXId(void *x) {
2270
+ return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXSwitcher *) x));
2271
+ }
2272
+ static void *_p_FXSettingsTo_p_FXObject(void *x) {
2273
+ return (void *)((FXObject *) (FXDict *) ((FXSettings *) x));
2274
+ }
2275
+ static void *_p_FXAccelTableTo_p_FXObject(void *x) {
2276
+ return (void *)((FXObject *) ((FXAccelTable *) x));
2277
+ }
2278
+ static void *_p_FXCompositeTo_p_FXObject(void *x) {
2279
+ return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *) ((FXComposite *) x));
2280
+ }
2281
+ static void *_p_FXColorItemTo_p_FXObject(void *x) {
2282
+ return (void *)((FXObject *) (FXListItem *) ((FXColorItem *) x));
2283
+ }
2284
+ static void *_p_FXRegistryTo_p_FXObject(void *x) {
2285
+ return (void *)((FXObject *) (FXDict *)(FXSettings *) ((FXRegistry *) x));
2286
+ }
2287
+ static void *_p_FXIconDictTo_p_FXObject(void *x) {
2288
+ return (void *)((FXObject *) (FXDict *) ((FXIconDict *) x));
2289
+ }
2290
+ static void *_p_FXShellTo_p_FXObject(void *x) {
2291
+ return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *) ((FXShell *) x));
2292
+ }
2293
+ static void *_p_FXPopupTo_p_FXObject(void *x) {
2294
+ return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *) ((FXPopup *) x));
2295
+ }
2296
+ static void *_p_FXGroupBoxTo_p_FXObject(void *x) {
2297
+ return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXGroupBox *) x));
2298
+ }
2299
+ static void *_p_FXStatusBarTo_p_FXObject(void *x) {
2300
+ return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXHorizontalFrame *) ((FXStatusBar *) x));
2301
+ }
2302
+ static void *_p_FXScrollAreaTo_p_FXObject(void *x) {
2303
+ return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *) ((FXScrollArea *) x));
2304
+ }
2305
+ static void *_p_FXRecentFilesTo_p_FXObject(void *x) {
2306
+ return (void *)((FXObject *) ((FXRecentFiles *) x));
2307
+ }
2308
+ static void *_p_FXDocumentTo_p_FXObject(void *x) {
2309
+ return (void *)((FXObject *) ((FXDocument *) x));
2310
+ }
2311
+ static void *_p_FXSplashWindowTo_p_FXObject(void *x) {
2312
+ return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXSplashWindow *) x));
2313
+ }
2314
+ static void *_p_FXMainWindowTo_p_FXObject(void *x) {
2315
+ return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXMainWindow *) x));
2316
+ }
2317
+ static void *_p_FXTopWindowTo_p_FXObject(void *x) {
2318
+ return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *) ((FXTopWindow *) x));
2319
+ }
2320
+ static void *_p_FXRootWindowTo_p_FXObject(void *x) {
2321
+ return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *) ((FXRootWindow *) x));
2322
+ }
2323
+ static void *_p_FXWindowTo_p_FXObject(void *x) {
2324
+ return (void *)((FXObject *) (FXId *)(FXDrawable *) ((FXWindow *) x));
2325
+ }
2326
+ static void *_p_FXScrollWindowTo_p_FXObject(void *x) {
2327
+ return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXScrollArea *) ((FXScrollWindow *) x));
2328
+ }
2329
+ static void *_p_FXHorizontalFrameTo_p_FXObject(void *x) {
2330
+ return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXHorizontalFrame *) x));
2331
+ }
2332
+ static void *_p_FXVerticalFrameTo_p_FXObject(void *x) {
2333
+ return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXVerticalFrame *) x));
2334
+ }
2335
+ static void *_p_FXSplitterTo_p_FXObject(void *x) {
2336
+ return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *) ((FXSplitter *) x));
2337
+ }
2338
+ static void *_p_FX4SplitterTo_p_FXObject(void *x) {
2339
+ return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *) ((FX4Splitter *) x));
2340
+ }
2341
+ static void *_p_FXStringDictTo_p_FXObject(void *x) {
2342
+ return (void *)((FXObject *) (FXDict *) ((FXStringDict *) x));
2343
+ }
2344
+ static void *_p_FXPackerTo_p_FXObject(void *x) {
2345
+ return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *) ((FXPacker *) x));
2346
+ }
2347
+ static void *_p_FXFontTo_p_FXObject(void *x) {
2348
+ return (void *)((FXObject *) (FXId *) ((FXFont *) x));
2349
+ }
2350
+ static void *_p_FXListTo_p_FXObject(void *x) {
2351
+ return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXScrollArea *) ((FXList *) x));
2352
+ }
2353
+ static void *_p_FXFileDictTo_p_FXObject(void *x) {
2354
+ return (void *)((FXObject *) (FXDict *) ((FXFileDict *) x));
2355
+ }
2356
+ static void *_p_FXDataTargetTo_p_FXObject(void *x) {
2357
+ return (void *)((FXObject *) ((FXDataTarget *) x));
2358
+ }
2359
+ static void *_p_FXDebugTargetTo_p_FXObject(void *x) {
2360
+ return (void *)((FXObject *) ((FXDebugTarget *) x));
2361
+ }
2362
+ static void *_p_FXSwitcherTo_p_FXObject(void *x) {
2363
+ return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXSwitcher *) x));
2364
+ }
2365
+ static void *_p_FXShutterTo_p_FXObject(void *x) {
2366
+ return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutter *) x));
2367
+ }
2368
+ static void *_p_FXDelegatorTo_p_FXObject(void *x) {
2369
+ return (void *)((FXObject *) ((FXDelegator *) x));
2370
+ }
2371
+ static void *_p_FXDrawableTo_p_FXObject(void *x) {
2372
+ return (void *)((FXObject *) (FXId *) ((FXDrawable *) x));
2373
+ }
2374
+ static void *_p_FXGIFCursorTo_p_FXObject(void *x) {
2375
+ return (void *)((FXObject *) (FXId *)(FXCursor *) ((FXGIFCursor *) x));
2376
+ }
2377
+ static void *_p_FXCURCursorTo_p_FXObject(void *x) {
2378
+ return (void *)((FXObject *) (FXId *)(FXCursor *) ((FXCURCursor *) x));
2379
+ }
2380
+ static void *_p_FXCursorTo_p_FXObject(void *x) {
2381
+ return (void *)((FXObject *) (FXId *) ((FXCursor *) x));
2382
+ }
2383
+ static void *_p_FXTranslatorTo_p_FXObject(void *x) {
2384
+ return (void *)((FXObject *) ((FXTranslator *) x));
2385
+ }
2386
+ static void *_p_FXDockSiteTo_p_FXObject(void *x) {
2387
+ return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXDockSite *) x));
2388
+ }
2389
+ static void *_p_FXDictTo_p_FXObject(void *x) {
2390
+ return (void *)((FXObject *) ((FXDict *) x));
2391
+ }
2392
+ static void *_p_FXMatrixTo_p_FXObject(void *x) {
2393
+ return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXMatrix *) x));
2394
+ }
2395
+ static void *_p_FXShutterItemTo_p_FXObject(void *x) {
2396
+ return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutterItem *) x));
2397
+ }
2398
+ static void *_p_FXListItemTo_p_FXObject(void *x) {
2399
+ return (void *)((FXObject *) ((FXListItem *) x));
2400
+ }
2401
+ static void *_p_FXIdTo_p_FXObject(void *x) {
2402
+ return (void *)((FXObject *) ((FXId *) x));
2403
+ }
2404
+ static void *_p_FXFrameTo_p_FXObject(void *x) {
2405
+ return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *) ((FXFrame *) x));
2406
+ }
2407
+ static void *_p_FXColorListTo_p_FXObject(void *x) {
2408
+ return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXScrollArea *)(FXList *) ((FXColorList *) x));
2409
+ }
2410
+ static void *_p_FXSpringTo_p_FXObject(void *x) {
2411
+ return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXSpring *) x));
2412
+ }
2413
+ static void *_p_FXVisualTo_p_FXObject(void *x) {
2414
+ return (void *)((FXObject *) (FXId *) ((FXVisual *) x));
2415
+ }
2416
+ static void *_p_FXAppTo_p_FXObject(void *x) {
2417
+ return (void *)((FXObject *) ((FXApp *) x));
2418
+ }
2419
+ static void *_p_FXListTo_p_FXScrollArea(void *x) {
2420
+ return (void *)((FXScrollArea *) ((FXList *) x));
2421
+ }
2422
+ static void *_p_FXScrollWindowTo_p_FXScrollArea(void *x) {
2423
+ return (void *)((FXScrollArea *) ((FXScrollWindow *) x));
2424
+ }
2425
+ static void *_p_FXColorListTo_p_FXScrollArea(void *x) {
2426
+ return (void *)((FXScrollArea *) (FXList *) ((FXColorList *) x));
2427
+ }
2428
+ static void *_p_FXDockSiteTo_p_FXWindow(void *x) {
2429
+ return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXDockSite *) x));
2430
+ }
2431
+ static void *_p_FXFrameTo_p_FXWindow(void *x) {
2432
+ return (void *)((FXWindow *) ((FXFrame *) x));
2433
+ }
2434
+ static void *_p_FXPopupTo_p_FXWindow(void *x) {
2435
+ return (void *)((FXWindow *) (FXComposite *)(FXShell *) ((FXPopup *) x));
2436
+ }
2437
+ static void *_p_FXColorListTo_p_FXWindow(void *x) {
2438
+ return (void *)((FXWindow *) (FXComposite *)(FXScrollArea *)(FXList *) ((FXColorList *) x));
2439
+ }
2440
+ static void *_p_FXShutterItemTo_p_FXWindow(void *x) {
2441
+ return (void *)((FXWindow *) (FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutterItem *) x));
2442
+ }
2443
+ static void *_p_FXScrollAreaTo_p_FXWindow(void *x) {
2444
+ return (void *)((FXWindow *) (FXComposite *) ((FXScrollArea *) x));
2445
+ }
2446
+ static void *_p_FXStatusBarTo_p_FXWindow(void *x) {
2447
+ return (void *)((FXWindow *) (FXComposite *)(FXPacker *)(FXHorizontalFrame *) ((FXStatusBar *) x));
2448
+ }
2449
+ static void *_p_FXSplashWindowTo_p_FXWindow(void *x) {
2450
+ return (void *)((FXWindow *) (FXComposite *)(FXShell *)(FXTopWindow *) ((FXSplashWindow *) x));
2451
+ }
2452
+ static void *_p_FXMainWindowTo_p_FXWindow(void *x) {
2453
+ return (void *)((FXWindow *) (FXComposite *)(FXShell *)(FXTopWindow *) ((FXMainWindow *) x));
2454
+ }
2455
+ static void *_p_FXTopWindowTo_p_FXWindow(void *x) {
2456
+ return (void *)((FXWindow *) (FXComposite *)(FXShell *) ((FXTopWindow *) x));
2457
+ }
2458
+ static void *_p_FXRootWindowTo_p_FXWindow(void *x) {
2459
+ return (void *)((FXWindow *) (FXComposite *) ((FXRootWindow *) x));
2460
+ }
2461
+ static void *_p_FXCompositeTo_p_FXWindow(void *x) {
2462
+ return (void *)((FXWindow *) ((FXComposite *) x));
2463
+ }
2464
+ static void *_p_FXScrollWindowTo_p_FXWindow(void *x) {
2465
+ return (void *)((FXWindow *) (FXComposite *)(FXScrollArea *) ((FXScrollWindow *) x));
2466
+ }
2467
+ static void *_p_FXShellTo_p_FXWindow(void *x) {
2468
+ return (void *)((FXWindow *) (FXComposite *) ((FXShell *) x));
2469
+ }
2470
+ static void *_p_FXGroupBoxTo_p_FXWindow(void *x) {
2471
+ return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXGroupBox *) x));
2472
+ }
2473
+ static void *_p_FXSplitterTo_p_FXWindow(void *x) {
2474
+ return (void *)((FXWindow *) (FXComposite *) ((FXSplitter *) x));
2475
+ }
2476
+ static void *_p_FX4SplitterTo_p_FXWindow(void *x) {
2477
+ return (void *)((FXWindow *) (FXComposite *) ((FX4Splitter *) x));
2478
+ }
2479
+ static void *_p_FXPackerTo_p_FXWindow(void *x) {
2480
+ return (void *)((FXWindow *) (FXComposite *) ((FXPacker *) x));
2481
+ }
2482
+ static void *_p_FXVerticalFrameTo_p_FXWindow(void *x) {
2483
+ return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXVerticalFrame *) x));
2484
+ }
2485
+ static void *_p_FXHorizontalFrameTo_p_FXWindow(void *x) {
2486
+ return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXHorizontalFrame *) x));
2487
+ }
2488
+ static void *_p_FXShutterTo_p_FXWindow(void *x) {
2489
+ return (void *)((FXWindow *) (FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutter *) x));
2490
+ }
2491
+ static void *_p_FXMatrixTo_p_FXWindow(void *x) {
2492
+ return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXMatrix *) x));
2493
+ }
2494
+ static void *_p_FXListTo_p_FXWindow(void *x) {
2495
+ return (void *)((FXWindow *) (FXComposite *)(FXScrollArea *) ((FXList *) x));
2496
+ }
2497
+ static void *_p_FXSpringTo_p_FXWindow(void *x) {
2498
+ return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXSpring *) x));
2499
+ }
2500
+ static void *_p_FXSwitcherTo_p_FXWindow(void *x) {
2501
+ return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXSwitcher *) x));
2502
+ }
2503
+ static void *_p_FXDockSiteTo_p_FXComposite(void *x) {
2504
+ return (void *)((FXComposite *) (FXPacker *) ((FXDockSite *) x));
2505
+ }
2506
+ static void *_p_FXPopupTo_p_FXComposite(void *x) {
2507
+ return (void *)((FXComposite *) (FXShell *) ((FXPopup *) x));
2508
+ }
2509
+ static void *_p_FXColorListTo_p_FXComposite(void *x) {
2510
+ return (void *)((FXComposite *) (FXScrollArea *)(FXList *) ((FXColorList *) x));
2511
+ }
2512
+ static void *_p_FXShutterItemTo_p_FXComposite(void *x) {
2513
+ return (void *)((FXComposite *) (FXPacker *)(FXVerticalFrame *) ((FXShutterItem *) x));
2514
+ }
2515
+ static void *_p_FXScrollAreaTo_p_FXComposite(void *x) {
2516
+ return (void *)((FXComposite *) ((FXScrollArea *) x));
2517
+ }
2518
+ static void *_p_FXStatusBarTo_p_FXComposite(void *x) {
2519
+ return (void *)((FXComposite *) (FXPacker *)(FXHorizontalFrame *) ((FXStatusBar *) x));
2520
+ }
2521
+ static void *_p_FXSplashWindowTo_p_FXComposite(void *x) {
2522
+ return (void *)((FXComposite *) (FXShell *)(FXTopWindow *) ((FXSplashWindow *) x));
2523
+ }
2524
+ static void *_p_FXMainWindowTo_p_FXComposite(void *x) {
2525
+ return (void *)((FXComposite *) (FXShell *)(FXTopWindow *) ((FXMainWindow *) x));
2526
+ }
2527
+ static void *_p_FXTopWindowTo_p_FXComposite(void *x) {
2528
+ return (void *)((FXComposite *) (FXShell *) ((FXTopWindow *) x));
2529
+ }
2530
+ static void *_p_FXRootWindowTo_p_FXComposite(void *x) {
2531
+ return (void *)((FXComposite *) ((FXRootWindow *) x));
2532
+ }
2533
+ static void *_p_FXScrollWindowTo_p_FXComposite(void *x) {
2534
+ return (void *)((FXComposite *) (FXScrollArea *) ((FXScrollWindow *) x));
2535
+ }
2536
+ static void *_p_FXShellTo_p_FXComposite(void *x) {
2537
+ return (void *)((FXComposite *) ((FXShell *) x));
2538
+ }
2539
+ static void *_p_FXGroupBoxTo_p_FXComposite(void *x) {
2540
+ return (void *)((FXComposite *) (FXPacker *) ((FXGroupBox *) x));
2541
+ }
2542
+ static void *_p_FXSplitterTo_p_FXComposite(void *x) {
2543
+ return (void *)((FXComposite *) ((FXSplitter *) x));
2544
+ }
2545
+ static void *_p_FX4SplitterTo_p_FXComposite(void *x) {
2546
+ return (void *)((FXComposite *) ((FX4Splitter *) x));
2547
+ }
2548
+ static void *_p_FXPackerTo_p_FXComposite(void *x) {
2549
+ return (void *)((FXComposite *) ((FXPacker *) x));
2550
+ }
2551
+ static void *_p_FXVerticalFrameTo_p_FXComposite(void *x) {
2552
+ return (void *)((FXComposite *) (FXPacker *) ((FXVerticalFrame *) x));
2553
+ }
2554
+ static void *_p_FXHorizontalFrameTo_p_FXComposite(void *x) {
2555
+ return (void *)((FXComposite *) (FXPacker *) ((FXHorizontalFrame *) x));
2556
+ }
2557
+ static void *_p_FXShutterTo_p_FXComposite(void *x) {
2558
+ return (void *)((FXComposite *) (FXPacker *)(FXVerticalFrame *) ((FXShutter *) x));
2559
+ }
2560
+ static void *_p_FXMatrixTo_p_FXComposite(void *x) {
2561
+ return (void *)((FXComposite *) (FXPacker *) ((FXMatrix *) x));
2562
+ }
2563
+ static void *_p_FXListTo_p_FXComposite(void *x) {
2564
+ return (void *)((FXComposite *) (FXScrollArea *) ((FXList *) x));
2565
+ }
2566
+ static void *_p_FXSpringTo_p_FXComposite(void *x) {
2567
+ return (void *)((FXComposite *) (FXPacker *) ((FXSpring *) x));
2568
+ }
2569
+ static void *_p_FXSwitcherTo_p_FXComposite(void *x) {
2570
+ return (void *)((FXComposite *) (FXPacker *) ((FXSwitcher *) x));
2571
+ }
2572
+ static void *_p_FXFileStreamTo_p_FXStream(void *x) {
2573
+ return (void *)((FXStream *) ((FXFileStream *) x));
2574
+ }
2575
+ static void *_p_FXMemoryStreamTo_p_FXStream(void *x) {
2576
+ return (void *)((FXStream *) ((FXMemoryStream *) x));
2577
+ }
2578
+ static void *_p_FXDockSiteTo_p_FXDrawable(void *x) {
2579
+ return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXDockSite *) x));
2580
+ }
2581
+ static void *_p_FXFrameTo_p_FXDrawable(void *x) {
2582
+ return (void *)((FXDrawable *) (FXWindow *) ((FXFrame *) x));
2583
+ }
2584
+ static void *_p_FXPopupTo_p_FXDrawable(void *x) {
2585
+ return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *) ((FXPopup *) x));
2586
+ }
2587
+ static void *_p_FXColorListTo_p_FXDrawable(void *x) {
2588
+ return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXScrollArea *)(FXList *) ((FXColorList *) x));
2589
+ }
2590
+ static void *_p_FXShutterItemTo_p_FXDrawable(void *x) {
2591
+ return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutterItem *) x));
2592
+ }
2593
+ static void *_p_FXScrollAreaTo_p_FXDrawable(void *x) {
2594
+ return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FXScrollArea *) x));
2595
+ }
2596
+ static void *_p_FXStatusBarTo_p_FXDrawable(void *x) {
2597
+ return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *)(FXHorizontalFrame *) ((FXStatusBar *) x));
2598
+ }
2599
+ static void *_p_FXSplashWindowTo_p_FXDrawable(void *x) {
2600
+ return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXSplashWindow *) x));
2601
+ }
2602
+ static void *_p_FXMainWindowTo_p_FXDrawable(void *x) {
2603
+ return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXMainWindow *) x));
2604
+ }
2605
+ static void *_p_FXTopWindowTo_p_FXDrawable(void *x) {
2606
+ return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *) ((FXTopWindow *) x));
2607
+ }
2608
+ static void *_p_FXRootWindowTo_p_FXDrawable(void *x) {
2609
+ return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FXRootWindow *) x));
2610
+ }
2611
+ static void *_p_FXWindowTo_p_FXDrawable(void *x) {
2612
+ return (void *)((FXDrawable *) ((FXWindow *) x));
2613
+ }
2614
+ static void *_p_FXCompositeTo_p_FXDrawable(void *x) {
2615
+ return (void *)((FXDrawable *) (FXWindow *) ((FXComposite *) x));
2616
+ }
2617
+ static void *_p_FXScrollWindowTo_p_FXDrawable(void *x) {
2618
+ return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXScrollArea *) ((FXScrollWindow *) x));
2619
+ }
2620
+ static void *_p_FXShellTo_p_FXDrawable(void *x) {
2621
+ return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FXShell *) x));
2622
+ }
2623
+ static void *_p_FXGroupBoxTo_p_FXDrawable(void *x) {
2624
+ return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXGroupBox *) x));
2625
+ }
2626
+ static void *_p_FXSplitterTo_p_FXDrawable(void *x) {
2627
+ return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FXSplitter *) x));
2628
+ }
2629
+ static void *_p_FX4SplitterTo_p_FXDrawable(void *x) {
2630
+ return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FX4Splitter *) x));
2631
+ }
2632
+ static void *_p_FXPackerTo_p_FXDrawable(void *x) {
2633
+ return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FXPacker *) x));
2634
+ }
2635
+ static void *_p_FXVerticalFrameTo_p_FXDrawable(void *x) {
2636
+ return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXVerticalFrame *) x));
2637
+ }
2638
+ static void *_p_FXHorizontalFrameTo_p_FXDrawable(void *x) {
2639
+ return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXHorizontalFrame *) x));
2640
+ }
2641
+ static void *_p_FXShutterTo_p_FXDrawable(void *x) {
2642
+ return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutter *) x));
2643
+ }
2644
+ static void *_p_FXMatrixTo_p_FXDrawable(void *x) {
2645
+ return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXMatrix *) x));
2646
+ }
2647
+ static void *_p_FXListTo_p_FXDrawable(void *x) {
2648
+ return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXScrollArea *) ((FXList *) x));
2649
+ }
2650
+ static void *_p_FXSpringTo_p_FXDrawable(void *x) {
2651
+ return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXSpring *) x));
2652
+ }
2653
+ static void *_p_FXSwitcherTo_p_FXDrawable(void *x) {
2654
+ return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXSwitcher *) x));
2655
+ }
2656
+ static void *_p_FXColorListTo_p_FXList(void *x) {
2657
+ return (void *)((FXList *) ((FXColorList *) x));
2658
+ }
2659
+ static void *_p_FXColorItemTo_p_FXListItem(void *x) {
2660
+ return (void *)((FXListItem *) ((FXColorItem *) x));
2661
+ }
2662
+ static swig_type_info _swigt__p_FXObject[] = {{"_p_FXObject", 0, "FXObject *", 0, 0, 0, 0},{"_p_FXDict", _p_FXDictTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXSettings", _p_FXSettingsTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXAccelTable", _p_FXAccelTableTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXColorItem", _p_FXColorItemTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXComposite", _p_FXCompositeTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXRegistry", _p_FXRegistryTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXId", _p_FXIdTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXIconDict", _p_FXIconDictTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXGroupBox", _p_FXGroupBoxTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXShell", _p_FXShellTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXStatusBar", _p_FXStatusBarTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXScrollArea", _p_FXScrollAreaTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXPopup", _p_FXPopupTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXWindow", _p_FXWindowTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXSplashWindow", _p_FXSplashWindowTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXMainWindow", _p_FXMainWindowTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXTopWindow", _p_FXTopWindowTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXRootWindow", _p_FXRootWindowTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXScrollWindow", _p_FXScrollWindowTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXRecentFiles", _p_FXRecentFilesTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDocument", _p_FXDocumentTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXHorizontalFrame", _p_FXHorizontalFrameTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXVerticalFrame", _p_FXVerticalFrameTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FX4Splitter", _p_FX4SplitterTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXSplitter", _p_FXSplitterTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXObject", 0, 0, 0, 0, 0, 0},{"_p_FXStringDict", _p_FXStringDictTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXPacker", _p_FXPackerTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXFileDict", _p_FXFileDictTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXSwitcher", _p_FXSwitcherTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDebugTarget", _p_FXDebugTargetTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDataTarget", _p_FXDataTargetTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXShutter", _p_FXShutterTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXGIFCursor", _p_FXGIFCursorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXCURCursor", _p_FXCURCursorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXCursor", _p_FXCursorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDrawable", _p_FXDrawableTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDelegator", _p_FXDelegatorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDockSite", _p_FXDockSiteTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXTranslator", _p_FXTranslatorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXApp", _p_FXAppTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXMatrix", _p_FXMatrixTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXShutterItem", _p_FXShutterItemTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXListItem", _p_FXListItemTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXList", _p_FXListTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXFrame", _p_FXFrameTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXFont", _p_FXFontTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXColorList", _p_FXColorListTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXSpring", _p_FXSpringTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXVisual", _p_FXVisualTo_p_FXObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2663
+ static swig_type_info _swigt__p_FXColorList[] = {{"_p_FXColorList", 0, "FXColorList *", 0, 0, 0, 0},{"_p_FXColorList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2664
+ static swig_type_info _swigt__p_FXScrollArea[] = {{"_p_FXScrollArea", 0, "FXScrollArea *", 0, 0, 0, 0},{"_p_FXList", _p_FXListTo_p_FXScrollArea, 0, 0, 0, 0, 0},{"_p_FXScrollWindow", _p_FXScrollWindowTo_p_FXScrollArea, 0, 0, 0, 0, 0},{"_p_FXScrollArea", 0, 0, 0, 0, 0, 0},{"_p_FXColorList", _p_FXColorListTo_p_FXScrollArea, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2665
+ static swig_type_info _swigt__p_FXWindow[] = {{"_p_FXWindow", 0, "FXWindow *", 0, 0, 0, 0},{"_p_FXDockSite", _p_FXDockSiteTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXFrame", _p_FXFrameTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXColorList", _p_FXColorListTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXPopup", _p_FXPopupTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXShutterItem", _p_FXShutterItemTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXScrollArea", _p_FXScrollAreaTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXStatusBar", _p_FXStatusBarTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXSplashWindow", _p_FXSplashWindowTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXMainWindow", _p_FXMainWindowTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXTopWindow", _p_FXTopWindowTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXRootWindow", _p_FXRootWindowTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXScrollWindow", _p_FXScrollWindowTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXWindow", 0, 0, 0, 0, 0, 0},{"_p_FXComposite", _p_FXCompositeTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXShell", _p_FXShellTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXGroupBox", _p_FXGroupBoxTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXList", _p_FXListTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXSplitter", _p_FXSplitterTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FX4Splitter", _p_FX4SplitterTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXPacker", _p_FXPackerTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXVerticalFrame", _p_FXVerticalFrameTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXHorizontalFrame", _p_FXHorizontalFrameTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXShutter", _p_FXShutterTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXMatrix", _p_FXMatrixTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXSpring", _p_FXSpringTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXSwitcher", _p_FXSwitcherTo_p_FXWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2666
+ static swig_type_info _swigt__p_FXComposite[] = {{"_p_FXComposite", 0, "FXComposite *", 0, 0, 0, 0},{"_p_FXDockSite", _p_FXDockSiteTo_p_FXComposite, 0, 0, 0, 0, 0},{"_p_FXColorList", _p_FXColorListTo_p_FXComposite, 0, 0, 0, 0, 0},{"_p_FXPopup", _p_FXPopupTo_p_FXComposite, 0, 0, 0, 0, 0},{"_p_FXShutterItem", _p_FXShutterItemTo_p_FXComposite, 0, 0, 0, 0, 0},{"_p_FXScrollArea", _p_FXScrollAreaTo_p_FXComposite, 0, 0, 0, 0, 0},{"_p_FXStatusBar", _p_FXStatusBarTo_p_FXComposite, 0, 0, 0, 0, 0},{"_p_FXSplashWindow", _p_FXSplashWindowTo_p_FXComposite, 0, 0, 0, 0, 0},{"_p_FXMainWindow", _p_FXMainWindowTo_p_FXComposite, 0, 0, 0, 0, 0},{"_p_FXTopWindow", _p_FXTopWindowTo_p_FXComposite, 0, 0, 0, 0, 0},{"_p_FXRootWindow", _p_FXRootWindowTo_p_FXComposite, 0, 0, 0, 0, 0},{"_p_FXScrollWindow", _p_FXScrollWindowTo_p_FXComposite, 0, 0, 0, 0, 0},{"_p_FXComposite", 0, 0, 0, 0, 0, 0},{"_p_FXShell", _p_FXShellTo_p_FXComposite, 0, 0, 0, 0, 0},{"_p_FXGroupBox", _p_FXGroupBoxTo_p_FXComposite, 0, 0, 0, 0, 0},{"_p_FXList", _p_FXListTo_p_FXComposite, 0, 0, 0, 0, 0},{"_p_FXSplitter", _p_FXSplitterTo_p_FXComposite, 0, 0, 0, 0, 0},{"_p_FX4Splitter", _p_FX4SplitterTo_p_FXComposite, 0, 0, 0, 0, 0},{"_p_FXPacker", _p_FXPackerTo_p_FXComposite, 0, 0, 0, 0, 0},{"_p_FXVerticalFrame", _p_FXVerticalFrameTo_p_FXComposite, 0, 0, 0, 0, 0},{"_p_FXHorizontalFrame", _p_FXHorizontalFrameTo_p_FXComposite, 0, 0, 0, 0, 0},{"_p_FXShutter", _p_FXShutterTo_p_FXComposite, 0, 0, 0, 0, 0},{"_p_FXMatrix", _p_FXMatrixTo_p_FXComposite, 0, 0, 0, 0, 0},{"_p_FXSpring", _p_FXSpringTo_p_FXComposite, 0, 0, 0, 0, 0},{"_p_FXSwitcher", _p_FXSwitcherTo_p_FXComposite, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2667
+ static swig_type_info _swigt__p_FXBitmap[] = {{"_p_FXBitmap", 0, "FXBitmap *", 0, 0, 0, 0},{"_p_FXBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2668
+ static swig_type_info _swigt__p_FXColorItem[] = {{"_p_FXColorItem", 0, "FXColorItem *", 0, 0, 0, 0},{"_p_FXColorItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2669
+ static swig_type_info _swigt__p_FXFont[] = {{"_p_FXFont", 0, "FXFont *", 0, 0, 0, 0},{"_p_FXFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2670
+ static swig_type_info _swigt__p_FXId[] = {{"_p_FXId", 0, "FXId *", 0, 0, 0, 0},{"_p_FXFrame", _p_FXFrameTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXDockSite", _p_FXDockSiteTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXColorList", _p_FXColorListTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXPopup", _p_FXPopupTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXShutterItem", _p_FXShutterItemTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXScrollArea", _p_FXScrollAreaTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXStatusBar", _p_FXStatusBarTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXTopWindow", _p_FXTopWindowTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXRootWindow", _p_FXRootWindowTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXWindow", _p_FXWindowTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXSplashWindow", _p_FXSplashWindowTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXScrollWindow", _p_FXScrollWindowTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXMainWindow", _p_FXMainWindowTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXComposite", _p_FXCompositeTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXId", 0, 0, 0, 0, 0, 0},{"_p_FXFont", _p_FXFontTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXShell", _p_FXShellTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXGroupBox", _p_FXGroupBoxTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXList", _p_FXListTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXSplitter", _p_FXSplitterTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FX4Splitter", _p_FX4SplitterTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXGIFCursor", _p_FXGIFCursorTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXCURCursor", _p_FXCURCursorTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXCursor", _p_FXCursorTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXDrawable", _p_FXDrawableTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXPacker", _p_FXPackerTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXVerticalFrame", _p_FXVerticalFrameTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXHorizontalFrame", _p_FXHorizontalFrameTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXShutter", _p_FXShutterTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXMatrix", _p_FXMatrixTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXVisual", _p_FXVisualTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXSpring", _p_FXSpringTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXSwitcher", _p_FXSwitcherTo_p_FXId, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2671
+ static swig_type_info _swigt__p_FXStream[] = {{"_p_FXStream", 0, "FXStream *", 0, 0, 0, 0},{"_p_FXFileStream", _p_FXFileStreamTo_p_FXStream, 0, 0, 0, 0, 0},{"_p_FXMemoryStream", _p_FXMemoryStreamTo_p_FXStream, 0, 0, 0, 0, 0},{"_p_FXStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2672
+ static swig_type_info _swigt__p_FXDrawable[] = {{"_p_FXDrawable", 0, "FXDrawable *", 0, 0, 0, 0},{"_p_FXDockSite", _p_FXDockSiteTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXFrame", _p_FXFrameTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXColorList", _p_FXColorListTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXPopup", _p_FXPopupTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXShutterItem", _p_FXShutterItemTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXScrollArea", _p_FXScrollAreaTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXStatusBar", _p_FXStatusBarTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXMainWindow", _p_FXMainWindowTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXTopWindow", _p_FXTopWindowTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXRootWindow", _p_FXRootWindowTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXWindow", _p_FXWindowTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXScrollWindow", _p_FXScrollWindowTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXSplashWindow", _p_FXSplashWindowTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXComposite", _p_FXCompositeTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXShell", _p_FXShellTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXGroupBox", _p_FXGroupBoxTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXDrawable", 0, 0, 0, 0, 0, 0},{"_p_FXList", _p_FXListTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXSplitter", _p_FXSplitterTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FX4Splitter", _p_FX4SplitterTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXPacker", _p_FXPackerTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXVerticalFrame", _p_FXVerticalFrameTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXHorizontalFrame", _p_FXHorizontalFrameTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXShutter", _p_FXShutterTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXMatrix", _p_FXMatrixTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXSpring", _p_FXSpringTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXSwitcher", _p_FXSwitcherTo_p_FXDrawable, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2673
+ static swig_type_info _swigt__p_FXList[] = {{"_p_FXList", 0, "FXList *", 0, 0, 0, 0},{"_p_FXList", 0, 0, 0, 0, 0, 0},{"_p_FXColorList", _p_FXColorListTo_p_FXList, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2674
+ static swig_type_info _swigt__p_FXIcon[] = {{"_p_FXIcon", 0, "FXIcon *", 0, 0, 0, 0},{"_p_FXIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2675
+ static swig_type_info _swigt__p_FXColor[] = {{"_p_FXColor", 0, "unsigned int *|FXColor *", 0, 0, 0, 0},{"_p_FXColor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2676
+ static swig_type_info _swigt__p_FXRegion[] = {{"_p_FXRegion", 0, "FXRegion *", 0, 0, 0, 0},{"_p_FXRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2677
+ static swig_type_info _swigt__p_FXListItem[] = {{"_p_FXListItem", 0, "FXListItem *", 0, 0, 0, 0},{"_p_FXColorItem", _p_FXColorItemTo_p_FXListItem, 0, 0, 0, 0, 0},{"_p_FXListItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2678
+
2679
+ static swig_type_info *swig_types_initial[] = {
2680
+ _swigt__p_FXObject,
2681
+ _swigt__p_FXColorList,
2682
+ _swigt__p_FXScrollArea,
2683
+ _swigt__p_FXWindow,
2684
+ _swigt__p_FXComposite,
2685
+ _swigt__p_FXBitmap,
2686
+ _swigt__p_FXColorItem,
2687
+ _swigt__p_FXFont,
2688
+ _swigt__p_FXId,
2689
+ _swigt__p_FXStream,
2690
+ _swigt__p_FXDrawable,
2691
+ _swigt__p_FXList,
2692
+ _swigt__p_FXIcon,
2693
+ _swigt__p_FXColor,
2694
+ _swigt__p_FXRegion,
2695
+ _swigt__p_FXListItem,
2696
+ 0
2697
+ };
2698
+
2699
+
2700
+ /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
2701
+
2702
+
2703
+ #ifdef __cplusplus
2704
+ extern "C"
2705
+ #endif
2706
+ SWIGEXPORT(void) Init_list(void) {
2707
+ int i;
2708
+
2709
+ SWIG_InitRuntime();
2710
+
2711
+ for (i = 0; swig_types_initial[i]; i++) {
2712
+ swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
2713
+ SWIG_define_class(swig_types[i]);
2714
+ }
2715
+
2716
+ rb_define_const(mFox,"LIST_EXTENDEDSELECT", INT2NUM(LIST_EXTENDEDSELECT));
2717
+ rb_define_const(mFox,"LIST_SINGLESELECT", INT2NUM(LIST_SINGLESELECT));
2718
+ rb_define_const(mFox,"LIST_BROWSESELECT", INT2NUM(LIST_BROWSESELECT));
2719
+ rb_define_const(mFox,"LIST_MULTIPLESELECT", INT2NUM(LIST_MULTIPLESELECT));
2720
+ rb_define_const(mFox,"LIST_AUTOSELECT", INT2NUM(LIST_AUTOSELECT));
2721
+ rb_define_const(mFox,"LIST_NORMAL", INT2NUM(LIST_NORMAL));
2722
+
2723
+ cFXListItem.klass = rb_define_class_under(mFox, "FXListItem", ((swig_class *) SWIGTYPE_p_FXObject->clientdata)->klass);
2724
+ SWIG_TypeClientData(SWIGTYPE_p_FXListItem, (void *) &cFXListItem);
2725
+ rb_define_alloc_func(cFXListItem.klass, _wrap_FXListItem_allocate);
2726
+ rb_define_method(cFXListItem.klass, "initialize", VALUEFUNC(_wrap_new_FXListItem), -1);
2727
+ rb_define_const(cFXListItem.klass,"SELECTED", INT2NUM(FXListItem::SELECTED));
2728
+ rb_define_const(cFXListItem.klass,"FOCUS", INT2NUM(FXListItem::FOCUS));
2729
+ rb_define_const(cFXListItem.klass,"DISABLED", INT2NUM(FXListItem::DISABLED));
2730
+ rb_define_const(cFXListItem.klass,"DRAGGABLE", INT2NUM(FXListItem::DRAGGABLE));
2731
+ rb_define_const(cFXListItem.klass,"ICONOWNED", INT2NUM(FXListItem::ICONOWNED));
2732
+ rb_define_method(cFXListItem.klass, "getText", VALUEFUNC(_wrap_FXListItem_getText), -1);
2733
+ rb_define_method(cFXListItem.klass, "getIcon", VALUEFUNC(_wrap_FXListItem_getIcon), -1);
2734
+ rb_define_method(cFXListItem.klass, "setData", VALUEFUNC(_wrap_FXListItem_setData), -1);
2735
+ rb_define_method(cFXListItem.klass, "getData", VALUEFUNC(_wrap_FXListItem_getData), -1);
2736
+ rb_define_method(cFXListItem.klass, "hasFocus", VALUEFUNC(_wrap_FXListItem_hasFocus), -1);
2737
+ rb_define_method(cFXListItem.klass, "isSelected", VALUEFUNC(_wrap_FXListItem_isSelected), -1);
2738
+ rb_define_method(cFXListItem.klass, "isEnabled", VALUEFUNC(_wrap_FXListItem_isEnabled), -1);
2739
+ rb_define_method(cFXListItem.klass, "isDraggable", VALUEFUNC(_wrap_FXListItem_isDraggable), -1);
2740
+ rb_define_method(cFXListItem.klass, "save", VALUEFUNC(_wrap_FXListItem_save), -1);
2741
+ rb_define_method(cFXListItem.klass, "load", VALUEFUNC(_wrap_FXListItem_load), -1);
2742
+ rb_define_method(cFXListItem.klass, "setText", VALUEFUNC(_wrap_FXListItem_setText), -1);
2743
+ rb_define_method(cFXListItem.klass, "setIcon", VALUEFUNC(_wrap_FXListItem_setIcon), -1);
2744
+ rb_define_method(cFXListItem.klass, "setFocus", VALUEFUNC(_wrap_FXListItem_setFocus), -1);
2745
+ rb_define_method(cFXListItem.klass, "setSelected", VALUEFUNC(_wrap_FXListItem_setSelected), -1);
2746
+ rb_define_method(cFXListItem.klass, "setEnabled", VALUEFUNC(_wrap_FXListItem_setEnabled), -1);
2747
+ rb_define_method(cFXListItem.klass, "setDraggable", VALUEFUNC(_wrap_FXListItem_setDraggable), -1);
2748
+ rb_define_method(cFXListItem.klass, "getWidth", VALUEFUNC(_wrap_FXListItem_getWidth), -1);
2749
+ rb_define_method(cFXListItem.klass, "getHeight", VALUEFUNC(_wrap_FXListItem_getHeight), -1);
2750
+ rb_define_method(cFXListItem.klass, "create", VALUEFUNC(_wrap_FXListItem_create), -1);
2751
+ rb_define_method(cFXListItem.klass, "detach", VALUEFUNC(_wrap_FXListItem_detach), -1);
2752
+ rb_define_method(cFXListItem.klass, "destroy", VALUEFUNC(_wrap_FXListItem_destroy), -1);
2753
+ cFXListItem.mark = (void (*)(void *)) FXRbListItem::markfunc;
2754
+ cFXListItem.destroy = (void (*)(void *)) FXRbListItem::freefunc;
2755
+
2756
+ SWIGTYPE_p_FXListItem->dcast = (swig_dycast_func) FXListItem_dynamic_cast;
2757
+
2758
+
2759
+ cFXList.klass = rb_define_class_under(mFox, "FXList", ((swig_class *) SWIGTYPE_p_FXScrollArea->clientdata)->klass);
2760
+ SWIG_TypeClientData(SWIGTYPE_p_FXList, (void *) &cFXList);
2761
+ rb_define_alloc_func(cFXList.klass, _wrap_FXList_allocate);
2762
+ rb_define_method(cFXList.klass, "initialize", VALUEFUNC(_wrap_new_FXList), -1);
2763
+ rb_define_method(cFXList.klass, "onPaint", VALUEFUNC(_wrap_FXList_onPaint), -1);
2764
+ rb_define_method(cFXList.klass, "onEnter", VALUEFUNC(_wrap_FXList_onEnter), -1);
2765
+ rb_define_method(cFXList.klass, "onLeave", VALUEFUNC(_wrap_FXList_onLeave), -1);
2766
+ rb_define_method(cFXList.klass, "onUngrabbed", VALUEFUNC(_wrap_FXList_onUngrabbed), -1);
2767
+ rb_define_method(cFXList.klass, "onKeyPress", VALUEFUNC(_wrap_FXList_onKeyPress), -1);
2768
+ rb_define_method(cFXList.klass, "onKeyRelease", VALUEFUNC(_wrap_FXList_onKeyRelease), -1);
2769
+ rb_define_method(cFXList.klass, "onLeftBtnPress", VALUEFUNC(_wrap_FXList_onLeftBtnPress), -1);
2770
+ rb_define_method(cFXList.klass, "onLeftBtnRelease", VALUEFUNC(_wrap_FXList_onLeftBtnRelease), -1);
2771
+ rb_define_method(cFXList.klass, "onRightBtnPress", VALUEFUNC(_wrap_FXList_onRightBtnPress), -1);
2772
+ rb_define_method(cFXList.klass, "onRightBtnRelease", VALUEFUNC(_wrap_FXList_onRightBtnRelease), -1);
2773
+ rb_define_method(cFXList.klass, "onMotion", VALUEFUNC(_wrap_FXList_onMotion), -1);
2774
+ rb_define_method(cFXList.klass, "onFocusIn", VALUEFUNC(_wrap_FXList_onFocusIn), -1);
2775
+ rb_define_method(cFXList.klass, "onFocusOut", VALUEFUNC(_wrap_FXList_onFocusOut), -1);
2776
+ rb_define_method(cFXList.klass, "onAutoScroll", VALUEFUNC(_wrap_FXList_onAutoScroll), -1);
2777
+ rb_define_method(cFXList.klass, "onClicked", VALUEFUNC(_wrap_FXList_onClicked), -1);
2778
+ rb_define_method(cFXList.klass, "onDoubleClicked", VALUEFUNC(_wrap_FXList_onDoubleClicked), -1);
2779
+ rb_define_method(cFXList.klass, "onTripleClicked", VALUEFUNC(_wrap_FXList_onTripleClicked), -1);
2780
+ rb_define_method(cFXList.klass, "onCommand", VALUEFUNC(_wrap_FXList_onCommand), -1);
2781
+ rb_define_method(cFXList.klass, "onQueryTip", VALUEFUNC(_wrap_FXList_onQueryTip), -1);
2782
+ rb_define_method(cFXList.klass, "onQueryHelp", VALUEFUNC(_wrap_FXList_onQueryHelp), -1);
2783
+ rb_define_method(cFXList.klass, "onTipTimer", VALUEFUNC(_wrap_FXList_onTipTimer), -1);
2784
+ rb_define_method(cFXList.klass, "onLookupTimer", VALUEFUNC(_wrap_FXList_onLookupTimer), -1);
2785
+ rb_define_method(cFXList.klass, "onCmdSetValue", VALUEFUNC(_wrap_FXList_onCmdSetValue), -1);
2786
+ rb_define_method(cFXList.klass, "onCmdGetIntValue", VALUEFUNC(_wrap_FXList_onCmdGetIntValue), -1);
2787
+ rb_define_method(cFXList.klass, "onCmdSetIntValue", VALUEFUNC(_wrap_FXList_onCmdSetIntValue), -1);
2788
+ rb_define_singleton_method(cFXList.klass, "ascending", VALUEFUNC(_wrap_FXList_ascending), -1);
2789
+ rb_define_singleton_method(cFXList.klass, "descending", VALUEFUNC(_wrap_FXList_descending), -1);
2790
+ rb_define_singleton_method(cFXList.klass, "ascendingCase", VALUEFUNC(_wrap_FXList_ascendingCase), -1);
2791
+ rb_define_singleton_method(cFXList.klass, "descendingCase", VALUEFUNC(_wrap_FXList_descendingCase), -1);
2792
+ rb_define_const(cFXList.klass,"ID_LOOKUPTIMER", INT2NUM(FXList::ID_LOOKUPTIMER));
2793
+ rb_define_const(cFXList.klass,"ID_LAST", INT2NUM(FXList::ID_LAST));
2794
+ rb_define_method(cFXList.klass, "getNumItems", VALUEFUNC(_wrap_FXList_getNumItems), -1);
2795
+ rb_define_method(cFXList.klass, "getNumVisible", VALUEFUNC(_wrap_FXList_getNumVisible), -1);
2796
+ rb_define_method(cFXList.klass, "setNumVisible", VALUEFUNC(_wrap_FXList_setNumVisible), -1);
2797
+ rb_define_method(cFXList.klass, "getItem", VALUEFUNC(_wrap_FXList_getItem), -1);
2798
+ rb_define_method(cFXList.klass, "setItem", VALUEFUNC(_wrap_FXList_setItem), -1);
2799
+ rb_define_method(cFXList.klass, "fillItems", VALUEFUNC(_wrap_FXList_fillItems), -1);
2800
+ rb_define_method(cFXList.klass, "insertItem", VALUEFUNC(_wrap_FXList_insertItem), -1);
2801
+ rb_define_method(cFXList.klass, "appendItem", VALUEFUNC(_wrap_FXList_appendItem), -1);
2802
+ rb_define_alias(cFXList.klass, "<<", "appendItem");
2803
+ rb_define_method(cFXList.klass, "prependItem", VALUEFUNC(_wrap_FXList_prependItem), -1);
2804
+ rb_define_method(cFXList.klass, "moveItem", VALUEFUNC(_wrap_FXList_moveItem), -1);
2805
+ rb_define_method(cFXList.klass, "extractItem", VALUEFUNC(_wrap_FXList_extractItem), -1);
2806
+ rb_define_method(cFXList.klass, "removeItem", VALUEFUNC(_wrap_FXList_removeItem), -1);
2807
+ rb_define_method(cFXList.klass, "clearItems", VALUEFUNC(_wrap_FXList_clearItems), -1);
2808
+ rb_define_method(cFXList.klass, "getItemWidth", VALUEFUNC(_wrap_FXList_getItemWidth), -1);
2809
+ rb_define_method(cFXList.klass, "getItemHeight", VALUEFUNC(_wrap_FXList_getItemHeight), -1);
2810
+ rb_define_method(cFXList.klass, "hitItem", VALUEFUNC(_wrap_FXList_hitItem), -1);
2811
+ rb_define_method(cFXList.klass, "findItem", VALUEFUNC(_wrap_FXList_findItem), -1);
2812
+ rb_define_method(cFXList.klass, "findItemByData", VALUEFUNC(_wrap_FXList_findItemByData), -1);
2813
+ rb_define_method(cFXList.klass, "setItemText", VALUEFUNC(_wrap_FXList_setItemText), -1);
2814
+ rb_define_method(cFXList.klass, "getItemText", VALUEFUNC(_wrap_FXList_getItemText), -1);
2815
+ rb_define_method(cFXList.klass, "setItemIcon", VALUEFUNC(_wrap_FXList_setItemIcon), -1);
2816
+ rb_define_method(cFXList.klass, "getItemIcon", VALUEFUNC(_wrap_FXList_getItemIcon), -1);
2817
+ rb_define_method(cFXList.klass, "setItemData", VALUEFUNC(_wrap_FXList_setItemData), -1);
2818
+ rb_define_method(cFXList.klass, "getItemData", VALUEFUNC(_wrap_FXList_getItemData), -1);
2819
+ rb_define_method(cFXList.klass, "isItemSelected", VALUEFUNC(_wrap_FXList_isItemSelected), -1);
2820
+ rb_define_method(cFXList.klass, "isItemCurrent", VALUEFUNC(_wrap_FXList_isItemCurrent), -1);
2821
+ rb_define_method(cFXList.klass, "isItemVisible", VALUEFUNC(_wrap_FXList_isItemVisible), -1);
2822
+ rb_define_method(cFXList.klass, "isItemEnabled", VALUEFUNC(_wrap_FXList_isItemEnabled), -1);
2823
+ rb_define_method(cFXList.klass, "updateItem", VALUEFUNC(_wrap_FXList_updateItem), -1);
2824
+ rb_define_method(cFXList.klass, "getCurrentItem", VALUEFUNC(_wrap_FXList_getCurrentItem), -1);
2825
+ rb_define_method(cFXList.klass, "setAnchorItem", VALUEFUNC(_wrap_FXList_setAnchorItem), -1);
2826
+ rb_define_method(cFXList.klass, "getAnchorItem", VALUEFUNC(_wrap_FXList_getAnchorItem), -1);
2827
+ rb_define_method(cFXList.klass, "getCursorItem", VALUEFUNC(_wrap_FXList_getCursorItem), -1);
2828
+ rb_define_method(cFXList.klass, "sortItems", VALUEFUNC(_wrap_FXList_sortItems), -1);
2829
+ rb_define_method(cFXList.klass, "setFont", VALUEFUNC(_wrap_FXList_setFont), -1);
2830
+ rb_define_method(cFXList.klass, "getFont", VALUEFUNC(_wrap_FXList_getFont), -1);
2831
+ rb_define_method(cFXList.klass, "getTextColor", VALUEFUNC(_wrap_FXList_getTextColor), -1);
2832
+ rb_define_method(cFXList.klass, "setTextColor", VALUEFUNC(_wrap_FXList_setTextColor), -1);
2833
+ rb_define_method(cFXList.klass, "getSelBackColor", VALUEFUNC(_wrap_FXList_getSelBackColor), -1);
2834
+ rb_define_method(cFXList.klass, "setSelBackColor", VALUEFUNC(_wrap_FXList_setSelBackColor), -1);
2835
+ rb_define_method(cFXList.klass, "getSelTextColor", VALUEFUNC(_wrap_FXList_getSelTextColor), -1);
2836
+ rb_define_method(cFXList.klass, "setSelTextColor", VALUEFUNC(_wrap_FXList_setSelTextColor), -1);
2837
+ rb_define_method(cFXList.klass, "getListStyle", VALUEFUNC(_wrap_FXList_getListStyle), -1);
2838
+ rb_define_method(cFXList.klass, "setListStyle", VALUEFUNC(_wrap_FXList_setListStyle), -1);
2839
+ rb_define_method(cFXList.klass, "setHelpText", VALUEFUNC(_wrap_FXList_setHelpText), -1);
2840
+ rb_define_method(cFXList.klass, "getHelpText", VALUEFUNC(_wrap_FXList_getHelpText), -1);
2841
+ rb_define_method(cFXList.klass, "save", VALUEFUNC(_wrap_FXList_save), -1);
2842
+ rb_define_method(cFXList.klass, "load", VALUEFUNC(_wrap_FXList_load), -1);
2843
+ rb_define_method(cFXList.klass, "create", VALUEFUNC(_wrap_FXList_create), -1);
2844
+ rb_define_method(cFXList.klass, "detach", VALUEFUNC(_wrap_FXList_detach), -1);
2845
+ rb_define_method(cFXList.klass, "destroy", VALUEFUNC(_wrap_FXList_destroy), -1);
2846
+ rb_define_method(cFXList.klass, "resize", VALUEFUNC(_wrap_FXList_resize), -1);
2847
+ rb_define_method(cFXList.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXList_getDefaultWidth), -1);
2848
+ rb_define_method(cFXList.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXList_getDefaultHeight), -1);
2849
+ rb_define_method(cFXList.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXList_getWidthForHeight), -1);
2850
+ rb_define_method(cFXList.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXList_getHeightForWidth), -1);
2851
+ rb_define_method(cFXList.klass, "canFocus", VALUEFUNC(_wrap_FXList_canFocus), -1);
2852
+ rb_define_method(cFXList.klass, "setFocus", VALUEFUNC(_wrap_FXList_setFocus), -1);
2853
+ rb_define_method(cFXList.klass, "killFocus", VALUEFUNC(_wrap_FXList_killFocus), -1);
2854
+ rb_define_method(cFXList.klass, "changeFocus", VALUEFUNC(_wrap_FXList_changeFocus), -1);
2855
+ rb_define_method(cFXList.klass, "setDefault", VALUEFUNC(_wrap_FXList_setDefault), -1);
2856
+ rb_define_method(cFXList.klass, "enable", VALUEFUNC(_wrap_FXList_enable), -1);
2857
+ rb_define_method(cFXList.klass, "disable", VALUEFUNC(_wrap_FXList_disable), -1);
2858
+ rb_define_method(cFXList.klass, "raiseWindow", VALUEFUNC(_wrap_FXList_raiseWindow), -1);
2859
+ rb_define_method(cFXList.klass, "lower", VALUEFUNC(_wrap_FXList_lower), -1);
2860
+ rb_define_method(cFXList.klass, "move", VALUEFUNC(_wrap_FXList_move), -1);
2861
+ rb_define_method(cFXList.klass, "layout", VALUEFUNC(_wrap_FXList_layout), -1);
2862
+ rb_define_method(cFXList.klass, "recalc", VALUEFUNC(_wrap_FXList_recalc), -1);
2863
+ rb_define_method(cFXList.klass, "reparent", VALUEFUNC(_wrap_FXList_reparent), -1);
2864
+ rb_define_method(cFXList.klass, "show", VALUEFUNC(_wrap_FXList_show), -1);
2865
+ rb_define_method(cFXList.klass, "hide", VALUEFUNC(_wrap_FXList_hide), -1);
2866
+ rb_define_method(cFXList.klass, "isComposite", VALUEFUNC(_wrap_FXList_isComposite), -1);
2867
+ rb_define_method(cFXList.klass, "contains", VALUEFUNC(_wrap_FXList_contains), -1);
2868
+ rb_define_method(cFXList.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXList_doesSaveUnder), -1);
2869
+ rb_define_method(cFXList.klass, "setBackColor", VALUEFUNC(_wrap_FXList_setBackColor), -1);
2870
+ rb_define_method(cFXList.klass, "tr", VALUEFUNC(_wrap_FXList_tr), -1);
2871
+ rb_define_method(cFXList.klass, "dropEnable", VALUEFUNC(_wrap_FXList_dropEnable), -1);
2872
+ rb_define_method(cFXList.klass, "dropDisable", VALUEFUNC(_wrap_FXList_dropDisable), -1);
2873
+ rb_define_method(cFXList.klass, "setShape", VALUEFUNC(_wrap_FXList_setShape), -1);
2874
+ rb_define_method(cFXList.klass, "clearShape", VALUEFUNC(_wrap_FXList_clearShape), -1);
2875
+ rb_define_method(cFXList.klass, "getViewportHeight", VALUEFUNC(_wrap_FXList_getViewportHeight), -1);
2876
+ rb_define_method(cFXList.klass, "getViewportWidth", VALUEFUNC(_wrap_FXList_getViewportWidth), -1);
2877
+ rb_define_method(cFXList.klass, "getContentHeight", VALUEFUNC(_wrap_FXList_getContentHeight), -1);
2878
+ rb_define_method(cFXList.klass, "getContentWidth", VALUEFUNC(_wrap_FXList_getContentWidth), -1);
2879
+ rb_define_method(cFXList.klass, "position", VALUEFUNC(_wrap_FXList_position), -1);
2880
+ rb_define_method(cFXList.klass, "enableItem", VALUEFUNC(_wrap_FXList_enableItem), -1);
2881
+ rb_define_method(cFXList.klass, "disableItem", VALUEFUNC(_wrap_FXList_disableItem), -1);
2882
+ rb_define_method(cFXList.klass, "makeItemVisible", VALUEFUNC(_wrap_FXList_makeItemVisible), -1);
2883
+ rb_define_method(cFXList.klass, "getItemAt", VALUEFUNC(_wrap_FXList_getItemAt), -1);
2884
+ rb_define_method(cFXList.klass, "selectItem", VALUEFUNC(_wrap_FXList_selectItem), -1);
2885
+ rb_define_method(cFXList.klass, "deselectItem", VALUEFUNC(_wrap_FXList_deselectItem), -1);
2886
+ rb_define_method(cFXList.klass, "toggleItem", VALUEFUNC(_wrap_FXList_toggleItem), -1);
2887
+ rb_define_method(cFXList.klass, "extendSelection", VALUEFUNC(_wrap_FXList_extendSelection), -1);
2888
+ rb_define_method(cFXList.klass, "killSelection", VALUEFUNC(_wrap_FXList_killSelection), -1);
2889
+ rb_define_method(cFXList.klass, "setCurrentItem", VALUEFUNC(_wrap_FXList_setCurrentItem), -1);
2890
+ cFXList.mark = (void (*)(void *)) FXRbList::markfunc;
2891
+ cFXList.destroy = (void (*)(void *)) FXRbObject::freefunc;
2892
+
2893
+ SWIGTYPE_p_FXListItem->dcast = (swig_dycast_func) FXListItem_dynamic_cast;
2894
+
2895
+
2896
+ cFXColorItem.klass = rb_define_class_under(mFox, "FXColorItem", ((swig_class *) SWIGTYPE_p_FXListItem->clientdata)->klass);
2897
+ SWIG_TypeClientData(SWIGTYPE_p_FXColorItem, (void *) &cFXColorItem);
2898
+ rb_define_alloc_func(cFXColorItem.klass, _wrap_FXColorItem_allocate);
2899
+ rb_define_method(cFXColorItem.klass, "initialize", VALUEFUNC(_wrap_new_FXColorItem), -1);
2900
+ rb_define_method(cFXColorItem.klass, "color=", VALUEFUNC(_wrap_FXColorItem_colore___), -1);
2901
+ rb_define_method(cFXColorItem.klass, "color", VALUEFUNC(_wrap_FXColorItem_color), -1);
2902
+ rb_define_method(cFXColorItem.klass, "save", VALUEFUNC(_wrap_FXColorItem_save), -1);
2903
+ rb_define_method(cFXColorItem.klass, "load", VALUEFUNC(_wrap_FXColorItem_load), -1);
2904
+ rb_define_method(cFXColorItem.klass, "setText", VALUEFUNC(_wrap_FXColorItem_setText), -1);
2905
+ rb_define_method(cFXColorItem.klass, "setIcon", VALUEFUNC(_wrap_FXColorItem_setIcon), -1);
2906
+ rb_define_method(cFXColorItem.klass, "setFocus", VALUEFUNC(_wrap_FXColorItem_setFocus), -1);
2907
+ rb_define_method(cFXColorItem.klass, "setSelected", VALUEFUNC(_wrap_FXColorItem_setSelected), -1);
2908
+ rb_define_method(cFXColorItem.klass, "setEnabled", VALUEFUNC(_wrap_FXColorItem_setEnabled), -1);
2909
+ rb_define_method(cFXColorItem.klass, "setDraggable", VALUEFUNC(_wrap_FXColorItem_setDraggable), -1);
2910
+ rb_define_method(cFXColorItem.klass, "getWidth", VALUEFUNC(_wrap_FXColorItem_getWidth), -1);
2911
+ rb_define_method(cFXColorItem.klass, "getHeight", VALUEFUNC(_wrap_FXColorItem_getHeight), -1);
2912
+ rb_define_method(cFXColorItem.klass, "create", VALUEFUNC(_wrap_FXColorItem_create), -1);
2913
+ rb_define_method(cFXColorItem.klass, "detach", VALUEFUNC(_wrap_FXColorItem_detach), -1);
2914
+ rb_define_method(cFXColorItem.klass, "destroy", VALUEFUNC(_wrap_FXColorItem_destroy), -1);
2915
+ cFXColorItem.mark = 0;
2916
+ cFXColorItem.destroy = (void (*)(void *)) FXRbColorItem::freefunc;
2917
+
2918
+ cFXColorList.klass = rb_define_class_under(mFox, "FXColorList", ((swig_class *) SWIGTYPE_p_FXList->clientdata)->klass);
2919
+ SWIG_TypeClientData(SWIGTYPE_p_FXColorList, (void *) &cFXColorList);
2920
+ rb_define_alloc_func(cFXColorList.klass, _wrap_FXColorList_allocate);
2921
+ rb_define_method(cFXColorList.klass, "initialize", VALUEFUNC(_wrap_new_FXColorList), -1);
2922
+ rb_define_method(cFXColorList.klass, "fillItems", VALUEFUNC(_wrap_FXColorList_fillItems), -1);
2923
+ rb_define_method(cFXColorList.klass, "insertItem", VALUEFUNC(_wrap_FXColorList_insertItem), -1);
2924
+ rb_define_method(cFXColorList.klass, "appendItem", VALUEFUNC(_wrap_FXColorList_appendItem), -1);
2925
+ rb_define_alias(cFXColorList.klass, "<<", "appendItem");
2926
+ rb_define_method(cFXColorList.klass, "prependItem", VALUEFUNC(_wrap_FXColorList_prependItem), -1);
2927
+ rb_define_method(cFXColorList.klass, "setItemColor", VALUEFUNC(_wrap_FXColorList_setItemColor), -1);
2928
+ rb_define_method(cFXColorList.klass, "getItemColor", VALUEFUNC(_wrap_FXColorList_getItemColor), -1);
2929
+ rb_define_method(cFXColorList.klass, "save", VALUEFUNC(_wrap_FXColorList_save), -1);
2930
+ rb_define_method(cFXColorList.klass, "load", VALUEFUNC(_wrap_FXColorList_load), -1);
2931
+ rb_define_method(cFXColorList.klass, "create", VALUEFUNC(_wrap_FXColorList_create), -1);
2932
+ rb_define_method(cFXColorList.klass, "detach", VALUEFUNC(_wrap_FXColorList_detach), -1);
2933
+ rb_define_method(cFXColorList.klass, "destroy", VALUEFUNC(_wrap_FXColorList_destroy), -1);
2934
+ rb_define_method(cFXColorList.klass, "resize", VALUEFUNC(_wrap_FXColorList_resize), -1);
2935
+ rb_define_method(cFXColorList.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXColorList_getDefaultWidth), -1);
2936
+ rb_define_method(cFXColorList.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXColorList_getDefaultHeight), -1);
2937
+ rb_define_method(cFXColorList.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXColorList_getWidthForHeight), -1);
2938
+ rb_define_method(cFXColorList.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXColorList_getHeightForWidth), -1);
2939
+ rb_define_method(cFXColorList.klass, "canFocus", VALUEFUNC(_wrap_FXColorList_canFocus), -1);
2940
+ rb_define_method(cFXColorList.klass, "setFocus", VALUEFUNC(_wrap_FXColorList_setFocus), -1);
2941
+ rb_define_method(cFXColorList.klass, "killFocus", VALUEFUNC(_wrap_FXColorList_killFocus), -1);
2942
+ rb_define_method(cFXColorList.klass, "changeFocus", VALUEFUNC(_wrap_FXColorList_changeFocus), -1);
2943
+ rb_define_method(cFXColorList.klass, "setDefault", VALUEFUNC(_wrap_FXColorList_setDefault), -1);
2944
+ rb_define_method(cFXColorList.klass, "enable", VALUEFUNC(_wrap_FXColorList_enable), -1);
2945
+ rb_define_method(cFXColorList.klass, "disable", VALUEFUNC(_wrap_FXColorList_disable), -1);
2946
+ rb_define_method(cFXColorList.klass, "raiseWindow", VALUEFUNC(_wrap_FXColorList_raiseWindow), -1);
2947
+ rb_define_method(cFXColorList.klass, "lower", VALUEFUNC(_wrap_FXColorList_lower), -1);
2948
+ rb_define_method(cFXColorList.klass, "move", VALUEFUNC(_wrap_FXColorList_move), -1);
2949
+ rb_define_method(cFXColorList.klass, "layout", VALUEFUNC(_wrap_FXColorList_layout), -1);
2950
+ rb_define_method(cFXColorList.klass, "recalc", VALUEFUNC(_wrap_FXColorList_recalc), -1);
2951
+ rb_define_method(cFXColorList.klass, "reparent", VALUEFUNC(_wrap_FXColorList_reparent), -1);
2952
+ rb_define_method(cFXColorList.klass, "show", VALUEFUNC(_wrap_FXColorList_show), -1);
2953
+ rb_define_method(cFXColorList.klass, "hide", VALUEFUNC(_wrap_FXColorList_hide), -1);
2954
+ rb_define_method(cFXColorList.klass, "isComposite", VALUEFUNC(_wrap_FXColorList_isComposite), -1);
2955
+ rb_define_method(cFXColorList.klass, "contains", VALUEFUNC(_wrap_FXColorList_contains), -1);
2956
+ rb_define_method(cFXColorList.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXColorList_doesSaveUnder), -1);
2957
+ rb_define_method(cFXColorList.klass, "setBackColor", VALUEFUNC(_wrap_FXColorList_setBackColor), -1);
2958
+ rb_define_method(cFXColorList.klass, "tr", VALUEFUNC(_wrap_FXColorList_tr), -1);
2959
+ rb_define_method(cFXColorList.klass, "dropEnable", VALUEFUNC(_wrap_FXColorList_dropEnable), -1);
2960
+ rb_define_method(cFXColorList.klass, "dropDisable", VALUEFUNC(_wrap_FXColorList_dropDisable), -1);
2961
+ rb_define_method(cFXColorList.klass, "setShape", VALUEFUNC(_wrap_FXColorList_setShape), -1);
2962
+ rb_define_method(cFXColorList.klass, "clearShape", VALUEFUNC(_wrap_FXColorList_clearShape), -1);
2963
+ rb_define_method(cFXColorList.klass, "getViewportHeight", VALUEFUNC(_wrap_FXColorList_getViewportHeight), -1);
2964
+ rb_define_method(cFXColorList.klass, "getViewportWidth", VALUEFUNC(_wrap_FXColorList_getViewportWidth), -1);
2965
+ rb_define_method(cFXColorList.klass, "getContentHeight", VALUEFUNC(_wrap_FXColorList_getContentHeight), -1);
2966
+ rb_define_method(cFXColorList.klass, "getContentWidth", VALUEFUNC(_wrap_FXColorList_getContentWidth), -1);
2967
+ rb_define_method(cFXColorList.klass, "position", VALUEFUNC(_wrap_FXColorList_position), -1);
2968
+ rb_define_method(cFXColorList.klass, "enableItem", VALUEFUNC(_wrap_FXColorList_enableItem), -1);
2969
+ rb_define_method(cFXColorList.klass, "disableItem", VALUEFUNC(_wrap_FXColorList_disableItem), -1);
2970
+ rb_define_method(cFXColorList.klass, "makeItemVisible", VALUEFUNC(_wrap_FXColorList_makeItemVisible), -1);
2971
+ rb_define_method(cFXColorList.klass, "getItemAt", VALUEFUNC(_wrap_FXColorList_getItemAt), -1);
2972
+ rb_define_method(cFXColorList.klass, "selectItem", VALUEFUNC(_wrap_FXColorList_selectItem), -1);
2973
+ rb_define_method(cFXColorList.klass, "deselectItem", VALUEFUNC(_wrap_FXColorList_deselectItem), -1);
2974
+ rb_define_method(cFXColorList.klass, "toggleItem", VALUEFUNC(_wrap_FXColorList_toggleItem), -1);
2975
+ rb_define_method(cFXColorList.klass, "extendSelection", VALUEFUNC(_wrap_FXColorList_extendSelection), -1);
2976
+ rb_define_method(cFXColorList.klass, "killSelection", VALUEFUNC(_wrap_FXColorList_killSelection), -1);
2977
+ rb_define_method(cFXColorList.klass, "setCurrentItem", VALUEFUNC(_wrap_FXColorList_setCurrentItem), -1);
2978
+ cFXColorList.mark = 0;
2979
+ cFXColorList.destroy = (void (*)(void *)) FXRbObject::freefunc;
2980
+ }
2981
+