fxrubi 1.6.22.pre1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/.gemtest +0 -0
- data/History.txt +10 -0
- data/Manifest.txt +922 -0
- data/README +39 -0
- data/README.txt +483 -0
- data/Rakefile +185 -0
- data/TODO +47 -0
- data/doap.rdf +87 -0
- data/examples/RAA.rb +25 -0
- data/examples/README +53 -0
- data/examples/babelfish.rb +72 -0
- data/examples/bounce.rb +159 -0
- data/examples/browser.rb +191 -0
- data/examples/button.rb +168 -0
- data/examples/charts.rb +35 -0
- data/examples/custom_table_item.rb +170 -0
- data/examples/datatarget.rb +223 -0
- data/examples/dctest.rb +696 -0
- data/examples/dialog.rb +143 -0
- data/examples/dilbert.rb +66 -0
- data/examples/dirlist.rb +63 -0
- data/examples/dragdrop.rb +97 -0
- data/examples/dragsource.rb +80 -0
- data/examples/dropsite.rb +59 -0
- data/examples/foursplit.rb +97 -0
- data/examples/gltest.rb +330 -0
- data/examples/glviewer.rb +576 -0
- data/examples/groupbox.rb +392 -0
- data/examples/header.rb +149 -0
- data/examples/hello.rb +12 -0
- data/examples/hello2.rb +51 -0
- data/examples/iRAA.rb +153 -0
- data/examples/iconlist.rb +92 -0
- data/examples/icons/AngryGuyInBunnySuit.ico +0 -0
- data/examples/icons/FatBot.ico +0 -0
- data/examples/icons/FlippedySwitch.ico +0 -0
- data/examples/icons/LeGoon.ico +0 -0
- data/examples/icons/Net.ico +0 -0
- data/examples/icons/RedMacOS.ico +0 -0
- data/examples/icons/SawBlade.ico +0 -0
- data/examples/icons/backview.png +0 -0
- data/examples/icons/big.png +0 -0
- data/examples/icons/bigfolder.png +0 -0
- data/examples/icons/bigpenguin.png +0 -0
- data/examples/icons/bluebullet14x14.gif +0 -0
- data/examples/icons/bottomview.png +0 -0
- data/examples/icons/camera.png +0 -0
- data/examples/icons/capbutt.png +0 -0
- data/examples/icons/capnotlast.png +0 -0
- data/examples/icons/capproj.png +0 -0
- data/examples/icons/capround.png +0 -0
- data/examples/icons/colorpal.png +0 -0
- data/examples/icons/copy.png +0 -0
- data/examples/icons/cut.png +0 -0
- data/examples/icons/delimit.png +0 -0
- data/examples/icons/dippy.png +0 -0
- data/examples/icons/double_dash.png +0 -0
- data/examples/icons/filenew.png +0 -0
- data/examples/icons/fileopen.png +0 -0
- data/examples/icons/filesave.png +0 -0
- data/examples/icons/filesaveas.png +0 -0
- data/examples/icons/fonts.png +0 -0
- data/examples/icons/fox.png +0 -0
- data/examples/icons/foxicon.png +0 -0
- data/examples/icons/frontview.png +0 -0
- data/examples/icons/gem_big.png +0 -0
- data/examples/icons/gem_small.png +0 -0
- data/examples/icons/hello2.png +0 -0
- data/examples/icons/help.png +0 -0
- data/examples/icons/indent.png +0 -0
- data/examples/icons/jbevel.png +0 -0
- data/examples/icons/jmiter.png +0 -0
- data/examples/icons/jround.png +0 -0
- data/examples/icons/kill.png +0 -0
- data/examples/icons/leftview.png +0 -0
- data/examples/icons/light.png +0 -0
- data/examples/icons/minidoc.png +0 -0
- data/examples/icons/minifolder.png +0 -0
- data/examples/icons/minifolderopen.png +0 -0
- data/examples/icons/newfolder.png +0 -0
- data/examples/icons/nolight.png +0 -0
- data/examples/icons/onoff_dash.png +0 -0
- data/examples/icons/palette.png +0 -0
- data/examples/icons/parallel.png +0 -0
- data/examples/icons/paste.png +0 -0
- data/examples/icons/pattern.png +0 -0
- data/examples/icons/penguin.png +0 -0
- data/examples/icons/perspective.png +0 -0
- data/examples/icons/printicon.png +0 -0
- data/examples/icons/prop.png +0 -0
- data/examples/icons/redo.png +0 -0
- data/examples/icons/rightview.png +0 -0
- data/examples/icons/saveas.png +0 -0
- data/examples/icons/shutter1.png +0 -0
- data/examples/icons/shutter2.png +0 -0
- data/examples/icons/small.png +0 -0
- data/examples/icons/smoothlight.png +0 -0
- data/examples/icons/solid_line.png +0 -0
- data/examples/icons/tbuplevel.png +0 -0
- data/examples/icons/topview.png +0 -0
- data/examples/icons/transpbullet14x14.gif +0 -0
- data/examples/icons/undo.png +0 -0
- data/examples/icons/winapp.png +0 -0
- data/examples/icons/zoom.png +0 -0
- data/examples/image.rb +279 -0
- data/examples/imageviewer.rb +509 -0
- data/examples/inputs.rb +83 -0
- data/examples/mditest.rb +180 -0
- data/examples/pig.rb +77 -0
- data/examples/raabrowser.rb +122 -0
- data/examples/ratio.rb +80 -0
- data/examples/rulerview.rb +27 -0
- data/examples/scintilla-test.rb +81 -0
- data/examples/scribble-orig.rb +186 -0
- data/examples/scribble.rb +162 -0
- data/examples/shutter.rb +158 -0
- data/examples/splitter.rb +211 -0
- data/examples/styledtext.rb +82 -0
- data/examples/tabbook.rb +165 -0
- data/examples/table.rb +182 -0
- data/examples/textedit/commands.rb +114 -0
- data/examples/textedit/helpwindow.rb +299 -0
- data/examples/textedit/prefdialog.rb +239 -0
- data/examples/textedit/textedit.rb +1763 -0
- data/examples/unicode.rb +36 -0
- data/ext/fox16/FXRbApp.cpp +128 -0
- data/ext/fox16/FXRbDataTarget.cpp +110 -0
- data/ext/fox16/FXRbGLViewer.cpp +89 -0
- data/ext/fox16/FXRuby.cpp +2002 -0
- data/ext/fox16/MANIFEST +189 -0
- data/ext/fox16/core_wrap.cpp +11545 -0
- data/ext/fox16/dc_wrap.cpp +2874 -0
- data/ext/fox16/dialogs_wrap.cpp +7963 -0
- data/ext/fox16/extconf.rb +151 -0
- data/ext/fox16/frames_wrap.cpp +11380 -0
- data/ext/fox16/fx3d_wrap.cpp +10651 -0
- data/ext/fox16/iconlist_wrap.cpp +4074 -0
- data/ext/fox16/icons_wrap.cpp +4745 -0
- data/ext/fox16/image_wrap.cpp +4388 -0
- data/ext/fox16/impl.cpp +1156 -0
- data/ext/fox16/include/FXMemoryBuffer.h +52 -0
- data/ext/fox16/include/FXRb4Splitter.h +54 -0
- data/ext/fox16/include/FXRb7Segment.h +51 -0
- data/ext/fox16/include/FXRbAccelTable.h +46 -0
- data/ext/fox16/include/FXRbApp.h +155 -0
- data/ext/fox16/include/FXRbAppVirtuals.h +15 -0
- data/ext/fox16/include/FXRbArrowButton.h +51 -0
- data/ext/fox16/include/FXRbBMPIcon.h +54 -0
- data/ext/fox16/include/FXRbBMPImage.h +54 -0
- data/ext/fox16/include/FXRbBitmap.h +133 -0
- data/ext/fox16/include/FXRbBitmapFrame.h +56 -0
- data/ext/fox16/include/FXRbBitmapView.h +56 -0
- data/ext/fox16/include/FXRbBitmapVirtuals.h +37 -0
- data/ext/fox16/include/FXRbButton.h +51 -0
- data/ext/fox16/include/FXRbCURCursor.h +60 -0
- data/ext/fox16/include/FXRbCanvas.h +51 -0
- data/ext/fox16/include/FXRbCheckButton.h +51 -0
- data/ext/fox16/include/FXRbChoiceBox.h +56 -0
- data/ext/fox16/include/FXRbColorBar.h +51 -0
- data/ext/fox16/include/FXRbColorDialog.h +53 -0
- data/ext/fox16/include/FXRbColorList.h +84 -0
- data/ext/fox16/include/FXRbColorRing.h +51 -0
- data/ext/fox16/include/FXRbColorSelector.h +51 -0
- data/ext/fox16/include/FXRbColorWell.h +51 -0
- data/ext/fox16/include/FXRbColorWheel.h +51 -0
- data/ext/fox16/include/FXRbComboBox.h +56 -0
- data/ext/fox16/include/FXRbCommon.h +95 -0
- data/ext/fox16/include/FXRbComposite.h +51 -0
- data/ext/fox16/include/FXRbCursor.h +87 -0
- data/ext/fox16/include/FXRbCursorVirtuals.h +6 -0
- data/ext/fox16/include/FXRbDC.h +427 -0
- data/ext/fox16/include/FXRbDCPrint.h +49 -0
- data/ext/fox16/include/FXRbDCVirtuals.h +187 -0
- data/ext/fox16/include/FXRbDCWindow.h +64 -0
- data/ext/fox16/include/FXRbDataTarget.h +65 -0
- data/ext/fox16/include/FXRbDebugTarget.h +46 -0
- data/ext/fox16/include/FXRbDelegator.h +46 -0
- data/ext/fox16/include/FXRbDial.h +51 -0
- data/ext/fox16/include/FXRbDialogBox.h +68 -0
- data/ext/fox16/include/FXRbDialogBoxVirtuals.h +3 -0
- data/ext/fox16/include/FXRbDict.h +46 -0
- data/ext/fox16/include/FXRbDirBox.h +52 -0
- data/ext/fox16/include/FXRbDirDialog.h +56 -0
- data/ext/fox16/include/FXRbDirList.h +79 -0
- data/ext/fox16/include/FXRbDirSelector.h +51 -0
- data/ext/fox16/include/FXRbDockBar.h +86 -0
- data/ext/fox16/include/FXRbDockBarVirtuals.h +10 -0
- data/ext/fox16/include/FXRbDockHandler.h +51 -0
- data/ext/fox16/include/FXRbDockSite.h +85 -0
- data/ext/fox16/include/FXRbDockSiteVirtuals.h +13 -0
- data/ext/fox16/include/FXRbDockTitle.h +51 -0
- data/ext/fox16/include/FXRbDocument.h +46 -0
- data/ext/fox16/include/FXRbDragCorner.h +51 -0
- data/ext/fox16/include/FXRbDrawable.h +64 -0
- data/ext/fox16/include/FXRbDrawableVirtuals.h +3 -0
- data/ext/fox16/include/FXRbDriveBox.h +52 -0
- data/ext/fox16/include/FXRbFileDialog.h +56 -0
- data/ext/fox16/include/FXRbFileDict.h +104 -0
- data/ext/fox16/include/FXRbFileDictVirtuals.h +9 -0
- data/ext/fox16/include/FXRbFileList.h +81 -0
- data/ext/fox16/include/FXRbFileSelector.h +51 -0
- data/ext/fox16/include/FXRbFoldingItemVirtuals.h +42 -0
- data/ext/fox16/include/FXRbFoldingList.h +270 -0
- data/ext/fox16/include/FXRbFoldingListVirtuals.h +43 -0
- data/ext/fox16/include/FXRbFont.h +183 -0
- data/ext/fox16/include/FXRbFontDialog.h +53 -0
- data/ext/fox16/include/FXRbFontSelector.h +51 -0
- data/ext/fox16/include/FXRbFontVirtuals.h +55 -0
- data/ext/fox16/include/FXRbFrame.h +51 -0
- data/ext/fox16/include/FXRbGIFCursor.h +60 -0
- data/ext/fox16/include/FXRbGIFIcon.h +54 -0
- data/ext/fox16/include/FXRbGIFImage.h +54 -0
- data/ext/fox16/include/FXRbGLCanvas.h +92 -0
- data/ext/fox16/include/FXRbGLCanvasVirtuals.h +13 -0
- data/ext/fox16/include/FXRbGLContext.h +58 -0
- data/ext/fox16/include/FXRbGLObject.h +103 -0
- data/ext/fox16/include/FXRbGLObjectVirtuals.h +22 -0
- data/ext/fox16/include/FXRbGLShape.h +81 -0
- data/ext/fox16/include/FXRbGLShapeVirtuals.h +8 -0
- data/ext/fox16/include/FXRbGLViewer.h +89 -0
- data/ext/fox16/include/FXRbGLViewerVirtuals.h +10 -0
- data/ext/fox16/include/FXRbGLVisual.h +56 -0
- data/ext/fox16/include/FXRbGradientBar.h +55 -0
- data/ext/fox16/include/FXRbGroupBox.h +51 -0
- data/ext/fox16/include/FXRbHeader.h +129 -0
- data/ext/fox16/include/FXRbHeaderItemVirtuals.h +22 -0
- data/ext/fox16/include/FXRbHorizontalFrame.h +51 -0
- data/ext/fox16/include/FXRbICOIcon.h +54 -0
- data/ext/fox16/include/FXRbICOImage.h +54 -0
- data/ext/fox16/include/FXRbIcon.h +57 -0
- data/ext/fox16/include/FXRbIconItemVirtuals.h +68 -0
- data/ext/fox16/include/FXRbIconList.h +288 -0
- data/ext/fox16/include/FXRbIconListVirtuals.h +35 -0
- data/ext/fox16/include/FXRbIconSource.h +127 -0
- data/ext/fox16/include/FXRbIconSourceVirtuals.h +37 -0
- data/ext/fox16/include/FXRbId.h +74 -0
- data/ext/fox16/include/FXRbIdVirtuals.h +9 -0
- data/ext/fox16/include/FXRbImage.h +162 -0
- data/ext/fox16/include/FXRbImageFrame.h +56 -0
- data/ext/fox16/include/FXRbImageView.h +55 -0
- data/ext/fox16/include/FXRbImageVirtuals.h +51 -0
- data/ext/fox16/include/FXRbInputDialog.h +56 -0
- data/ext/fox16/include/FXRbJPGIcon.h +54 -0
- data/ext/fox16/include/FXRbJPGImage.h +54 -0
- data/ext/fox16/include/FXRbKnob.h +51 -0
- data/ext/fox16/include/FXRbLabel.h +51 -0
- data/ext/fox16/include/FXRbList.h +226 -0
- data/ext/fox16/include/FXRbListBox.h +67 -0
- data/ext/fox16/include/FXRbListBoxVirtuals.h +4 -0
- data/ext/fox16/include/FXRbListItemVirtuals.h +33 -0
- data/ext/fox16/include/FXRbListVirtuals.h +30 -0
- data/ext/fox16/include/FXRbMDIButton.h +162 -0
- data/ext/fox16/include/FXRbMDIChild.h +82 -0
- data/ext/fox16/include/FXRbMDIChildVirtuals.h +12 -0
- data/ext/fox16/include/FXRbMDIClient.h +80 -0
- data/ext/fox16/include/FXRbMDIClientVirtuals.h +12 -0
- data/ext/fox16/include/FXRbMainWindow.h +54 -0
- data/ext/fox16/include/FXRbMatrix.h +51 -0
- data/ext/fox16/include/FXRbMenuBar.h +63 -0
- data/ext/fox16/include/FXRbMenuButton.h +51 -0
- data/ext/fox16/include/FXRbMenuCaption.h +51 -0
- data/ext/fox16/include/FXRbMenuCascade.h +51 -0
- data/ext/fox16/include/FXRbMenuCheck.h +49 -0
- data/ext/fox16/include/FXRbMenuCommand.h +49 -0
- data/ext/fox16/include/FXRbMenuPane.h +52 -0
- data/ext/fox16/include/FXRbMenuRadio.h +49 -0
- data/ext/fox16/include/FXRbMenuSeparator.h +51 -0
- data/ext/fox16/include/FXRbMenuTitle.h +51 -0
- data/ext/fox16/include/FXRbMessageBox.h +56 -0
- data/ext/fox16/include/FXRbObject.h +67 -0
- data/ext/fox16/include/FXRbObjectVirtuals.h +9 -0
- data/ext/fox16/include/FXRbOptionMenu.h +73 -0
- data/ext/fox16/include/FXRbPCXIcon.h +54 -0
- data/ext/fox16/include/FXRbPCXImage.h +54 -0
- data/ext/fox16/include/FXRbPNGIcon.h +54 -0
- data/ext/fox16/include/FXRbPNGImage.h +54 -0
- data/ext/fox16/include/FXRbPPMIcon.h +54 -0
- data/ext/fox16/include/FXRbPPMImage.h +54 -0
- data/ext/fox16/include/FXRbPacker.h +51 -0
- data/ext/fox16/include/FXRbPicker.h +51 -0
- data/ext/fox16/include/FXRbPopup.h +70 -0
- data/ext/fox16/include/FXRbPopupVirtuals.h +6 -0
- data/ext/fox16/include/FXRbPrintDialog.h +53 -0
- data/ext/fox16/include/FXRbProgressBar.h +51 -0
- data/ext/fox16/include/FXRbProgressDialog.h +53 -0
- data/ext/fox16/include/FXRbRGBIcon.h +54 -0
- data/ext/fox16/include/FXRbRGBImage.h +54 -0
- data/ext/fox16/include/FXRbRadioButton.h +51 -0
- data/ext/fox16/include/FXRbRealSlider.h +51 -0
- data/ext/fox16/include/FXRbRealSpinner.h +64 -0
- data/ext/fox16/include/FXRbRealSpinnerVirtuals.h +3 -0
- data/ext/fox16/include/FXRbRecentFiles.h +52 -0
- data/ext/fox16/include/FXRbRegistry.h +46 -0
- data/ext/fox16/include/FXRbReplaceDialog.h +53 -0
- data/ext/fox16/include/FXRbRootWindow.h +51 -0
- data/ext/fox16/include/FXRbRuler.h +56 -0
- data/ext/fox16/include/FXRbRulerView.h +54 -0
- data/ext/fox16/include/FXRbScintilla.h +52 -0
- data/ext/fox16/include/FXRbScrollArea.h +87 -0
- data/ext/fox16/include/FXRbScrollAreaVirtuals.h +13 -0
- data/ext/fox16/include/FXRbScrollBar.h +73 -0
- data/ext/fox16/include/FXRbScrollPane.h +52 -0
- data/ext/fox16/include/FXRbScrollWindow.h +57 -0
- data/ext/fox16/include/FXRbSearchDialog.h +53 -0
- data/ext/fox16/include/FXRbSeparator.h +95 -0
- data/ext/fox16/include/FXRbSettings.h +46 -0
- data/ext/fox16/include/FXRbShell.h +56 -0
- data/ext/fox16/include/FXRbShutter.h +86 -0
- data/ext/fox16/include/FXRbShutterVirtuals.h +3 -0
- data/ext/fox16/include/FXRbSlider.h +51 -0
- data/ext/fox16/include/FXRbSpinner.h +64 -0
- data/ext/fox16/include/FXRbSpinnerVirtuals.h +3 -0
- data/ext/fox16/include/FXRbSplashWindow.h +57 -0
- data/ext/fox16/include/FXRbSplitter.h +54 -0
- data/ext/fox16/include/FXRbSpring.h +51 -0
- data/ext/fox16/include/FXRbStatusBar.h +51 -0
- data/ext/fox16/include/FXRbStatusLine.h +51 -0
- data/ext/fox16/include/FXRbStream.h +101 -0
- data/ext/fox16/include/FXRbStreamVirtuals.h +9 -0
- data/ext/fox16/include/FXRbStringDict.h +46 -0
- data/ext/fox16/include/FXRbSwitcher.h +51 -0
- data/ext/fox16/include/FXRbTGAIcon.h +54 -0
- data/ext/fox16/include/FXRbTGAImage.h +54 -0
- data/ext/fox16/include/FXRbTIFIcon.h +54 -0
- data/ext/fox16/include/FXRbTIFImage.h +54 -0
- data/ext/fox16/include/FXRbTabBar.h +64 -0
- data/ext/fox16/include/FXRbTabBarVirtuals.h +3 -0
- data/ext/fox16/include/FXRbTabBook.h +52 -0
- data/ext/fox16/include/FXRbTabItem.h +51 -0
- data/ext/fox16/include/FXRbTable.h +509 -0
- data/ext/fox16/include/FXRbTableItemVirtuals.h +89 -0
- data/ext/fox16/include/FXRbTableVirtuals.h +89 -0
- data/ext/fox16/include/FXRbText.h +187 -0
- data/ext/fox16/include/FXRbTextField.h +51 -0
- data/ext/fox16/include/FXRbTextVirtuals.h +52 -0
- data/ext/fox16/include/FXRbToggleButton.h +51 -0
- data/ext/fox16/include/FXRbToolBar.h +63 -0
- data/ext/fox16/include/FXRbToolBarGrip.h +51 -0
- data/ext/fox16/include/FXRbToolBarShell.h +52 -0
- data/ext/fox16/include/FXRbToolBarTab.h +51 -0
- data/ext/fox16/include/FXRbToolTip.h +51 -0
- data/ext/fox16/include/FXRbTopWindow.h +91 -0
- data/ext/fox16/include/FXRbTopWindowVirtuals.h +15 -0
- data/ext/fox16/include/FXRbTranslator.h +61 -0
- data/ext/fox16/include/FXRbTranslatorVirtuals.h +4 -0
- data/ext/fox16/include/FXRbTreeItemVirtuals.h +42 -0
- data/ext/fox16/include/FXRbTreeList.h +277 -0
- data/ext/fox16/include/FXRbTreeListBox.h +64 -0
- data/ext/fox16/include/FXRbTreeListBoxVirtuals.h +4 -0
- data/ext/fox16/include/FXRbTreeListVirtuals.h +42 -0
- data/ext/fox16/include/FXRbTriStateButton.h +51 -0
- data/ext/fox16/include/FXRbVerticalFrame.h +51 -0
- data/ext/fox16/include/FXRbVisual.h +56 -0
- data/ext/fox16/include/FXRbWindow.h +248 -0
- data/ext/fox16/include/FXRbWindowVirtuals.h +94 -0
- data/ext/fox16/include/FXRbWizard.h +60 -0
- data/ext/fox16/include/FXRbXBMIcon.h +54 -0
- data/ext/fox16/include/FXRbXBMImage.h +54 -0
- data/ext/fox16/include/FXRbXPMIcon.h +54 -0
- data/ext/fox16/include/FXRbXPMImage.h +54 -0
- data/ext/fox16/include/FXRuby.h +842 -0
- data/ext/fox16/include/impl.h +214 -0
- data/ext/fox16/include/inlinestubs.h +1155 -0
- data/ext/fox16/label_wrap.cpp +5700 -0
- data/ext/fox16/layout_wrap.cpp +6358 -0
- data/ext/fox16/librb.c +647 -0
- data/ext/fox16/list_wrap.cpp +2981 -0
- data/ext/fox16/make_impl.rb +121 -0
- data/ext/fox16/markfuncs.cpp +1651 -0
- data/ext/fox16/mdi_wrap.cpp +5266 -0
- data/ext/fox16/menu_wrap.cpp +5589 -0
- data/ext/fox16/scintilla_wrap.cpp +2518 -0
- data/ext/fox16/table_wrap.cpp +4173 -0
- data/ext/fox16/text_wrap.cpp +3832 -0
- data/ext/fox16/treelist_wrap.cpp +6004 -0
- data/ext/fox16/ui_wrap.cpp +14230 -0
- data/ext/fox16/unregisterOwnedObjects.cpp +120 -0
- data/index.html +14 -0
- data/lib/1.8/fox16.so +0 -0
- data/lib/1.9/fox16.so +0 -0
- data/lib/fox16.rb +8 -0
- data/lib/fox16/accel_table.rb +83 -0
- data/lib/fox16/aliases.rb +5611 -0
- data/lib/fox16/bitmapview.rb +222 -0
- data/lib/fox16/calendar.rb +217 -0
- data/lib/fox16/chore.rb +105 -0
- data/lib/fox16/colors.rb +280 -0
- data/lib/fox16/core.rb +700 -0
- data/lib/fox16/dict.rb +35 -0
- data/lib/fox16/exceptions_for_fxerror.rb +17 -0
- data/lib/fox16/execute_nonmodal.rb +70 -0
- data/lib/fox16/glgroup.rb +166 -0
- data/lib/fox16/glshapes.rb +456 -0
- data/lib/fox16/input.rb +59 -0
- data/lib/fox16/irb.rb +178 -0
- data/lib/fox16/iterators.rb +420 -0
- data/lib/fox16/keys.rb +1374 -0
- data/lib/fox16/kwargs.rb +2738 -0
- data/lib/fox16/missingdep.rb +14 -0
- data/lib/fox16/pseudokeyboard.rb +40 -0
- data/lib/fox16/pseudomouse.rb +87 -0
- data/lib/fox16/responder.rb +70 -0
- data/lib/fox16/responder2.rb +132 -0
- data/lib/fox16/scintilla.rb +5017 -0
- data/lib/fox16/settings.rb +18 -0
- data/lib/fox16/signal.rb +71 -0
- data/lib/fox16/splashscreen.rb +82 -0
- data/lib/fox16/timeout.rb +136 -0
- data/lib/fox16/undolist.rb +455 -0
- data/lib/fox16/version.rb +5 -0
- data/rdoc-sources/FX4Splitter.rb +156 -0
- data/rdoc-sources/FX7Segment.rb +54 -0
- data/rdoc-sources/FXAccelTable.rb +84 -0
- data/rdoc-sources/FXApp.rb +545 -0
- data/rdoc-sources/FXArrowButton.rb +69 -0
- data/rdoc-sources/FXBMPIcon.rb +67 -0
- data/rdoc-sources/FXBMPImage.rb +30 -0
- data/rdoc-sources/FXBitmap.rb +115 -0
- data/rdoc-sources/FXBitmapFrame.rb +31 -0
- data/rdoc-sources/FXBitmapView.rb +44 -0
- data/rdoc-sources/FXButton.rb +59 -0
- data/rdoc-sources/FXCURCursor.rb +13 -0
- data/rdoc-sources/FXCanvas.rb +18 -0
- data/rdoc-sources/FXCheckButton.rb +58 -0
- data/rdoc-sources/FXChoiceBox.rb +49 -0
- data/rdoc-sources/FXColorBar.rb +48 -0
- data/rdoc-sources/FXColorDialog.rb +37 -0
- data/rdoc-sources/FXColorList.rb +55 -0
- data/rdoc-sources/FXColorRing.rb +49 -0
- data/rdoc-sources/FXColorSelector.rb +65 -0
- data/rdoc-sources/FXColorWell.rb +65 -0
- data/rdoc-sources/FXColorWheel.rb +57 -0
- data/rdoc-sources/FXComboBox.rb +214 -0
- data/rdoc-sources/FXComposite.rb +34 -0
- data/rdoc-sources/FXCursor.rb +67 -0
- data/rdoc-sources/FXDC.rb +720 -0
- data/rdoc-sources/FXDCPrint.rb +127 -0
- data/rdoc-sources/FXDCWindow.rb +33 -0
- data/rdoc-sources/FXDataTarget.rb +66 -0
- data/rdoc-sources/FXDebugTarget.rb +25 -0
- data/rdoc-sources/FXDelegator.rb +23 -0
- data/rdoc-sources/FXDial.rb +107 -0
- data/rdoc-sources/FXDialogBox.rb +32 -0
- data/rdoc-sources/FXDict.rb +79 -0
- data/rdoc-sources/FXDirBox.rb +55 -0
- data/rdoc-sources/FXDirDialog.rb +47 -0
- data/rdoc-sources/FXDirList.rb +149 -0
- data/rdoc-sources/FXDirSelector.rb +64 -0
- data/rdoc-sources/FXDockBar.rb +151 -0
- data/rdoc-sources/FXDockHandler.rb +26 -0
- data/rdoc-sources/FXDockSite.rb +104 -0
- data/rdoc-sources/FXDockTitle.rb +26 -0
- data/rdoc-sources/FXDocument.rb +29 -0
- data/rdoc-sources/FXDragCorner.rb +19 -0
- data/rdoc-sources/FXDrawable.rb +27 -0
- data/rdoc-sources/FXDriveBox.rb +46 -0
- data/rdoc-sources/FXExtentd.rb +85 -0
- data/rdoc-sources/FXExtentf.rb +85 -0
- data/rdoc-sources/FXFileDialog.rb +217 -0
- data/rdoc-sources/FXFileDict.rb +131 -0
- data/rdoc-sources/FXFileList.rb +208 -0
- data/rdoc-sources/FXFileSelector.rb +184 -0
- data/rdoc-sources/FXFileStream.rb +27 -0
- data/rdoc-sources/FXFoldingList.rb +504 -0
- data/rdoc-sources/FXFont.rb +361 -0
- data/rdoc-sources/FXFontDialog.rb +14 -0
- data/rdoc-sources/FXFontSelector.rb +37 -0
- data/rdoc-sources/FXFrame.rb +53 -0
- data/rdoc-sources/FXGIFCursor.rb +50 -0
- data/rdoc-sources/FXGIFIcon.rb +31 -0
- data/rdoc-sources/FXGIFImage.rb +29 -0
- data/rdoc-sources/FXGLCanvas.rb +45 -0
- data/rdoc-sources/FXGLContext.rb +40 -0
- data/rdoc-sources/FXGLObject.rb +75 -0
- data/rdoc-sources/FXGLShape.rb +69 -0
- data/rdoc-sources/FXGLViewer.rb +332 -0
- data/rdoc-sources/FXGLVisual.rb +94 -0
- data/rdoc-sources/FXGradientBar.rb +301 -0
- data/rdoc-sources/FXGroupBox.rb +36 -0
- data/rdoc-sources/FXHeader.rb +411 -0
- data/rdoc-sources/FXHorizontalFrame.rb +29 -0
- data/rdoc-sources/FXICOIcon.rb +65 -0
- data/rdoc-sources/FXICOImage.rb +31 -0
- data/rdoc-sources/FXIcon.rb +38 -0
- data/rdoc-sources/FXIconDict.rb +48 -0
- data/rdoc-sources/FXIconList.rb +450 -0
- data/rdoc-sources/FXIconSource.rb +100 -0
- data/rdoc-sources/FXId.rb +34 -0
- data/rdoc-sources/FXImage.rb +292 -0
- data/rdoc-sources/FXImageFrame.rb +36 -0
- data/rdoc-sources/FXImageView.rb +35 -0
- data/rdoc-sources/FXInputDialog.rb +80 -0
- data/rdoc-sources/FXJPGIcon.rb +70 -0
- data/rdoc-sources/FXJPGImage.rb +38 -0
- data/rdoc-sources/FXKnob.rb +76 -0
- data/rdoc-sources/FXLabel.rb +72 -0
- data/rdoc-sources/FXList.rb +443 -0
- data/rdoc-sources/FXListBox.rb +191 -0
- data/rdoc-sources/FXMDIButton.rb +67 -0
- data/rdoc-sources/FXMDIChild.rb +155 -0
- data/rdoc-sources/FXMDIClient.rb +65 -0
- data/rdoc-sources/FXMainWindow.rb +26 -0
- data/rdoc-sources/FXMatrix.rb +57 -0
- data/rdoc-sources/FXMemoryBuffer.rb +28 -0
- data/rdoc-sources/FXMemoryStream.rb +50 -0
- data/rdoc-sources/FXMenuBar.rb +23 -0
- data/rdoc-sources/FXMenuButton.rb +84 -0
- data/rdoc-sources/FXMenuCaption.rb +53 -0
- data/rdoc-sources/FXMenuCascade.rb +18 -0
- data/rdoc-sources/FXMenuCheck.rb +30 -0
- data/rdoc-sources/FXMenuCommand.rb +26 -0
- data/rdoc-sources/FXMenuPane.rb +13 -0
- data/rdoc-sources/FXMenuRadio.rb +33 -0
- data/rdoc-sources/FXMenuSeparator.rb +21 -0
- data/rdoc-sources/FXMenuTitle.rb +27 -0
- data/rdoc-sources/FXMessageBox.rb +73 -0
- data/rdoc-sources/FXObject.rb +28 -0
- data/rdoc-sources/FXOptionMenu.rb +83 -0
- data/rdoc-sources/FXPCXIcon.rb +63 -0
- data/rdoc-sources/FXPCXImage.rb +31 -0
- data/rdoc-sources/FXPNGIcon.rb +66 -0
- data/rdoc-sources/FXPNGImage.rb +34 -0
- data/rdoc-sources/FXPPMIcon.rb +36 -0
- data/rdoc-sources/FXPPMImage.rb +31 -0
- data/rdoc-sources/FXPacker.rb +63 -0
- data/rdoc-sources/FXPicker.rb +27 -0
- data/rdoc-sources/FXPopup.rb +53 -0
- data/rdoc-sources/FXPrintDialog.rb +36 -0
- data/rdoc-sources/FXProgressBar.rb +57 -0
- data/rdoc-sources/FXProgressDialog.rb +36 -0
- data/rdoc-sources/FXQuatd.rb +164 -0
- data/rdoc-sources/FXQuatf.rb +173 -0
- data/rdoc-sources/FXRGBIcon.rb +64 -0
- data/rdoc-sources/FXRGBImage.rb +31 -0
- data/rdoc-sources/FXRadioButton.rb +70 -0
- data/rdoc-sources/FXRanged.rb +100 -0
- data/rdoc-sources/FXRangef.rb +100 -0
- data/rdoc-sources/FXRealSlider.rb +101 -0
- data/rdoc-sources/FXRealSpinner.rb +140 -0
- data/rdoc-sources/FXRecentFiles.rb +77 -0
- data/rdoc-sources/FXRectangle.rb +149 -0
- data/rdoc-sources/FXRegion.rb +64 -0
- data/rdoc-sources/FXRegistry.rb +56 -0
- data/rdoc-sources/FXReplaceDialog.rb +56 -0
- data/rdoc-sources/FXRootWindow.rb +17 -0
- data/rdoc-sources/FXRuler.rb +130 -0
- data/rdoc-sources/FXRulerView.rb +225 -0
- data/rdoc-sources/FXScintilla.rb +121 -0
- data/rdoc-sources/FXScrollArea.rb +86 -0
- data/rdoc-sources/FXScrollBar.rb +107 -0
- data/rdoc-sources/FXScrollPane.rb +28 -0
- data/rdoc-sources/FXScrollWindow.rb +38 -0
- data/rdoc-sources/FXSearchDialog.rb +24 -0
- data/rdoc-sources/FXSeparator.rb +74 -0
- data/rdoc-sources/FXSettings.rb +248 -0
- data/rdoc-sources/FXShell.rb +8 -0
- data/rdoc-sources/FXShutter.rb +102 -0
- data/rdoc-sources/FXSize.rb +95 -0
- data/rdoc-sources/FXSlider.rb +98 -0
- data/rdoc-sources/FXSphered.rb +80 -0
- data/rdoc-sources/FXSpheref.rb +80 -0
- data/rdoc-sources/FXSpinner.rb +136 -0
- data/rdoc-sources/FXSplashWindow.rb +27 -0
- data/rdoc-sources/FXSplitter.rb +89 -0
- data/rdoc-sources/FXSpring.rb +61 -0
- data/rdoc-sources/FXStatusBar.rb +42 -0
- data/rdoc-sources/FXStatusLine.rb +60 -0
- data/rdoc-sources/FXStream.rb +142 -0
- data/rdoc-sources/FXStringDict.rb +38 -0
- data/rdoc-sources/FXSwitcher.rb +78 -0
- data/rdoc-sources/FXTGAIcon.rb +63 -0
- data/rdoc-sources/FXTGAImage.rb +31 -0
- data/rdoc-sources/FXTIFIcon.rb +70 -0
- data/rdoc-sources/FXTIFImage.rb +37 -0
- data/rdoc-sources/FXTabBar.rb +80 -0
- data/rdoc-sources/FXTabBook.rb +41 -0
- data/rdoc-sources/FXTabItem.rb +58 -0
- data/rdoc-sources/FXTable.rb +975 -0
- data/rdoc-sources/FXText.rb +581 -0
- data/rdoc-sources/FXTextField.rb +151 -0
- data/rdoc-sources/FXToggleButton.rb +70 -0
- data/rdoc-sources/FXToolBar.rb +61 -0
- data/rdoc-sources/FXToolBarGrip.rb +50 -0
- data/rdoc-sources/FXToolBarShell.rb +44 -0
- data/rdoc-sources/FXToolBarTab.rb +74 -0
- data/rdoc-sources/FXToolTip.rb +39 -0
- data/rdoc-sources/FXTopWindow.rb +163 -0
- data/rdoc-sources/FXTranslator.rb +32 -0
- data/rdoc-sources/FXTreeList.rb +514 -0
- data/rdoc-sources/FXTreeListBox.rb +219 -0
- data/rdoc-sources/FXTriStateButton.rb +49 -0
- data/rdoc-sources/FXVec2d.rb +96 -0
- data/rdoc-sources/FXVec2f.rb +96 -0
- data/rdoc-sources/FXVec3d.rb +118 -0
- data/rdoc-sources/FXVec3f.rb +118 -0
- data/rdoc-sources/FXVec4d.rb +139 -0
- data/rdoc-sources/FXVec4f.rb +139 -0
- data/rdoc-sources/FXVerticalFrame.rb +29 -0
- data/rdoc-sources/FXVisual.rb +79 -0
- data/rdoc-sources/FXWindow.rb +725 -0
- data/rdoc-sources/FXWizard.rb +59 -0
- data/rdoc-sources/FXXBMIcon.rb +37 -0
- data/rdoc-sources/FXXBMImage.rb +32 -0
- data/rdoc-sources/FXXPMIcon.rb +65 -0
- data/rdoc-sources/FXXPMImage.rb +31 -0
- data/rdoc-sources/Makefile +23 -0
- data/rdoc-sources/README.rdoc +53 -0
- data/rdoc-sources/fxdefs.rb +90 -0
- data/scripts/build-fox.rb +31 -0
- data/scripts/generate_kwargs_lib.rb +412 -0
- data/scripts/iface.rb +391 -0
- data/swig-interfaces/FX4Splitter.i +149 -0
- data/swig-interfaces/FX7Segment.i +141 -0
- data/swig-interfaces/FXAccelTable.i +100 -0
- data/swig-interfaces/FXApp.i +735 -0
- data/swig-interfaces/FXArrowButton.i +136 -0
- data/swig-interfaces/FXBMPIcon.i +88 -0
- data/swig-interfaces/FXBMPImage.i +54 -0
- data/swig-interfaces/FXBitmap.i +90 -0
- data/swig-interfaces/FXBitmapFrame.i +72 -0
- data/swig-interfaces/FXBitmapView.i +94 -0
- data/swig-interfaces/FXButton.i +130 -0
- data/swig-interfaces/FXCURCursor.i +49 -0
- data/swig-interfaces/FXCanvas.i +61 -0
- data/swig-interfaces/FXCheckButton.i +108 -0
- data/swig-interfaces/FXChoiceBox.i +91 -0
- data/swig-interfaces/FXColorBar.i +110 -0
- data/swig-interfaces/FXColorDialog.i +79 -0
- data/swig-interfaces/FXColorList.i +99 -0
- data/swig-interfaces/FXColorRing.i +148 -0
- data/swig-interfaces/FXColorSelector.i +157 -0
- data/swig-interfaces/FXColorWell.i +133 -0
- data/swig-interfaces/FXColorWheel.i +108 -0
- data/swig-interfaces/FXComboBox.i +280 -0
- data/swig-interfaces/FXComposeContext.i +66 -0
- data/swig-interfaces/FXComposite.i +103 -0
- data/swig-interfaces/FXCursor.i +120 -0
- data/swig-interfaces/FXDC.i +280 -0
- data/swig-interfaces/FXDCPrint.i +141 -0
- data/swig-interfaces/FXDCWindow.i +75 -0
- data/swig-interfaces/FXDataTarget.i +115 -0
- data/swig-interfaces/FXDebugTarget.i +60 -0
- data/swig-interfaces/FXDelegator.i +56 -0
- data/swig-interfaces/FXDial.i +168 -0
- data/swig-interfaces/FXDialogBox.i +131 -0
- data/swig-interfaces/FXDict.i +200 -0
- data/swig-interfaces/FXDirBox.i +68 -0
- data/swig-interfaces/FXDirDialog.i +97 -0
- data/swig-interfaces/FXDirList.i +274 -0
- data/swig-interfaces/FXDirSelector.i +142 -0
- data/swig-interfaces/FXDockBar.i +180 -0
- data/swig-interfaces/FXDockHandler.i +94 -0
- data/swig-interfaces/FXDockSite.i +91 -0
- data/swig-interfaces/FXDockTitle.i +91 -0
- data/swig-interfaces/FXDocument.i +70 -0
- data/swig-interfaces/FXDragCorner.i +72 -0
- data/swig-interfaces/FXDrawable.i +90 -0
- data/swig-interfaces/FXDriveBox.i +63 -0
- data/swig-interfaces/FXExtentd.i +131 -0
- data/swig-interfaces/FXExtentf.i +131 -0
- data/swig-interfaces/FXFileDialog.i +268 -0
- data/swig-interfaces/FXFileDict.i +121 -0
- data/swig-interfaces/FXFileList.i +345 -0
- data/swig-interfaces/FXFileSelector.i +347 -0
- data/swig-interfaces/FXFileStream.i +49 -0
- data/swig-interfaces/FXFoldingList.i +556 -0
- data/swig-interfaces/FXFont.i +333 -0
- data/swig-interfaces/FXFontDialog.i +63 -0
- data/swig-interfaces/FXFontSelector.i +127 -0
- data/swig-interfaces/FXFrame.i +245 -0
- data/swig-interfaces/FXGIFCursor.i +86 -0
- data/swig-interfaces/FXGIFIcon.i +54 -0
- data/swig-interfaces/FXGIFImage.i +54 -0
- data/swig-interfaces/FXGLCanvas.i +90 -0
- data/swig-interfaces/FXGLContext.i +85 -0
- data/swig-interfaces/FXGLObject.i +70 -0
- data/swig-interfaces/FXGLShape.i +152 -0
- data/swig-interfaces/FXGLViewer.i +691 -0
- data/swig-interfaces/FXGLVisual.i +136 -0
- data/swig-interfaces/FXGradientBar.i +310 -0
- data/swig-interfaces/FXGroupBox.i +94 -0
- data/swig-interfaces/FXHeader.i +432 -0
- data/swig-interfaces/FXHorizontalFrame.i +60 -0
- data/swig-interfaces/FXICOIcon.i +92 -0
- data/swig-interfaces/FXICOImage.i +54 -0
- data/swig-interfaces/FXIcon.i +128 -0
- data/swig-interfaces/FXIconDict.i +90 -0
- data/swig-interfaces/FXIconList.i +596 -0
- data/swig-interfaces/FXIconSource.i +55 -0
- data/swig-interfaces/FXId.i +103 -0
- data/swig-interfaces/FXImage.i +197 -0
- data/swig-interfaces/FXImageFrame.i +66 -0
- data/swig-interfaces/FXImageView.i +88 -0
- data/swig-interfaces/FXInputDialog.i +180 -0
- data/swig-interfaces/FXJPGIcon.i +101 -0
- data/swig-interfaces/FXJPGImage.i +67 -0
- data/swig-interfaces/FXKnob.i +182 -0
- data/swig-interfaces/FXLabel.i +199 -0
- data/swig-interfaces/FXList.i +476 -0
- data/swig-interfaces/FXListBox.i +234 -0
- data/swig-interfaces/FXMDIButton.i +173 -0
- data/swig-interfaces/FXMDIChild.i +242 -0
- data/swig-interfaces/FXMDIClient.i +149 -0
- data/swig-interfaces/FXMainWindow.i +53 -0
- data/swig-interfaces/FXMat3d.i +102 -0
- data/swig-interfaces/FXMat3f.i +102 -0
- data/swig-interfaces/FXMat4d.i +122 -0
- data/swig-interfaces/FXMat4f.i +138 -0
- data/swig-interfaces/FXMatrix.i +101 -0
- data/swig-interfaces/FXMemoryBuffer.i +64 -0
- data/swig-interfaces/FXMemoryStream.i +77 -0
- data/swig-interfaces/FXMenuBar.i +67 -0
- data/swig-interfaces/FXMenuButton.i +152 -0
- data/swig-interfaces/FXMenuCaption.i +176 -0
- data/swig-interfaces/FXMenuCascade.i +76 -0
- data/swig-interfaces/FXMenuCheck.i +90 -0
- data/swig-interfaces/FXMenuCommand.i +69 -0
- data/swig-interfaces/FXMenuPane.i +60 -0
- data/swig-interfaces/FXMenuRadio.i +93 -0
- data/swig-interfaces/FXMenuSeparator.i +65 -0
- data/swig-interfaces/FXMenuTitle.i +74 -0
- data/swig-interfaces/FXMessageBox.i +128 -0
- data/swig-interfaces/FXObject.i +169 -0
- data/swig-interfaces/FXOptionMenu.i +140 -0
- data/swig-interfaces/FXPCXIcon.i +91 -0
- data/swig-interfaces/FXPCXImage.i +55 -0
- data/swig-interfaces/FXPNGIcon.i +95 -0
- data/swig-interfaces/FXPNGImage.i +59 -0
- data/swig-interfaces/FXPPMIcon.i +91 -0
- data/swig-interfaces/FXPPMImage.i +55 -0
- data/swig-interfaces/FXPacker.i +255 -0
- data/swig-interfaces/FXPicker.i +54 -0
- data/swig-interfaces/FXPoint.i +52 -0
- data/swig-interfaces/FXPopup.i +162 -0
- data/swig-interfaces/FXPrintDialog.i +154 -0
- data/swig-interfaces/FXProgressBar.i +133 -0
- data/swig-interfaces/FXProgressDialog.i +105 -0
- data/swig-interfaces/FXQuatd.i +128 -0
- data/swig-interfaces/FXQuatf.i +122 -0
- data/swig-interfaces/FXRGBIcon.i +90 -0
- data/swig-interfaces/FXRGBImage.i +56 -0
- data/swig-interfaces/FXRadioButton.i +117 -0
- data/swig-interfaces/FXRanged.i +163 -0
- data/swig-interfaces/FXRangef.i +172 -0
- data/swig-interfaces/FXRealSlider.i +166 -0
- data/swig-interfaces/FXRealSpinner.i +215 -0
- data/swig-interfaces/FXRecentFiles.i +119 -0
- data/swig-interfaces/FXRectangle.i +104 -0
- data/swig-interfaces/FXRegion.i +88 -0
- data/swig-interfaces/FXRegistry.i +96 -0
- data/swig-interfaces/FXReplaceDialog.i +131 -0
- data/swig-interfaces/FXRootWindow.i +50 -0
- data/swig-interfaces/FXRuler.i +245 -0
- data/swig-interfaces/FXRulerView.i +233 -0
- data/swig-interfaces/FXScintilla.i +192 -0
- data/swig-interfaces/FXScrollArea.i +211 -0
- data/swig-interfaces/FXScrollBar.i +178 -0
- data/swig-interfaces/FXScrollPane.i +83 -0
- data/swig-interfaces/FXScrollWindow.i +67 -0
- data/swig-interfaces/FXSearchDialog.i +48 -0
- data/swig-interfaces/FXSeparator.i +138 -0
- data/swig-interfaces/FXSettings.i +160 -0
- data/swig-interfaces/FXShell.i +91 -0
- data/swig-interfaces/FXShutter.i +140 -0
- data/swig-interfaces/FXSize.i +71 -0
- data/swig-interfaces/FXSlider.i +181 -0
- data/swig-interfaces/FXSphered.i +126 -0
- data/swig-interfaces/FXSpheref.i +126 -0
- data/swig-interfaces/FXSpinner.i +212 -0
- data/swig-interfaces/FXSplashWindow.i +82 -0
- data/swig-interfaces/FXSplitter.i +123 -0
- data/swig-interfaces/FXSpring.i +79 -0
- data/swig-interfaces/FXStatusBar.i +68 -0
- data/swig-interfaces/FXStatusLine.i +100 -0
- data/swig-interfaces/FXStream.i +150 -0
- data/swig-interfaces/FXStringDict.i +61 -0
- data/swig-interfaces/FXSwitcher.i +110 -0
- data/swig-interfaces/FXTGAIcon.i +85 -0
- data/swig-interfaces/FXTGAImage.i +56 -0
- data/swig-interfaces/FXTIFIcon.i +73 -0
- data/swig-interfaces/FXTIFImage.i +93 -0
- data/swig-interfaces/FXTabBar.i +121 -0
- data/swig-interfaces/FXTabBook.i +70 -0
- data/swig-interfaces/FXTabItem.i +82 -0
- data/swig-interfaces/FXTable.i +861 -0
- data/swig-interfaces/FXText.i +763 -0
- data/swig-interfaces/FXTextField.i +290 -0
- data/swig-interfaces/FXToggleButton.i +136 -0
- data/swig-interfaces/FXToolBar.i +75 -0
- data/swig-interfaces/FXToolBarGrip.i +82 -0
- data/swig-interfaces/FXToolBarShell.i +98 -0
- data/swig-interfaces/FXToolBarTab.i +114 -0
- data/swig-interfaces/FXToolTip.i +93 -0
- data/swig-interfaces/FXTopWindow.i +263 -0
- data/swig-interfaces/FXTranslator.i +55 -0
- data/swig-interfaces/FXTreeList.i +549 -0
- data/swig-interfaces/FXTreeListBox.i +317 -0
- data/swig-interfaces/FXTriStateButton.i +77 -0
- data/swig-interfaces/FXURL.i +35 -0
- data/swig-interfaces/FXVec2d.i +87 -0
- data/swig-interfaces/FXVec2f.i +87 -0
- data/swig-interfaces/FXVec3d.i +111 -0
- data/swig-interfaces/FXVec3f.i +109 -0
- data/swig-interfaces/FXVec4d.i +115 -0
- data/swig-interfaces/FXVec4f.i +115 -0
- data/swig-interfaces/FXVerticalFrame.i +69 -0
- data/swig-interfaces/FXVisual.i +162 -0
- data/swig-interfaces/FXWindow.i +851 -0
- data/swig-interfaces/FXWizard.i +125 -0
- data/swig-interfaces/FXXBMIcon.i +56 -0
- data/swig-interfaces/FXXBMImage.i +118 -0
- data/swig-interfaces/FXXPMIcon.i +122 -0
- data/swig-interfaces/FXXPMImage.i +56 -0
- data/swig-interfaces/README +17 -0
- data/swig-interfaces/common.i +48 -0
- data/swig-interfaces/core.i +85 -0
- data/swig-interfaces/dcmodule.i +36 -0
- data/swig-interfaces/dialogs.i +49 -0
- data/swig-interfaces/exceptions.i +249 -0
- data/swig-interfaces/framesmodule.i +54 -0
- data/swig-interfaces/freefuncs.i +93 -0
- data/swig-interfaces/fx3d.i +60 -0
- data/swig-interfaces/fxdefs.i +419 -0
- data/swig-interfaces/handlers.i +615 -0
- data/swig-interfaces/iconlistmodule.i +37 -0
- data/swig-interfaces/icons.i +48 -0
- data/swig-interfaces/ignore-message-handlers.rb +16 -0
- data/swig-interfaces/image.i +49 -0
- data/swig-interfaces/labelmodule.i +47 -0
- data/swig-interfaces/layout.i +47 -0
- data/swig-interfaces/listmodule.i +37 -0
- data/swig-interfaces/macros.i +1326 -0
- data/swig-interfaces/markfuncs.i +210 -0
- data/swig-interfaces/mdi.i +38 -0
- data/swig-interfaces/menumodule.i +44 -0
- data/swig-interfaces/ruby-typemaps.i +772 -0
- data/swig-interfaces/scintilla.i +57 -0
- data/swig-interfaces/table-module.i +36 -0
- data/swig-interfaces/text-module.i +36 -0
- data/swig-interfaces/treelist-module.i +37 -0
- data/swig-interfaces/ui.i +63 -0
- data/test/README +19 -0
- data/test/TC_FXAccelTable.rb +57 -0
- data/test/TC_FXApp.rb +62 -0
- data/test/TC_FXArc.rb +26 -0
- data/test/TC_FXBMPIcon.rb +15 -0
- data/test/TC_FXBMPImage.rb +15 -0
- data/test/TC_FXButton.rb +78 -0
- data/test/TC_FXCheckButton.rb +57 -0
- data/test/TC_FXComboBox.rb +63 -0
- data/test/TC_FXDC.rb +372 -0
- data/test/TC_FXDCPrint.rb +102 -0
- data/test/TC_FXDCWindow.rb +25 -0
- data/test/TC_FXDataTarget.rb +24 -0
- data/test/TC_FXDialogBox.rb +12 -0
- data/test/TC_FXDirList.rb +30 -0
- data/test/TC_FXExtentd.rb +21 -0
- data/test/TC_FXExtentf.rb +21 -0
- data/test/TC_FXFileAssoc.rb +62 -0
- data/test/TC_FXFileStream.rb +89 -0
- data/test/TC_FXFoldingList.rb +32 -0
- data/test/TC_FXFont.rb +69 -0
- data/test/TC_FXFontDesc.rb +58 -0
- data/test/TC_FXGLGroup.rb +32 -0
- data/test/TC_FXGLShape.rb +28 -0
- data/test/TC_FXGLViewer.rb +20 -0
- data/test/TC_FXGradientBar.rb +89 -0
- data/test/TC_FXHeader.rb +82 -0
- data/test/TC_FXHiliteStyle.rb +23 -0
- data/test/TC_FXIconDict.rb +52 -0
- data/test/TC_FXIconList.rb +192 -0
- data/test/TC_FXId.rb +19 -0
- data/test/TC_FXImage.rb +155 -0
- data/test/TC_FXLight.rb +33 -0
- data/test/TC_FXList.rb +116 -0
- data/test/TC_FXListBox.rb +49 -0
- data/test/TC_FXMainWindow.rb +19 -0
- data/test/TC_FXMat4f.rb +228 -0
- data/test/TC_FXMaterial.rb +75 -0
- data/test/TC_FXMemoryStream.rb +97 -0
- data/test/TC_FXMenuCheck.rb +57 -0
- data/test/TC_FXMenuCommand.rb +12 -0
- data/test/TC_FXMenuRadio.rb +57 -0
- data/test/TC_FXMessageBox.rb +25 -0
- data/test/TC_FXPoint.rb +57 -0
- data/test/TC_FXQuatf.rb +93 -0
- data/test/TC_FXRadioButton.rb +57 -0
- data/test/TC_FXRanged.rb +42 -0
- data/test/TC_FXRangef.rb +42 -0
- data/test/TC_FXRectangle.rb +88 -0
- data/test/TC_FXRegion.rb +54 -0
- data/test/TC_FXRegistry.rb +27 -0
- data/test/TC_FXScrollArea.rb +28 -0
- data/test/TC_FXScrollWindow.rb +28 -0
- data/test/TC_FXSegment.rb +22 -0
- data/test/TC_FXSettings.rb +34 -0
- data/test/TC_FXShell.rb +26 -0
- data/test/TC_FXSize.rb +54 -0
- data/test/TC_FXStream.rb +11 -0
- data/test/TC_FXTable.rb +561 -0
- data/test/TC_FXTableItem.rb +48 -0
- data/test/TC_FXText.rb +96 -0
- data/test/TC_FXTopWindow.rb +32 -0
- data/test/TC_FXTreeList.rb +100 -0
- data/test/TC_FXTreeListBox.rb +41 -0
- data/test/TC_FXUndoList.rb +43 -0
- data/test/TC_FXVec2d.rb +142 -0
- data/test/TC_FXVec2f.rb +137 -0
- data/test/TC_FXVec3d.rb +150 -0
- data/test/TC_FXVec3f.rb +150 -0
- data/test/TC_FXVec4f.rb +158 -0
- data/test/TC_FXViewport.rb +30 -0
- data/test/TC_FXXBMIcon.rb +15 -0
- data/test/TC_FXXBMImage.rb +15 -0
- data/test/TC_FXXPMIcon.rb +15 -0
- data/test/TC_FXXPMImage.rb +15 -0
- data/test/TC_Misc.rb +157 -0
- data/test/TC_downcast.rb +15 -0
- data/test/TS_All.rb +25 -0
- data/test/blankpage.ps +166 -0
- data/test/howdypage.ps +181 -0
- data/test/stress1.rb +92 -0
- data/test/stress2.rb +51 -0
- data/test/stress3.rb +117 -0
- data/test/testcase.rb +37 -0
- metadata +1107 -0
@@ -0,0 +1,4388 @@
|
|
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_FXRGBImage swig_types[1]
|
521
|
+
#define SWIGTYPE_p_FXuchar swig_types[2]
|
522
|
+
#define SWIGTYPE_p_FXBitmap swig_types[3]
|
523
|
+
#define SWIGTYPE_p_FXId swig_types[4]
|
524
|
+
#define SWIGTYPE_p_p_FXchar swig_types[5]
|
525
|
+
#define SWIGTYPE_p_FXStream swig_types[6]
|
526
|
+
#define SWIGTYPE_p_FXDrawable swig_types[7]
|
527
|
+
#define SWIGTYPE_p_FXGIFImage swig_types[8]
|
528
|
+
#define SWIGTYPE_p_FXTIFImage swig_types[9]
|
529
|
+
#define SWIGTYPE_p_FXICOImage swig_types[10]
|
530
|
+
#define SWIGTYPE_p_FXPPMImage swig_types[11]
|
531
|
+
#define SWIGTYPE_p_FXXBMImage swig_types[12]
|
532
|
+
#define SWIGTYPE_p_FXXPMImage swig_types[13]
|
533
|
+
#define SWIGTYPE_p_FXPCXImage swig_types[14]
|
534
|
+
#define SWIGTYPE_p_FXColor swig_types[15]
|
535
|
+
#define SWIGTYPE_p_FXBMPImage swig_types[16]
|
536
|
+
#define SWIGTYPE_p_FXApp swig_types[17]
|
537
|
+
#define SWIGTYPE_p_FXJPGImage swig_types[18]
|
538
|
+
#define SWIGTYPE_p_FXImage swig_types[19]
|
539
|
+
#define SWIGTYPE_p_FXPNGImage swig_types[20]
|
540
|
+
#define SWIGTYPE_p_FXMemoryBuffer swig_types[21]
|
541
|
+
#define SWIGTYPE_p_FXTGAImage swig_types[22]
|
542
|
+
static swig_type_info *swig_types[24];
|
543
|
+
|
544
|
+
/* -------- TYPES TABLE (END) -------- */
|
545
|
+
|
546
|
+
#define SWIG_init Init_image
|
547
|
+
#define SWIG_name "Image"
|
548
|
+
|
549
|
+
|
550
|
+
static void SWIG_AsVal(VALUE obj, int *val)
|
551
|
+
{
|
552
|
+
*val = (int) NUM2INT(obj);
|
553
|
+
}
|
554
|
+
|
555
|
+
|
556
|
+
#include "FXRbCommon.h"
|
557
|
+
|
558
|
+
|
559
|
+
#define SWIG_MemoryError 1
|
560
|
+
#define SWIG_IOError 2
|
561
|
+
#define SWIG_RuntimeError 3
|
562
|
+
#define SWIG_IndexError 4
|
563
|
+
#define SWIG_TypeError 5
|
564
|
+
#define SWIG_DivisionByZero 6
|
565
|
+
#define SWIG_OverflowError 7
|
566
|
+
#define SWIG_SyntaxError 8
|
567
|
+
#define SWIG_ValueError 9
|
568
|
+
#define SWIG_SystemError 10
|
569
|
+
#define SWIG_UnknownError 99
|
570
|
+
|
571
|
+
|
572
|
+
static void SWIG_exception_(int code, const char *msg) {
|
573
|
+
switch (code) {
|
574
|
+
case SWIG_MemoryError:
|
575
|
+
rb_raise(rb_eNoMemError, msg);
|
576
|
+
break;
|
577
|
+
case SWIG_IOError:
|
578
|
+
rb_raise(rb_eIOError, msg);
|
579
|
+
break;
|
580
|
+
case SWIG_RuntimeError:
|
581
|
+
rb_raise(rb_eRuntimeError, msg);
|
582
|
+
break;
|
583
|
+
case SWIG_IndexError:
|
584
|
+
rb_raise(rb_eIndexError, msg);
|
585
|
+
break;
|
586
|
+
case SWIG_TypeError:
|
587
|
+
rb_raise(rb_eTypeError, msg);
|
588
|
+
break;
|
589
|
+
case SWIG_DivisionByZero:
|
590
|
+
rb_raise(rb_eZeroDivError, msg);
|
591
|
+
break;
|
592
|
+
case SWIG_OverflowError:
|
593
|
+
rb_raise(rb_eRangeError, msg);
|
594
|
+
break;
|
595
|
+
case SWIG_SyntaxError:
|
596
|
+
rb_raise(rb_eSyntaxError, msg);
|
597
|
+
break;
|
598
|
+
case SWIG_ValueError:
|
599
|
+
rb_raise(rb_eArgError, msg);
|
600
|
+
break;
|
601
|
+
case SWIG_SystemError:
|
602
|
+
rb_raise(rb_eFatal, msg);
|
603
|
+
break;
|
604
|
+
case SWIG_UnknownError:
|
605
|
+
rb_raise(rb_eRuntimeError, msg);
|
606
|
+
break;
|
607
|
+
default:
|
608
|
+
break;
|
609
|
+
}
|
610
|
+
}
|
611
|
+
|
612
|
+
#define SWIG_exception(a, b) SWIG_exception_((a), (b))
|
613
|
+
|
614
|
+
|
615
|
+
#include <stdexcept>
|
616
|
+
|
617
|
+
|
618
|
+
inline FXColor to_FXColor(VALUE obj){
|
619
|
+
if(TYPE(obj)==T_STRING){
|
620
|
+
return fxcolorfromname(StringValuePtr(obj));
|
621
|
+
}
|
622
|
+
else if(TYPE(obj)==T_SYMBOL){
|
623
|
+
return fxcolorfromname(rb_id2name(SYM2ID(obj)));
|
624
|
+
}
|
625
|
+
else{
|
626
|
+
return NUM2ULONG(obj);
|
627
|
+
}
|
628
|
+
}
|
629
|
+
|
630
|
+
|
631
|
+
inline FXString to_FXString(VALUE obj){
|
632
|
+
if(!NIL_P(obj)){
|
633
|
+
Check_Type(obj,T_STRING);
|
634
|
+
return FXString(StringValuePtr(obj));
|
635
|
+
}
|
636
|
+
else{
|
637
|
+
return FXString::null;
|
638
|
+
}
|
639
|
+
}
|
640
|
+
|
641
|
+
|
642
|
+
inline FXbool to_FXbool(VALUE obj){
|
643
|
+
if (obj == Qtrue || obj == Qfalse){
|
644
|
+
return (obj == Qtrue) ? TRUE : FALSE;
|
645
|
+
}
|
646
|
+
else{
|
647
|
+
return static_cast<FXbool>(NUM2UINT(obj));
|
648
|
+
}
|
649
|
+
}
|
650
|
+
|
651
|
+
|
652
|
+
static swig_type_info* FXEventTypeInfo=0;
|
653
|
+
|
654
|
+
inline void* to_FXEvent(VALUE obj){
|
655
|
+
void* ptr;
|
656
|
+
if(!FXEventTypeInfo){
|
657
|
+
FXEventTypeInfo=SWIG_TypeQuery("FXEvent *");
|
658
|
+
FXASSERT(FXEventTypeInfo!=0);
|
659
|
+
}
|
660
|
+
SWIG_ConvertPtr(obj,&ptr,FXEventTypeInfo,1);
|
661
|
+
return ptr;
|
662
|
+
}
|
663
|
+
|
664
|
+
FXBitmap *new_FXBitmap(FXApp *a,void const *pix,FXuint opts,FXint w,FXint h){
|
665
|
+
return new FXRbBitmap(a,pix,opts,w,h);
|
666
|
+
}
|
667
|
+
|
668
|
+
swig_class cFXBitmap;
|
669
|
+
static void free_FXBitmap(FXBitmap *);
|
670
|
+
VALUE FXMemoryBuffer_getData(FXMemoryBuffer const *self){
|
671
|
+
FXColor* data = self->getData();
|
672
|
+
if (data) {
|
673
|
+
FXuint size = self->getSize();
|
674
|
+
VALUE ary = rb_ary_new2(size);
|
675
|
+
for (int i = 0; i < size; i++)
|
676
|
+
rb_ary_store(ary, i, UINT2NUM(data[i]));
|
677
|
+
return ary;
|
678
|
+
}
|
679
|
+
else {
|
680
|
+
return Qnil;
|
681
|
+
}
|
682
|
+
}
|
683
|
+
FXColor FXMemoryBuffer___getitem__(FXMemoryBuffer const *self,FXuint i){
|
684
|
+
return self->getData()[i];
|
685
|
+
}
|
686
|
+
FXColor FXMemoryBuffer___setitem__(FXMemoryBuffer *self,FXuint i,FXColor value){
|
687
|
+
self->getData()[i] = value;
|
688
|
+
return value;
|
689
|
+
}
|
690
|
+
|
691
|
+
swig_class cFXMemoryBuffer;
|
692
|
+
static void free_FXMemoryBuffer(FXMemoryBuffer *);
|
693
|
+
FXImage *new_FXImage(FXApp *a,VALUE ary,FXuint opts,FXint w,FXint h){
|
694
|
+
FXColor* pix=0;
|
695
|
+
if(!NIL_P(ary)){
|
696
|
+
Check_Type(ary,T_ARRAY);
|
697
|
+
if(FXMALLOC(&pix,FXColor,RARRAY_LEN(ary))){
|
698
|
+
for(long i=0; i<RARRAY_LEN(ary); i++){
|
699
|
+
pix[i]=static_cast<FXColor>(NUM2UINT(rb_ary_entry(ary,i)));
|
700
|
+
}
|
701
|
+
}
|
702
|
+
opts&=IMAGE_OWNED;
|
703
|
+
}
|
704
|
+
return new FXRbImage(a,pix,opts,w,h);
|
705
|
+
}
|
706
|
+
FXMemoryBuffer *FXImage_getData(FXImage const *self){
|
707
|
+
if(self->getData()){
|
708
|
+
return new FXMemoryBuffer(self->getData(),self->getWidth()*self->getHeight());
|
709
|
+
}
|
710
|
+
else{
|
711
|
+
return 0;
|
712
|
+
}
|
713
|
+
}
|
714
|
+
|
715
|
+
swig_class cFXImage;
|
716
|
+
static void free_FXImage(FXImage *);
|
717
|
+
|
718
|
+
static swig_type_info *FXImage_dynamic_cast(void **ptr) {
|
719
|
+
FXImage **ppImage = reinterpret_cast<FXImage **>(ptr);
|
720
|
+
FXBMPImage *pBMPImage=dynamic_cast<FXBMPImage*>(*ppImage);
|
721
|
+
if(pBMPImage){
|
722
|
+
*ptr=reinterpret_cast<void*>(pBMPImage);
|
723
|
+
return SWIG_TypeQuery("FXBMPImage *");
|
724
|
+
}
|
725
|
+
FXGIFImage *pGIFImage=dynamic_cast<FXGIFImage*>(*ppImage);
|
726
|
+
if(pGIFImage){
|
727
|
+
*ptr=reinterpret_cast<void*>(pGIFImage);
|
728
|
+
return SWIG_TypeQuery("FXGIFImage *");
|
729
|
+
}
|
730
|
+
FXICOImage *pICOImage=dynamic_cast<FXICOImage*>(*ppImage);
|
731
|
+
if(pICOImage){
|
732
|
+
*ptr=reinterpret_cast<void*>(pICOImage);
|
733
|
+
return SWIG_TypeQuery("FXICOImage *");
|
734
|
+
}
|
735
|
+
FXIcon *pIcon=dynamic_cast<FXIcon*>(*ppImage);
|
736
|
+
if(pIcon){
|
737
|
+
*ptr=reinterpret_cast<void*>(pIcon);
|
738
|
+
return SWIG_TypeQuery("FXIcon *");
|
739
|
+
}
|
740
|
+
FXJPGImage *pJPGImage=dynamic_cast<FXJPGImage*>(*ppImage);
|
741
|
+
if(pJPGImage){
|
742
|
+
*ptr=reinterpret_cast<void*>(pJPGImage);
|
743
|
+
return SWIG_TypeQuery("FXJPGImage *");
|
744
|
+
}
|
745
|
+
FXPCXImage *pPCXImage=dynamic_cast<FXPCXImage*>(*ppImage);
|
746
|
+
if(pPCXImage){
|
747
|
+
*ptr=reinterpret_cast<void*>(pPCXImage);
|
748
|
+
return SWIG_TypeQuery("FXPCXImage *");
|
749
|
+
}
|
750
|
+
FXPNGImage *pPNGImage=dynamic_cast<FXPNGImage*>(*ppImage);
|
751
|
+
if(pPNGImage){
|
752
|
+
*ptr=reinterpret_cast<void*>(pPNGImage);
|
753
|
+
return SWIG_TypeQuery("FXPNGImage *");
|
754
|
+
}
|
755
|
+
FXPPMImage *pPPMImage=dynamic_cast<FXPPMImage*>(*ppImage);
|
756
|
+
if(pPPMImage){
|
757
|
+
*ptr=reinterpret_cast<void*>(pPPMImage);
|
758
|
+
return SWIG_TypeQuery("FXPPMImage *");
|
759
|
+
}
|
760
|
+
FXRGBImage *pRGBImage=dynamic_cast<FXRGBImage*>(*ppImage);
|
761
|
+
if(pRGBImage){
|
762
|
+
*ptr=reinterpret_cast<void*>(pRGBImage);
|
763
|
+
return SWIG_TypeQuery("FXRGBImage *");
|
764
|
+
}
|
765
|
+
FXTGAImage *pTGAImage=dynamic_cast<FXTGAImage*>(*ppImage);
|
766
|
+
if(pTGAImage){
|
767
|
+
*ptr=reinterpret_cast<void*>(pTGAImage);
|
768
|
+
return SWIG_TypeQuery("FXTGAImage *");
|
769
|
+
}
|
770
|
+
FXTIFImage *pTIFImage=dynamic_cast<FXTIFImage*>(*ppImage);
|
771
|
+
if(pTIFImage){
|
772
|
+
*ptr=reinterpret_cast<void*>(pTIFImage);
|
773
|
+
return SWIG_TypeQuery("FXTIFImage *");
|
774
|
+
}
|
775
|
+
FXXBMImage *pXBMImage=dynamic_cast<FXXBMImage*>(*ppImage);
|
776
|
+
if(pXBMImage){
|
777
|
+
*ptr=reinterpret_cast<void*>(pXBMImage);
|
778
|
+
return SWIG_TypeQuery("FXXBMImage *");
|
779
|
+
}
|
780
|
+
FXXPMImage *pXPMImage=dynamic_cast<FXXPMImage*>(*ppImage);
|
781
|
+
if(pXPMImage){
|
782
|
+
*ptr=reinterpret_cast<void*>(pXPMImage);
|
783
|
+
return SWIG_TypeQuery("FXXPMImage *");
|
784
|
+
}
|
785
|
+
return 0;
|
786
|
+
}
|
787
|
+
|
788
|
+
VALUE FXBMPImage_fileExt(){
|
789
|
+
return rb_str_new2(FXBMPImage::fileExt);
|
790
|
+
}
|
791
|
+
VALUE FXBMPImage_mimeType(){
|
792
|
+
return rb_str_new2(FXBMPImage::mimeType);
|
793
|
+
}
|
794
|
+
FXBMPImage *new_FXBMPImage(FXApp *a,void const *pix,FXuint opts,FXint w,FXint h){
|
795
|
+
return new FXRbBMPImage(a,pix,opts,w,h);
|
796
|
+
}
|
797
|
+
|
798
|
+
swig_class cFXBMPImage;
|
799
|
+
static void free_FXBMPImage(FXBMPImage *);
|
800
|
+
VALUE FXGIFImage_fileExt(){
|
801
|
+
return rb_str_new2(FXGIFImage::fileExt);
|
802
|
+
}
|
803
|
+
VALUE FXGIFImage_mimeType(){
|
804
|
+
return rb_str_new2(FXGIFImage::mimeType);
|
805
|
+
}
|
806
|
+
FXGIFImage *new_FXGIFImage(FXApp *a,void const *pix,FXuint opts,FXint w,FXint h){
|
807
|
+
return new FXRbGIFImage(a,pix,opts,w,h);
|
808
|
+
}
|
809
|
+
|
810
|
+
swig_class cFXGIFImage;
|
811
|
+
static void free_FXGIFImage(FXGIFImage *);
|
812
|
+
VALUE FXICOImage_fileExt(){
|
813
|
+
return rb_str_new2(FXICOImage::fileExt);
|
814
|
+
}
|
815
|
+
VALUE FXICOImage_mimeType(){
|
816
|
+
return rb_str_new2(FXICOImage::mimeType);
|
817
|
+
}
|
818
|
+
FXICOImage *new_FXICOImage(FXApp *a,void const *pix,FXuint opts,FXint w,FXint h){
|
819
|
+
return new FXRbICOImage(a,pix,opts,w,h);
|
820
|
+
}
|
821
|
+
|
822
|
+
swig_class cFXICOImage;
|
823
|
+
static void free_FXICOImage(FXICOImage *);
|
824
|
+
VALUE FXJPGImage_fileExt(){
|
825
|
+
return rb_str_new2(FXJPGImage::fileExt);
|
826
|
+
}
|
827
|
+
VALUE FXJPGImage_mimeType(){
|
828
|
+
return rb_str_new2(FXJPGImage::mimeType);
|
829
|
+
}
|
830
|
+
bool FXJPGImage_isSupported(){ return FXJPGImage::supported; }
|
831
|
+
FXJPGImage *new_FXJPGImage(FXApp *a,void const *pix,FXuint opts,FXint w,FXint h,FXint q){
|
832
|
+
return new FXRbJPGImage(a,pix,opts,w,h,q);
|
833
|
+
}
|
834
|
+
|
835
|
+
swig_class cFXJPGImage;
|
836
|
+
static void free_FXJPGImage(FXJPGImage *);
|
837
|
+
VALUE FXPCXImage_fileExt(){
|
838
|
+
return rb_str_new2(FXPCXImage::fileExt);
|
839
|
+
}
|
840
|
+
VALUE FXPCXImage_mimeType(){
|
841
|
+
return rb_str_new2(FXPCXImage::mimeType);
|
842
|
+
}
|
843
|
+
FXPCXImage *new_FXPCXImage(FXApp *a,void const *pix,FXuint opts,FXint w,FXint h){
|
844
|
+
return new FXRbPCXImage(a,pix,opts,w,h);
|
845
|
+
}
|
846
|
+
|
847
|
+
swig_class cFXPCXImage;
|
848
|
+
static void free_FXPCXImage(FXPCXImage *);
|
849
|
+
VALUE FXPNGImage_fileExt(){
|
850
|
+
return rb_str_new2(FXPNGImage::fileExt);
|
851
|
+
}
|
852
|
+
VALUE FXPNGImage_mimeType(){
|
853
|
+
return rb_str_new2(FXPNGImage::mimeType);
|
854
|
+
}
|
855
|
+
bool FXPNGImage_isSupported(){ return FXPNGImage::supported; }
|
856
|
+
FXPNGImage *new_FXPNGImage(FXApp *a,void const *pix,FXuint opts,FXint w,FXint h){
|
857
|
+
return new FXRbPNGImage(a,pix,opts,w,h);
|
858
|
+
}
|
859
|
+
|
860
|
+
swig_class cFXPNGImage;
|
861
|
+
static void free_FXPNGImage(FXPNGImage *);
|
862
|
+
VALUE FXPPMImage_fileExt(){
|
863
|
+
return rb_str_new2(FXPPMImage::fileExt);
|
864
|
+
}
|
865
|
+
VALUE FXPPMImage_mimeType(){
|
866
|
+
return rb_str_new2(FXPPMImage::mimeType);
|
867
|
+
}
|
868
|
+
FXPPMImage *new_FXPPMImage(FXApp *a,void const *pix,FXuint opts,FXint w,FXint h){
|
869
|
+
return new FXRbPPMImage(a,pix,opts,w,h);
|
870
|
+
}
|
871
|
+
|
872
|
+
swig_class cFXPPMImage;
|
873
|
+
static void free_FXPPMImage(FXPPMImage *);
|
874
|
+
VALUE FXRGBImage_fileExt(){
|
875
|
+
return rb_str_new2(FXRGBImage::fileExt);
|
876
|
+
}
|
877
|
+
VALUE FXRGBImage_mimeType(){
|
878
|
+
return rb_str_new2(FXRGBImage::mimeType);
|
879
|
+
}
|
880
|
+
FXRGBImage *new_FXRGBImage(FXApp *a,void const *pix,FXuint opts,FXint w,FXint h){
|
881
|
+
return new FXRbRGBImage(a,pix,opts,w,h);
|
882
|
+
}
|
883
|
+
|
884
|
+
swig_class cFXRGBImage;
|
885
|
+
static void free_FXRGBImage(FXRGBImage *);
|
886
|
+
VALUE FXTGAImage_fileExt(){
|
887
|
+
return rb_str_new2(FXTGAImage::fileExt);
|
888
|
+
}
|
889
|
+
VALUE FXTGAImage_mimeType(){
|
890
|
+
return rb_str_new2(FXTGAImage::mimeType);
|
891
|
+
}
|
892
|
+
FXTGAImage *new_FXTGAImage(FXApp *a,void const *pix,FXuint opts,FXint w,FXint h){
|
893
|
+
return new FXRbTGAImage(a,pix,opts,w,h);
|
894
|
+
}
|
895
|
+
|
896
|
+
swig_class cFXTGAImage;
|
897
|
+
static void free_FXTGAImage(FXTGAImage *);
|
898
|
+
VALUE FXTIFImage_fileExt(){
|
899
|
+
return rb_str_new2(FXTIFImage::fileExt);
|
900
|
+
}
|
901
|
+
VALUE FXTIFImage_mimeType(){
|
902
|
+
return rb_str_new2(FXTIFImage::mimeType);
|
903
|
+
}
|
904
|
+
bool FXTIFImage_isSupported(){ return FXTIFImage::supported; }
|
905
|
+
FXTIFImage *new_FXTIFImage(FXApp *a,void const *pix,FXuint opts,FXint w,FXint h){
|
906
|
+
return new FXRbTIFImage(a,pix,opts,w,h);
|
907
|
+
}
|
908
|
+
|
909
|
+
swig_class cFXTIFImage;
|
910
|
+
static void free_FXTIFImage(FXTIFImage *);
|
911
|
+
|
912
|
+
/// Load a tiff from a stream
|
913
|
+
VALUE fxloadTIF(FXStream& store){
|
914
|
+
FXColor* data;
|
915
|
+
FXint width;
|
916
|
+
FXint height;
|
917
|
+
FXushort codec;
|
918
|
+
if(fxloadTIF(store,data,width,height,codec)){
|
919
|
+
VALUE ary=rb_ary_new();
|
920
|
+
rb_ary_push(ary,FXRbMakeColorArray(data,width,height));
|
921
|
+
FXFREE(&data);
|
922
|
+
rb_ary_push(ary,to_ruby(width));
|
923
|
+
rb_ary_push(ary,to_ruby(height));
|
924
|
+
rb_ary_push(ary,to_ruby(codec));
|
925
|
+
return ary;
|
926
|
+
}
|
927
|
+
else{
|
928
|
+
return Qnil;
|
929
|
+
}
|
930
|
+
}
|
931
|
+
|
932
|
+
VALUE FXXBMImage_fileExt(){
|
933
|
+
return rb_str_new2(FXXBMImage::fileExt);
|
934
|
+
}
|
935
|
+
VALUE FXXBMImage_mimeType(){
|
936
|
+
return rb_str_new2(FXXBMImage::mimeType);
|
937
|
+
}
|
938
|
+
FXXBMImage *new_FXXBMImage(FXApp *a,FXuchar const *pixels,FXuchar const *mask,FXuint opts,FXint w,FXint h){
|
939
|
+
return new FXRbXBMImage(a,pixels,mask,opts,w,h);
|
940
|
+
}
|
941
|
+
|
942
|
+
swig_class cFXXBMImage;
|
943
|
+
static void free_FXXBMImage(FXXBMImage *);
|
944
|
+
|
945
|
+
/**
|
946
|
+
* Load an XBM (X Bitmap) from pixel array and mask array.
|
947
|
+
* Upon successful return, the pixel array and size are returned.
|
948
|
+
* If an error occurred, the pixel array is set to NULL.
|
949
|
+
*/
|
950
|
+
VALUE fxloadXBM(const FXuchar *pix,const FXuchar *msk,FXint width,FXint height){
|
951
|
+
FXColor* data;
|
952
|
+
if(fxloadXBM(data,pix,msk,width,height)){
|
953
|
+
VALUE obj=FXRbMakeColorArray(data,width,height);
|
954
|
+
FXFREE(&data);
|
955
|
+
return obj;
|
956
|
+
}
|
957
|
+
else{
|
958
|
+
return Qnil;
|
959
|
+
}
|
960
|
+
}
|
961
|
+
|
962
|
+
|
963
|
+
/**
|
964
|
+
* Load an XBM (X Bitmap) file from a stream.
|
965
|
+
* Upon successful return, the pixel array and size, and hot-spot are returned.
|
966
|
+
* If an error occurred, the pixel array is set to NULL.
|
967
|
+
*/
|
968
|
+
VALUE fxloadXBM(FXStream& store){
|
969
|
+
FXColor* data;
|
970
|
+
FXint width,height,hotx,hoty;
|
971
|
+
if(fxloadXBM(store,data,width,height,hotx,hoty)){
|
972
|
+
VALUE ary=rb_ary_new();
|
973
|
+
rb_ary_push(ary,FXRbMakeColorArray(data,width,height));
|
974
|
+
FXFREE(&data);
|
975
|
+
rb_ary_push(ary,to_ruby(width));
|
976
|
+
rb_ary_push(ary,to_ruby(height));
|
977
|
+
rb_ary_push(ary,to_ruby(hotx));
|
978
|
+
rb_ary_push(ary,to_ruby(hoty));
|
979
|
+
return ary;
|
980
|
+
}
|
981
|
+
else{
|
982
|
+
return Qnil;
|
983
|
+
}
|
984
|
+
}
|
985
|
+
|
986
|
+
VALUE FXXPMImage_fileExt(){
|
987
|
+
return rb_str_new2(FXXPMImage::fileExt);
|
988
|
+
}
|
989
|
+
VALUE FXXPMImage_mimeType(){
|
990
|
+
return rb_str_new2(FXXPMImage::mimeType);
|
991
|
+
}
|
992
|
+
FXXPMImage *new_FXXPMImage(FXApp *a,FXchar const **pix,FXuint opts,FXint w,FXint h){
|
993
|
+
return new FXRbXPMImage(a,pix,opts,w,h);
|
994
|
+
}
|
995
|
+
|
996
|
+
swig_class cFXXPMImage;
|
997
|
+
static void free_FXXPMImage(FXXPMImage *);
|
998
|
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
999
|
+
static VALUE _wrap_FXBitmap_allocate(VALUE self) {
|
1000
|
+
#else
|
1001
|
+
static VALUE _wrap_FXBitmap_allocate(int argc, VALUE *argv, VALUE self) {
|
1002
|
+
#endif
|
1003
|
+
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXBitmap);
|
1004
|
+
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
1005
|
+
rb_obj_call_init(vresult, argc, argv);
|
1006
|
+
#endif
|
1007
|
+
return vresult; }
|
1008
|
+
static VALUE _wrap_new_FXBitmap(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; void *arg2 = (void *) 0 ;
|
1009
|
+
FXuint arg3 = (FXuint) 0 ; FXint arg4 = (FXint) 1 ; FXint arg5 = (FXint) 1 ; FXBitmap *result; if ((argc < 1) || (argc > 5))
|
1010
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1011
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXApp, 1); if (argc > 1) { { if (argv[1] != Qnil) {
|
1012
|
+
Check_Type(argv[1], T_STRING); arg2 = reinterpret_cast<void *>(RSTRING_PTR(argv[1])); } else { arg2 = NULL; } }
|
1013
|
+
} if (argc > 2) { arg3 = NUM2UINT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(argv[3]); } if (argc > 4) {
|
1014
|
+
arg5 = NUM2INT(argv[4]); } { result = (FXBitmap *)new_FXBitmap(arg1,(void const *)arg2,arg3,arg4,arg5);
|
1015
|
+
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
1016
|
+
static VALUE _wrap_FXBitmap_getData(int argc, VALUE *argv, VALUE self) { FXBitmap *arg1 = (FXBitmap *) 0 ; FXuchar *result;
|
1017
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1018
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBitmap, 1); result = (FXuchar *)((FXBitmap const *)arg1)->getData();
|
1019
|
+
vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXuchar,0); return vresult; }
|
1020
|
+
static VALUE _wrap_FXBitmap_getOptions(int argc, VALUE *argv, VALUE self) { FXBitmap *arg1 = (FXBitmap *) 0 ; FXuint result;
|
1021
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1022
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBitmap, 1); result = (FXuint)((FXBitmap const *)arg1)->getOptions();
|
1023
|
+
vresult = UINT2NUM(result); return vresult; }
|
1024
|
+
static VALUE _wrap_FXBitmap_setOptions(int argc, VALUE *argv, VALUE self) { FXBitmap *arg1 = (FXBitmap *) 0 ; FXuint arg2 ;
|
1025
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1026
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBitmap, 1); arg2 = NUM2UINT(argv[0]); (arg1)->setOptions(arg2);
|
1027
|
+
return Qnil; }
|
1028
|
+
static VALUE _wrap_FXBitmap_getPixel(int argc, VALUE *argv, VALUE self) { FXBitmap *arg1 = (FXBitmap *) 0 ; FXint arg2 ;
|
1029
|
+
FXint arg3 ; FXbool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
|
1030
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1031
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBitmap, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1032
|
+
result = (FXbool)((FXBitmap const *)arg1)->getPixel(arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; }
|
1033
|
+
static VALUE _wrap_FXBitmap_setPixel(int argc, VALUE *argv, VALUE self) { FXBitmap *arg1 = (FXBitmap *) 0 ; FXint arg2 ;
|
1034
|
+
FXint arg3 ; FXbool arg4 ; if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
|
1035
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBitmap, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1036
|
+
arg4 = to_FXbool(argv[2]); (arg1)->setPixel(arg2,arg3,arg4); return Qnil; }
|
1037
|
+
static void
|
1038
|
+
free_FXBitmap(FXBitmap *arg1) {
|
1039
|
+
delete arg1;
|
1040
|
+
}
|
1041
|
+
static VALUE _wrap_FXBitmap_save(int argc, VALUE *argv, VALUE self) { FXBitmap *arg1 = (FXBitmap *) 0 ; FXStream *arg2 = 0 ;
|
1042
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1043
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBitmap, 1);
|
1044
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
1045
|
+
FXBitmap_save((FXBitmap const *)arg1,*arg2); return Qnil; }
|
1046
|
+
static VALUE _wrap_FXBitmap_load(int argc, VALUE *argv, VALUE self) { FXBitmap *arg1 = (FXBitmap *) 0 ; FXStream *arg2 = 0 ;
|
1047
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1048
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBitmap, 1);
|
1049
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
1050
|
+
FXBitmap_load(arg1,*arg2); return Qnil; }
|
1051
|
+
static VALUE _wrap_FXBitmap_create(int argc, VALUE *argv, VALUE self) { FXBitmap *arg1 = (FXBitmap *) 0 ;
|
1052
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1053
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBitmap, 1); FXBitmap_create(arg1); return Qnil; }
|
1054
|
+
static VALUE _wrap_FXBitmap_detach(int argc, VALUE *argv, VALUE self) { FXBitmap *arg1 = (FXBitmap *) 0 ;
|
1055
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1056
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBitmap, 1); FXBitmap_detach(arg1); return Qnil; }
|
1057
|
+
static VALUE _wrap_FXBitmap_destroy(int argc, VALUE *argv, VALUE self) { FXBitmap *arg1 = (FXBitmap *) 0 ;
|
1058
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1059
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBitmap, 1); FXBitmap_destroy(arg1); return Qnil; }
|
1060
|
+
static VALUE _wrap_FXBitmap_resize(int argc, VALUE *argv, VALUE self) { FXBitmap *arg1 = (FXBitmap *) 0 ; FXint arg2 ;
|
1061
|
+
FXint arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1062
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBitmap, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1063
|
+
FXBitmap_resize(arg1,arg2,arg3); return Qnil; }
|
1064
|
+
static VALUE _wrap_FXBitmap_restore(int argc, VALUE *argv, VALUE self) { FXBitmap *arg1 = (FXBitmap *) 0 ;
|
1065
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1066
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBitmap, 1); FXBitmap_restore(arg1); return Qnil; }
|
1067
|
+
static VALUE _wrap_FXBitmap_render(int argc, VALUE *argv, VALUE self) { FXBitmap *arg1 = (FXBitmap *) 0 ;
|
1068
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1069
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBitmap, 1); FXBitmap_render(arg1); return Qnil; }
|
1070
|
+
static VALUE _wrap_FXBitmap_release(int argc, VALUE *argv, VALUE self) { FXBitmap *arg1 = (FXBitmap *) 0 ;
|
1071
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1072
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBitmap, 1); FXBitmap_release(arg1); return Qnil; }
|
1073
|
+
static VALUE _wrap_FXBitmap_savePixels(int argc, VALUE *argv, VALUE self) { FXBitmap *arg1 = (FXBitmap *) 0 ;
|
1074
|
+
FXStream *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
1075
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1076
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBitmap, 1);
|
1077
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
1078
|
+
result = (bool)FXBitmap_savePixels((FXBitmap const *)arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
|
1079
|
+
static VALUE _wrap_FXBitmap_loadPixels(int argc, VALUE *argv, VALUE self) { FXBitmap *arg1 = (FXBitmap *) 0 ;
|
1080
|
+
FXStream *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
1081
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1082
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBitmap, 1);
|
1083
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
1084
|
+
result = (bool)FXBitmap_loadPixels(arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
|
1085
|
+
static VALUE _wrap_FXBitmap_scale(int argc, VALUE *argv, VALUE self) { FXBitmap *arg1 = (FXBitmap *) 0 ; FXint arg2 ;
|
1086
|
+
FXint arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1087
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBitmap, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1088
|
+
FXBitmap_scale(arg1,arg2,arg3); return Qnil; }
|
1089
|
+
static VALUE _wrap_FXBitmap_mirror(int argc, VALUE *argv, VALUE self) { FXBitmap *arg1 = (FXBitmap *) 0 ; FXbool arg2 ;
|
1090
|
+
FXbool arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1091
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBitmap, 1); arg2 = to_FXbool(argv[0]); arg3 = to_FXbool(argv[1]);
|
1092
|
+
FXBitmap_mirror(arg1,arg2,arg3); return Qnil; }
|
1093
|
+
static VALUE _wrap_FXBitmap_rotate(int argc, VALUE *argv, VALUE self) { FXBitmap *arg1 = (FXBitmap *) 0 ; FXint arg2 ;
|
1094
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1095
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBitmap, 1); arg2 = NUM2INT(argv[0]); FXBitmap_rotate(arg1,arg2);
|
1096
|
+
return Qnil; }
|
1097
|
+
static VALUE _wrap_FXBitmap_crop(int argc, VALUE *argv, VALUE self) { FXBitmap *arg1 = (FXBitmap *) 0 ; FXint arg2 ;
|
1098
|
+
FXint arg3 ; FXint arg4 ; FXint arg5 ; FXbool arg6 = (FXbool) 0 ; if ((argc < 4) || (argc > 5))
|
1099
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
1100
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBitmap, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1101
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); if (argc > 4) { arg6 = to_FXbool(argv[4]); }
|
1102
|
+
FXBitmap_crop(arg1,arg2,arg3,arg4,arg5,arg6); return Qnil; }
|
1103
|
+
static VALUE _wrap_FXBitmap_fill(int argc, VALUE *argv, VALUE self) { FXBitmap *arg1 = (FXBitmap *) 0 ; FXbool arg2 ;
|
1104
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1105
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBitmap, 1); arg2 = to_FXbool(argv[0]); FXBitmap_fill(arg1,arg2);
|
1106
|
+
return Qnil; }
|
1107
|
+
static VALUE _wrap_FXBitmap_setData__SWIG_0(int argc, VALUE *argv, VALUE self) { FXBitmap *arg1 = (FXBitmap *) 0 ;
|
1108
|
+
FXuchar *arg2 = (FXuchar *) 0 ; FXuint arg3 = (FXuint) 0 ; if ((argc < 1) || (argc > 2))
|
1109
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1110
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBitmap, 1);
|
1111
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXuchar, 1); if (argc > 1) { arg3 = NUM2UINT(argv[1]); }
|
1112
|
+
FXBitmap_setData(arg1,arg2,arg3); return Qnil; }
|
1113
|
+
static VALUE _wrap_FXBitmap_setData__SWIG_1(int argc, VALUE *argv, VALUE self) { FXBitmap *arg1 = (FXBitmap *) 0 ;
|
1114
|
+
FXuchar *arg2 = (FXuchar *) 0 ; FXuint arg3 ; FXint arg4 ; FXint arg5 ; if ((argc < 4) || (argc > 4))
|
1115
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
1116
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBitmap, 1);
|
1117
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXuchar, 1); arg3 = NUM2UINT(argv[1]); arg4 = NUM2INT(argv[2]);
|
1118
|
+
arg5 = NUM2INT(argv[3]); FXBitmap_setData(arg1,arg2,arg3,arg4,arg5); return Qnil; }
|
1119
|
+
static VALUE _wrap_FXBitmap_setData(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[6]; int ii; argc = nargs + 1;
|
1120
|
+
argv[0] = self; for (ii = 1; (ii < argc) && (ii < 5); ii++) { argv[ii] = args[ii-1]; } if ((argc >= 2) && (argc <= 3)) {
|
1121
|
+
int _v; { void *ptr;
|
1122
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXBitmap, 0) != -1)) ? 1 : 0; }
|
1123
|
+
if (_v) { { void *ptr;
|
1124
|
+
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXuchar, 0) != -1)) ? 1 : 0; }
|
1125
|
+
if (_v) { if (argc <= 2) { return _wrap_FXBitmap_setData__SWIG_0(nargs, args, self);} {
|
1126
|
+
_v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
|
1127
|
+
return _wrap_FXBitmap_setData__SWIG_0(nargs, args, self);} } } } if (argc == 5) { int _v; { void *ptr;
|
1128
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXBitmap, 0) != -1)) ? 1 : 0; }
|
1129
|
+
if (_v) { { void *ptr;
|
1130
|
+
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXuchar, 0) != -1)) ? 1 : 0; }
|
1131
|
+
if (_v) { { _v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
1132
|
+
_v = ((TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
1133
|
+
_v = ((TYPE(argv[4]) == T_FIXNUM) || (TYPE(argv[4]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
|
1134
|
+
return _wrap_FXBitmap_setData__SWIG_1(nargs, args, self);} } } } } }
|
1135
|
+
rb_raise(rb_eArgError, "No matching function for overloaded 'FXBitmap_setData'"); return Qnil; }
|
1136
|
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
1137
|
+
static VALUE _wrap_FXMemoryBuffer_allocate(VALUE self) {
|
1138
|
+
#else
|
1139
|
+
static VALUE _wrap_FXMemoryBuffer_allocate(int argc, VALUE *argv, VALUE self) {
|
1140
|
+
#endif
|
1141
|
+
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXMemoryBuffer);
|
1142
|
+
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
1143
|
+
rb_obj_call_init(vresult, argc, argv);
|
1144
|
+
#endif
|
1145
|
+
return vresult; }
|
1146
|
+
static VALUE _wrap_new_FXMemoryBuffer(int argc, VALUE *argv, VALUE self) { FXColor *arg1 = (FXColor *) 0 ; FXuint arg2 ;
|
1147
|
+
FXMemoryBuffer *result; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); {
|
1148
|
+
Check_Type(argv[0], T_ARRAY); FXMALLOC(&arg1,FXColor,RARRAY_LEN(argv[0]));
|
1149
|
+
arg2=static_cast<FXuint>(RARRAY_LEN(argv[0])); for(FXint i=0; i<arg2; i++){
|
1150
|
+
arg1[i]=static_cast<FXColor>(NUM2UINT(rb_ary_entry(argv[0],i))); } }
|
1151
|
+
result = (FXMemoryBuffer *)new FXMemoryBuffer(arg1,arg2); DATA_PTR(self) = result; { FXFREE(&arg1); } return self; }
|
1152
|
+
static VALUE _wrap_FXMemoryBuffer_getSize(int argc, VALUE *argv, VALUE self) { FXMemoryBuffer *arg1 = (FXMemoryBuffer *) 0 ;
|
1153
|
+
FXuint result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
|
1154
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1155
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMemoryBuffer, 1);
|
1156
|
+
result = (FXuint)((FXMemoryBuffer const *)arg1)->getSize(); vresult = UINT2NUM(result); return vresult; }
|
1157
|
+
static VALUE _wrap_FXMemoryBuffer_getData(int argc, VALUE *argv, VALUE self) { FXMemoryBuffer *arg1 = (FXMemoryBuffer *) 0 ;
|
1158
|
+
VALUE result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
|
1159
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1160
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMemoryBuffer, 1);
|
1161
|
+
result = (VALUE)FXMemoryBuffer_getData((FXMemoryBuffer const *)arg1); vresult = result; return vresult; }
|
1162
|
+
static VALUE _wrap_FXMemoryBuffer___getitem__(int argc, VALUE *argv, VALUE self) { FXMemoryBuffer *arg1 = (FXMemoryBuffer *) 0 ;
|
1163
|
+
FXuint arg2 ; FXColor result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
1164
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1165
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMemoryBuffer, 1); arg2 = NUM2UINT(argv[0]);
|
1166
|
+
result = (FXColor)FXMemoryBuffer___getitem__((FXMemoryBuffer const *)arg1,arg2); vresult = UINT2NUM(result);
|
1167
|
+
return vresult; }
|
1168
|
+
static VALUE _wrap_FXMemoryBuffer___setitem__(int argc, VALUE *argv, VALUE self) { FXMemoryBuffer *arg1 = (FXMemoryBuffer *) 0 ;
|
1169
|
+
FXuint arg2 ; FXColor arg3 ; FXColor result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
|
1170
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1171
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMemoryBuffer, 1); arg2 = NUM2UINT(argv[0]); arg3 = to_FXColor(argv[1]);
|
1172
|
+
result = (FXColor)FXMemoryBuffer___setitem__(arg1,arg2,arg3); vresult = UINT2NUM(result); return vresult; }
|
1173
|
+
static void
|
1174
|
+
free_FXMemoryBuffer(FXMemoryBuffer *arg1) {
|
1175
|
+
delete arg1;
|
1176
|
+
}
|
1177
|
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
1178
|
+
static VALUE _wrap_FXImage_allocate(VALUE self) {
|
1179
|
+
#else
|
1180
|
+
static VALUE _wrap_FXImage_allocate(int argc, VALUE *argv, VALUE self) {
|
1181
|
+
#endif
|
1182
|
+
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXImage);
|
1183
|
+
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
1184
|
+
rb_obj_call_init(vresult, argc, argv);
|
1185
|
+
#endif
|
1186
|
+
return vresult; }
|
1187
|
+
static VALUE _wrap_new_FXImage(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; VALUE arg2 = (VALUE) Qnil ;
|
1188
|
+
FXuint arg3 = (FXuint) 0 ; FXint arg4 = (FXint) 1 ; FXint arg5 = (FXint) 1 ; FXImage *result; if ((argc < 1) || (argc > 5))
|
1189
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1190
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXApp, 1); if (argc > 1) { arg2 = argv[1]; } if (argc > 2) {
|
1191
|
+
arg3 = NUM2UINT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(argv[3]); } if (argc > 4) { arg5 = NUM2INT(argv[4]); } {
|
1192
|
+
result = (FXImage *)new_FXImage(arg1,arg2,arg3,arg4,arg5); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
|
1193
|
+
if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
1194
|
+
static VALUE _wrap_FXImage_getData(int argc, VALUE *argv, VALUE self) { FXImage *arg1 = (FXImage *) 0 ; FXMemoryBuffer *result;
|
1195
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1196
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXImage, 1);
|
1197
|
+
result = (FXMemoryBuffer *)FXImage_getData((FXImage const *)arg1);
|
1198
|
+
vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXMemoryBuffer,0); return vresult; }
|
1199
|
+
static VALUE _wrap_FXImage_getOptions(int argc, VALUE *argv, VALUE self) { FXImage *arg1 = (FXImage *) 0 ; FXuint result;
|
1200
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1201
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXImage, 1); result = (FXuint)((FXImage const *)arg1)->getOptions();
|
1202
|
+
vresult = UINT2NUM(result); return vresult; }
|
1203
|
+
static VALUE _wrap_FXImage_setOptions(int argc, VALUE *argv, VALUE self) { FXImage *arg1 = (FXImage *) 0 ; FXuint arg2 ;
|
1204
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1205
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXImage, 1); arg2 = NUM2UINT(argv[0]); (arg1)->setOptions(arg2);
|
1206
|
+
return Qnil; }
|
1207
|
+
static VALUE _wrap_FXImage_setData__SWIG_0(int argc, VALUE *argv, VALUE self) { FXImage *arg1 = (FXImage *) 0 ;
|
1208
|
+
FXColor *arg2 = (FXColor *) 0 ; FXuint arg3 = (FXuint) 0 ; if ((argc < 1) || (argc > 2))
|
1209
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1210
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXImage, 1);
|
1211
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXColor, 1); if (argc > 1) { arg3 = NUM2UINT(argv[1]); }
|
1212
|
+
(arg1)->setData(arg2,arg3); return Qnil; }
|
1213
|
+
static VALUE _wrap_FXImage_setData__SWIG_1(int argc, VALUE *argv, VALUE self) { FXImage *arg1 = (FXImage *) 0 ;
|
1214
|
+
FXColor *arg2 = (FXColor *) 0 ; FXuint arg3 ; FXint arg4 ; FXint arg5 ; if ((argc < 4) || (argc > 4))
|
1215
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
1216
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXImage, 1);
|
1217
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXColor, 1); arg3 = NUM2UINT(argv[1]); arg4 = NUM2INT(argv[2]);
|
1218
|
+
arg5 = NUM2INT(argv[3]); (arg1)->setData(arg2,arg3,arg4,arg5); return Qnil; }
|
1219
|
+
static VALUE _wrap_FXImage_setData(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[6]; int ii; argc = nargs + 1;
|
1220
|
+
argv[0] = self; for (ii = 1; (ii < argc) && (ii < 5); ii++) { argv[ii] = args[ii-1]; } if ((argc >= 2) && (argc <= 3)) {
|
1221
|
+
int _v; { void *ptr;
|
1222
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXImage, 0) != -1)) ? 1 : 0; }
|
1223
|
+
if (_v) { { void *ptr;
|
1224
|
+
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXColor, 0) != -1)) ? 1 : 0; }
|
1225
|
+
if (_v) { if (argc <= 2) { return _wrap_FXImage_setData__SWIG_0(nargs, args, self);} {
|
1226
|
+
_v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
|
1227
|
+
return _wrap_FXImage_setData__SWIG_0(nargs, args, self);} } } } if (argc == 5) { int _v; { void *ptr;
|
1228
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXImage, 0) != -1)) ? 1 : 0; }
|
1229
|
+
if (_v) { { void *ptr;
|
1230
|
+
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXColor, 0) != -1)) ? 1 : 0; }
|
1231
|
+
if (_v) { { _v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
1232
|
+
_v = ((TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
1233
|
+
_v = ((TYPE(argv[4]) == T_FIXNUM) || (TYPE(argv[4]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
|
1234
|
+
return _wrap_FXImage_setData__SWIG_1(nargs, args, self);} } } } } }
|
1235
|
+
rb_raise(rb_eArgError, "No matching function for overloaded 'FXImage_setData'"); return Qnil; }
|
1236
|
+
static VALUE _wrap_FXImage_getPixel(int argc, VALUE *argv, VALUE self) { FXImage *arg1 = (FXImage *) 0 ; FXint arg2 ;
|
1237
|
+
FXint arg3 ; FXColor result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
|
1238
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1239
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1240
|
+
result = (FXColor)((FXImage const *)arg1)->getPixel(arg2,arg3); vresult = UINT2NUM(result); return vresult; }
|
1241
|
+
static VALUE _wrap_FXImage_setPixel(int argc, VALUE *argv, VALUE self) { FXImage *arg1 = (FXImage *) 0 ; FXint arg2 ;
|
1242
|
+
FXint arg3 ; FXColor arg4 ; if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
|
1243
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1244
|
+
arg4 = to_FXColor(argv[2]); (arg1)->setPixel(arg2,arg3,arg4); return Qnil; }
|
1245
|
+
static VALUE _wrap_FXImage_hasAlphaq___(int argc, VALUE *argv, VALUE self) { FXImage *arg1 = (FXImage *) 0 ; bool result;
|
1246
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1247
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXImage, 1); result = (bool)((FXImage const *)arg1)->hasAlpha();
|
1248
|
+
vresult = result ? Qtrue : Qfalse; return vresult; }
|
1249
|
+
static void
|
1250
|
+
free_FXImage(FXImage *arg1) {
|
1251
|
+
delete arg1;
|
1252
|
+
}
|
1253
|
+
static VALUE _wrap_FXImage_save(int argc, VALUE *argv, VALUE self) { FXImage *arg1 = (FXImage *) 0 ; FXStream *arg2 = 0 ;
|
1254
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1255
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXImage, 1);
|
1256
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
1257
|
+
FXImage_save((FXImage const *)arg1,*arg2); return Qnil; }
|
1258
|
+
static VALUE _wrap_FXImage_load(int argc, VALUE *argv, VALUE self) { FXImage *arg1 = (FXImage *) 0 ; FXStream *arg2 = 0 ;
|
1259
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1260
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXImage, 1);
|
1261
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
1262
|
+
FXImage_load(arg1,*arg2); return Qnil; }
|
1263
|
+
static VALUE _wrap_FXImage_create(int argc, VALUE *argv, VALUE self) { FXImage *arg1 = (FXImage *) 0 ;
|
1264
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1265
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXImage, 1); FXImage_create(arg1); return Qnil; }
|
1266
|
+
static VALUE _wrap_FXImage_detach(int argc, VALUE *argv, VALUE self) { FXImage *arg1 = (FXImage *) 0 ;
|
1267
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1268
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXImage, 1); FXImage_detach(arg1); return Qnil; }
|
1269
|
+
static VALUE _wrap_FXImage_destroy(int argc, VALUE *argv, VALUE self) { FXImage *arg1 = (FXImage *) 0 ;
|
1270
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1271
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXImage, 1); FXImage_destroy(arg1); return Qnil; }
|
1272
|
+
static VALUE _wrap_FXImage_resize(int argc, VALUE *argv, VALUE self) { FXImage *arg1 = (FXImage *) 0 ; FXint arg2 ; FXint arg3 ;
|
1273
|
+
if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1274
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1275
|
+
FXImage_resize(arg1,arg2,arg3); return Qnil; }
|
1276
|
+
static VALUE _wrap_FXImage_restore(int argc, VALUE *argv, VALUE self) { FXImage *arg1 = (FXImage *) 0 ;
|
1277
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1278
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXImage, 1); FXImage_restore(arg1); return Qnil; }
|
1279
|
+
static VALUE _wrap_FXImage_render(int argc, VALUE *argv, VALUE self) { FXImage *arg1 = (FXImage *) 0 ;
|
1280
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1281
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXImage, 1); FXImage_render(arg1); return Qnil; }
|
1282
|
+
static VALUE _wrap_FXImage_release(int argc, VALUE *argv, VALUE self) { FXImage *arg1 = (FXImage *) 0 ;
|
1283
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1284
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXImage, 1); FXImage_release(arg1); return Qnil; }
|
1285
|
+
static VALUE _wrap_FXImage_scale(int argc, VALUE *argv, VALUE self) { FXImage *arg1 = (FXImage *) 0 ; FXint arg2 ; FXint arg3 ;
|
1286
|
+
FXint arg4 = (FXint) 0 ; if ((argc < 2) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1287
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1288
|
+
if (argc > 2) { arg4 = NUM2INT(argv[2]); } FXImage_scale(arg1,arg2,arg3,arg4); return Qnil; }
|
1289
|
+
static VALUE _wrap_FXImage_mirror(int argc, VALUE *argv, VALUE self) { FXImage *arg1 = (FXImage *) 0 ; bool arg2 ; bool arg3 ;
|
1290
|
+
if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1291
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXImage, 1); arg2 = RTEST(argv[0]); arg3 = RTEST(argv[1]);
|
1292
|
+
FXImage_mirror(arg1,arg2,arg3); return Qnil; }
|
1293
|
+
static VALUE _wrap_FXImage_rotate(int argc, VALUE *argv, VALUE self) { FXImage *arg1 = (FXImage *) 0 ; FXint arg2 ;
|
1294
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1295
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXImage, 1); arg2 = NUM2INT(argv[0]); FXImage_rotate(arg1,arg2);
|
1296
|
+
return Qnil; }
|
1297
|
+
static VALUE _wrap_FXImage_crop(int argc, VALUE *argv, VALUE self) { FXImage *arg1 = (FXImage *) 0 ; FXint arg2 ; FXint arg3 ;
|
1298
|
+
FXint arg4 ; FXint arg5 ; FXColor arg6 = (FXColor) 0 ; if ((argc < 4) || (argc > 5))
|
1299
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
1300
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1301
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); if (argc > 4) { arg6 = to_FXColor(argv[4]); }
|
1302
|
+
FXImage_crop(arg1,arg2,arg3,arg4,arg5,arg6); return Qnil; }
|
1303
|
+
static VALUE _wrap_FXImage_fill(int argc, VALUE *argv, VALUE self) { FXImage *arg1 = (FXImage *) 0 ; FXColor arg2 ;
|
1304
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1305
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXImage, 1); arg2 = to_FXColor(argv[0]); FXImage_fill(arg1,arg2);
|
1306
|
+
return Qnil; }
|
1307
|
+
static VALUE _wrap_FXImage_fade(int argc, VALUE *argv, VALUE self) { FXImage *arg1 = (FXImage *) 0 ; FXColor arg2 ;
|
1308
|
+
FXint arg3 = (FXint) 255 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1309
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXImage, 1); arg2 = to_FXColor(argv[0]); if (argc > 1) {
|
1310
|
+
arg3 = NUM2INT(argv[1]); } FXImage_fade(arg1,arg2,arg3); return Qnil; }
|
1311
|
+
static VALUE _wrap_FXImage_xshear(int argc, VALUE *argv, VALUE self) { FXImage *arg1 = (FXImage *) 0 ; FXint arg2 ;
|
1312
|
+
FXColor arg3 = (FXColor) 0 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1313
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXImage, 1); arg2 = NUM2INT(argv[0]); if (argc > 1) {
|
1314
|
+
arg3 = to_FXColor(argv[1]); } FXImage_xshear(arg1,arg2,arg3); return Qnil; }
|
1315
|
+
static VALUE _wrap_FXImage_yshear(int argc, VALUE *argv, VALUE self) { FXImage *arg1 = (FXImage *) 0 ; FXint arg2 ;
|
1316
|
+
FXColor arg3 = (FXColor) 0 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1317
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXImage, 1); arg2 = NUM2INT(argv[0]); if (argc > 1) {
|
1318
|
+
arg3 = to_FXColor(argv[1]); } FXImage_yshear(arg1,arg2,arg3); return Qnil; }
|
1319
|
+
static VALUE _wrap_FXImage_hgradient(int argc, VALUE *argv, VALUE self) { FXImage *arg1 = (FXImage *) 0 ; FXColor arg2 ;
|
1320
|
+
FXColor arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1321
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
1322
|
+
FXImage_hgradient(arg1,arg2,arg3); return Qnil; }
|
1323
|
+
static VALUE _wrap_FXImage_vgradient(int argc, VALUE *argv, VALUE self) { FXImage *arg1 = (FXImage *) 0 ; FXColor arg2 ;
|
1324
|
+
FXColor arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1325
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
1326
|
+
FXImage_vgradient(arg1,arg2,arg3); return Qnil; }
|
1327
|
+
static VALUE _wrap_FXImage_gradient(int argc, VALUE *argv, VALUE self) { FXImage *arg1 = (FXImage *) 0 ; FXColor arg2 ;
|
1328
|
+
FXColor arg3 ; FXColor arg4 ; FXColor arg5 ; if ((argc < 4) || (argc > 4))
|
1329
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
1330
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
1331
|
+
arg4 = to_FXColor(argv[2]); arg5 = to_FXColor(argv[3]); FXImage_gradient(arg1,arg2,arg3,arg4,arg5); return Qnil; }
|
1332
|
+
static VALUE _wrap_FXImage_blend(int argc, VALUE *argv, VALUE self) { FXImage *arg1 = (FXImage *) 0 ; FXColor arg2 ;
|
1333
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1334
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXImage, 1); arg2 = to_FXColor(argv[0]); FXImage_blend(arg1,arg2);
|
1335
|
+
return Qnil; }
|
1336
|
+
static VALUE _wrap_FXImage_savePixels(int argc, VALUE *argv, VALUE self) { FXImage *arg1 = (FXImage *) 0 ; FXStream *arg2 = 0 ;
|
1337
|
+
bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
1338
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1339
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXImage, 1);
|
1340
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
1341
|
+
result = (bool)FXImage_savePixels((FXImage const *)arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
|
1342
|
+
static VALUE _wrap_FXImage_loadPixels(int argc, VALUE *argv, VALUE self) { FXImage *arg1 = (FXImage *) 0 ; FXStream *arg2 = 0 ;
|
1343
|
+
bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
1344
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1345
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXImage, 1);
|
1346
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
1347
|
+
result = (bool)FXImage_loadPixels(arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
|
1348
|
+
static VALUE _wrap_FXBMPImage_fileExt(int argc, VALUE *argv, VALUE self) { VALUE result; VALUE vresult = Qnil;
|
1349
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1350
|
+
result = (VALUE)FXBMPImage_fileExt(); vresult = result; return vresult; }
|
1351
|
+
static VALUE _wrap_FXBMPImage_mimeType(int argc, VALUE *argv, VALUE self) { VALUE result; VALUE vresult = Qnil;
|
1352
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1353
|
+
result = (VALUE)FXBMPImage_mimeType(); vresult = result; return vresult; }
|
1354
|
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
1355
|
+
static VALUE _wrap_FXBMPImage_allocate(VALUE self) {
|
1356
|
+
#else
|
1357
|
+
static VALUE _wrap_FXBMPImage_allocate(int argc, VALUE *argv, VALUE self) {
|
1358
|
+
#endif
|
1359
|
+
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXBMPImage);
|
1360
|
+
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
1361
|
+
rb_obj_call_init(vresult, argc, argv);
|
1362
|
+
#endif
|
1363
|
+
return vresult; }
|
1364
|
+
static VALUE _wrap_new_FXBMPImage(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; void *arg2 = (void *) 0 ;
|
1365
|
+
FXuint arg3 = (FXuint) 0 ; FXint arg4 = (FXint) 1 ; FXint arg5 = (FXint) 1 ; FXBMPImage *result;
|
1366
|
+
if ((argc < 1) || (argc > 5)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1367
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXApp, 1); if (argc > 1) { { if (argv[1] != Qnil) {
|
1368
|
+
Check_Type(argv[1], T_STRING); arg2 = reinterpret_cast<void *>(RSTRING_PTR(argv[1])); } else { arg2 = NULL; } }
|
1369
|
+
} if (argc > 2) { arg3 = NUM2UINT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(argv[3]); } if (argc > 4) {
|
1370
|
+
arg5 = NUM2INT(argv[4]); } { result = (FXBMPImage *)new_FXBMPImage(arg1,(void const *)arg2,arg3,arg4,arg5);
|
1371
|
+
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
1372
|
+
static void
|
1373
|
+
free_FXBMPImage(FXBMPImage *arg1) {
|
1374
|
+
delete arg1;
|
1375
|
+
}
|
1376
|
+
static VALUE _wrap_FXBMPImage_save(int argc, VALUE *argv, VALUE self) { FXBMPImage *arg1 = (FXBMPImage *) 0 ;
|
1377
|
+
FXStream *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1378
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBMPImage, 1);
|
1379
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
1380
|
+
FXBMPImage_save((FXBMPImage const *)arg1,*arg2); return Qnil; }
|
1381
|
+
static VALUE _wrap_FXBMPImage_load(int argc, VALUE *argv, VALUE self) { FXBMPImage *arg1 = (FXBMPImage *) 0 ;
|
1382
|
+
FXStream *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1383
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBMPImage, 1);
|
1384
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
1385
|
+
FXBMPImage_load(arg1,*arg2); return Qnil; }
|
1386
|
+
static VALUE _wrap_FXBMPImage_create(int argc, VALUE *argv, VALUE self) { FXBMPImage *arg1 = (FXBMPImage *) 0 ;
|
1387
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1388
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBMPImage, 1); FXBMPImage_create(arg1); return Qnil; }
|
1389
|
+
static VALUE _wrap_FXBMPImage_detach(int argc, VALUE *argv, VALUE self) { FXBMPImage *arg1 = (FXBMPImage *) 0 ;
|
1390
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1391
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBMPImage, 1); FXBMPImage_detach(arg1); return Qnil; }
|
1392
|
+
static VALUE _wrap_FXBMPImage_destroy(int argc, VALUE *argv, VALUE self) { FXBMPImage *arg1 = (FXBMPImage *) 0 ;
|
1393
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1394
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBMPImage, 1); FXBMPImage_destroy(arg1); return Qnil; }
|
1395
|
+
static VALUE _wrap_FXBMPImage_resize(int argc, VALUE *argv, VALUE self) { FXBMPImage *arg1 = (FXBMPImage *) 0 ; FXint arg2 ;
|
1396
|
+
FXint arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1397
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBMPImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1398
|
+
FXBMPImage_resize(arg1,arg2,arg3); return Qnil; }
|
1399
|
+
static VALUE _wrap_FXBMPImage_restore(int argc, VALUE *argv, VALUE self) { FXBMPImage *arg1 = (FXBMPImage *) 0 ;
|
1400
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1401
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBMPImage, 1); FXBMPImage_restore(arg1); return Qnil; }
|
1402
|
+
static VALUE _wrap_FXBMPImage_render(int argc, VALUE *argv, VALUE self) { FXBMPImage *arg1 = (FXBMPImage *) 0 ;
|
1403
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1404
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBMPImage, 1); FXBMPImage_render(arg1); return Qnil; }
|
1405
|
+
static VALUE _wrap_FXBMPImage_release(int argc, VALUE *argv, VALUE self) { FXBMPImage *arg1 = (FXBMPImage *) 0 ;
|
1406
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1407
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBMPImage, 1); FXBMPImage_release(arg1); return Qnil; }
|
1408
|
+
static VALUE _wrap_FXBMPImage_scale(int argc, VALUE *argv, VALUE self) { FXBMPImage *arg1 = (FXBMPImage *) 0 ; FXint arg2 ;
|
1409
|
+
FXint arg3 ; FXint arg4 = (FXint) 0 ; if ((argc < 2) || (argc > 3))
|
1410
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1411
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBMPImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1412
|
+
if (argc > 2) { arg4 = NUM2INT(argv[2]); } FXBMPImage_scale(arg1,arg2,arg3,arg4); return Qnil; }
|
1413
|
+
static VALUE _wrap_FXBMPImage_mirror(int argc, VALUE *argv, VALUE self) { FXBMPImage *arg1 = (FXBMPImage *) 0 ; bool arg2 ;
|
1414
|
+
bool arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1415
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBMPImage, 1); arg2 = RTEST(argv[0]); arg3 = RTEST(argv[1]);
|
1416
|
+
FXBMPImage_mirror(arg1,arg2,arg3); return Qnil; }
|
1417
|
+
static VALUE _wrap_FXBMPImage_rotate(int argc, VALUE *argv, VALUE self) { FXBMPImage *arg1 = (FXBMPImage *) 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_FXBMPImage, 1); arg2 = NUM2INT(argv[0]); FXBMPImage_rotate(arg1,arg2);
|
1420
|
+
return Qnil; }
|
1421
|
+
static VALUE _wrap_FXBMPImage_crop(int argc, VALUE *argv, VALUE self) { FXBMPImage *arg1 = (FXBMPImage *) 0 ; FXint arg2 ;
|
1422
|
+
FXint arg3 ; FXint arg4 ; FXint arg5 ; FXColor arg6 = (FXColor) 0 ; if ((argc < 4) || (argc > 5))
|
1423
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
1424
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBMPImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1425
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); if (argc > 4) { arg6 = to_FXColor(argv[4]); }
|
1426
|
+
FXBMPImage_crop(arg1,arg2,arg3,arg4,arg5,arg6); return Qnil; }
|
1427
|
+
static VALUE _wrap_FXBMPImage_fill(int argc, VALUE *argv, VALUE self) { FXBMPImage *arg1 = (FXBMPImage *) 0 ; FXColor arg2 ;
|
1428
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1429
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBMPImage, 1); arg2 = to_FXColor(argv[0]); FXBMPImage_fill(arg1,arg2);
|
1430
|
+
return Qnil; }
|
1431
|
+
static VALUE _wrap_FXBMPImage_fade(int argc, VALUE *argv, VALUE self) { FXBMPImage *arg1 = (FXBMPImage *) 0 ; FXColor arg2 ;
|
1432
|
+
FXint arg3 = (FXint) 255 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1433
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBMPImage, 1); arg2 = to_FXColor(argv[0]); if (argc > 1) {
|
1434
|
+
arg3 = NUM2INT(argv[1]); } FXBMPImage_fade(arg1,arg2,arg3); return Qnil; }
|
1435
|
+
static VALUE _wrap_FXBMPImage_xshear(int argc, VALUE *argv, VALUE self) { FXBMPImage *arg1 = (FXBMPImage *) 0 ; FXint arg2 ;
|
1436
|
+
FXColor arg3 = (FXColor) 0 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1437
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBMPImage, 1); arg2 = NUM2INT(argv[0]); if (argc > 1) {
|
1438
|
+
arg3 = to_FXColor(argv[1]); } FXBMPImage_xshear(arg1,arg2,arg3); return Qnil; }
|
1439
|
+
static VALUE _wrap_FXBMPImage_yshear(int argc, VALUE *argv, VALUE self) { FXBMPImage *arg1 = (FXBMPImage *) 0 ; FXint arg2 ;
|
1440
|
+
FXColor arg3 = (FXColor) 0 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1441
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBMPImage, 1); arg2 = NUM2INT(argv[0]); if (argc > 1) {
|
1442
|
+
arg3 = to_FXColor(argv[1]); } FXBMPImage_yshear(arg1,arg2,arg3); return Qnil; }
|
1443
|
+
static VALUE _wrap_FXBMPImage_hgradient(int argc, VALUE *argv, VALUE self) { FXBMPImage *arg1 = (FXBMPImage *) 0 ;
|
1444
|
+
FXColor arg2 ; FXColor arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1445
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBMPImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
1446
|
+
FXBMPImage_hgradient(arg1,arg2,arg3); return Qnil; }
|
1447
|
+
static VALUE _wrap_FXBMPImage_vgradient(int argc, VALUE *argv, VALUE self) { FXBMPImage *arg1 = (FXBMPImage *) 0 ;
|
1448
|
+
FXColor arg2 ; FXColor arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1449
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBMPImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
1450
|
+
FXBMPImage_vgradient(arg1,arg2,arg3); return Qnil; }
|
1451
|
+
static VALUE _wrap_FXBMPImage_gradient(int argc, VALUE *argv, VALUE self) { FXBMPImage *arg1 = (FXBMPImage *) 0 ; FXColor arg2 ;
|
1452
|
+
FXColor arg3 ; FXColor arg4 ; FXColor arg5 ; if ((argc < 4) || (argc > 4))
|
1453
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
1454
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBMPImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
1455
|
+
arg4 = to_FXColor(argv[2]); arg5 = to_FXColor(argv[3]); FXBMPImage_gradient(arg1,arg2,arg3,arg4,arg5); return Qnil; }
|
1456
|
+
static VALUE _wrap_FXBMPImage_blend(int argc, VALUE *argv, VALUE self) { FXBMPImage *arg1 = (FXBMPImage *) 0 ; FXColor arg2 ;
|
1457
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1458
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBMPImage, 1); arg2 = to_FXColor(argv[0]); FXBMPImage_blend(arg1,arg2);
|
1459
|
+
return Qnil; }
|
1460
|
+
static VALUE _wrap_FXBMPImage_savePixels(int argc, VALUE *argv, VALUE self) { FXBMPImage *arg1 = (FXBMPImage *) 0 ;
|
1461
|
+
FXStream *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
1462
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1463
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBMPImage, 1);
|
1464
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
1465
|
+
result = (bool)FXBMPImage_savePixels((FXBMPImage const *)arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
|
1466
|
+
static VALUE _wrap_FXBMPImage_loadPixels(int argc, VALUE *argv, VALUE self) { FXBMPImage *arg1 = (FXBMPImage *) 0 ;
|
1467
|
+
FXStream *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
1468
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1469
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXBMPImage, 1);
|
1470
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
1471
|
+
result = (bool)FXBMPImage_loadPixels(arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
|
1472
|
+
static VALUE _wrap_FXGIFImage_fileExt(int argc, VALUE *argv, VALUE self) { VALUE result; VALUE vresult = Qnil;
|
1473
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1474
|
+
result = (VALUE)FXGIFImage_fileExt(); vresult = result; return vresult; }
|
1475
|
+
static VALUE _wrap_FXGIFImage_mimeType(int argc, VALUE *argv, VALUE self) { VALUE result; VALUE vresult = Qnil;
|
1476
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1477
|
+
result = (VALUE)FXGIFImage_mimeType(); vresult = result; return vresult; }
|
1478
|
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
1479
|
+
static VALUE _wrap_FXGIFImage_allocate(VALUE self) {
|
1480
|
+
#else
|
1481
|
+
static VALUE _wrap_FXGIFImage_allocate(int argc, VALUE *argv, VALUE self) {
|
1482
|
+
#endif
|
1483
|
+
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXGIFImage);
|
1484
|
+
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
1485
|
+
rb_obj_call_init(vresult, argc, argv);
|
1486
|
+
#endif
|
1487
|
+
return vresult; }
|
1488
|
+
static VALUE _wrap_new_FXGIFImage(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; void *arg2 = (void *) 0 ;
|
1489
|
+
FXuint arg3 = (FXuint) 0 ; FXint arg4 = (FXint) 1 ; FXint arg5 = (FXint) 1 ; FXGIFImage *result;
|
1490
|
+
if ((argc < 1) || (argc > 5)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1491
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXApp, 1); if (argc > 1) { { if (argv[1] != Qnil) {
|
1492
|
+
Check_Type(argv[1], T_STRING); arg2 = reinterpret_cast<void *>(RSTRING_PTR(argv[1])); } else { arg2 = NULL; } }
|
1493
|
+
} if (argc > 2) { arg3 = NUM2UINT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(argv[3]); } if (argc > 4) {
|
1494
|
+
arg5 = NUM2INT(argv[4]); } { result = (FXGIFImage *)new_FXGIFImage(arg1,(void const *)arg2,arg3,arg4,arg5);
|
1495
|
+
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
1496
|
+
static void
|
1497
|
+
free_FXGIFImage(FXGIFImage *arg1) {
|
1498
|
+
delete arg1;
|
1499
|
+
}
|
1500
|
+
static VALUE _wrap_FXGIFImage_save(int argc, VALUE *argv, VALUE self) { FXGIFImage *arg1 = (FXGIFImage *) 0 ;
|
1501
|
+
FXStream *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1502
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGIFImage, 1);
|
1503
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
1504
|
+
FXGIFImage_save((FXGIFImage const *)arg1,*arg2); return Qnil; }
|
1505
|
+
static VALUE _wrap_FXGIFImage_load(int argc, VALUE *argv, VALUE self) { FXGIFImage *arg1 = (FXGIFImage *) 0 ;
|
1506
|
+
FXStream *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1507
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGIFImage, 1);
|
1508
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
1509
|
+
FXGIFImage_load(arg1,*arg2); return Qnil; }
|
1510
|
+
static VALUE _wrap_FXGIFImage_create(int argc, VALUE *argv, VALUE self) { FXGIFImage *arg1 = (FXGIFImage *) 0 ;
|
1511
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1512
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGIFImage, 1); FXGIFImage_create(arg1); return Qnil; }
|
1513
|
+
static VALUE _wrap_FXGIFImage_detach(int argc, VALUE *argv, VALUE self) { FXGIFImage *arg1 = (FXGIFImage *) 0 ;
|
1514
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1515
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGIFImage, 1); FXGIFImage_detach(arg1); return Qnil; }
|
1516
|
+
static VALUE _wrap_FXGIFImage_destroy(int argc, VALUE *argv, VALUE self) { FXGIFImage *arg1 = (FXGIFImage *) 0 ;
|
1517
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1518
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGIFImage, 1); FXGIFImage_destroy(arg1); return Qnil; }
|
1519
|
+
static VALUE _wrap_FXGIFImage_resize(int argc, VALUE *argv, VALUE self) { FXGIFImage *arg1 = (FXGIFImage *) 0 ; FXint arg2 ;
|
1520
|
+
FXint arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1521
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGIFImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1522
|
+
FXGIFImage_resize(arg1,arg2,arg3); return Qnil; }
|
1523
|
+
static VALUE _wrap_FXGIFImage_restore(int argc, VALUE *argv, VALUE self) { FXGIFImage *arg1 = (FXGIFImage *) 0 ;
|
1524
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1525
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGIFImage, 1); FXGIFImage_restore(arg1); return Qnil; }
|
1526
|
+
static VALUE _wrap_FXGIFImage_render(int argc, VALUE *argv, VALUE self) { FXGIFImage *arg1 = (FXGIFImage *) 0 ;
|
1527
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1528
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGIFImage, 1); FXGIFImage_render(arg1); return Qnil; }
|
1529
|
+
static VALUE _wrap_FXGIFImage_release(int argc, VALUE *argv, VALUE self) { FXGIFImage *arg1 = (FXGIFImage *) 0 ;
|
1530
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1531
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGIFImage, 1); FXGIFImage_release(arg1); return Qnil; }
|
1532
|
+
static VALUE _wrap_FXGIFImage_scale(int argc, VALUE *argv, VALUE self) { FXGIFImage *arg1 = (FXGIFImage *) 0 ; FXint arg2 ;
|
1533
|
+
FXint arg3 ; FXint arg4 = (FXint) 0 ; if ((argc < 2) || (argc > 3))
|
1534
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1535
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGIFImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1536
|
+
if (argc > 2) { arg4 = NUM2INT(argv[2]); } FXGIFImage_scale(arg1,arg2,arg3,arg4); return Qnil; }
|
1537
|
+
static VALUE _wrap_FXGIFImage_mirror(int argc, VALUE *argv, VALUE self) { FXGIFImage *arg1 = (FXGIFImage *) 0 ; bool arg2 ;
|
1538
|
+
bool arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1539
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGIFImage, 1); arg2 = RTEST(argv[0]); arg3 = RTEST(argv[1]);
|
1540
|
+
FXGIFImage_mirror(arg1,arg2,arg3); return Qnil; }
|
1541
|
+
static VALUE _wrap_FXGIFImage_rotate(int argc, VALUE *argv, VALUE self) { FXGIFImage *arg1 = (FXGIFImage *) 0 ; FXint arg2 ;
|
1542
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1543
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGIFImage, 1); arg2 = NUM2INT(argv[0]); FXGIFImage_rotate(arg1,arg2);
|
1544
|
+
return Qnil; }
|
1545
|
+
static VALUE _wrap_FXGIFImage_crop(int argc, VALUE *argv, VALUE self) { FXGIFImage *arg1 = (FXGIFImage *) 0 ; FXint arg2 ;
|
1546
|
+
FXint arg3 ; FXint arg4 ; FXint arg5 ; FXColor arg6 = (FXColor) 0 ; if ((argc < 4) || (argc > 5))
|
1547
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
1548
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGIFImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1549
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); if (argc > 4) { arg6 = to_FXColor(argv[4]); }
|
1550
|
+
FXGIFImage_crop(arg1,arg2,arg3,arg4,arg5,arg6); return Qnil; }
|
1551
|
+
static VALUE _wrap_FXGIFImage_fill(int argc, VALUE *argv, VALUE self) { FXGIFImage *arg1 = (FXGIFImage *) 0 ; FXColor arg2 ;
|
1552
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1553
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGIFImage, 1); arg2 = to_FXColor(argv[0]); FXGIFImage_fill(arg1,arg2);
|
1554
|
+
return Qnil; }
|
1555
|
+
static VALUE _wrap_FXGIFImage_fade(int argc, VALUE *argv, VALUE self) { FXGIFImage *arg1 = (FXGIFImage *) 0 ; FXColor arg2 ;
|
1556
|
+
FXint arg3 = (FXint) 255 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1557
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGIFImage, 1); arg2 = to_FXColor(argv[0]); if (argc > 1) {
|
1558
|
+
arg3 = NUM2INT(argv[1]); } FXGIFImage_fade(arg1,arg2,arg3); return Qnil; }
|
1559
|
+
static VALUE _wrap_FXGIFImage_xshear(int argc, VALUE *argv, VALUE self) { FXGIFImage *arg1 = (FXGIFImage *) 0 ; FXint arg2 ;
|
1560
|
+
FXColor arg3 = (FXColor) 0 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1561
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGIFImage, 1); arg2 = NUM2INT(argv[0]); if (argc > 1) {
|
1562
|
+
arg3 = to_FXColor(argv[1]); } FXGIFImage_xshear(arg1,arg2,arg3); return Qnil; }
|
1563
|
+
static VALUE _wrap_FXGIFImage_yshear(int argc, VALUE *argv, VALUE self) { FXGIFImage *arg1 = (FXGIFImage *) 0 ; FXint arg2 ;
|
1564
|
+
FXColor arg3 = (FXColor) 0 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1565
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGIFImage, 1); arg2 = NUM2INT(argv[0]); if (argc > 1) {
|
1566
|
+
arg3 = to_FXColor(argv[1]); } FXGIFImage_yshear(arg1,arg2,arg3); return Qnil; }
|
1567
|
+
static VALUE _wrap_FXGIFImage_hgradient(int argc, VALUE *argv, VALUE self) { FXGIFImage *arg1 = (FXGIFImage *) 0 ;
|
1568
|
+
FXColor arg2 ; FXColor arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1569
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGIFImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
1570
|
+
FXGIFImage_hgradient(arg1,arg2,arg3); return Qnil; }
|
1571
|
+
static VALUE _wrap_FXGIFImage_vgradient(int argc, VALUE *argv, VALUE self) { FXGIFImage *arg1 = (FXGIFImage *) 0 ;
|
1572
|
+
FXColor arg2 ; FXColor arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1573
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGIFImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
1574
|
+
FXGIFImage_vgradient(arg1,arg2,arg3); return Qnil; }
|
1575
|
+
static VALUE _wrap_FXGIFImage_gradient(int argc, VALUE *argv, VALUE self) { FXGIFImage *arg1 = (FXGIFImage *) 0 ; FXColor arg2 ;
|
1576
|
+
FXColor arg3 ; FXColor arg4 ; FXColor arg5 ; if ((argc < 4) || (argc > 4))
|
1577
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
1578
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGIFImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
1579
|
+
arg4 = to_FXColor(argv[2]); arg5 = to_FXColor(argv[3]); FXGIFImage_gradient(arg1,arg2,arg3,arg4,arg5); return Qnil; }
|
1580
|
+
static VALUE _wrap_FXGIFImage_blend(int argc, VALUE *argv, VALUE self) { FXGIFImage *arg1 = (FXGIFImage *) 0 ; FXColor arg2 ;
|
1581
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1582
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGIFImage, 1); arg2 = to_FXColor(argv[0]); FXGIFImage_blend(arg1,arg2);
|
1583
|
+
return Qnil; }
|
1584
|
+
static VALUE _wrap_FXGIFImage_savePixels(int argc, VALUE *argv, VALUE self) { FXGIFImage *arg1 = (FXGIFImage *) 0 ;
|
1585
|
+
FXStream *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
1586
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1587
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGIFImage, 1);
|
1588
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
1589
|
+
result = (bool)FXGIFImage_savePixels((FXGIFImage const *)arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
|
1590
|
+
static VALUE _wrap_FXGIFImage_loadPixels(int argc, VALUE *argv, VALUE self) { FXGIFImage *arg1 = (FXGIFImage *) 0 ;
|
1591
|
+
FXStream *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
1592
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1593
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGIFImage, 1);
|
1594
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
1595
|
+
result = (bool)FXGIFImage_loadPixels(arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
|
1596
|
+
static VALUE _wrap_FXICOImage_fileExt(int argc, VALUE *argv, VALUE self) { VALUE result; VALUE vresult = Qnil;
|
1597
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1598
|
+
result = (VALUE)FXICOImage_fileExt(); vresult = result; return vresult; }
|
1599
|
+
static VALUE _wrap_FXICOImage_mimeType(int argc, VALUE *argv, VALUE self) { VALUE result; VALUE vresult = Qnil;
|
1600
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1601
|
+
result = (VALUE)FXICOImage_mimeType(); vresult = result; return vresult; }
|
1602
|
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
1603
|
+
static VALUE _wrap_FXICOImage_allocate(VALUE self) {
|
1604
|
+
#else
|
1605
|
+
static VALUE _wrap_FXICOImage_allocate(int argc, VALUE *argv, VALUE self) {
|
1606
|
+
#endif
|
1607
|
+
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXICOImage);
|
1608
|
+
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
1609
|
+
rb_obj_call_init(vresult, argc, argv);
|
1610
|
+
#endif
|
1611
|
+
return vresult; }
|
1612
|
+
static VALUE _wrap_new_FXICOImage(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; void *arg2 = (void *) 0 ;
|
1613
|
+
FXuint arg3 = (FXuint) 0 ; FXint arg4 = (FXint) 1 ; FXint arg5 = (FXint) 1 ; FXICOImage *result;
|
1614
|
+
if ((argc < 1) || (argc > 5)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1615
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXApp, 1); if (argc > 1) { { if (argv[1] != Qnil) {
|
1616
|
+
Check_Type(argv[1], T_STRING); arg2 = reinterpret_cast<void *>(RSTRING_PTR(argv[1])); } else { arg2 = NULL; } }
|
1617
|
+
} if (argc > 2) { arg3 = NUM2UINT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(argv[3]); } if (argc > 4) {
|
1618
|
+
arg5 = NUM2INT(argv[4]); } { result = (FXICOImage *)new_FXICOImage(arg1,(void const *)arg2,arg3,arg4,arg5);
|
1619
|
+
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
1620
|
+
static void
|
1621
|
+
free_FXICOImage(FXICOImage *arg1) {
|
1622
|
+
delete arg1;
|
1623
|
+
}
|
1624
|
+
static VALUE _wrap_FXICOImage_save(int argc, VALUE *argv, VALUE self) { FXICOImage *arg1 = (FXICOImage *) 0 ;
|
1625
|
+
FXStream *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1626
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXICOImage, 1);
|
1627
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
1628
|
+
FXICOImage_save((FXICOImage const *)arg1,*arg2); return Qnil; }
|
1629
|
+
static VALUE _wrap_FXICOImage_load(int argc, VALUE *argv, VALUE self) { FXICOImage *arg1 = (FXICOImage *) 0 ;
|
1630
|
+
FXStream *arg2 = 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_FXICOImage, 1);
|
1632
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
1633
|
+
FXICOImage_load(arg1,*arg2); return Qnil; }
|
1634
|
+
static VALUE _wrap_FXICOImage_create(int argc, VALUE *argv, VALUE self) { FXICOImage *arg1 = (FXICOImage *) 0 ;
|
1635
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1636
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXICOImage, 1); FXICOImage_create(arg1); return Qnil; }
|
1637
|
+
static VALUE _wrap_FXICOImage_detach(int argc, VALUE *argv, VALUE self) { FXICOImage *arg1 = (FXICOImage *) 0 ;
|
1638
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1639
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXICOImage, 1); FXICOImage_detach(arg1); return Qnil; }
|
1640
|
+
static VALUE _wrap_FXICOImage_destroy(int argc, VALUE *argv, VALUE self) { FXICOImage *arg1 = (FXICOImage *) 0 ;
|
1641
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1642
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXICOImage, 1); FXICOImage_destroy(arg1); return Qnil; }
|
1643
|
+
static VALUE _wrap_FXICOImage_resize(int argc, VALUE *argv, VALUE self) { FXICOImage *arg1 = (FXICOImage *) 0 ; FXint arg2 ;
|
1644
|
+
FXint arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1645
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXICOImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1646
|
+
FXICOImage_resize(arg1,arg2,arg3); return Qnil; }
|
1647
|
+
static VALUE _wrap_FXICOImage_restore(int argc, VALUE *argv, VALUE self) { FXICOImage *arg1 = (FXICOImage *) 0 ;
|
1648
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1649
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXICOImage, 1); FXICOImage_restore(arg1); return Qnil; }
|
1650
|
+
static VALUE _wrap_FXICOImage_render(int argc, VALUE *argv, VALUE self) { FXICOImage *arg1 = (FXICOImage *) 0 ;
|
1651
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1652
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXICOImage, 1); FXICOImage_render(arg1); return Qnil; }
|
1653
|
+
static VALUE _wrap_FXICOImage_release(int argc, VALUE *argv, VALUE self) { FXICOImage *arg1 = (FXICOImage *) 0 ;
|
1654
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1655
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXICOImage, 1); FXICOImage_release(arg1); return Qnil; }
|
1656
|
+
static VALUE _wrap_FXICOImage_scale(int argc, VALUE *argv, VALUE self) { FXICOImage *arg1 = (FXICOImage *) 0 ; FXint arg2 ;
|
1657
|
+
FXint arg3 ; FXint arg4 = (FXint) 0 ; if ((argc < 2) || (argc > 3))
|
1658
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1659
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXICOImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1660
|
+
if (argc > 2) { arg4 = NUM2INT(argv[2]); } FXICOImage_scale(arg1,arg2,arg3,arg4); return Qnil; }
|
1661
|
+
static VALUE _wrap_FXICOImage_mirror(int argc, VALUE *argv, VALUE self) { FXICOImage *arg1 = (FXICOImage *) 0 ; bool arg2 ;
|
1662
|
+
bool arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1663
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXICOImage, 1); arg2 = RTEST(argv[0]); arg3 = RTEST(argv[1]);
|
1664
|
+
FXICOImage_mirror(arg1,arg2,arg3); return Qnil; }
|
1665
|
+
static VALUE _wrap_FXICOImage_rotate(int argc, VALUE *argv, VALUE self) { FXICOImage *arg1 = (FXICOImage *) 0 ; FXint arg2 ;
|
1666
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1667
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXICOImage, 1); arg2 = NUM2INT(argv[0]); FXICOImage_rotate(arg1,arg2);
|
1668
|
+
return Qnil; }
|
1669
|
+
static VALUE _wrap_FXICOImage_crop(int argc, VALUE *argv, VALUE self) { FXICOImage *arg1 = (FXICOImage *) 0 ; FXint arg2 ;
|
1670
|
+
FXint arg3 ; FXint arg4 ; FXint arg5 ; FXColor arg6 = (FXColor) 0 ; if ((argc < 4) || (argc > 5))
|
1671
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
1672
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXICOImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1673
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); if (argc > 4) { arg6 = to_FXColor(argv[4]); }
|
1674
|
+
FXICOImage_crop(arg1,arg2,arg3,arg4,arg5,arg6); return Qnil; }
|
1675
|
+
static VALUE _wrap_FXICOImage_fill(int argc, VALUE *argv, VALUE self) { FXICOImage *arg1 = (FXICOImage *) 0 ; FXColor arg2 ;
|
1676
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1677
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXICOImage, 1); arg2 = to_FXColor(argv[0]); FXICOImage_fill(arg1,arg2);
|
1678
|
+
return Qnil; }
|
1679
|
+
static VALUE _wrap_FXICOImage_fade(int argc, VALUE *argv, VALUE self) { FXICOImage *arg1 = (FXICOImage *) 0 ; FXColor arg2 ;
|
1680
|
+
FXint arg3 = (FXint) 255 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1681
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXICOImage, 1); arg2 = to_FXColor(argv[0]); if (argc > 1) {
|
1682
|
+
arg3 = NUM2INT(argv[1]); } FXICOImage_fade(arg1,arg2,arg3); return Qnil; }
|
1683
|
+
static VALUE _wrap_FXICOImage_xshear(int argc, VALUE *argv, VALUE self) { FXICOImage *arg1 = (FXICOImage *) 0 ; FXint arg2 ;
|
1684
|
+
FXColor arg3 = (FXColor) 0 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1685
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXICOImage, 1); arg2 = NUM2INT(argv[0]); if (argc > 1) {
|
1686
|
+
arg3 = to_FXColor(argv[1]); } FXICOImage_xshear(arg1,arg2,arg3); return Qnil; }
|
1687
|
+
static VALUE _wrap_FXICOImage_yshear(int argc, VALUE *argv, VALUE self) { FXICOImage *arg1 = (FXICOImage *) 0 ; FXint arg2 ;
|
1688
|
+
FXColor arg3 = (FXColor) 0 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1689
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXICOImage, 1); arg2 = NUM2INT(argv[0]); if (argc > 1) {
|
1690
|
+
arg3 = to_FXColor(argv[1]); } FXICOImage_yshear(arg1,arg2,arg3); return Qnil; }
|
1691
|
+
static VALUE _wrap_FXICOImage_hgradient(int argc, VALUE *argv, VALUE self) { FXICOImage *arg1 = (FXICOImage *) 0 ;
|
1692
|
+
FXColor arg2 ; FXColor arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1693
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXICOImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
1694
|
+
FXICOImage_hgradient(arg1,arg2,arg3); return Qnil; }
|
1695
|
+
static VALUE _wrap_FXICOImage_vgradient(int argc, VALUE *argv, VALUE self) { FXICOImage *arg1 = (FXICOImage *) 0 ;
|
1696
|
+
FXColor arg2 ; FXColor arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1697
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXICOImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
1698
|
+
FXICOImage_vgradient(arg1,arg2,arg3); return Qnil; }
|
1699
|
+
static VALUE _wrap_FXICOImage_gradient(int argc, VALUE *argv, VALUE self) { FXICOImage *arg1 = (FXICOImage *) 0 ; FXColor arg2 ;
|
1700
|
+
FXColor arg3 ; FXColor arg4 ; FXColor arg5 ; if ((argc < 4) || (argc > 4))
|
1701
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
1702
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXICOImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
1703
|
+
arg4 = to_FXColor(argv[2]); arg5 = to_FXColor(argv[3]); FXICOImage_gradient(arg1,arg2,arg3,arg4,arg5); return Qnil; }
|
1704
|
+
static VALUE _wrap_FXICOImage_blend(int argc, VALUE *argv, VALUE self) { FXICOImage *arg1 = (FXICOImage *) 0 ; FXColor arg2 ;
|
1705
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1706
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXICOImage, 1); arg2 = to_FXColor(argv[0]); FXICOImage_blend(arg1,arg2);
|
1707
|
+
return Qnil; }
|
1708
|
+
static VALUE _wrap_FXICOImage_savePixels(int argc, VALUE *argv, VALUE self) { FXICOImage *arg1 = (FXICOImage *) 0 ;
|
1709
|
+
FXStream *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
1710
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1711
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXICOImage, 1);
|
1712
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
1713
|
+
result = (bool)FXICOImage_savePixels((FXICOImage const *)arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
|
1714
|
+
static VALUE _wrap_FXICOImage_loadPixels(int argc, VALUE *argv, VALUE self) { FXICOImage *arg1 = (FXICOImage *) 0 ;
|
1715
|
+
FXStream *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
1716
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1717
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXICOImage, 1);
|
1718
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
1719
|
+
result = (bool)FXICOImage_loadPixels(arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
|
1720
|
+
static VALUE _wrap_FXJPGImage_fileExt(int argc, VALUE *argv, VALUE self) { VALUE result; VALUE vresult = Qnil;
|
1721
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1722
|
+
result = (VALUE)FXJPGImage_fileExt(); vresult = result; return vresult; }
|
1723
|
+
static VALUE _wrap_FXJPGImage_mimeType(int argc, VALUE *argv, VALUE self) { VALUE result; VALUE vresult = Qnil;
|
1724
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1725
|
+
result = (VALUE)FXJPGImage_mimeType(); vresult = result; return vresult; }
|
1726
|
+
static VALUE _wrap_FXJPGImage_supportedq___(int argc, VALUE *argv, VALUE self) { bool result; VALUE vresult = Qnil;
|
1727
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1728
|
+
result = (bool)FXJPGImage_isSupported(); vresult = result ? Qtrue : Qfalse; return vresult; }
|
1729
|
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
1730
|
+
static VALUE _wrap_FXJPGImage_allocate(VALUE self) {
|
1731
|
+
#else
|
1732
|
+
static VALUE _wrap_FXJPGImage_allocate(int argc, VALUE *argv, VALUE self) {
|
1733
|
+
#endif
|
1734
|
+
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXJPGImage);
|
1735
|
+
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
1736
|
+
rb_obj_call_init(vresult, argc, argv);
|
1737
|
+
#endif
|
1738
|
+
return vresult; }
|
1739
|
+
static VALUE _wrap_new_FXJPGImage(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; void *arg2 = (void *) 0 ;
|
1740
|
+
FXuint arg3 = (FXuint) 0 ; FXint arg4 = (FXint) 1 ; FXint arg5 = (FXint) 1 ; FXint arg6 = (FXint) 75 ; FXJPGImage *result;
|
1741
|
+
if ((argc < 1) || (argc > 6)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1742
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXApp, 1); if (argc > 1) { { if (argv[1] != Qnil) {
|
1743
|
+
Check_Type(argv[1], T_STRING); arg2 = reinterpret_cast<void *>(RSTRING_PTR(argv[1])); } else { arg2 = NULL; } }
|
1744
|
+
} if (argc > 2) { arg3 = NUM2UINT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(argv[3]); } if (argc > 4) {
|
1745
|
+
arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } {
|
1746
|
+
result = (FXJPGImage *)new_FXJPGImage(arg1,(void const *)arg2,arg3,arg4,arg5,arg6);
|
1747
|
+
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
1748
|
+
static VALUE _wrap_FXJPGImage_setQuality(int argc, VALUE *argv, VALUE self) { FXJPGImage *arg1 = (FXJPGImage *) 0 ; FXint arg2 ;
|
1749
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1750
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXJPGImage, 1); arg2 = NUM2INT(argv[0]); (arg1)->setQuality(arg2);
|
1751
|
+
return Qnil; }
|
1752
|
+
static VALUE _wrap_FXJPGImage_getQuality(int argc, VALUE *argv, VALUE self) { FXJPGImage *arg1 = (FXJPGImage *) 0 ;
|
1753
|
+
FXint result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
|
1754
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1755
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXJPGImage, 1); result = (FXint)((FXJPGImage const *)arg1)->getQuality();
|
1756
|
+
vresult = INT2NUM(result); return vresult; }
|
1757
|
+
static void
|
1758
|
+
free_FXJPGImage(FXJPGImage *arg1) {
|
1759
|
+
delete arg1;
|
1760
|
+
}
|
1761
|
+
static VALUE _wrap_FXJPGImage_save(int argc, VALUE *argv, VALUE self) { FXJPGImage *arg1 = (FXJPGImage *) 0 ;
|
1762
|
+
FXStream *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1763
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXJPGImage, 1);
|
1764
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
1765
|
+
FXJPGImage_save((FXJPGImage const *)arg1,*arg2); return Qnil; }
|
1766
|
+
static VALUE _wrap_FXJPGImage_load(int argc, VALUE *argv, VALUE self) { FXJPGImage *arg1 = (FXJPGImage *) 0 ;
|
1767
|
+
FXStream *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1768
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXJPGImage, 1);
|
1769
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
1770
|
+
FXJPGImage_load(arg1,*arg2); return Qnil; }
|
1771
|
+
static VALUE _wrap_FXJPGImage_create(int argc, VALUE *argv, VALUE self) { FXJPGImage *arg1 = (FXJPGImage *) 0 ;
|
1772
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1773
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXJPGImage, 1); FXJPGImage_create(arg1); return Qnil; }
|
1774
|
+
static VALUE _wrap_FXJPGImage_detach(int argc, VALUE *argv, VALUE self) { FXJPGImage *arg1 = (FXJPGImage *) 0 ;
|
1775
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1776
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXJPGImage, 1); FXJPGImage_detach(arg1); return Qnil; }
|
1777
|
+
static VALUE _wrap_FXJPGImage_destroy(int argc, VALUE *argv, VALUE self) { FXJPGImage *arg1 = (FXJPGImage *) 0 ;
|
1778
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1779
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXJPGImage, 1); FXJPGImage_destroy(arg1); return Qnil; }
|
1780
|
+
static VALUE _wrap_FXJPGImage_resize(int argc, VALUE *argv, VALUE self) { FXJPGImage *arg1 = (FXJPGImage *) 0 ; FXint arg2 ;
|
1781
|
+
FXint arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1782
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXJPGImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1783
|
+
FXJPGImage_resize(arg1,arg2,arg3); return Qnil; }
|
1784
|
+
static VALUE _wrap_FXJPGImage_restore(int argc, VALUE *argv, VALUE self) { FXJPGImage *arg1 = (FXJPGImage *) 0 ;
|
1785
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1786
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXJPGImage, 1); FXJPGImage_restore(arg1); return Qnil; }
|
1787
|
+
static VALUE _wrap_FXJPGImage_render(int argc, VALUE *argv, VALUE self) { FXJPGImage *arg1 = (FXJPGImage *) 0 ;
|
1788
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1789
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXJPGImage, 1); FXJPGImage_render(arg1); return Qnil; }
|
1790
|
+
static VALUE _wrap_FXJPGImage_release(int argc, VALUE *argv, VALUE self) { FXJPGImage *arg1 = (FXJPGImage *) 0 ;
|
1791
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1792
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXJPGImage, 1); FXJPGImage_release(arg1); return Qnil; }
|
1793
|
+
static VALUE _wrap_FXJPGImage_scale(int argc, VALUE *argv, VALUE self) { FXJPGImage *arg1 = (FXJPGImage *) 0 ; FXint arg2 ;
|
1794
|
+
FXint arg3 ; FXint arg4 = (FXint) 0 ; if ((argc < 2) || (argc > 3))
|
1795
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1796
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXJPGImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1797
|
+
if (argc > 2) { arg4 = NUM2INT(argv[2]); } FXJPGImage_scale(arg1,arg2,arg3,arg4); return Qnil; }
|
1798
|
+
static VALUE _wrap_FXJPGImage_mirror(int argc, VALUE *argv, VALUE self) { FXJPGImage *arg1 = (FXJPGImage *) 0 ; bool arg2 ;
|
1799
|
+
bool arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1800
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXJPGImage, 1); arg2 = RTEST(argv[0]); arg3 = RTEST(argv[1]);
|
1801
|
+
FXJPGImage_mirror(arg1,arg2,arg3); return Qnil; }
|
1802
|
+
static VALUE _wrap_FXJPGImage_rotate(int argc, VALUE *argv, VALUE self) { FXJPGImage *arg1 = (FXJPGImage *) 0 ; FXint arg2 ;
|
1803
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1804
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXJPGImage, 1); arg2 = NUM2INT(argv[0]); FXJPGImage_rotate(arg1,arg2);
|
1805
|
+
return Qnil; }
|
1806
|
+
static VALUE _wrap_FXJPGImage_crop(int argc, VALUE *argv, VALUE self) { FXJPGImage *arg1 = (FXJPGImage *) 0 ; FXint arg2 ;
|
1807
|
+
FXint arg3 ; FXint arg4 ; FXint arg5 ; FXColor arg6 = (FXColor) 0 ; if ((argc < 4) || (argc > 5))
|
1808
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
1809
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXJPGImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1810
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); if (argc > 4) { arg6 = to_FXColor(argv[4]); }
|
1811
|
+
FXJPGImage_crop(arg1,arg2,arg3,arg4,arg5,arg6); return Qnil; }
|
1812
|
+
static VALUE _wrap_FXJPGImage_fill(int argc, VALUE *argv, VALUE self) { FXJPGImage *arg1 = (FXJPGImage *) 0 ; FXColor arg2 ;
|
1813
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1814
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXJPGImage, 1); arg2 = to_FXColor(argv[0]); FXJPGImage_fill(arg1,arg2);
|
1815
|
+
return Qnil; }
|
1816
|
+
static VALUE _wrap_FXJPGImage_fade(int argc, VALUE *argv, VALUE self) { FXJPGImage *arg1 = (FXJPGImage *) 0 ; FXColor arg2 ;
|
1817
|
+
FXint arg3 = (FXint) 255 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1818
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXJPGImage, 1); arg2 = to_FXColor(argv[0]); if (argc > 1) {
|
1819
|
+
arg3 = NUM2INT(argv[1]); } FXJPGImage_fade(arg1,arg2,arg3); return Qnil; }
|
1820
|
+
static VALUE _wrap_FXJPGImage_xshear(int argc, VALUE *argv, VALUE self) { FXJPGImage *arg1 = (FXJPGImage *) 0 ; FXint arg2 ;
|
1821
|
+
FXColor arg3 = (FXColor) 0 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1822
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXJPGImage, 1); arg2 = NUM2INT(argv[0]); if (argc > 1) {
|
1823
|
+
arg3 = to_FXColor(argv[1]); } FXJPGImage_xshear(arg1,arg2,arg3); return Qnil; }
|
1824
|
+
static VALUE _wrap_FXJPGImage_yshear(int argc, VALUE *argv, VALUE self) { FXJPGImage *arg1 = (FXJPGImage *) 0 ; FXint arg2 ;
|
1825
|
+
FXColor arg3 = (FXColor) 0 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1826
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXJPGImage, 1); arg2 = NUM2INT(argv[0]); if (argc > 1) {
|
1827
|
+
arg3 = to_FXColor(argv[1]); } FXJPGImage_yshear(arg1,arg2,arg3); return Qnil; }
|
1828
|
+
static VALUE _wrap_FXJPGImage_hgradient(int argc, VALUE *argv, VALUE self) { FXJPGImage *arg1 = (FXJPGImage *) 0 ;
|
1829
|
+
FXColor arg2 ; FXColor arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1830
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXJPGImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
1831
|
+
FXJPGImage_hgradient(arg1,arg2,arg3); return Qnil; }
|
1832
|
+
static VALUE _wrap_FXJPGImage_vgradient(int argc, VALUE *argv, VALUE self) { FXJPGImage *arg1 = (FXJPGImage *) 0 ;
|
1833
|
+
FXColor arg2 ; FXColor arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1834
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXJPGImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
1835
|
+
FXJPGImage_vgradient(arg1,arg2,arg3); return Qnil; }
|
1836
|
+
static VALUE _wrap_FXJPGImage_gradient(int argc, VALUE *argv, VALUE self) { FXJPGImage *arg1 = (FXJPGImage *) 0 ; FXColor arg2 ;
|
1837
|
+
FXColor arg3 ; FXColor arg4 ; FXColor arg5 ; if ((argc < 4) || (argc > 4))
|
1838
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
1839
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXJPGImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
1840
|
+
arg4 = to_FXColor(argv[2]); arg5 = to_FXColor(argv[3]); FXJPGImage_gradient(arg1,arg2,arg3,arg4,arg5); return Qnil; }
|
1841
|
+
static VALUE _wrap_FXJPGImage_blend(int argc, VALUE *argv, VALUE self) { FXJPGImage *arg1 = (FXJPGImage *) 0 ; FXColor arg2 ;
|
1842
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1843
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXJPGImage, 1); arg2 = to_FXColor(argv[0]); FXJPGImage_blend(arg1,arg2);
|
1844
|
+
return Qnil; }
|
1845
|
+
static VALUE _wrap_FXJPGImage_savePixels(int argc, VALUE *argv, VALUE self) { FXJPGImage *arg1 = (FXJPGImage *) 0 ;
|
1846
|
+
FXStream *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
1847
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1848
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXJPGImage, 1);
|
1849
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
1850
|
+
result = (bool)FXJPGImage_savePixels((FXJPGImage const *)arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
|
1851
|
+
static VALUE _wrap_FXJPGImage_loadPixels(int argc, VALUE *argv, VALUE self) { FXJPGImage *arg1 = (FXJPGImage *) 0 ;
|
1852
|
+
FXStream *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
1853
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1854
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXJPGImage, 1);
|
1855
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
1856
|
+
result = (bool)FXJPGImage_loadPixels(arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
|
1857
|
+
static VALUE _wrap_FXPCXImage_fileExt(int argc, VALUE *argv, VALUE self) { VALUE result; VALUE vresult = Qnil;
|
1858
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1859
|
+
result = (VALUE)FXPCXImage_fileExt(); vresult = result; return vresult; }
|
1860
|
+
static VALUE _wrap_FXPCXImage_mimeType(int argc, VALUE *argv, VALUE self) { VALUE result; VALUE vresult = Qnil;
|
1861
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1862
|
+
result = (VALUE)FXPCXImage_mimeType(); vresult = result; return vresult; }
|
1863
|
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
1864
|
+
static VALUE _wrap_FXPCXImage_allocate(VALUE self) {
|
1865
|
+
#else
|
1866
|
+
static VALUE _wrap_FXPCXImage_allocate(int argc, VALUE *argv, VALUE self) {
|
1867
|
+
#endif
|
1868
|
+
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXPCXImage);
|
1869
|
+
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
1870
|
+
rb_obj_call_init(vresult, argc, argv);
|
1871
|
+
#endif
|
1872
|
+
return vresult; }
|
1873
|
+
static VALUE _wrap_new_FXPCXImage(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; void *arg2 = (void *) 0 ;
|
1874
|
+
FXuint arg3 = (FXuint) 0 ; FXint arg4 = (FXint) 1 ; FXint arg5 = (FXint) 1 ; FXPCXImage *result;
|
1875
|
+
if ((argc < 1) || (argc > 5)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1876
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXApp, 1); if (argc > 1) { { if (argv[1] != Qnil) {
|
1877
|
+
Check_Type(argv[1], T_STRING); arg2 = reinterpret_cast<void *>(RSTRING_PTR(argv[1])); } else { arg2 = NULL; } }
|
1878
|
+
} if (argc > 2) { arg3 = NUM2UINT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(argv[3]); } if (argc > 4) {
|
1879
|
+
arg5 = NUM2INT(argv[4]); } { result = (FXPCXImage *)new_FXPCXImage(arg1,(void const *)arg2,arg3,arg4,arg5);
|
1880
|
+
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
1881
|
+
static void
|
1882
|
+
free_FXPCXImage(FXPCXImage *arg1) {
|
1883
|
+
delete arg1;
|
1884
|
+
}
|
1885
|
+
static VALUE _wrap_FXPCXImage_save(int argc, VALUE *argv, VALUE self) { FXPCXImage *arg1 = (FXPCXImage *) 0 ;
|
1886
|
+
FXStream *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1887
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPCXImage, 1);
|
1888
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
1889
|
+
FXPCXImage_save((FXPCXImage const *)arg1,*arg2); return Qnil; }
|
1890
|
+
static VALUE _wrap_FXPCXImage_load(int argc, VALUE *argv, VALUE self) { FXPCXImage *arg1 = (FXPCXImage *) 0 ;
|
1891
|
+
FXStream *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1892
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPCXImage, 1);
|
1893
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
1894
|
+
FXPCXImage_load(arg1,*arg2); return Qnil; }
|
1895
|
+
static VALUE _wrap_FXPCXImage_create(int argc, VALUE *argv, VALUE self) { FXPCXImage *arg1 = (FXPCXImage *) 0 ;
|
1896
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1897
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPCXImage, 1); FXPCXImage_create(arg1); return Qnil; }
|
1898
|
+
static VALUE _wrap_FXPCXImage_detach(int argc, VALUE *argv, VALUE self) { FXPCXImage *arg1 = (FXPCXImage *) 0 ;
|
1899
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1900
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPCXImage, 1); FXPCXImage_detach(arg1); return Qnil; }
|
1901
|
+
static VALUE _wrap_FXPCXImage_destroy(int argc, VALUE *argv, VALUE self) { FXPCXImage *arg1 = (FXPCXImage *) 0 ;
|
1902
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1903
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPCXImage, 1); FXPCXImage_destroy(arg1); return Qnil; }
|
1904
|
+
static VALUE _wrap_FXPCXImage_resize(int argc, VALUE *argv, VALUE self) { FXPCXImage *arg1 = (FXPCXImage *) 0 ; FXint arg2 ;
|
1905
|
+
FXint arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1906
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPCXImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1907
|
+
FXPCXImage_resize(arg1,arg2,arg3); return Qnil; }
|
1908
|
+
static VALUE _wrap_FXPCXImage_restore(int argc, VALUE *argv, VALUE self) { FXPCXImage *arg1 = (FXPCXImage *) 0 ;
|
1909
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1910
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPCXImage, 1); FXPCXImage_restore(arg1); return Qnil; }
|
1911
|
+
static VALUE _wrap_FXPCXImage_render(int argc, VALUE *argv, VALUE self) { FXPCXImage *arg1 = (FXPCXImage *) 0 ;
|
1912
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1913
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPCXImage, 1); FXPCXImage_render(arg1); return Qnil; }
|
1914
|
+
static VALUE _wrap_FXPCXImage_release(int argc, VALUE *argv, VALUE self) { FXPCXImage *arg1 = (FXPCXImage *) 0 ;
|
1915
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1916
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPCXImage, 1); FXPCXImage_release(arg1); return Qnil; }
|
1917
|
+
static VALUE _wrap_FXPCXImage_scale(int argc, VALUE *argv, VALUE self) { FXPCXImage *arg1 = (FXPCXImage *) 0 ; FXint arg2 ;
|
1918
|
+
FXint arg3 ; FXint arg4 = (FXint) 0 ; if ((argc < 2) || (argc > 3))
|
1919
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1920
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPCXImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1921
|
+
if (argc > 2) { arg4 = NUM2INT(argv[2]); } FXPCXImage_scale(arg1,arg2,arg3,arg4); return Qnil; }
|
1922
|
+
static VALUE _wrap_FXPCXImage_mirror(int argc, VALUE *argv, VALUE self) { FXPCXImage *arg1 = (FXPCXImage *) 0 ; bool arg2 ;
|
1923
|
+
bool arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1924
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPCXImage, 1); arg2 = RTEST(argv[0]); arg3 = RTEST(argv[1]);
|
1925
|
+
FXPCXImage_mirror(arg1,arg2,arg3); return Qnil; }
|
1926
|
+
static VALUE _wrap_FXPCXImage_rotate(int argc, VALUE *argv, VALUE self) { FXPCXImage *arg1 = (FXPCXImage *) 0 ; FXint arg2 ;
|
1927
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1928
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPCXImage, 1); arg2 = NUM2INT(argv[0]); FXPCXImage_rotate(arg1,arg2);
|
1929
|
+
return Qnil; }
|
1930
|
+
static VALUE _wrap_FXPCXImage_crop(int argc, VALUE *argv, VALUE self) { FXPCXImage *arg1 = (FXPCXImage *) 0 ; FXint arg2 ;
|
1931
|
+
FXint arg3 ; FXint arg4 ; FXint arg5 ; FXColor arg6 = (FXColor) 0 ; if ((argc < 4) || (argc > 5))
|
1932
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
1933
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPCXImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1934
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); if (argc > 4) { arg6 = to_FXColor(argv[4]); }
|
1935
|
+
FXPCXImage_crop(arg1,arg2,arg3,arg4,arg5,arg6); return Qnil; }
|
1936
|
+
static VALUE _wrap_FXPCXImage_fill(int argc, VALUE *argv, VALUE self) { FXPCXImage *arg1 = (FXPCXImage *) 0 ; FXColor arg2 ;
|
1937
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1938
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPCXImage, 1); arg2 = to_FXColor(argv[0]); FXPCXImage_fill(arg1,arg2);
|
1939
|
+
return Qnil; }
|
1940
|
+
static VALUE _wrap_FXPCXImage_fade(int argc, VALUE *argv, VALUE self) { FXPCXImage *arg1 = (FXPCXImage *) 0 ; FXColor arg2 ;
|
1941
|
+
FXint arg3 = (FXint) 255 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1942
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPCXImage, 1); arg2 = to_FXColor(argv[0]); if (argc > 1) {
|
1943
|
+
arg3 = NUM2INT(argv[1]); } FXPCXImage_fade(arg1,arg2,arg3); return Qnil; }
|
1944
|
+
static VALUE _wrap_FXPCXImage_xshear(int argc, VALUE *argv, VALUE self) { FXPCXImage *arg1 = (FXPCXImage *) 0 ; FXint arg2 ;
|
1945
|
+
FXColor arg3 = (FXColor) 0 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1946
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPCXImage, 1); arg2 = NUM2INT(argv[0]); if (argc > 1) {
|
1947
|
+
arg3 = to_FXColor(argv[1]); } FXPCXImage_xshear(arg1,arg2,arg3); return Qnil; }
|
1948
|
+
static VALUE _wrap_FXPCXImage_yshear(int argc, VALUE *argv, VALUE self) { FXPCXImage *arg1 = (FXPCXImage *) 0 ; FXint arg2 ;
|
1949
|
+
FXColor arg3 = (FXColor) 0 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1950
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPCXImage, 1); arg2 = NUM2INT(argv[0]); if (argc > 1) {
|
1951
|
+
arg3 = to_FXColor(argv[1]); } FXPCXImage_yshear(arg1,arg2,arg3); return Qnil; }
|
1952
|
+
static VALUE _wrap_FXPCXImage_hgradient(int argc, VALUE *argv, VALUE self) { FXPCXImage *arg1 = (FXPCXImage *) 0 ;
|
1953
|
+
FXColor arg2 ; FXColor arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1954
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPCXImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
1955
|
+
FXPCXImage_hgradient(arg1,arg2,arg3); return Qnil; }
|
1956
|
+
static VALUE _wrap_FXPCXImage_vgradient(int argc, VALUE *argv, VALUE self) { FXPCXImage *arg1 = (FXPCXImage *) 0 ;
|
1957
|
+
FXColor arg2 ; FXColor arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1958
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPCXImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
1959
|
+
FXPCXImage_vgradient(arg1,arg2,arg3); return Qnil; }
|
1960
|
+
static VALUE _wrap_FXPCXImage_gradient(int argc, VALUE *argv, VALUE self) { FXPCXImage *arg1 = (FXPCXImage *) 0 ; FXColor arg2 ;
|
1961
|
+
FXColor arg3 ; FXColor arg4 ; FXColor arg5 ; if ((argc < 4) || (argc > 4))
|
1962
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
1963
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPCXImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
1964
|
+
arg4 = to_FXColor(argv[2]); arg5 = to_FXColor(argv[3]); FXPCXImage_gradient(arg1,arg2,arg3,arg4,arg5); return Qnil; }
|
1965
|
+
static VALUE _wrap_FXPCXImage_blend(int argc, VALUE *argv, VALUE self) { FXPCXImage *arg1 = (FXPCXImage *) 0 ; FXColor arg2 ;
|
1966
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1967
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPCXImage, 1); arg2 = to_FXColor(argv[0]); FXPCXImage_blend(arg1,arg2);
|
1968
|
+
return Qnil; }
|
1969
|
+
static VALUE _wrap_FXPCXImage_savePixels(int argc, VALUE *argv, VALUE self) { FXPCXImage *arg1 = (FXPCXImage *) 0 ;
|
1970
|
+
FXStream *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
1971
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1972
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPCXImage, 1);
|
1973
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
1974
|
+
result = (bool)FXPCXImage_savePixels((FXPCXImage const *)arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
|
1975
|
+
static VALUE _wrap_FXPCXImage_loadPixels(int argc, VALUE *argv, VALUE self) { FXPCXImage *arg1 = (FXPCXImage *) 0 ;
|
1976
|
+
FXStream *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
1977
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1978
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPCXImage, 1);
|
1979
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
1980
|
+
result = (bool)FXPCXImage_loadPixels(arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
|
1981
|
+
static VALUE _wrap_FXPNGImage_fileExt(int argc, VALUE *argv, VALUE self) { VALUE result; VALUE vresult = Qnil;
|
1982
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1983
|
+
result = (VALUE)FXPNGImage_fileExt(); vresult = result; return vresult; }
|
1984
|
+
static VALUE _wrap_FXPNGImage_mimeType(int argc, VALUE *argv, VALUE self) { VALUE result; VALUE vresult = Qnil;
|
1985
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1986
|
+
result = (VALUE)FXPNGImage_mimeType(); vresult = result; return vresult; }
|
1987
|
+
static VALUE _wrap_FXPNGImage_supportedq___(int argc, VALUE *argv, VALUE self) { bool result; VALUE vresult = Qnil;
|
1988
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1989
|
+
result = (bool)FXPNGImage_isSupported(); vresult = result ? Qtrue : Qfalse; return vresult; }
|
1990
|
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
1991
|
+
static VALUE _wrap_FXPNGImage_allocate(VALUE self) {
|
1992
|
+
#else
|
1993
|
+
static VALUE _wrap_FXPNGImage_allocate(int argc, VALUE *argv, VALUE self) {
|
1994
|
+
#endif
|
1995
|
+
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXPNGImage);
|
1996
|
+
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
1997
|
+
rb_obj_call_init(vresult, argc, argv);
|
1998
|
+
#endif
|
1999
|
+
return vresult; }
|
2000
|
+
static VALUE _wrap_new_FXPNGImage(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; void *arg2 = (void *) 0 ;
|
2001
|
+
FXuint arg3 = (FXuint) 0 ; FXint arg4 = (FXint) 1 ; FXint arg5 = (FXint) 1 ; FXPNGImage *result;
|
2002
|
+
if ((argc < 1) || (argc > 5)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2003
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXApp, 1); if (argc > 1) { { if (argv[1] != Qnil) {
|
2004
|
+
Check_Type(argv[1], T_STRING); arg2 = reinterpret_cast<void *>(RSTRING_PTR(argv[1])); } else { arg2 = NULL; } }
|
2005
|
+
} if (argc > 2) { arg3 = NUM2UINT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(argv[3]); } if (argc > 4) {
|
2006
|
+
arg5 = NUM2INT(argv[4]); } { result = (FXPNGImage *)new_FXPNGImage(arg1,(void const *)arg2,arg3,arg4,arg5);
|
2007
|
+
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
2008
|
+
static void
|
2009
|
+
free_FXPNGImage(FXPNGImage *arg1) {
|
2010
|
+
delete arg1;
|
2011
|
+
}
|
2012
|
+
static VALUE _wrap_FXPNGImage_save(int argc, VALUE *argv, VALUE self) { FXPNGImage *arg1 = (FXPNGImage *) 0 ;
|
2013
|
+
FXStream *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2014
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPNGImage, 1);
|
2015
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2016
|
+
FXPNGImage_save((FXPNGImage const *)arg1,*arg2); return Qnil; }
|
2017
|
+
static VALUE _wrap_FXPNGImage_load(int argc, VALUE *argv, VALUE self) { FXPNGImage *arg1 = (FXPNGImage *) 0 ;
|
2018
|
+
FXStream *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2019
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPNGImage, 1);
|
2020
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2021
|
+
FXPNGImage_load(arg1,*arg2); return Qnil; }
|
2022
|
+
static VALUE _wrap_FXPNGImage_create(int argc, VALUE *argv, VALUE self) { FXPNGImage *arg1 = (FXPNGImage *) 0 ;
|
2023
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2024
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPNGImage, 1); FXPNGImage_create(arg1); return Qnil; }
|
2025
|
+
static VALUE _wrap_FXPNGImage_detach(int argc, VALUE *argv, VALUE self) { FXPNGImage *arg1 = (FXPNGImage *) 0 ;
|
2026
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2027
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPNGImage, 1); FXPNGImage_detach(arg1); return Qnil; }
|
2028
|
+
static VALUE _wrap_FXPNGImage_destroy(int argc, VALUE *argv, VALUE self) { FXPNGImage *arg1 = (FXPNGImage *) 0 ;
|
2029
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2030
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPNGImage, 1); FXPNGImage_destroy(arg1); return Qnil; }
|
2031
|
+
static VALUE _wrap_FXPNGImage_resize(int argc, VALUE *argv, VALUE self) { FXPNGImage *arg1 = (FXPNGImage *) 0 ; FXint arg2 ;
|
2032
|
+
FXint arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2033
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPNGImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
2034
|
+
FXPNGImage_resize(arg1,arg2,arg3); return Qnil; }
|
2035
|
+
static VALUE _wrap_FXPNGImage_restore(int argc, VALUE *argv, VALUE self) { FXPNGImage *arg1 = (FXPNGImage *) 0 ;
|
2036
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2037
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPNGImage, 1); FXPNGImage_restore(arg1); return Qnil; }
|
2038
|
+
static VALUE _wrap_FXPNGImage_render(int argc, VALUE *argv, VALUE self) { FXPNGImage *arg1 = (FXPNGImage *) 0 ;
|
2039
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2040
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPNGImage, 1); FXPNGImage_render(arg1); return Qnil; }
|
2041
|
+
static VALUE _wrap_FXPNGImage_release(int argc, VALUE *argv, VALUE self) { FXPNGImage *arg1 = (FXPNGImage *) 0 ;
|
2042
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2043
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPNGImage, 1); FXPNGImage_release(arg1); return Qnil; }
|
2044
|
+
static VALUE _wrap_FXPNGImage_scale(int argc, VALUE *argv, VALUE self) { FXPNGImage *arg1 = (FXPNGImage *) 0 ; FXint arg2 ;
|
2045
|
+
FXint arg3 ; FXint arg4 = (FXint) 0 ; if ((argc < 2) || (argc > 3))
|
2046
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2047
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPNGImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
2048
|
+
if (argc > 2) { arg4 = NUM2INT(argv[2]); } FXPNGImage_scale(arg1,arg2,arg3,arg4); return Qnil; }
|
2049
|
+
static VALUE _wrap_FXPNGImage_mirror(int argc, VALUE *argv, VALUE self) { FXPNGImage *arg1 = (FXPNGImage *) 0 ; bool arg2 ;
|
2050
|
+
bool arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2051
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPNGImage, 1); arg2 = RTEST(argv[0]); arg3 = RTEST(argv[1]);
|
2052
|
+
FXPNGImage_mirror(arg1,arg2,arg3); return Qnil; }
|
2053
|
+
static VALUE _wrap_FXPNGImage_rotate(int argc, VALUE *argv, VALUE self) { FXPNGImage *arg1 = (FXPNGImage *) 0 ; FXint arg2 ;
|
2054
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2055
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPNGImage, 1); arg2 = NUM2INT(argv[0]); FXPNGImage_rotate(arg1,arg2);
|
2056
|
+
return Qnil; }
|
2057
|
+
static VALUE _wrap_FXPNGImage_crop(int argc, VALUE *argv, VALUE self) { FXPNGImage *arg1 = (FXPNGImage *) 0 ; FXint arg2 ;
|
2058
|
+
FXint arg3 ; FXint arg4 ; FXint arg5 ; FXColor arg6 = (FXColor) 0 ; if ((argc < 4) || (argc > 5))
|
2059
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
2060
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPNGImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
2061
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); if (argc > 4) { arg6 = to_FXColor(argv[4]); }
|
2062
|
+
FXPNGImage_crop(arg1,arg2,arg3,arg4,arg5,arg6); return Qnil; }
|
2063
|
+
static VALUE _wrap_FXPNGImage_fill(int argc, VALUE *argv, VALUE self) { FXPNGImage *arg1 = (FXPNGImage *) 0 ; FXColor arg2 ;
|
2064
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2065
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPNGImage, 1); arg2 = to_FXColor(argv[0]); FXPNGImage_fill(arg1,arg2);
|
2066
|
+
return Qnil; }
|
2067
|
+
static VALUE _wrap_FXPNGImage_fade(int argc, VALUE *argv, VALUE self) { FXPNGImage *arg1 = (FXPNGImage *) 0 ; FXColor arg2 ;
|
2068
|
+
FXint arg3 = (FXint) 255 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2069
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPNGImage, 1); arg2 = to_FXColor(argv[0]); if (argc > 1) {
|
2070
|
+
arg3 = NUM2INT(argv[1]); } FXPNGImage_fade(arg1,arg2,arg3); return Qnil; }
|
2071
|
+
static VALUE _wrap_FXPNGImage_xshear(int argc, VALUE *argv, VALUE self) { FXPNGImage *arg1 = (FXPNGImage *) 0 ; FXint arg2 ;
|
2072
|
+
FXColor arg3 = (FXColor) 0 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2073
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPNGImage, 1); arg2 = NUM2INT(argv[0]); if (argc > 1) {
|
2074
|
+
arg3 = to_FXColor(argv[1]); } FXPNGImage_xshear(arg1,arg2,arg3); return Qnil; }
|
2075
|
+
static VALUE _wrap_FXPNGImage_yshear(int argc, VALUE *argv, VALUE self) { FXPNGImage *arg1 = (FXPNGImage *) 0 ; FXint arg2 ;
|
2076
|
+
FXColor arg3 = (FXColor) 0 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2077
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPNGImage, 1); arg2 = NUM2INT(argv[0]); if (argc > 1) {
|
2078
|
+
arg3 = to_FXColor(argv[1]); } FXPNGImage_yshear(arg1,arg2,arg3); return Qnil; }
|
2079
|
+
static VALUE _wrap_FXPNGImage_hgradient(int argc, VALUE *argv, VALUE self) { FXPNGImage *arg1 = (FXPNGImage *) 0 ;
|
2080
|
+
FXColor arg2 ; FXColor arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2081
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPNGImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
2082
|
+
FXPNGImage_hgradient(arg1,arg2,arg3); return Qnil; }
|
2083
|
+
static VALUE _wrap_FXPNGImage_vgradient(int argc, VALUE *argv, VALUE self) { FXPNGImage *arg1 = (FXPNGImage *) 0 ;
|
2084
|
+
FXColor arg2 ; FXColor arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2085
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPNGImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
2086
|
+
FXPNGImage_vgradient(arg1,arg2,arg3); return Qnil; }
|
2087
|
+
static VALUE _wrap_FXPNGImage_gradient(int argc, VALUE *argv, VALUE self) { FXPNGImage *arg1 = (FXPNGImage *) 0 ; FXColor arg2 ;
|
2088
|
+
FXColor arg3 ; FXColor arg4 ; FXColor arg5 ; if ((argc < 4) || (argc > 4))
|
2089
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
2090
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPNGImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
2091
|
+
arg4 = to_FXColor(argv[2]); arg5 = to_FXColor(argv[3]); FXPNGImage_gradient(arg1,arg2,arg3,arg4,arg5); return Qnil; }
|
2092
|
+
static VALUE _wrap_FXPNGImage_blend(int argc, VALUE *argv, VALUE self) { FXPNGImage *arg1 = (FXPNGImage *) 0 ; FXColor arg2 ;
|
2093
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2094
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPNGImage, 1); arg2 = to_FXColor(argv[0]); FXPNGImage_blend(arg1,arg2);
|
2095
|
+
return Qnil; }
|
2096
|
+
static VALUE _wrap_FXPNGImage_savePixels(int argc, VALUE *argv, VALUE self) { FXPNGImage *arg1 = (FXPNGImage *) 0 ;
|
2097
|
+
FXStream *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
2098
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2099
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPNGImage, 1);
|
2100
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2101
|
+
result = (bool)FXPNGImage_savePixels((FXPNGImage const *)arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
|
2102
|
+
static VALUE _wrap_FXPNGImage_loadPixels(int argc, VALUE *argv, VALUE self) { FXPNGImage *arg1 = (FXPNGImage *) 0 ;
|
2103
|
+
FXStream *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
2104
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2105
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPNGImage, 1);
|
2106
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2107
|
+
result = (bool)FXPNGImage_loadPixels(arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
|
2108
|
+
static VALUE _wrap_FXPPMImage_fileExt(int argc, VALUE *argv, VALUE self) { VALUE result; VALUE vresult = Qnil;
|
2109
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2110
|
+
result = (VALUE)FXPPMImage_fileExt(); vresult = result; return vresult; }
|
2111
|
+
static VALUE _wrap_FXPPMImage_mimeType(int argc, VALUE *argv, VALUE self) { VALUE result; VALUE vresult = Qnil;
|
2112
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2113
|
+
result = (VALUE)FXPPMImage_mimeType(); vresult = result; return vresult; }
|
2114
|
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
2115
|
+
static VALUE _wrap_FXPPMImage_allocate(VALUE self) {
|
2116
|
+
#else
|
2117
|
+
static VALUE _wrap_FXPPMImage_allocate(int argc, VALUE *argv, VALUE self) {
|
2118
|
+
#endif
|
2119
|
+
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXPPMImage);
|
2120
|
+
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
2121
|
+
rb_obj_call_init(vresult, argc, argv);
|
2122
|
+
#endif
|
2123
|
+
return vresult; }
|
2124
|
+
static VALUE _wrap_new_FXPPMImage(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; void *arg2 = (void *) 0 ;
|
2125
|
+
FXuint arg3 = (FXuint) 0 ; FXint arg4 = (FXint) 1 ; FXint arg5 = (FXint) 1 ; FXPPMImage *result;
|
2126
|
+
if ((argc < 1) || (argc > 5)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2127
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXApp, 1); if (argc > 1) { { if (argv[1] != Qnil) {
|
2128
|
+
Check_Type(argv[1], T_STRING); arg2 = reinterpret_cast<void *>(RSTRING_PTR(argv[1])); } else { arg2 = NULL; } }
|
2129
|
+
} if (argc > 2) { arg3 = NUM2UINT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(argv[3]); } if (argc > 4) {
|
2130
|
+
arg5 = NUM2INT(argv[4]); } { result = (FXPPMImage *)new_FXPPMImage(arg1,(void const *)arg2,arg3,arg4,arg5);
|
2131
|
+
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
2132
|
+
static void
|
2133
|
+
free_FXPPMImage(FXPPMImage *arg1) {
|
2134
|
+
delete arg1;
|
2135
|
+
}
|
2136
|
+
static VALUE _wrap_FXPPMImage_save(int argc, VALUE *argv, VALUE self) { FXPPMImage *arg1 = (FXPPMImage *) 0 ;
|
2137
|
+
FXStream *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2138
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPPMImage, 1);
|
2139
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2140
|
+
FXPPMImage_save((FXPPMImage const *)arg1,*arg2); return Qnil; }
|
2141
|
+
static VALUE _wrap_FXPPMImage_load(int argc, VALUE *argv, VALUE self) { FXPPMImage *arg1 = (FXPPMImage *) 0 ;
|
2142
|
+
FXStream *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2143
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPPMImage, 1);
|
2144
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2145
|
+
FXPPMImage_load(arg1,*arg2); return Qnil; }
|
2146
|
+
static VALUE _wrap_FXPPMImage_create(int argc, VALUE *argv, VALUE self) { FXPPMImage *arg1 = (FXPPMImage *) 0 ;
|
2147
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2148
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPPMImage, 1); FXPPMImage_create(arg1); return Qnil; }
|
2149
|
+
static VALUE _wrap_FXPPMImage_detach(int argc, VALUE *argv, VALUE self) { FXPPMImage *arg1 = (FXPPMImage *) 0 ;
|
2150
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2151
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPPMImage, 1); FXPPMImage_detach(arg1); return Qnil; }
|
2152
|
+
static VALUE _wrap_FXPPMImage_destroy(int argc, VALUE *argv, VALUE self) { FXPPMImage *arg1 = (FXPPMImage *) 0 ;
|
2153
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2154
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPPMImage, 1); FXPPMImage_destroy(arg1); return Qnil; }
|
2155
|
+
static VALUE _wrap_FXPPMImage_resize(int argc, VALUE *argv, VALUE self) { FXPPMImage *arg1 = (FXPPMImage *) 0 ; FXint arg2 ;
|
2156
|
+
FXint arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2157
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPPMImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
2158
|
+
FXPPMImage_resize(arg1,arg2,arg3); return Qnil; }
|
2159
|
+
static VALUE _wrap_FXPPMImage_restore(int argc, VALUE *argv, VALUE self) { FXPPMImage *arg1 = (FXPPMImage *) 0 ;
|
2160
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2161
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPPMImage, 1); FXPPMImage_restore(arg1); return Qnil; }
|
2162
|
+
static VALUE _wrap_FXPPMImage_render(int argc, VALUE *argv, VALUE self) { FXPPMImage *arg1 = (FXPPMImage *) 0 ;
|
2163
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2164
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPPMImage, 1); FXPPMImage_render(arg1); return Qnil; }
|
2165
|
+
static VALUE _wrap_FXPPMImage_release(int argc, VALUE *argv, VALUE self) { FXPPMImage *arg1 = (FXPPMImage *) 0 ;
|
2166
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2167
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPPMImage, 1); FXPPMImage_release(arg1); return Qnil; }
|
2168
|
+
static VALUE _wrap_FXPPMImage_scale(int argc, VALUE *argv, VALUE self) { FXPPMImage *arg1 = (FXPPMImage *) 0 ; FXint arg2 ;
|
2169
|
+
FXint arg3 ; FXint arg4 = (FXint) 0 ; if ((argc < 2) || (argc > 3))
|
2170
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2171
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPPMImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
2172
|
+
if (argc > 2) { arg4 = NUM2INT(argv[2]); } FXPPMImage_scale(arg1,arg2,arg3,arg4); return Qnil; }
|
2173
|
+
static VALUE _wrap_FXPPMImage_mirror(int argc, VALUE *argv, VALUE self) { FXPPMImage *arg1 = (FXPPMImage *) 0 ; bool arg2 ;
|
2174
|
+
bool arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2175
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPPMImage, 1); arg2 = RTEST(argv[0]); arg3 = RTEST(argv[1]);
|
2176
|
+
FXPPMImage_mirror(arg1,arg2,arg3); return Qnil; }
|
2177
|
+
static VALUE _wrap_FXPPMImage_rotate(int argc, VALUE *argv, VALUE self) { FXPPMImage *arg1 = (FXPPMImage *) 0 ; FXint arg2 ;
|
2178
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2179
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPPMImage, 1); arg2 = NUM2INT(argv[0]); FXPPMImage_rotate(arg1,arg2);
|
2180
|
+
return Qnil; }
|
2181
|
+
static VALUE _wrap_FXPPMImage_crop(int argc, VALUE *argv, VALUE self) { FXPPMImage *arg1 = (FXPPMImage *) 0 ; FXint arg2 ;
|
2182
|
+
FXint arg3 ; FXint arg4 ; FXint arg5 ; FXColor arg6 = (FXColor) 0 ; if ((argc < 4) || (argc > 5))
|
2183
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
2184
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPPMImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
2185
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); if (argc > 4) { arg6 = to_FXColor(argv[4]); }
|
2186
|
+
FXPPMImage_crop(arg1,arg2,arg3,arg4,arg5,arg6); return Qnil; }
|
2187
|
+
static VALUE _wrap_FXPPMImage_fill(int argc, VALUE *argv, VALUE self) { FXPPMImage *arg1 = (FXPPMImage *) 0 ; FXColor arg2 ;
|
2188
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2189
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPPMImage, 1); arg2 = to_FXColor(argv[0]); FXPPMImage_fill(arg1,arg2);
|
2190
|
+
return Qnil; }
|
2191
|
+
static VALUE _wrap_FXPPMImage_fade(int argc, VALUE *argv, VALUE self) { FXPPMImage *arg1 = (FXPPMImage *) 0 ; FXColor arg2 ;
|
2192
|
+
FXint arg3 = (FXint) 255 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2193
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPPMImage, 1); arg2 = to_FXColor(argv[0]); if (argc > 1) {
|
2194
|
+
arg3 = NUM2INT(argv[1]); } FXPPMImage_fade(arg1,arg2,arg3); return Qnil; }
|
2195
|
+
static VALUE _wrap_FXPPMImage_xshear(int argc, VALUE *argv, VALUE self) { FXPPMImage *arg1 = (FXPPMImage *) 0 ; FXint arg2 ;
|
2196
|
+
FXColor arg3 = (FXColor) 0 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2197
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPPMImage, 1); arg2 = NUM2INT(argv[0]); if (argc > 1) {
|
2198
|
+
arg3 = to_FXColor(argv[1]); } FXPPMImage_xshear(arg1,arg2,arg3); return Qnil; }
|
2199
|
+
static VALUE _wrap_FXPPMImage_yshear(int argc, VALUE *argv, VALUE self) { FXPPMImage *arg1 = (FXPPMImage *) 0 ; FXint arg2 ;
|
2200
|
+
FXColor arg3 = (FXColor) 0 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2201
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPPMImage, 1); arg2 = NUM2INT(argv[0]); if (argc > 1) {
|
2202
|
+
arg3 = to_FXColor(argv[1]); } FXPPMImage_yshear(arg1,arg2,arg3); return Qnil; }
|
2203
|
+
static VALUE _wrap_FXPPMImage_hgradient(int argc, VALUE *argv, VALUE self) { FXPPMImage *arg1 = (FXPPMImage *) 0 ;
|
2204
|
+
FXColor arg2 ; FXColor arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2205
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPPMImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
2206
|
+
FXPPMImage_hgradient(arg1,arg2,arg3); return Qnil; }
|
2207
|
+
static VALUE _wrap_FXPPMImage_vgradient(int argc, VALUE *argv, VALUE self) { FXPPMImage *arg1 = (FXPPMImage *) 0 ;
|
2208
|
+
FXColor arg2 ; FXColor arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2209
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPPMImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
2210
|
+
FXPPMImage_vgradient(arg1,arg2,arg3); return Qnil; }
|
2211
|
+
static VALUE _wrap_FXPPMImage_gradient(int argc, VALUE *argv, VALUE self) { FXPPMImage *arg1 = (FXPPMImage *) 0 ; FXColor arg2 ;
|
2212
|
+
FXColor arg3 ; FXColor arg4 ; FXColor arg5 ; if ((argc < 4) || (argc > 4))
|
2213
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
2214
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPPMImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
2215
|
+
arg4 = to_FXColor(argv[2]); arg5 = to_FXColor(argv[3]); FXPPMImage_gradient(arg1,arg2,arg3,arg4,arg5); return Qnil; }
|
2216
|
+
static VALUE _wrap_FXPPMImage_blend(int argc, VALUE *argv, VALUE self) { FXPPMImage *arg1 = (FXPPMImage *) 0 ; FXColor arg2 ;
|
2217
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2218
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPPMImage, 1); arg2 = to_FXColor(argv[0]); FXPPMImage_blend(arg1,arg2);
|
2219
|
+
return Qnil; }
|
2220
|
+
static VALUE _wrap_FXPPMImage_savePixels(int argc, VALUE *argv, VALUE self) { FXPPMImage *arg1 = (FXPPMImage *) 0 ;
|
2221
|
+
FXStream *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
2222
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2223
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPPMImage, 1);
|
2224
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2225
|
+
result = (bool)FXPPMImage_savePixels((FXPPMImage const *)arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
|
2226
|
+
static VALUE _wrap_FXPPMImage_loadPixels(int argc, VALUE *argv, VALUE self) { FXPPMImage *arg1 = (FXPPMImage *) 0 ;
|
2227
|
+
FXStream *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
2228
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2229
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPPMImage, 1);
|
2230
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2231
|
+
result = (bool)FXPPMImage_loadPixels(arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
|
2232
|
+
static VALUE _wrap_FXRGBImage_fileExt(int argc, VALUE *argv, VALUE self) { VALUE result; VALUE vresult = Qnil;
|
2233
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2234
|
+
result = (VALUE)FXRGBImage_fileExt(); vresult = result; return vresult; }
|
2235
|
+
static VALUE _wrap_FXRGBImage_mimeType(int argc, VALUE *argv, VALUE self) { VALUE result; VALUE vresult = Qnil;
|
2236
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2237
|
+
result = (VALUE)FXRGBImage_mimeType(); vresult = result; return vresult; }
|
2238
|
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
2239
|
+
static VALUE _wrap_FXRGBImage_allocate(VALUE self) {
|
2240
|
+
#else
|
2241
|
+
static VALUE _wrap_FXRGBImage_allocate(int argc, VALUE *argv, VALUE self) {
|
2242
|
+
#endif
|
2243
|
+
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXRGBImage);
|
2244
|
+
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
2245
|
+
rb_obj_call_init(vresult, argc, argv);
|
2246
|
+
#endif
|
2247
|
+
return vresult; }
|
2248
|
+
static VALUE _wrap_new_FXRGBImage(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; void *arg2 = (void *) 0 ;
|
2249
|
+
FXuint arg3 = (FXuint) 0 ; FXint arg4 = (FXint) 1 ; FXint arg5 = (FXint) 1 ; FXRGBImage *result;
|
2250
|
+
if ((argc < 1) || (argc > 5)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2251
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXApp, 1); if (argc > 1) { { if (argv[1] != Qnil) {
|
2252
|
+
Check_Type(argv[1], T_STRING); arg2 = reinterpret_cast<void *>(RSTRING_PTR(argv[1])); } else { arg2 = NULL; } }
|
2253
|
+
} if (argc > 2) { arg3 = NUM2UINT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(argv[3]); } if (argc > 4) {
|
2254
|
+
arg5 = NUM2INT(argv[4]); } { result = (FXRGBImage *)new_FXRGBImage(arg1,(void const *)arg2,arg3,arg4,arg5);
|
2255
|
+
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
2256
|
+
static void
|
2257
|
+
free_FXRGBImage(FXRGBImage *arg1) {
|
2258
|
+
delete arg1;
|
2259
|
+
}
|
2260
|
+
static VALUE _wrap_FXRGBImage_save(int argc, VALUE *argv, VALUE self) { FXRGBImage *arg1 = (FXRGBImage *) 0 ;
|
2261
|
+
FXStream *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2262
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRGBImage, 1);
|
2263
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2264
|
+
FXRGBImage_save((FXRGBImage const *)arg1,*arg2); return Qnil; }
|
2265
|
+
static VALUE _wrap_FXRGBImage_load(int argc, VALUE *argv, VALUE self) { FXRGBImage *arg1 = (FXRGBImage *) 0 ;
|
2266
|
+
FXStream *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2267
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRGBImage, 1);
|
2268
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2269
|
+
FXRGBImage_load(arg1,*arg2); return Qnil; }
|
2270
|
+
static VALUE _wrap_FXRGBImage_create(int argc, VALUE *argv, VALUE self) { FXRGBImage *arg1 = (FXRGBImage *) 0 ;
|
2271
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2272
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRGBImage, 1); FXRGBImage_create(arg1); return Qnil; }
|
2273
|
+
static VALUE _wrap_FXRGBImage_detach(int argc, VALUE *argv, VALUE self) { FXRGBImage *arg1 = (FXRGBImage *) 0 ;
|
2274
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2275
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRGBImage, 1); FXRGBImage_detach(arg1); return Qnil; }
|
2276
|
+
static VALUE _wrap_FXRGBImage_destroy(int argc, VALUE *argv, VALUE self) { FXRGBImage *arg1 = (FXRGBImage *) 0 ;
|
2277
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2278
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRGBImage, 1); FXRGBImage_destroy(arg1); return Qnil; }
|
2279
|
+
static VALUE _wrap_FXRGBImage_resize(int argc, VALUE *argv, VALUE self) { FXRGBImage *arg1 = (FXRGBImage *) 0 ; FXint arg2 ;
|
2280
|
+
FXint arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2281
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRGBImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
2282
|
+
FXRGBImage_resize(arg1,arg2,arg3); return Qnil; }
|
2283
|
+
static VALUE _wrap_FXRGBImage_restore(int argc, VALUE *argv, VALUE self) { FXRGBImage *arg1 = (FXRGBImage *) 0 ;
|
2284
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2285
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRGBImage, 1); FXRGBImage_restore(arg1); return Qnil; }
|
2286
|
+
static VALUE _wrap_FXRGBImage_render(int argc, VALUE *argv, VALUE self) { FXRGBImage *arg1 = (FXRGBImage *) 0 ;
|
2287
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2288
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRGBImage, 1); FXRGBImage_render(arg1); return Qnil; }
|
2289
|
+
static VALUE _wrap_FXRGBImage_release(int argc, VALUE *argv, VALUE self) { FXRGBImage *arg1 = (FXRGBImage *) 0 ;
|
2290
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2291
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRGBImage, 1); FXRGBImage_release(arg1); return Qnil; }
|
2292
|
+
static VALUE _wrap_FXRGBImage_scale(int argc, VALUE *argv, VALUE self) { FXRGBImage *arg1 = (FXRGBImage *) 0 ; FXint arg2 ;
|
2293
|
+
FXint arg3 ; FXint arg4 = (FXint) 0 ; if ((argc < 2) || (argc > 3))
|
2294
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2295
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRGBImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
2296
|
+
if (argc > 2) { arg4 = NUM2INT(argv[2]); } FXRGBImage_scale(arg1,arg2,arg3,arg4); return Qnil; }
|
2297
|
+
static VALUE _wrap_FXRGBImage_mirror(int argc, VALUE *argv, VALUE self) { FXRGBImage *arg1 = (FXRGBImage *) 0 ; bool arg2 ;
|
2298
|
+
bool arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2299
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRGBImage, 1); arg2 = RTEST(argv[0]); arg3 = RTEST(argv[1]);
|
2300
|
+
FXRGBImage_mirror(arg1,arg2,arg3); return Qnil; }
|
2301
|
+
static VALUE _wrap_FXRGBImage_rotate(int argc, VALUE *argv, VALUE self) { FXRGBImage *arg1 = (FXRGBImage *) 0 ; FXint arg2 ;
|
2302
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2303
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRGBImage, 1); arg2 = NUM2INT(argv[0]); FXRGBImage_rotate(arg1,arg2);
|
2304
|
+
return Qnil; }
|
2305
|
+
static VALUE _wrap_FXRGBImage_crop(int argc, VALUE *argv, VALUE self) { FXRGBImage *arg1 = (FXRGBImage *) 0 ; FXint arg2 ;
|
2306
|
+
FXint arg3 ; FXint arg4 ; FXint arg5 ; FXColor arg6 = (FXColor) 0 ; if ((argc < 4) || (argc > 5))
|
2307
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
2308
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRGBImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
2309
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); if (argc > 4) { arg6 = to_FXColor(argv[4]); }
|
2310
|
+
FXRGBImage_crop(arg1,arg2,arg3,arg4,arg5,arg6); return Qnil; }
|
2311
|
+
static VALUE _wrap_FXRGBImage_fill(int argc, VALUE *argv, VALUE self) { FXRGBImage *arg1 = (FXRGBImage *) 0 ; FXColor arg2 ;
|
2312
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2313
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRGBImage, 1); arg2 = to_FXColor(argv[0]); FXRGBImage_fill(arg1,arg2);
|
2314
|
+
return Qnil; }
|
2315
|
+
static VALUE _wrap_FXRGBImage_fade(int argc, VALUE *argv, VALUE self) { FXRGBImage *arg1 = (FXRGBImage *) 0 ; FXColor arg2 ;
|
2316
|
+
FXint arg3 = (FXint) 255 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2317
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRGBImage, 1); arg2 = to_FXColor(argv[0]); if (argc > 1) {
|
2318
|
+
arg3 = NUM2INT(argv[1]); } FXRGBImage_fade(arg1,arg2,arg3); return Qnil; }
|
2319
|
+
static VALUE _wrap_FXRGBImage_xshear(int argc, VALUE *argv, VALUE self) { FXRGBImage *arg1 = (FXRGBImage *) 0 ; FXint arg2 ;
|
2320
|
+
FXColor arg3 = (FXColor) 0 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2321
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRGBImage, 1); arg2 = NUM2INT(argv[0]); if (argc > 1) {
|
2322
|
+
arg3 = to_FXColor(argv[1]); } FXRGBImage_xshear(arg1,arg2,arg3); return Qnil; }
|
2323
|
+
static VALUE _wrap_FXRGBImage_yshear(int argc, VALUE *argv, VALUE self) { FXRGBImage *arg1 = (FXRGBImage *) 0 ; FXint arg2 ;
|
2324
|
+
FXColor arg3 = (FXColor) 0 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2325
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRGBImage, 1); arg2 = NUM2INT(argv[0]); if (argc > 1) {
|
2326
|
+
arg3 = to_FXColor(argv[1]); } FXRGBImage_yshear(arg1,arg2,arg3); return Qnil; }
|
2327
|
+
static VALUE _wrap_FXRGBImage_hgradient(int argc, VALUE *argv, VALUE self) { FXRGBImage *arg1 = (FXRGBImage *) 0 ;
|
2328
|
+
FXColor arg2 ; FXColor arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2329
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRGBImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
2330
|
+
FXRGBImage_hgradient(arg1,arg2,arg3); return Qnil; }
|
2331
|
+
static VALUE _wrap_FXRGBImage_vgradient(int argc, VALUE *argv, VALUE self) { FXRGBImage *arg1 = (FXRGBImage *) 0 ;
|
2332
|
+
FXColor arg2 ; FXColor arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2333
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRGBImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
2334
|
+
FXRGBImage_vgradient(arg1,arg2,arg3); return Qnil; }
|
2335
|
+
static VALUE _wrap_FXRGBImage_gradient(int argc, VALUE *argv, VALUE self) { FXRGBImage *arg1 = (FXRGBImage *) 0 ; FXColor arg2 ;
|
2336
|
+
FXColor arg3 ; FXColor arg4 ; FXColor arg5 ; if ((argc < 4) || (argc > 4))
|
2337
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
2338
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRGBImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
2339
|
+
arg4 = to_FXColor(argv[2]); arg5 = to_FXColor(argv[3]); FXRGBImage_gradient(arg1,arg2,arg3,arg4,arg5); return Qnil; }
|
2340
|
+
static VALUE _wrap_FXRGBImage_blend(int argc, VALUE *argv, VALUE self) { FXRGBImage *arg1 = (FXRGBImage *) 0 ; FXColor arg2 ;
|
2341
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2342
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRGBImage, 1); arg2 = to_FXColor(argv[0]); FXRGBImage_blend(arg1,arg2);
|
2343
|
+
return Qnil; }
|
2344
|
+
static VALUE _wrap_FXRGBImage_savePixels(int argc, VALUE *argv, VALUE self) { FXRGBImage *arg1 = (FXRGBImage *) 0 ;
|
2345
|
+
FXStream *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
2346
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2347
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRGBImage, 1);
|
2348
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2349
|
+
result = (bool)FXRGBImage_savePixels((FXRGBImage const *)arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
|
2350
|
+
static VALUE _wrap_FXRGBImage_loadPixels(int argc, VALUE *argv, VALUE self) { FXRGBImage *arg1 = (FXRGBImage *) 0 ;
|
2351
|
+
FXStream *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
2352
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2353
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRGBImage, 1);
|
2354
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2355
|
+
result = (bool)FXRGBImage_loadPixels(arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
|
2356
|
+
static VALUE _wrap_FXTGAImage_fileExt(int argc, VALUE *argv, VALUE self) { VALUE result; VALUE vresult = Qnil;
|
2357
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2358
|
+
result = (VALUE)FXTGAImage_fileExt(); vresult = result; return vresult; }
|
2359
|
+
static VALUE _wrap_FXTGAImage_mimeType(int argc, VALUE *argv, VALUE self) { VALUE result; VALUE vresult = Qnil;
|
2360
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2361
|
+
result = (VALUE)FXTGAImage_mimeType(); vresult = result; return vresult; }
|
2362
|
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
2363
|
+
static VALUE _wrap_FXTGAImage_allocate(VALUE self) {
|
2364
|
+
#else
|
2365
|
+
static VALUE _wrap_FXTGAImage_allocate(int argc, VALUE *argv, VALUE self) {
|
2366
|
+
#endif
|
2367
|
+
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXTGAImage);
|
2368
|
+
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
2369
|
+
rb_obj_call_init(vresult, argc, argv);
|
2370
|
+
#endif
|
2371
|
+
return vresult; }
|
2372
|
+
static VALUE _wrap_new_FXTGAImage(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; void *arg2 = (void *) 0 ;
|
2373
|
+
FXuint arg3 = (FXuint) 0 ; FXint arg4 = (FXint) 1 ; FXint arg5 = (FXint) 1 ; FXTGAImage *result;
|
2374
|
+
if ((argc < 1) || (argc > 5)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2375
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXApp, 1); if (argc > 1) { { if (argv[1] != Qnil) {
|
2376
|
+
Check_Type(argv[1], T_STRING); arg2 = reinterpret_cast<void *>(RSTRING_PTR(argv[1])); } else { arg2 = NULL; } }
|
2377
|
+
} if (argc > 2) { arg3 = NUM2UINT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(argv[3]); } if (argc > 4) {
|
2378
|
+
arg5 = NUM2INT(argv[4]); } { result = (FXTGAImage *)new_FXTGAImage(arg1,(void const *)arg2,arg3,arg4,arg5);
|
2379
|
+
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
2380
|
+
static void
|
2381
|
+
free_FXTGAImage(FXTGAImage *arg1) {
|
2382
|
+
delete arg1;
|
2383
|
+
}
|
2384
|
+
static VALUE _wrap_FXTGAImage_save(int argc, VALUE *argv, VALUE self) { FXTGAImage *arg1 = (FXTGAImage *) 0 ;
|
2385
|
+
FXStream *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2386
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTGAImage, 1);
|
2387
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2388
|
+
FXTGAImage_save((FXTGAImage const *)arg1,*arg2); return Qnil; }
|
2389
|
+
static VALUE _wrap_FXTGAImage_load(int argc, VALUE *argv, VALUE self) { FXTGAImage *arg1 = (FXTGAImage *) 0 ;
|
2390
|
+
FXStream *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2391
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTGAImage, 1);
|
2392
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2393
|
+
FXTGAImage_load(arg1,*arg2); return Qnil; }
|
2394
|
+
static VALUE _wrap_FXTGAImage_create(int argc, VALUE *argv, VALUE self) { FXTGAImage *arg1 = (FXTGAImage *) 0 ;
|
2395
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2396
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTGAImage, 1); FXTGAImage_create(arg1); return Qnil; }
|
2397
|
+
static VALUE _wrap_FXTGAImage_detach(int argc, VALUE *argv, VALUE self) { FXTGAImage *arg1 = (FXTGAImage *) 0 ;
|
2398
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2399
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTGAImage, 1); FXTGAImage_detach(arg1); return Qnil; }
|
2400
|
+
static VALUE _wrap_FXTGAImage_destroy(int argc, VALUE *argv, VALUE self) { FXTGAImage *arg1 = (FXTGAImage *) 0 ;
|
2401
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2402
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTGAImage, 1); FXTGAImage_destroy(arg1); return Qnil; }
|
2403
|
+
static VALUE _wrap_FXTGAImage_resize(int argc, VALUE *argv, VALUE self) { FXTGAImage *arg1 = (FXTGAImage *) 0 ; FXint arg2 ;
|
2404
|
+
FXint arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2405
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTGAImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
2406
|
+
FXTGAImage_resize(arg1,arg2,arg3); return Qnil; }
|
2407
|
+
static VALUE _wrap_FXTGAImage_restore(int argc, VALUE *argv, VALUE self) { FXTGAImage *arg1 = (FXTGAImage *) 0 ;
|
2408
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2409
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTGAImage, 1); FXTGAImage_restore(arg1); return Qnil; }
|
2410
|
+
static VALUE _wrap_FXTGAImage_render(int argc, VALUE *argv, VALUE self) { FXTGAImage *arg1 = (FXTGAImage *) 0 ;
|
2411
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2412
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTGAImage, 1); FXTGAImage_render(arg1); return Qnil; }
|
2413
|
+
static VALUE _wrap_FXTGAImage_release(int argc, VALUE *argv, VALUE self) { FXTGAImage *arg1 = (FXTGAImage *) 0 ;
|
2414
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2415
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTGAImage, 1); FXTGAImage_release(arg1); return Qnil; }
|
2416
|
+
static VALUE _wrap_FXTGAImage_scale(int argc, VALUE *argv, VALUE self) { FXTGAImage *arg1 = (FXTGAImage *) 0 ; FXint arg2 ;
|
2417
|
+
FXint arg3 ; FXint arg4 = (FXint) 0 ; if ((argc < 2) || (argc > 3))
|
2418
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2419
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTGAImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
2420
|
+
if (argc > 2) { arg4 = NUM2INT(argv[2]); } FXTGAImage_scale(arg1,arg2,arg3,arg4); return Qnil; }
|
2421
|
+
static VALUE _wrap_FXTGAImage_mirror(int argc, VALUE *argv, VALUE self) { FXTGAImage *arg1 = (FXTGAImage *) 0 ; bool arg2 ;
|
2422
|
+
bool arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2423
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTGAImage, 1); arg2 = RTEST(argv[0]); arg3 = RTEST(argv[1]);
|
2424
|
+
FXTGAImage_mirror(arg1,arg2,arg3); return Qnil; }
|
2425
|
+
static VALUE _wrap_FXTGAImage_rotate(int argc, VALUE *argv, VALUE self) { FXTGAImage *arg1 = (FXTGAImage *) 0 ; FXint arg2 ;
|
2426
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2427
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTGAImage, 1); arg2 = NUM2INT(argv[0]); FXTGAImage_rotate(arg1,arg2);
|
2428
|
+
return Qnil; }
|
2429
|
+
static VALUE _wrap_FXTGAImage_crop(int argc, VALUE *argv, VALUE self) { FXTGAImage *arg1 = (FXTGAImage *) 0 ; FXint arg2 ;
|
2430
|
+
FXint arg3 ; FXint arg4 ; FXint arg5 ; FXColor arg6 = (FXColor) 0 ; if ((argc < 4) || (argc > 5))
|
2431
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
2432
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTGAImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
2433
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); if (argc > 4) { arg6 = to_FXColor(argv[4]); }
|
2434
|
+
FXTGAImage_crop(arg1,arg2,arg3,arg4,arg5,arg6); return Qnil; }
|
2435
|
+
static VALUE _wrap_FXTGAImage_fill(int argc, VALUE *argv, VALUE self) { FXTGAImage *arg1 = (FXTGAImage *) 0 ; FXColor arg2 ;
|
2436
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2437
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTGAImage, 1); arg2 = to_FXColor(argv[0]); FXTGAImage_fill(arg1,arg2);
|
2438
|
+
return Qnil; }
|
2439
|
+
static VALUE _wrap_FXTGAImage_fade(int argc, VALUE *argv, VALUE self) { FXTGAImage *arg1 = (FXTGAImage *) 0 ; FXColor arg2 ;
|
2440
|
+
FXint arg3 = (FXint) 255 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2441
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTGAImage, 1); arg2 = to_FXColor(argv[0]); if (argc > 1) {
|
2442
|
+
arg3 = NUM2INT(argv[1]); } FXTGAImage_fade(arg1,arg2,arg3); return Qnil; }
|
2443
|
+
static VALUE _wrap_FXTGAImage_xshear(int argc, VALUE *argv, VALUE self) { FXTGAImage *arg1 = (FXTGAImage *) 0 ; FXint arg2 ;
|
2444
|
+
FXColor arg3 = (FXColor) 0 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2445
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTGAImage, 1); arg2 = NUM2INT(argv[0]); if (argc > 1) {
|
2446
|
+
arg3 = to_FXColor(argv[1]); } FXTGAImage_xshear(arg1,arg2,arg3); return Qnil; }
|
2447
|
+
static VALUE _wrap_FXTGAImage_yshear(int argc, VALUE *argv, VALUE self) { FXTGAImage *arg1 = (FXTGAImage *) 0 ; FXint arg2 ;
|
2448
|
+
FXColor arg3 = (FXColor) 0 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2449
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTGAImage, 1); arg2 = NUM2INT(argv[0]); if (argc > 1) {
|
2450
|
+
arg3 = to_FXColor(argv[1]); } FXTGAImage_yshear(arg1,arg2,arg3); return Qnil; }
|
2451
|
+
static VALUE _wrap_FXTGAImage_hgradient(int argc, VALUE *argv, VALUE self) { FXTGAImage *arg1 = (FXTGAImage *) 0 ;
|
2452
|
+
FXColor arg2 ; FXColor arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2453
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTGAImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
2454
|
+
FXTGAImage_hgradient(arg1,arg2,arg3); return Qnil; }
|
2455
|
+
static VALUE _wrap_FXTGAImage_vgradient(int argc, VALUE *argv, VALUE self) { FXTGAImage *arg1 = (FXTGAImage *) 0 ;
|
2456
|
+
FXColor arg2 ; FXColor arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2457
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTGAImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
2458
|
+
FXTGAImage_vgradient(arg1,arg2,arg3); return Qnil; }
|
2459
|
+
static VALUE _wrap_FXTGAImage_gradient(int argc, VALUE *argv, VALUE self) { FXTGAImage *arg1 = (FXTGAImage *) 0 ; FXColor arg2 ;
|
2460
|
+
FXColor arg3 ; FXColor arg4 ; FXColor arg5 ; if ((argc < 4) || (argc > 4))
|
2461
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
2462
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTGAImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
2463
|
+
arg4 = to_FXColor(argv[2]); arg5 = to_FXColor(argv[3]); FXTGAImage_gradient(arg1,arg2,arg3,arg4,arg5); return Qnil; }
|
2464
|
+
static VALUE _wrap_FXTGAImage_blend(int argc, VALUE *argv, VALUE self) { FXTGAImage *arg1 = (FXTGAImage *) 0 ; FXColor arg2 ;
|
2465
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2466
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTGAImage, 1); arg2 = to_FXColor(argv[0]); FXTGAImage_blend(arg1,arg2);
|
2467
|
+
return Qnil; }
|
2468
|
+
static VALUE _wrap_FXTGAImage_savePixels(int argc, VALUE *argv, VALUE self) { FXTGAImage *arg1 = (FXTGAImage *) 0 ;
|
2469
|
+
FXStream *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
2470
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2471
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTGAImage, 1);
|
2472
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2473
|
+
result = (bool)FXTGAImage_savePixels((FXTGAImage const *)arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
|
2474
|
+
static VALUE _wrap_FXTGAImage_loadPixels(int argc, VALUE *argv, VALUE self) { FXTGAImage *arg1 = (FXTGAImage *) 0 ;
|
2475
|
+
FXStream *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
2476
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2477
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTGAImage, 1);
|
2478
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2479
|
+
result = (bool)FXTGAImage_loadPixels(arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
|
2480
|
+
static VALUE _wrap_FXTIFImage_fileExt(int argc, VALUE *argv, VALUE self) { VALUE result; VALUE vresult = Qnil;
|
2481
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2482
|
+
result = (VALUE)FXTIFImage_fileExt(); vresult = result; return vresult; }
|
2483
|
+
static VALUE _wrap_FXTIFImage_mimeType(int argc, VALUE *argv, VALUE self) { VALUE result; VALUE vresult = Qnil;
|
2484
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2485
|
+
result = (VALUE)FXTIFImage_mimeType(); vresult = result; return vresult; }
|
2486
|
+
static VALUE _wrap_FXTIFImage_supportedq___(int argc, VALUE *argv, VALUE self) { bool result; VALUE vresult = Qnil;
|
2487
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2488
|
+
result = (bool)FXTIFImage_isSupported(); vresult = result ? Qtrue : Qfalse; return vresult; }
|
2489
|
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
2490
|
+
static VALUE _wrap_FXTIFImage_allocate(VALUE self) {
|
2491
|
+
#else
|
2492
|
+
static VALUE _wrap_FXTIFImage_allocate(int argc, VALUE *argv, VALUE self) {
|
2493
|
+
#endif
|
2494
|
+
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXTIFImage);
|
2495
|
+
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
2496
|
+
rb_obj_call_init(vresult, argc, argv);
|
2497
|
+
#endif
|
2498
|
+
return vresult; }
|
2499
|
+
static VALUE _wrap_new_FXTIFImage(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; void *arg2 = (void *) 0 ;
|
2500
|
+
FXuint arg3 = (FXuint) 0 ; FXint arg4 = (FXint) 1 ; FXint arg5 = (FXint) 1 ; FXTIFImage *result;
|
2501
|
+
if ((argc < 1) || (argc > 5)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2502
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXApp, 1); if (argc > 1) { { if (argv[1] != Qnil) {
|
2503
|
+
Check_Type(argv[1], T_STRING); arg2 = reinterpret_cast<void *>(RSTRING_PTR(argv[1])); } else { arg2 = NULL; } }
|
2504
|
+
} if (argc > 2) { arg3 = NUM2UINT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(argv[3]); } if (argc > 4) {
|
2505
|
+
arg5 = NUM2INT(argv[4]); } { result = (FXTIFImage *)new_FXTIFImage(arg1,(void const *)arg2,arg3,arg4,arg5);
|
2506
|
+
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
2507
|
+
static VALUE _wrap_FXTIFImage_setCodec(int argc, VALUE *argv, VALUE self) { FXTIFImage *arg1 = (FXTIFImage *) 0 ; FXuint arg2 ;
|
2508
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2509
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTIFImage, 1); arg2 = NUM2UINT(argv[0]); (arg1)->setCodec(arg2);
|
2510
|
+
return Qnil; }
|
2511
|
+
static VALUE _wrap_FXTIFImage_getCodec(int argc, VALUE *argv, VALUE self) { FXTIFImage *arg1 = (FXTIFImage *) 0 ; FXuint result;
|
2512
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2513
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTIFImage, 1); result = (FXuint)((FXTIFImage const *)arg1)->getCodec();
|
2514
|
+
vresult = UINT2NUM(result); return vresult; }
|
2515
|
+
static void
|
2516
|
+
free_FXTIFImage(FXTIFImage *arg1) {
|
2517
|
+
delete arg1;
|
2518
|
+
}
|
2519
|
+
static VALUE _wrap_FXTIFImage_save(int argc, VALUE *argv, VALUE self) { FXTIFImage *arg1 = (FXTIFImage *) 0 ;
|
2520
|
+
FXStream *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2521
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTIFImage, 1);
|
2522
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2523
|
+
FXTIFImage_save((FXTIFImage const *)arg1,*arg2); return Qnil; }
|
2524
|
+
static VALUE _wrap_FXTIFImage_load(int argc, VALUE *argv, VALUE self) { FXTIFImage *arg1 = (FXTIFImage *) 0 ;
|
2525
|
+
FXStream *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2526
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTIFImage, 1);
|
2527
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2528
|
+
FXTIFImage_load(arg1,*arg2); return Qnil; }
|
2529
|
+
static VALUE _wrap_FXTIFImage_create(int argc, VALUE *argv, VALUE self) { FXTIFImage *arg1 = (FXTIFImage *) 0 ;
|
2530
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2531
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTIFImage, 1); FXTIFImage_create(arg1); return Qnil; }
|
2532
|
+
static VALUE _wrap_FXTIFImage_detach(int argc, VALUE *argv, VALUE self) { FXTIFImage *arg1 = (FXTIFImage *) 0 ;
|
2533
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2534
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTIFImage, 1); FXTIFImage_detach(arg1); return Qnil; }
|
2535
|
+
static VALUE _wrap_FXTIFImage_destroy(int argc, VALUE *argv, VALUE self) { FXTIFImage *arg1 = (FXTIFImage *) 0 ;
|
2536
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2537
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTIFImage, 1); FXTIFImage_destroy(arg1); return Qnil; }
|
2538
|
+
static VALUE _wrap_FXTIFImage_resize(int argc, VALUE *argv, VALUE self) { FXTIFImage *arg1 = (FXTIFImage *) 0 ; FXint arg2 ;
|
2539
|
+
FXint arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2540
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTIFImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
2541
|
+
FXTIFImage_resize(arg1,arg2,arg3); return Qnil; }
|
2542
|
+
static VALUE _wrap_FXTIFImage_restore(int argc, VALUE *argv, VALUE self) { FXTIFImage *arg1 = (FXTIFImage *) 0 ;
|
2543
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2544
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTIFImage, 1); FXTIFImage_restore(arg1); return Qnil; }
|
2545
|
+
static VALUE _wrap_FXTIFImage_render(int argc, VALUE *argv, VALUE self) { FXTIFImage *arg1 = (FXTIFImage *) 0 ;
|
2546
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2547
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTIFImage, 1); FXTIFImage_render(arg1); return Qnil; }
|
2548
|
+
static VALUE _wrap_FXTIFImage_release(int argc, VALUE *argv, VALUE self) { FXTIFImage *arg1 = (FXTIFImage *) 0 ;
|
2549
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2550
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTIFImage, 1); FXTIFImage_release(arg1); return Qnil; }
|
2551
|
+
static VALUE _wrap_FXTIFImage_scale(int argc, VALUE *argv, VALUE self) { FXTIFImage *arg1 = (FXTIFImage *) 0 ; FXint arg2 ;
|
2552
|
+
FXint arg3 ; FXint arg4 = (FXint) 0 ; if ((argc < 2) || (argc > 3))
|
2553
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2554
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTIFImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
2555
|
+
if (argc > 2) { arg4 = NUM2INT(argv[2]); } FXTIFImage_scale(arg1,arg2,arg3,arg4); return Qnil; }
|
2556
|
+
static VALUE _wrap_FXTIFImage_mirror(int argc, VALUE *argv, VALUE self) { FXTIFImage *arg1 = (FXTIFImage *) 0 ; bool arg2 ;
|
2557
|
+
bool arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2558
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTIFImage, 1); arg2 = RTEST(argv[0]); arg3 = RTEST(argv[1]);
|
2559
|
+
FXTIFImage_mirror(arg1,arg2,arg3); return Qnil; }
|
2560
|
+
static VALUE _wrap_FXTIFImage_rotate(int argc, VALUE *argv, VALUE self) { FXTIFImage *arg1 = (FXTIFImage *) 0 ; FXint arg2 ;
|
2561
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2562
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTIFImage, 1); arg2 = NUM2INT(argv[0]); FXTIFImage_rotate(arg1,arg2);
|
2563
|
+
return Qnil; }
|
2564
|
+
static VALUE _wrap_FXTIFImage_crop(int argc, VALUE *argv, VALUE self) { FXTIFImage *arg1 = (FXTIFImage *) 0 ; FXint arg2 ;
|
2565
|
+
FXint arg3 ; FXint arg4 ; FXint arg5 ; FXColor arg6 = (FXColor) 0 ; if ((argc < 4) || (argc > 5))
|
2566
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
2567
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTIFImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
2568
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); if (argc > 4) { arg6 = to_FXColor(argv[4]); }
|
2569
|
+
FXTIFImage_crop(arg1,arg2,arg3,arg4,arg5,arg6); return Qnil; }
|
2570
|
+
static VALUE _wrap_FXTIFImage_fill(int argc, VALUE *argv, VALUE self) { FXTIFImage *arg1 = (FXTIFImage *) 0 ; FXColor arg2 ;
|
2571
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2572
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTIFImage, 1); arg2 = to_FXColor(argv[0]); FXTIFImage_fill(arg1,arg2);
|
2573
|
+
return Qnil; }
|
2574
|
+
static VALUE _wrap_FXTIFImage_fade(int argc, VALUE *argv, VALUE self) { FXTIFImage *arg1 = (FXTIFImage *) 0 ; FXColor arg2 ;
|
2575
|
+
FXint arg3 = (FXint) 255 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2576
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTIFImage, 1); arg2 = to_FXColor(argv[0]); if (argc > 1) {
|
2577
|
+
arg3 = NUM2INT(argv[1]); } FXTIFImage_fade(arg1,arg2,arg3); return Qnil; }
|
2578
|
+
static VALUE _wrap_FXTIFImage_xshear(int argc, VALUE *argv, VALUE self) { FXTIFImage *arg1 = (FXTIFImage *) 0 ; FXint arg2 ;
|
2579
|
+
FXColor arg3 = (FXColor) 0 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2580
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTIFImage, 1); arg2 = NUM2INT(argv[0]); if (argc > 1) {
|
2581
|
+
arg3 = to_FXColor(argv[1]); } FXTIFImage_xshear(arg1,arg2,arg3); return Qnil; }
|
2582
|
+
static VALUE _wrap_FXTIFImage_yshear(int argc, VALUE *argv, VALUE self) { FXTIFImage *arg1 = (FXTIFImage *) 0 ; FXint arg2 ;
|
2583
|
+
FXColor arg3 = (FXColor) 0 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2584
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTIFImage, 1); arg2 = NUM2INT(argv[0]); if (argc > 1) {
|
2585
|
+
arg3 = to_FXColor(argv[1]); } FXTIFImage_yshear(arg1,arg2,arg3); return Qnil; }
|
2586
|
+
static VALUE _wrap_FXTIFImage_hgradient(int argc, VALUE *argv, VALUE self) { FXTIFImage *arg1 = (FXTIFImage *) 0 ;
|
2587
|
+
FXColor arg2 ; FXColor arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2588
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTIFImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
2589
|
+
FXTIFImage_hgradient(arg1,arg2,arg3); return Qnil; }
|
2590
|
+
static VALUE _wrap_FXTIFImage_vgradient(int argc, VALUE *argv, VALUE self) { FXTIFImage *arg1 = (FXTIFImage *) 0 ;
|
2591
|
+
FXColor arg2 ; FXColor arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2592
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTIFImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
2593
|
+
FXTIFImage_vgradient(arg1,arg2,arg3); return Qnil; }
|
2594
|
+
static VALUE _wrap_FXTIFImage_gradient(int argc, VALUE *argv, VALUE self) { FXTIFImage *arg1 = (FXTIFImage *) 0 ; FXColor arg2 ;
|
2595
|
+
FXColor arg3 ; FXColor arg4 ; FXColor arg5 ; if ((argc < 4) || (argc > 4))
|
2596
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
2597
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTIFImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
2598
|
+
arg4 = to_FXColor(argv[2]); arg5 = to_FXColor(argv[3]); FXTIFImage_gradient(arg1,arg2,arg3,arg4,arg5); return Qnil; }
|
2599
|
+
static VALUE _wrap_FXTIFImage_blend(int argc, VALUE *argv, VALUE self) { FXTIFImage *arg1 = (FXTIFImage *) 0 ; FXColor arg2 ;
|
2600
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2601
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTIFImage, 1); arg2 = to_FXColor(argv[0]); FXTIFImage_blend(arg1,arg2);
|
2602
|
+
return Qnil; }
|
2603
|
+
static VALUE _wrap_FXTIFImage_savePixels(int argc, VALUE *argv, VALUE self) { FXTIFImage *arg1 = (FXTIFImage *) 0 ;
|
2604
|
+
FXStream *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
2605
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2606
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTIFImage, 1);
|
2607
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2608
|
+
result = (bool)FXTIFImage_savePixels((FXTIFImage const *)arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
|
2609
|
+
static VALUE _wrap_FXTIFImage_loadPixels(int argc, VALUE *argv, VALUE self) { FXTIFImage *arg1 = (FXTIFImage *) 0 ;
|
2610
|
+
FXStream *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
2611
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2612
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXTIFImage, 1);
|
2613
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2614
|
+
result = (bool)FXTIFImage_loadPixels(arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
|
2615
|
+
static VALUE _wrap_fxloadTIF(int argc, VALUE *argv, VALUE self) { FXStream *arg1 = 0 ; VALUE result; VALUE vresult = Qnil;
|
2616
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2617
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXStream, 1); if (arg1 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2618
|
+
result = (VALUE)fxloadTIF(*arg1); vresult = result; return vresult; }
|
2619
|
+
static VALUE _wrap_fxsaveTIF(int argc, VALUE *argv, VALUE self) { FXStream *arg1 = 0 ; FXColor *arg2 = (FXColor *) 0 ;
|
2620
|
+
FXint arg3 ; FXint arg4 ; FXushort arg5 ; bool result; VALUE vresult = Qnil; if ((argc < 5) || (argc > 5))
|
2621
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc);
|
2622
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXStream, 1); if (arg1 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2623
|
+
{ arg2=NULL; if(argv[1]!=Qnil){ Check_Type(argv[1],T_ARRAY); if(FXMALLOC(&arg2,FXColor,RARRAY_LEN(argv[1]))){
|
2624
|
+
for(long i=0; i<RARRAY_LEN(argv[1]); i++){ arg2[i]=static_cast<FXColor>(NUM2UINT(rb_ary_entry(argv[1],i))); } }
|
2625
|
+
} } arg3 = NUM2INT(argv[2]); arg4 = NUM2INT(argv[3]); arg5 = NUM2USHRT(argv[4]);
|
2626
|
+
result = (bool)fxsaveTIF(*arg1,(FXColor const *)arg2,arg3,arg4,arg5); vresult = result ? Qtrue : Qfalse; FXFREE(&arg2);
|
2627
|
+
return vresult; }
|
2628
|
+
static VALUE _wrap_FXXBMImage_fileExt(int argc, VALUE *argv, VALUE self) { VALUE result; VALUE vresult = Qnil;
|
2629
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2630
|
+
result = (VALUE)FXXBMImage_fileExt(); vresult = result; return vresult; }
|
2631
|
+
static VALUE _wrap_FXXBMImage_mimeType(int argc, VALUE *argv, VALUE self) { VALUE result; VALUE vresult = Qnil;
|
2632
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2633
|
+
result = (VALUE)FXXBMImage_mimeType(); vresult = result; return vresult; }
|
2634
|
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
2635
|
+
static VALUE _wrap_FXXBMImage_allocate(VALUE self) {
|
2636
|
+
#else
|
2637
|
+
static VALUE _wrap_FXXBMImage_allocate(int argc, VALUE *argv, VALUE self) {
|
2638
|
+
#endif
|
2639
|
+
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXXBMImage);
|
2640
|
+
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
2641
|
+
rb_obj_call_init(vresult, argc, argv);
|
2642
|
+
#endif
|
2643
|
+
return vresult; }
|
2644
|
+
static VALUE _wrap_new_FXXBMImage(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ;
|
2645
|
+
FXuchar *arg2 = (FXuchar *) 0 ; FXuchar *arg3 = (FXuchar *) 0 ; FXuint arg4 = (FXuint) 0 ; FXint arg5 = (FXint) 1 ;
|
2646
|
+
FXint arg6 = (FXint) 1 ; FXXBMImage *result; if ((argc < 1) || (argc > 6))
|
2647
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2648
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXApp, 1); if (argc > 1) {
|
2649
|
+
SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_FXuchar, 1); } if (argc > 2) {
|
2650
|
+
SWIG_ConvertPtr(argv[2], (void **) &arg3, SWIGTYPE_p_FXuchar, 1); } if (argc > 3) { arg4 = NUM2UINT(argv[3]); }
|
2651
|
+
if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } {
|
2652
|
+
result = (FXXBMImage *)new_FXXBMImage(arg1,(FXuchar const *)arg2,(FXuchar const *)arg3,arg4,arg5,arg6);
|
2653
|
+
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
2654
|
+
static void
|
2655
|
+
free_FXXBMImage(FXXBMImage *arg1) {
|
2656
|
+
delete arg1;
|
2657
|
+
}
|
2658
|
+
static VALUE _wrap_FXXBMImage_save(int argc, VALUE *argv, VALUE self) { FXXBMImage *arg1 = (FXXBMImage *) 0 ;
|
2659
|
+
FXStream *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2660
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXBMImage, 1);
|
2661
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2662
|
+
FXXBMImage_save((FXXBMImage const *)arg1,*arg2); return Qnil; }
|
2663
|
+
static VALUE _wrap_FXXBMImage_load(int argc, VALUE *argv, VALUE self) { FXXBMImage *arg1 = (FXXBMImage *) 0 ;
|
2664
|
+
FXStream *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2665
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXBMImage, 1);
|
2666
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2667
|
+
FXXBMImage_load(arg1,*arg2); return Qnil; }
|
2668
|
+
static VALUE _wrap_FXXBMImage_create(int argc, VALUE *argv, VALUE self) { FXXBMImage *arg1 = (FXXBMImage *) 0 ;
|
2669
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2670
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXBMImage, 1); FXXBMImage_create(arg1); return Qnil; }
|
2671
|
+
static VALUE _wrap_FXXBMImage_detach(int argc, VALUE *argv, VALUE self) { FXXBMImage *arg1 = (FXXBMImage *) 0 ;
|
2672
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2673
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXBMImage, 1); FXXBMImage_detach(arg1); return Qnil; }
|
2674
|
+
static VALUE _wrap_FXXBMImage_destroy(int argc, VALUE *argv, VALUE self) { FXXBMImage *arg1 = (FXXBMImage *) 0 ;
|
2675
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2676
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXBMImage, 1); FXXBMImage_destroy(arg1); return Qnil; }
|
2677
|
+
static VALUE _wrap_FXXBMImage_resize(int argc, VALUE *argv, VALUE self) { FXXBMImage *arg1 = (FXXBMImage *) 0 ; FXint arg2 ;
|
2678
|
+
FXint arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2679
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXBMImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
2680
|
+
FXXBMImage_resize(arg1,arg2,arg3); return Qnil; }
|
2681
|
+
static VALUE _wrap_FXXBMImage_restore(int argc, VALUE *argv, VALUE self) { FXXBMImage *arg1 = (FXXBMImage *) 0 ;
|
2682
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2683
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXBMImage, 1); FXXBMImage_restore(arg1); return Qnil; }
|
2684
|
+
static VALUE _wrap_FXXBMImage_render(int argc, VALUE *argv, VALUE self) { FXXBMImage *arg1 = (FXXBMImage *) 0 ;
|
2685
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2686
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXBMImage, 1); FXXBMImage_render(arg1); return Qnil; }
|
2687
|
+
static VALUE _wrap_FXXBMImage_release(int argc, VALUE *argv, VALUE self) { FXXBMImage *arg1 = (FXXBMImage *) 0 ;
|
2688
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2689
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXBMImage, 1); FXXBMImage_release(arg1); return Qnil; }
|
2690
|
+
static VALUE _wrap_FXXBMImage_scale(int argc, VALUE *argv, VALUE self) { FXXBMImage *arg1 = (FXXBMImage *) 0 ; FXint arg2 ;
|
2691
|
+
FXint arg3 ; FXint arg4 = (FXint) 0 ; if ((argc < 2) || (argc > 3))
|
2692
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2693
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXBMImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
2694
|
+
if (argc > 2) { arg4 = NUM2INT(argv[2]); } FXXBMImage_scale(arg1,arg2,arg3,arg4); return Qnil; }
|
2695
|
+
static VALUE _wrap_FXXBMImage_mirror(int argc, VALUE *argv, VALUE self) { FXXBMImage *arg1 = (FXXBMImage *) 0 ; bool arg2 ;
|
2696
|
+
bool arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2697
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXBMImage, 1); arg2 = RTEST(argv[0]); arg3 = RTEST(argv[1]);
|
2698
|
+
FXXBMImage_mirror(arg1,arg2,arg3); return Qnil; }
|
2699
|
+
static VALUE _wrap_FXXBMImage_rotate(int argc, VALUE *argv, VALUE self) { FXXBMImage *arg1 = (FXXBMImage *) 0 ; FXint arg2 ;
|
2700
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2701
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXBMImage, 1); arg2 = NUM2INT(argv[0]); FXXBMImage_rotate(arg1,arg2);
|
2702
|
+
return Qnil; }
|
2703
|
+
static VALUE _wrap_FXXBMImage_crop(int argc, VALUE *argv, VALUE self) { FXXBMImage *arg1 = (FXXBMImage *) 0 ; FXint arg2 ;
|
2704
|
+
FXint arg3 ; FXint arg4 ; FXint arg5 ; FXColor arg6 = (FXColor) 0 ; if ((argc < 4) || (argc > 5))
|
2705
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
2706
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXBMImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
2707
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); if (argc > 4) { arg6 = to_FXColor(argv[4]); }
|
2708
|
+
FXXBMImage_crop(arg1,arg2,arg3,arg4,arg5,arg6); return Qnil; }
|
2709
|
+
static VALUE _wrap_FXXBMImage_fill(int argc, VALUE *argv, VALUE self) { FXXBMImage *arg1 = (FXXBMImage *) 0 ; FXColor arg2 ;
|
2710
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2711
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXBMImage, 1); arg2 = to_FXColor(argv[0]); FXXBMImage_fill(arg1,arg2);
|
2712
|
+
return Qnil; }
|
2713
|
+
static VALUE _wrap_FXXBMImage_fade(int argc, VALUE *argv, VALUE self) { FXXBMImage *arg1 = (FXXBMImage *) 0 ; FXColor arg2 ;
|
2714
|
+
FXint arg3 = (FXint) 255 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2715
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXBMImage, 1); arg2 = to_FXColor(argv[0]); if (argc > 1) {
|
2716
|
+
arg3 = NUM2INT(argv[1]); } FXXBMImage_fade(arg1,arg2,arg3); return Qnil; }
|
2717
|
+
static VALUE _wrap_FXXBMImage_xshear(int argc, VALUE *argv, VALUE self) { FXXBMImage *arg1 = (FXXBMImage *) 0 ; FXint arg2 ;
|
2718
|
+
FXColor arg3 = (FXColor) 0 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2719
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXBMImage, 1); arg2 = NUM2INT(argv[0]); if (argc > 1) {
|
2720
|
+
arg3 = to_FXColor(argv[1]); } FXXBMImage_xshear(arg1,arg2,arg3); return Qnil; }
|
2721
|
+
static VALUE _wrap_FXXBMImage_yshear(int argc, VALUE *argv, VALUE self) { FXXBMImage *arg1 = (FXXBMImage *) 0 ; FXint arg2 ;
|
2722
|
+
FXColor arg3 = (FXColor) 0 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2723
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXBMImage, 1); arg2 = NUM2INT(argv[0]); if (argc > 1) {
|
2724
|
+
arg3 = to_FXColor(argv[1]); } FXXBMImage_yshear(arg1,arg2,arg3); return Qnil; }
|
2725
|
+
static VALUE _wrap_FXXBMImage_hgradient(int argc, VALUE *argv, VALUE self) { FXXBMImage *arg1 = (FXXBMImage *) 0 ;
|
2726
|
+
FXColor arg2 ; FXColor arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2727
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXBMImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
2728
|
+
FXXBMImage_hgradient(arg1,arg2,arg3); return Qnil; }
|
2729
|
+
static VALUE _wrap_FXXBMImage_vgradient(int argc, VALUE *argv, VALUE self) { FXXBMImage *arg1 = (FXXBMImage *) 0 ;
|
2730
|
+
FXColor arg2 ; FXColor arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2731
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXBMImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
2732
|
+
FXXBMImage_vgradient(arg1,arg2,arg3); return Qnil; }
|
2733
|
+
static VALUE _wrap_FXXBMImage_gradient(int argc, VALUE *argv, VALUE self) { FXXBMImage *arg1 = (FXXBMImage *) 0 ; FXColor arg2 ;
|
2734
|
+
FXColor arg3 ; FXColor arg4 ; FXColor arg5 ; if ((argc < 4) || (argc > 4))
|
2735
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
2736
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXBMImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
2737
|
+
arg4 = to_FXColor(argv[2]); arg5 = to_FXColor(argv[3]); FXXBMImage_gradient(arg1,arg2,arg3,arg4,arg5); return Qnil; }
|
2738
|
+
static VALUE _wrap_FXXBMImage_blend(int argc, VALUE *argv, VALUE self) { FXXBMImage *arg1 = (FXXBMImage *) 0 ; FXColor arg2 ;
|
2739
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2740
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXBMImage, 1); arg2 = to_FXColor(argv[0]); FXXBMImage_blend(arg1,arg2);
|
2741
|
+
return Qnil; }
|
2742
|
+
static VALUE _wrap_FXXBMImage_savePixels(int argc, VALUE *argv, VALUE self) { FXXBMImage *arg1 = (FXXBMImage *) 0 ;
|
2743
|
+
FXStream *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
2744
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2745
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXBMImage, 1);
|
2746
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2747
|
+
result = (bool)FXXBMImage_savePixels((FXXBMImage const *)arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
|
2748
|
+
static VALUE _wrap_FXXBMImage_loadPixels(int argc, VALUE *argv, VALUE self) { FXXBMImage *arg1 = (FXXBMImage *) 0 ;
|
2749
|
+
FXStream *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
2750
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2751
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXBMImage, 1);
|
2752
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2753
|
+
result = (bool)FXXBMImage_loadPixels(arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
|
2754
|
+
static VALUE _wrap_fxloadXBM__SWIG_0(int argc, VALUE *argv, VALUE self) { FXuchar *arg1 = (FXuchar *) 0 ;
|
2755
|
+
FXuchar *arg2 = (FXuchar *) 0 ; FXint arg3 ; FXint arg4 ; VALUE result; VALUE vresult = Qnil; if ((argc < 4) || (argc > 4))
|
2756
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
2757
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXuchar, 1);
|
2758
|
+
SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_FXuchar, 1); arg3 = NUM2INT(argv[2]); arg4 = NUM2INT(argv[3]);
|
2759
|
+
result = (VALUE)fxloadXBM((FXuchar const *)arg1,(FXuchar const *)arg2,arg3,arg4); vresult = result; return vresult; }
|
2760
|
+
static VALUE _wrap_fxloadXBM__SWIG_1(int argc, VALUE *argv, VALUE self) { FXStream *arg1 = 0 ; VALUE result;
|
2761
|
+
VALUE vresult = Qnil; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2762
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXStream, 1); if (arg1 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2763
|
+
result = (VALUE)fxloadXBM(*arg1); vresult = result; return vresult; }
|
2764
|
+
static VALUE _wrap_fxloadXBM(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[4]; int ii; argc = nargs;
|
2765
|
+
for (ii = 0; (ii < argc) && (ii < 4); ii++) { argv[ii] = args[ii]; } if (argc == 1) { int _v; { void *ptr;
|
2766
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXStream, 0) != -1)) ? 1 : 0; }
|
2767
|
+
if (_v) { return _wrap_fxloadXBM__SWIG_1(nargs, args, self);} } if (argc == 4) { int _v; { void *ptr;
|
2768
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXuchar, 0) != -1)) ? 1 : 0; }
|
2769
|
+
if (_v) { { void *ptr;
|
2770
|
+
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXuchar, 0) != -1)) ? 1 : 0; }
|
2771
|
+
if (_v) { { _v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
2772
|
+
_v = ((TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
|
2773
|
+
return _wrap_fxloadXBM__SWIG_0(nargs, args, self);} } } } }
|
2774
|
+
rb_raise(rb_eArgError, "No matching function for overloaded 'fxloadXBM'"); return Qnil; }
|
2775
|
+
static VALUE _wrap_fxsaveXBM(int argc, VALUE *argv, VALUE self) { FXStream *arg1 = 0 ; FXColor *arg2 = (FXColor *) 0 ;
|
2776
|
+
FXint arg3 ; FXint arg4 ; FXint arg5 = (FXint) -1 ; FXint arg6 = (FXint) -1 ; bool result; VALUE vresult = Qnil;
|
2777
|
+
if ((argc < 4) || (argc > 6)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
2778
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXStream, 1); if (arg1 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2779
|
+
{ arg2=NULL; if(argv[1]!=Qnil){ Check_Type(argv[1],T_ARRAY); if(FXMALLOC(&arg2,FXColor,RARRAY_LEN(argv[1]))){
|
2780
|
+
for(long i=0; i<RARRAY_LEN(argv[1]); i++){ arg2[i]=static_cast<FXColor>(NUM2UINT(rb_ary_entry(argv[1],i))); } }
|
2781
|
+
} } arg3 = NUM2INT(argv[2]); arg4 = NUM2INT(argv[3]); if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) {
|
2782
|
+
arg6 = NUM2INT(argv[5]); } result = (bool)fxsaveXBM(*arg1,(FXColor const *)arg2,arg3,arg4,arg5,arg6);
|
2783
|
+
vresult = result ? Qtrue : Qfalse; FXFREE(&arg2); return vresult; }
|
2784
|
+
static VALUE _wrap_fxsavePS(int argc, VALUE *argv, VALUE self) { FXStream *arg1 = 0 ; FXColor *arg2 = (FXColor *) 0 ;
|
2785
|
+
FXint arg3 ; FXint arg4 ; FXint arg5 = (FXint) 612 ; FXint arg6 = (FXint) 792 ; FXint arg7 = (FXint) 35 ;
|
2786
|
+
FXbool arg8 = (FXbool) 1 ; bool result; VALUE vresult = Qnil; if ((argc < 4) || (argc > 8))
|
2787
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
2788
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXStream, 1); if (arg1 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2789
|
+
{ arg2=NULL; if(argv[1]!=Qnil){ Check_Type(argv[1],T_ARRAY); if(FXMALLOC(&arg2,FXColor,RARRAY_LEN(argv[1]))){
|
2790
|
+
for(long i=0; i<RARRAY_LEN(argv[1]); i++){ arg2[i]=static_cast<FXColor>(NUM2UINT(rb_ary_entry(argv[1],i))); } }
|
2791
|
+
} } arg3 = NUM2INT(argv[2]); arg4 = NUM2INT(argv[3]); if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) {
|
2792
|
+
arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = to_FXbool(argv[7]); }
|
2793
|
+
result = (bool)fxsavePS(*arg1,(FXColor const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8); vresult = result ? Qtrue : Qfalse;
|
2794
|
+
FXFREE(&arg2); return vresult; }
|
2795
|
+
static VALUE _wrap_fxcheckXBM(int argc, VALUE *argv, VALUE self) { FXStream *arg1 = 0 ; bool result; VALUE vresult = Qnil;
|
2796
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2797
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXStream, 1); if (arg1 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2798
|
+
result = (bool)fxcheckXBM(*arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
|
2799
|
+
static VALUE _wrap_FXXPMImage_fileExt(int argc, VALUE *argv, VALUE self) { VALUE result; VALUE vresult = Qnil;
|
2800
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2801
|
+
result = (VALUE)FXXPMImage_fileExt(); vresult = result; return vresult; }
|
2802
|
+
static VALUE _wrap_FXXPMImage_mimeType(int argc, VALUE *argv, VALUE self) { VALUE result; VALUE vresult = Qnil;
|
2803
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2804
|
+
result = (VALUE)FXXPMImage_mimeType(); vresult = result; return vresult; }
|
2805
|
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
2806
|
+
static VALUE _wrap_FXXPMImage_allocate(VALUE self) {
|
2807
|
+
#else
|
2808
|
+
static VALUE _wrap_FXXPMImage_allocate(int argc, VALUE *argv, VALUE self) {
|
2809
|
+
#endif
|
2810
|
+
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXXPMImage);
|
2811
|
+
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
2812
|
+
rb_obj_call_init(vresult, argc, argv);
|
2813
|
+
#endif
|
2814
|
+
return vresult; }
|
2815
|
+
static VALUE _wrap_new_FXXPMImage(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ;
|
2816
|
+
FXchar **arg2 = (FXchar **) 0 ; FXuint arg3 = (FXuint) 0 ; FXint arg4 = (FXint) 1 ; FXint arg5 = (FXint) 1 ;
|
2817
|
+
FXXPMImage *result; if ((argc < 1) || (argc > 5)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2818
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXApp, 1); if (argc > 1) { { arg2 = NULL; if (argv[1] != Qnil) {
|
2819
|
+
Check_Type(argv[1], T_ARRAY); if (FXMALLOC(&arg2, FXchar *, RARRAY_LEN(argv[1]))) {
|
2820
|
+
for (long i = 0; i < RARRAY_LEN(argv[1]); i++) { VALUE e = rb_ary_entry(argv[1], i);
|
2821
|
+
arg2[i] = (FXchar *) StringValuePtr(e); } } } } } if (argc > 2) { arg3 = NUM2UINT(argv[2]); }
|
2822
|
+
if (argc > 3) { arg4 = NUM2INT(argv[3]); } if (argc > 4) { arg5 = NUM2INT(argv[4]); } {
|
2823
|
+
result = (FXXPMImage *)new_FXXPMImage(arg1,(FXchar const **)arg2,arg3,arg4,arg5);
|
2824
|
+
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } FXFREE(&arg2);
|
2825
|
+
return self; }
|
2826
|
+
static void
|
2827
|
+
free_FXXPMImage(FXXPMImage *arg1) {
|
2828
|
+
delete arg1;
|
2829
|
+
}
|
2830
|
+
static VALUE _wrap_FXXPMImage_save(int argc, VALUE *argv, VALUE self) { FXXPMImage *arg1 = (FXXPMImage *) 0 ;
|
2831
|
+
FXStream *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2832
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXPMImage, 1);
|
2833
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2834
|
+
FXXPMImage_save((FXXPMImage const *)arg1,*arg2); return Qnil; }
|
2835
|
+
static VALUE _wrap_FXXPMImage_load(int argc, VALUE *argv, VALUE self) { FXXPMImage *arg1 = (FXXPMImage *) 0 ;
|
2836
|
+
FXStream *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2837
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXPMImage, 1);
|
2838
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2839
|
+
FXXPMImage_load(arg1,*arg2); return Qnil; }
|
2840
|
+
static VALUE _wrap_FXXPMImage_create(int argc, VALUE *argv, VALUE self) { FXXPMImage *arg1 = (FXXPMImage *) 0 ;
|
2841
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2842
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXPMImage, 1); FXXPMImage_create(arg1); return Qnil; }
|
2843
|
+
static VALUE _wrap_FXXPMImage_detach(int argc, VALUE *argv, VALUE self) { FXXPMImage *arg1 = (FXXPMImage *) 0 ;
|
2844
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2845
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXPMImage, 1); FXXPMImage_detach(arg1); return Qnil; }
|
2846
|
+
static VALUE _wrap_FXXPMImage_destroy(int argc, VALUE *argv, VALUE self) { FXXPMImage *arg1 = (FXXPMImage *) 0 ;
|
2847
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2848
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXPMImage, 1); FXXPMImage_destroy(arg1); return Qnil; }
|
2849
|
+
static VALUE _wrap_FXXPMImage_resize(int argc, VALUE *argv, VALUE self) { FXXPMImage *arg1 = (FXXPMImage *) 0 ; FXint arg2 ;
|
2850
|
+
FXint arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2851
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXPMImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
2852
|
+
FXXPMImage_resize(arg1,arg2,arg3); return Qnil; }
|
2853
|
+
static VALUE _wrap_FXXPMImage_restore(int argc, VALUE *argv, VALUE self) { FXXPMImage *arg1 = (FXXPMImage *) 0 ;
|
2854
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2855
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXPMImage, 1); FXXPMImage_restore(arg1); return Qnil; }
|
2856
|
+
static VALUE _wrap_FXXPMImage_render(int argc, VALUE *argv, VALUE self) { FXXPMImage *arg1 = (FXXPMImage *) 0 ;
|
2857
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2858
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXPMImage, 1); FXXPMImage_render(arg1); return Qnil; }
|
2859
|
+
static VALUE _wrap_FXXPMImage_release(int argc, VALUE *argv, VALUE self) { FXXPMImage *arg1 = (FXXPMImage *) 0 ;
|
2860
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2861
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXPMImage, 1); FXXPMImage_release(arg1); return Qnil; }
|
2862
|
+
static VALUE _wrap_FXXPMImage_scale(int argc, VALUE *argv, VALUE self) { FXXPMImage *arg1 = (FXXPMImage *) 0 ; FXint arg2 ;
|
2863
|
+
FXint arg3 ; FXint arg4 = (FXint) 0 ; if ((argc < 2) || (argc > 3))
|
2864
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2865
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXPMImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
2866
|
+
if (argc > 2) { arg4 = NUM2INT(argv[2]); } FXXPMImage_scale(arg1,arg2,arg3,arg4); return Qnil; }
|
2867
|
+
static VALUE _wrap_FXXPMImage_mirror(int argc, VALUE *argv, VALUE self) { FXXPMImage *arg1 = (FXXPMImage *) 0 ; bool arg2 ;
|
2868
|
+
bool arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2869
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXPMImage, 1); arg2 = RTEST(argv[0]); arg3 = RTEST(argv[1]);
|
2870
|
+
FXXPMImage_mirror(arg1,arg2,arg3); return Qnil; }
|
2871
|
+
static VALUE _wrap_FXXPMImage_rotate(int argc, VALUE *argv, VALUE self) { FXXPMImage *arg1 = (FXXPMImage *) 0 ; FXint arg2 ;
|
2872
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2873
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXPMImage, 1); arg2 = NUM2INT(argv[0]); FXXPMImage_rotate(arg1,arg2);
|
2874
|
+
return Qnil; }
|
2875
|
+
static VALUE _wrap_FXXPMImage_crop(int argc, VALUE *argv, VALUE self) { FXXPMImage *arg1 = (FXXPMImage *) 0 ; FXint arg2 ;
|
2876
|
+
FXint arg3 ; FXint arg4 ; FXint arg5 ; FXColor arg6 = (FXColor) 0 ; if ((argc < 4) || (argc > 5))
|
2877
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
2878
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXPMImage, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
2879
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); if (argc > 4) { arg6 = to_FXColor(argv[4]); }
|
2880
|
+
FXXPMImage_crop(arg1,arg2,arg3,arg4,arg5,arg6); return Qnil; }
|
2881
|
+
static VALUE _wrap_FXXPMImage_fill(int argc, VALUE *argv, VALUE self) { FXXPMImage *arg1 = (FXXPMImage *) 0 ; FXColor arg2 ;
|
2882
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2883
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXPMImage, 1); arg2 = to_FXColor(argv[0]); FXXPMImage_fill(arg1,arg2);
|
2884
|
+
return Qnil; }
|
2885
|
+
static VALUE _wrap_FXXPMImage_fade(int argc, VALUE *argv, VALUE self) { FXXPMImage *arg1 = (FXXPMImage *) 0 ; FXColor arg2 ;
|
2886
|
+
FXint arg3 = (FXint) 255 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2887
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXPMImage, 1); arg2 = to_FXColor(argv[0]); if (argc > 1) {
|
2888
|
+
arg3 = NUM2INT(argv[1]); } FXXPMImage_fade(arg1,arg2,arg3); return Qnil; }
|
2889
|
+
static VALUE _wrap_FXXPMImage_xshear(int argc, VALUE *argv, VALUE self) { FXXPMImage *arg1 = (FXXPMImage *) 0 ; FXint arg2 ;
|
2890
|
+
FXColor arg3 = (FXColor) 0 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2891
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXPMImage, 1); arg2 = NUM2INT(argv[0]); if (argc > 1) {
|
2892
|
+
arg3 = to_FXColor(argv[1]); } FXXPMImage_xshear(arg1,arg2,arg3); return Qnil; }
|
2893
|
+
static VALUE _wrap_FXXPMImage_yshear(int argc, VALUE *argv, VALUE self) { FXXPMImage *arg1 = (FXXPMImage *) 0 ; FXint arg2 ;
|
2894
|
+
FXColor arg3 = (FXColor) 0 ; if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2895
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXPMImage, 1); arg2 = NUM2INT(argv[0]); if (argc > 1) {
|
2896
|
+
arg3 = to_FXColor(argv[1]); } FXXPMImage_yshear(arg1,arg2,arg3); return Qnil; }
|
2897
|
+
static VALUE _wrap_FXXPMImage_hgradient(int argc, VALUE *argv, VALUE self) { FXXPMImage *arg1 = (FXXPMImage *) 0 ;
|
2898
|
+
FXColor arg2 ; FXColor arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2899
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXPMImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
2900
|
+
FXXPMImage_hgradient(arg1,arg2,arg3); return Qnil; }
|
2901
|
+
static VALUE _wrap_FXXPMImage_vgradient(int argc, VALUE *argv, VALUE self) { FXXPMImage *arg1 = (FXXPMImage *) 0 ;
|
2902
|
+
FXColor arg2 ; FXColor arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2903
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXPMImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
2904
|
+
FXXPMImage_vgradient(arg1,arg2,arg3); return Qnil; }
|
2905
|
+
static VALUE _wrap_FXXPMImage_gradient(int argc, VALUE *argv, VALUE self) { FXXPMImage *arg1 = (FXXPMImage *) 0 ; FXColor arg2 ;
|
2906
|
+
FXColor arg3 ; FXColor arg4 ; FXColor arg5 ; if ((argc < 4) || (argc > 4))
|
2907
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
2908
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXPMImage, 1); arg2 = to_FXColor(argv[0]); arg3 = to_FXColor(argv[1]);
|
2909
|
+
arg4 = to_FXColor(argv[2]); arg5 = to_FXColor(argv[3]); FXXPMImage_gradient(arg1,arg2,arg3,arg4,arg5); return Qnil; }
|
2910
|
+
static VALUE _wrap_FXXPMImage_blend(int argc, VALUE *argv, VALUE self) { FXXPMImage *arg1 = (FXXPMImage *) 0 ; FXColor arg2 ;
|
2911
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2912
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXPMImage, 1); arg2 = to_FXColor(argv[0]); FXXPMImage_blend(arg1,arg2);
|
2913
|
+
return Qnil; }
|
2914
|
+
static VALUE _wrap_FXXPMImage_savePixels(int argc, VALUE *argv, VALUE self) { FXXPMImage *arg1 = (FXXPMImage *) 0 ;
|
2915
|
+
FXStream *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
2916
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2917
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXPMImage, 1);
|
2918
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2919
|
+
result = (bool)FXXPMImage_savePixels((FXXPMImage const *)arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
|
2920
|
+
static VALUE _wrap_FXXPMImage_loadPixels(int argc, VALUE *argv, VALUE self) { FXXPMImage *arg1 = (FXXPMImage *) 0 ;
|
2921
|
+
FXStream *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
2922
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2923
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXXPMImage, 1);
|
2924
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXStream, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2925
|
+
result = (bool)FXXPMImage_loadPixels(arg1,*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
|
2926
|
+
|
2927
|
+
/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
|
2928
|
+
|
2929
|
+
static void *_p_FXGradientBarTo_p_FXId(void *x) {
|
2930
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXGradientBar *) x));
|
2931
|
+
}
|
2932
|
+
static void *_p_FXShutterItemTo_p_FXId(void *x) {
|
2933
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutterItem *) x));
|
2934
|
+
}
|
2935
|
+
static void *_p_FXColorBarTo_p_FXId(void *x) {
|
2936
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorBar *) x));
|
2937
|
+
}
|
2938
|
+
static void *_p_FXTabBarTo_p_FXId(void *x) {
|
2939
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXTabBar *) x));
|
2940
|
+
}
|
2941
|
+
static void *_p_FXSwitcherTo_p_FXId(void *x) {
|
2942
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXSwitcher *) x));
|
2943
|
+
}
|
2944
|
+
static void *_p_FXTextFieldTo_p_FXId(void *x) {
|
2945
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXTextField *) x));
|
2946
|
+
}
|
2947
|
+
static void *_p_FXRGBImageTo_p_FXId(void *x) {
|
2948
|
+
return (void *)((FXId *) (FXDrawable *)(FXImage *) ((FXRGBImage *) x));
|
2949
|
+
}
|
2950
|
+
static void *_p_FXToolBarTabTo_p_FXId(void *x) {
|
2951
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXToolBarTab *) x));
|
2952
|
+
}
|
2953
|
+
static void *_p_FXDriveBoxTo_p_FXId(void *x) {
|
2954
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXListBox *) ((FXDriveBox *) x));
|
2955
|
+
}
|
2956
|
+
static void *_p_FXBMPImageTo_p_FXId(void *x) {
|
2957
|
+
return (void *)((FXId *) (FXDrawable *)(FXImage *) ((FXBMPImage *) x));
|
2958
|
+
}
|
2959
|
+
static void *_p_FXMatrixTo_p_FXId(void *x) {
|
2960
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXMatrix *) x));
|
2961
|
+
}
|
2962
|
+
static void *_p_FXScrollCornerTo_p_FXId(void *x) {
|
2963
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *) ((FXScrollCorner *) x));
|
2964
|
+
}
|
2965
|
+
static void *_p_FXArrowButtonTo_p_FXId(void *x) {
|
2966
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXArrowButton *) x));
|
2967
|
+
}
|
2968
|
+
static void *_p_FXPopupTo_p_FXId(void *x) {
|
2969
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *) ((FXPopup *) x));
|
2970
|
+
}
|
2971
|
+
static void *_p_FXDrawableTo_p_FXId(void *x) {
|
2972
|
+
return (void *)((FXId *) ((FXDrawable *) x));
|
2973
|
+
}
|
2974
|
+
static void *_p_FXPCXImageTo_p_FXId(void *x) {
|
2975
|
+
return (void *)((FXId *) (FXDrawable *)(FXImage *) ((FXPCXImage *) x));
|
2976
|
+
}
|
2977
|
+
static void *_p_FXHeaderTo_p_FXId(void *x) {
|
2978
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXHeader *) x));
|
2979
|
+
}
|
2980
|
+
static void *_p_FXSplitterTo_p_FXId(void *x) {
|
2981
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *) ((FXSplitter *) x));
|
2982
|
+
}
|
2983
|
+
static void *_p_FX4SplitterTo_p_FXId(void *x) {
|
2984
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *) ((FX4Splitter *) x));
|
2985
|
+
}
|
2986
|
+
static void *_p_FXSpringTo_p_FXId(void *x) {
|
2987
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXSpring *) x));
|
2988
|
+
}
|
2989
|
+
static void *_p_FXPackerTo_p_FXId(void *x) {
|
2990
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *) ((FXPacker *) x));
|
2991
|
+
}
|
2992
|
+
static void *_p_FXTabBookTo_p_FXId(void *x) {
|
2993
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXTabBar *) ((FXTabBook *) x));
|
2994
|
+
}
|
2995
|
+
static void *_p_FXImageFrameTo_p_FXId(void *x) {
|
2996
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXImageFrame *) x));
|
2997
|
+
}
|
2998
|
+
static void *_p_FXVerticalSeparatorTo_p_FXId(void *x) {
|
2999
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *)(FXSeparator *) ((FXVerticalSeparator *) x));
|
3000
|
+
}
|
3001
|
+
static void *_p_FXHorizontalSeparatorTo_p_FXId(void *x) {
|
3002
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *)(FXSeparator *) ((FXHorizontalSeparator *) x));
|
3003
|
+
}
|
3004
|
+
static void *_p_FXSeparatorTo_p_FXId(void *x) {
|
3005
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXSeparator *) x));
|
3006
|
+
}
|
3007
|
+
static void *_p_FXProgressBarTo_p_FXId(void *x) {
|
3008
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXProgressBar *) x));
|
3009
|
+
}
|
3010
|
+
static void *_p_FXShutterTo_p_FXId(void *x) {
|
3011
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutter *) x));
|
3012
|
+
}
|
3013
|
+
static void *_p_FXTGAImageTo_p_FXId(void *x) {
|
3014
|
+
return (void *)((FXId *) (FXDrawable *)(FXImage *) ((FXTGAImage *) x));
|
3015
|
+
}
|
3016
|
+
static void *_p_FXToolTipTo_p_FXId(void *x) {
|
3017
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *) ((FXToolTip *) x));
|
3018
|
+
}
|
3019
|
+
static void *_p_FXCompositeTo_p_FXId(void *x) {
|
3020
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *) ((FXComposite *) x));
|
3021
|
+
}
|
3022
|
+
static void *_p_FXBitmapFrameTo_p_FXId(void *x) {
|
3023
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXBitmapFrame *) x));
|
3024
|
+
}
|
3025
|
+
static void *_p_FXICOImageTo_p_FXId(void *x) {
|
3026
|
+
return (void *)((FXId *) (FXDrawable *)(FXImage *) ((FXICOImage *) x));
|
3027
|
+
}
|
3028
|
+
static void *_p_FXRealSliderTo_p_FXId(void *x) {
|
3029
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXRealSlider *) x));
|
3030
|
+
}
|
3031
|
+
static void *_p_FXSliderTo_p_FXId(void *x) {
|
3032
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXSlider *) x));
|
3033
|
+
}
|
3034
|
+
static void *_p_FXDockSiteTo_p_FXId(void *x) {
|
3035
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXDockSite *) x));
|
3036
|
+
}
|
3037
|
+
static void *_p_FXGroupBoxTo_p_FXId(void *x) {
|
3038
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXGroupBox *) x));
|
3039
|
+
}
|
3040
|
+
static void *_p_FXColorRingTo_p_FXId(void *x) {
|
3041
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorRing *) x));
|
3042
|
+
}
|
3043
|
+
static void *_p_FXDockHandlerTo_p_FXId(void *x) {
|
3044
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXDockHandler *) x));
|
3045
|
+
}
|
3046
|
+
static void *_p_FXPPMImageTo_p_FXId(void *x) {
|
3047
|
+
return (void *)((FXId *) (FXDrawable *)(FXImage *) ((FXPPMImage *) x));
|
3048
|
+
}
|
3049
|
+
static void *_p_FXXBMImageTo_p_FXId(void *x) {
|
3050
|
+
return (void *)((FXId *) (FXDrawable *)(FXImage *) ((FXXBMImage *) x));
|
3051
|
+
}
|
3052
|
+
static void *_p_FXXPMImageTo_p_FXId(void *x) {
|
3053
|
+
return (void *)((FXId *) (FXDrawable *)(FXImage *) ((FXXPMImage *) x));
|
3054
|
+
}
|
3055
|
+
static void *_p_FXTreeListBoxTo_p_FXId(void *x) {
|
3056
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXTreeListBox *) x));
|
3057
|
+
}
|
3058
|
+
static void *_p_FXListBoxTo_p_FXId(void *x) {
|
3059
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXListBox *) x));
|
3060
|
+
}
|
3061
|
+
static void *_p_FXCanvasTo_p_FXId(void *x) {
|
3062
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *) ((FXCanvas *) x));
|
3063
|
+
}
|
3064
|
+
static void *_p_FXColorWheelTo_p_FXId(void *x) {
|
3065
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorWheel *) x));
|
3066
|
+
}
|
3067
|
+
static void *_p_FXVisualTo_p_FXId(void *x) {
|
3068
|
+
return (void *)((FXId *) ((FXVisual *) x));
|
3069
|
+
}
|
3070
|
+
static void *_p_FXScrollBarTo_p_FXId(void *x) {
|
3071
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *) ((FXScrollBar *) x));
|
3072
|
+
}
|
3073
|
+
static void *_p_FXToolBarGripTo_p_FXId(void *x) {
|
3074
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *)(FXDockHandler *) ((FXToolBarGrip *) x));
|
3075
|
+
}
|
3076
|
+
static void *_p_FXFontTo_p_FXId(void *x) {
|
3077
|
+
return (void *)((FXId *) ((FXFont *) x));
|
3078
|
+
}
|
3079
|
+
static void *_p_FXComboBoxTo_p_FXId(void *x) {
|
3080
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXComboBox *) x));
|
3081
|
+
}
|
3082
|
+
static void *_p_FXImageTo_p_FXId(void *x) {
|
3083
|
+
return (void *)((FXId *) (FXDrawable *) ((FXImage *) x));
|
3084
|
+
}
|
3085
|
+
static void *_p_FXFrameTo_p_FXId(void *x) {
|
3086
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *) ((FXFrame *) x));
|
3087
|
+
}
|
3088
|
+
static void *_p_FX7SegmentTo_p_FXId(void *x) {
|
3089
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FX7Segment *) x));
|
3090
|
+
}
|
3091
|
+
static void *_p_FXDockTitleTo_p_FXId(void *x) {
|
3092
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *)(FXDockHandler *) ((FXDockTitle *) x));
|
3093
|
+
}
|
3094
|
+
static void *_p_FXJPGImageTo_p_FXId(void *x) {
|
3095
|
+
return (void *)((FXId *) (FXDrawable *)(FXImage *) ((FXJPGImage *) x));
|
3096
|
+
}
|
3097
|
+
static void *_p_FXPNGImageTo_p_FXId(void *x) {
|
3098
|
+
return (void *)((FXId *) (FXDrawable *)(FXImage *) ((FXPNGImage *) x));
|
3099
|
+
}
|
3100
|
+
static void *_p_FXGIFImageTo_p_FXId(void *x) {
|
3101
|
+
return (void *)((FXId *) (FXDrawable *)(FXImage *) ((FXGIFImage *) x));
|
3102
|
+
}
|
3103
|
+
static void *_p_FXTIFImageTo_p_FXId(void *x) {
|
3104
|
+
return (void *)((FXId *) (FXDrawable *)(FXImage *) ((FXTIFImage *) x));
|
3105
|
+
}
|
3106
|
+
static void *_p_FXStatusBarTo_p_FXId(void *x) {
|
3107
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXHorizontalFrame *) ((FXStatusBar *) x));
|
3108
|
+
}
|
3109
|
+
static void *_p_FXGIFCursorTo_p_FXId(void *x) {
|
3110
|
+
return (void *)((FXId *) (FXCursor *) ((FXGIFCursor *) x));
|
3111
|
+
}
|
3112
|
+
static void *_p_FXCURCursorTo_p_FXId(void *x) {
|
3113
|
+
return (void *)((FXId *) (FXCursor *) ((FXCURCursor *) x));
|
3114
|
+
}
|
3115
|
+
static void *_p_FXCursorTo_p_FXId(void *x) {
|
3116
|
+
return (void *)((FXId *) ((FXCursor *) x));
|
3117
|
+
}
|
3118
|
+
static void *_p_FXKnobTo_p_FXId(void *x) {
|
3119
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXKnob *) x));
|
3120
|
+
}
|
3121
|
+
static void *_p_FXRealSpinnerTo_p_FXId(void *x) {
|
3122
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXRealSpinner *) x));
|
3123
|
+
}
|
3124
|
+
static void *_p_FXSpinnerTo_p_FXId(void *x) {
|
3125
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXSpinner *) x));
|
3126
|
+
}
|
3127
|
+
static void *_p_FXRulerViewTo_p_FXId(void *x) {
|
3128
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXScrollArea *) ((FXRulerView *) x));
|
3129
|
+
}
|
3130
|
+
static void *_p_FXStatusLineTo_p_FXId(void *x) {
|
3131
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXStatusLine *) x));
|
3132
|
+
}
|
3133
|
+
static void *_p_FXMainWindowTo_p_FXId(void *x) {
|
3134
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXMainWindow *) x));
|
3135
|
+
}
|
3136
|
+
static void *_p_FXTopWindowTo_p_FXId(void *x) {
|
3137
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *) ((FXTopWindow *) x));
|
3138
|
+
}
|
3139
|
+
static void *_p_FXRootWindowTo_p_FXId(void *x) {
|
3140
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *) ((FXRootWindow *) x));
|
3141
|
+
}
|
3142
|
+
static void *_p_FXWindowTo_p_FXId(void *x) {
|
3143
|
+
return (void *)((FXId *) (FXDrawable *) ((FXWindow *) x));
|
3144
|
+
}
|
3145
|
+
static void *_p_FXSplashWindowTo_p_FXId(void *x) {
|
3146
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXSplashWindow *) x));
|
3147
|
+
}
|
3148
|
+
static void *_p_FXScrollWindowTo_p_FXId(void *x) {
|
3149
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXScrollArea *) ((FXScrollWindow *) x));
|
3150
|
+
}
|
3151
|
+
static void *_p_FXDockBarTo_p_FXId(void *x) {
|
3152
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXDockBar *) x));
|
3153
|
+
}
|
3154
|
+
static void *_p_FXShellTo_p_FXId(void *x) {
|
3155
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *) ((FXShell *) x));
|
3156
|
+
}
|
3157
|
+
static void *_p_FXBitmapTo_p_FXId(void *x) {
|
3158
|
+
return (void *)((FXId *) (FXDrawable *) ((FXBitmap *) x));
|
3159
|
+
}
|
3160
|
+
static void *_p_FXScrollAreaTo_p_FXId(void *x) {
|
3161
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *) ((FXScrollArea *) x));
|
3162
|
+
}
|
3163
|
+
static void *_p_FXColorWellTo_p_FXId(void *x) {
|
3164
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorWell *) x));
|
3165
|
+
}
|
3166
|
+
static void *_p_FXDragCornerTo_p_FXId(void *x) {
|
3167
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *) ((FXDragCorner *) x));
|
3168
|
+
}
|
3169
|
+
static void *_p_FXRulerTo_p_FXId(void *x) {
|
3170
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXRuler *) x));
|
3171
|
+
}
|
3172
|
+
static void *_p_FXDialTo_p_FXId(void *x) {
|
3173
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXDial *) x));
|
3174
|
+
}
|
3175
|
+
static void *_p_FXHorizontalFrameTo_p_FXId(void *x) {
|
3176
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXHorizontalFrame *) x));
|
3177
|
+
}
|
3178
|
+
static void *_p_FXVerticalFrameTo_p_FXId(void *x) {
|
3179
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXVerticalFrame *) x));
|
3180
|
+
}
|
3181
|
+
static void *_p_FXImageViewTo_p_FXId(void *x) {
|
3182
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXScrollArea *) ((FXImageView *) x));
|
3183
|
+
}
|
3184
|
+
static void *_p_FXFontSelectorTo_p_FXId(void *x) {
|
3185
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXFontSelector *) x));
|
3186
|
+
}
|
3187
|
+
static void *_p_FXColorSelectorTo_p_FXId(void *x) {
|
3188
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXColorSelector *) x));
|
3189
|
+
}
|
3190
|
+
static void *_p_FXFileSelectorTo_p_FXId(void *x) {
|
3191
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXFileSelector *) x));
|
3192
|
+
}
|
3193
|
+
static void *_p_FXDirSelectorTo_p_FXId(void *x) {
|
3194
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXDirSelector *) x));
|
3195
|
+
}
|
3196
|
+
static void *_p_FXToolBarTo_p_FXId(void *x) {
|
3197
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXDockBar *) ((FXToolBar *) x));
|
3198
|
+
}
|
3199
|
+
static void *_p_FXToolBarShellTo_p_FXId(void *x) {
|
3200
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXToolBarShell *) x));
|
3201
|
+
}
|
3202
|
+
static void *_p_FXDirBoxTo_p_FXId(void *x) {
|
3203
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXTreeListBox *) ((FXDirBox *) x));
|
3204
|
+
}
|
3205
|
+
static void *_p_FXDocumentTo_p_FXObject(void *x) {
|
3206
|
+
return (void *)((FXObject *) ((FXDocument *) x));
|
3207
|
+
}
|
3208
|
+
static void *_p_FXGradientBarTo_p_FXObject(void *x) {
|
3209
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXGradientBar *) x));
|
3210
|
+
}
|
3211
|
+
static void *_p_FXRegistryTo_p_FXObject(void *x) {
|
3212
|
+
return (void *)((FXObject *) (FXDict *)(FXSettings *) ((FXRegistry *) x));
|
3213
|
+
}
|
3214
|
+
static void *_p_FXHeaderItemTo_p_FXObject(void *x) {
|
3215
|
+
return (void *)((FXObject *) ((FXHeaderItem *) x));
|
3216
|
+
}
|
3217
|
+
static void *_p_FXShutterItemTo_p_FXObject(void *x) {
|
3218
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutterItem *) x));
|
3219
|
+
}
|
3220
|
+
static void *_p_FXColorBarTo_p_FXObject(void *x) {
|
3221
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorBar *) x));
|
3222
|
+
}
|
3223
|
+
static void *_p_FXTabBarTo_p_FXObject(void *x) {
|
3224
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXTabBar *) x));
|
3225
|
+
}
|
3226
|
+
static void *_p_FXSwitcherTo_p_FXObject(void *x) {
|
3227
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXSwitcher *) x));
|
3228
|
+
}
|
3229
|
+
static void *_p_FXTextFieldTo_p_FXObject(void *x) {
|
3230
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXTextField *) x));
|
3231
|
+
}
|
3232
|
+
static void *_p_FXRGBImageTo_p_FXObject(void *x) {
|
3233
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXImage *) ((FXRGBImage *) x));
|
3234
|
+
}
|
3235
|
+
static void *_p_FXToolBarTabTo_p_FXObject(void *x) {
|
3236
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXToolBarTab *) x));
|
3237
|
+
}
|
3238
|
+
static void *_p_FXDriveBoxTo_p_FXObject(void *x) {
|
3239
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXListBox *) ((FXDriveBox *) x));
|
3240
|
+
}
|
3241
|
+
static void *_p_FXIconDictTo_p_FXObject(void *x) {
|
3242
|
+
return (void *)((FXObject *) (FXDict *) ((FXIconDict *) x));
|
3243
|
+
}
|
3244
|
+
static void *_p_FXBMPImageTo_p_FXObject(void *x) {
|
3245
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXImage *) ((FXBMPImage *) x));
|
3246
|
+
}
|
3247
|
+
static void *_p_FXMatrixTo_p_FXObject(void *x) {
|
3248
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXMatrix *) x));
|
3249
|
+
}
|
3250
|
+
static void *_p_FXFileDictTo_p_FXObject(void *x) {
|
3251
|
+
return (void *)((FXObject *) (FXDict *) ((FXFileDict *) x));
|
3252
|
+
}
|
3253
|
+
static void *_p_FXRecentFilesTo_p_FXObject(void *x) {
|
3254
|
+
return (void *)((FXObject *) ((FXRecentFiles *) x));
|
3255
|
+
}
|
3256
|
+
static void *_p_FXScrollCornerTo_p_FXObject(void *x) {
|
3257
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *) ((FXScrollCorner *) x));
|
3258
|
+
}
|
3259
|
+
static void *_p_FXArrowButtonTo_p_FXObject(void *x) {
|
3260
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXArrowButton *) x));
|
3261
|
+
}
|
3262
|
+
static void *_p_FXPopupTo_p_FXObject(void *x) {
|
3263
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *) ((FXPopup *) x));
|
3264
|
+
}
|
3265
|
+
static void *_p_FXDrawableTo_p_FXObject(void *x) {
|
3266
|
+
return (void *)((FXObject *) (FXId *) ((FXDrawable *) x));
|
3267
|
+
}
|
3268
|
+
static void *_p_FXPCXImageTo_p_FXObject(void *x) {
|
3269
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXImage *) ((FXPCXImage *) x));
|
3270
|
+
}
|
3271
|
+
static void *_p_FXAppTo_p_FXObject(void *x) {
|
3272
|
+
return (void *)((FXObject *) ((FXApp *) x));
|
3273
|
+
}
|
3274
|
+
static void *_p_FXHeaderTo_p_FXObject(void *x) {
|
3275
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXHeader *) x));
|
3276
|
+
}
|
3277
|
+
static void *_p_FXTranslatorTo_p_FXObject(void *x) {
|
3278
|
+
return (void *)((FXObject *) ((FXTranslator *) x));
|
3279
|
+
}
|
3280
|
+
static void *_p_FX4SplitterTo_p_FXObject(void *x) {
|
3281
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *) ((FX4Splitter *) x));
|
3282
|
+
}
|
3283
|
+
static void *_p_FXSplitterTo_p_FXObject(void *x) {
|
3284
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *) ((FXSplitter *) x));
|
3285
|
+
}
|
3286
|
+
static void *_p_FXSpringTo_p_FXObject(void *x) {
|
3287
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXSpring *) x));
|
3288
|
+
}
|
3289
|
+
static void *_p_FXPackerTo_p_FXObject(void *x) {
|
3290
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *) ((FXPacker *) x));
|
3291
|
+
}
|
3292
|
+
static void *_p_FXTabBookTo_p_FXObject(void *x) {
|
3293
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXTabBar *) ((FXTabBook *) x));
|
3294
|
+
}
|
3295
|
+
static void *_p_FXImageFrameTo_p_FXObject(void *x) {
|
3296
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXImageFrame *) x));
|
3297
|
+
}
|
3298
|
+
static void *_p_FXVerticalSeparatorTo_p_FXObject(void *x) {
|
3299
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *)(FXSeparator *) ((FXVerticalSeparator *) x));
|
3300
|
+
}
|
3301
|
+
static void *_p_FXHorizontalSeparatorTo_p_FXObject(void *x) {
|
3302
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *)(FXSeparator *) ((FXHorizontalSeparator *) x));
|
3303
|
+
}
|
3304
|
+
static void *_p_FXSeparatorTo_p_FXObject(void *x) {
|
3305
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXSeparator *) x));
|
3306
|
+
}
|
3307
|
+
static void *_p_FXIdTo_p_FXObject(void *x) {
|
3308
|
+
return (void *)((FXObject *) ((FXId *) x));
|
3309
|
+
}
|
3310
|
+
static void *_p_FXProgressBarTo_p_FXObject(void *x) {
|
3311
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXProgressBar *) x));
|
3312
|
+
}
|
3313
|
+
static void *_p_FXShutterTo_p_FXObject(void *x) {
|
3314
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutter *) x));
|
3315
|
+
}
|
3316
|
+
static void *_p_FXTGAImageTo_p_FXObject(void *x) {
|
3317
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXImage *) ((FXTGAImage *) x));
|
3318
|
+
}
|
3319
|
+
static void *_p_FXToolTipTo_p_FXObject(void *x) {
|
3320
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *) ((FXToolTip *) x));
|
3321
|
+
}
|
3322
|
+
static void *_p_FXCompositeTo_p_FXObject(void *x) {
|
3323
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *) ((FXComposite *) x));
|
3324
|
+
}
|
3325
|
+
static void *_p_FXBitmapFrameTo_p_FXObject(void *x) {
|
3326
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXBitmapFrame *) x));
|
3327
|
+
}
|
3328
|
+
static void *_p_FXICOImageTo_p_FXObject(void *x) {
|
3329
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXImage *) ((FXICOImage *) x));
|
3330
|
+
}
|
3331
|
+
static void *_p_FXRealSliderTo_p_FXObject(void *x) {
|
3332
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXRealSlider *) x));
|
3333
|
+
}
|
3334
|
+
static void *_p_FXSliderTo_p_FXObject(void *x) {
|
3335
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXSlider *) x));
|
3336
|
+
}
|
3337
|
+
static void *_p_FXSettingsTo_p_FXObject(void *x) {
|
3338
|
+
return (void *)((FXObject *) (FXDict *) ((FXSettings *) x));
|
3339
|
+
}
|
3340
|
+
static void *_p_FXDockSiteTo_p_FXObject(void *x) {
|
3341
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXDockSite *) x));
|
3342
|
+
}
|
3343
|
+
static void *_p_FXGroupBoxTo_p_FXObject(void *x) {
|
3344
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXGroupBox *) x));
|
3345
|
+
}
|
3346
|
+
static void *_p_FXColorRingTo_p_FXObject(void *x) {
|
3347
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorRing *) x));
|
3348
|
+
}
|
3349
|
+
static void *_p_FXDebugTargetTo_p_FXObject(void *x) {
|
3350
|
+
return (void *)((FXObject *) ((FXDebugTarget *) x));
|
3351
|
+
}
|
3352
|
+
static void *_p_FXDataTargetTo_p_FXObject(void *x) {
|
3353
|
+
return (void *)((FXObject *) ((FXDataTarget *) x));
|
3354
|
+
}
|
3355
|
+
static void *_p_FXDockHandlerTo_p_FXObject(void *x) {
|
3356
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXDockHandler *) x));
|
3357
|
+
}
|
3358
|
+
static void *_p_FXPPMImageTo_p_FXObject(void *x) {
|
3359
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXImage *) ((FXPPMImage *) x));
|
3360
|
+
}
|
3361
|
+
static void *_p_FXXBMImageTo_p_FXObject(void *x) {
|
3362
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXImage *) ((FXXBMImage *) x));
|
3363
|
+
}
|
3364
|
+
static void *_p_FXXPMImageTo_p_FXObject(void *x) {
|
3365
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXImage *) ((FXXPMImage *) x));
|
3366
|
+
}
|
3367
|
+
static void *_p_FXCanvasTo_p_FXObject(void *x) {
|
3368
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *) ((FXCanvas *) x));
|
3369
|
+
}
|
3370
|
+
static void *_p_FXListBoxTo_p_FXObject(void *x) {
|
3371
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXListBox *) x));
|
3372
|
+
}
|
3373
|
+
static void *_p_FXTreeListBoxTo_p_FXObject(void *x) {
|
3374
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXTreeListBox *) x));
|
3375
|
+
}
|
3376
|
+
static void *_p_FXColorWheelTo_p_FXObject(void *x) {
|
3377
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorWheel *) x));
|
3378
|
+
}
|
3379
|
+
static void *_p_FXVisualTo_p_FXObject(void *x) {
|
3380
|
+
return (void *)((FXObject *) (FXId *) ((FXVisual *) x));
|
3381
|
+
}
|
3382
|
+
static void *_p_FXScrollBarTo_p_FXObject(void *x) {
|
3383
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *) ((FXScrollBar *) x));
|
3384
|
+
}
|
3385
|
+
static void *_p_FXToolBarGripTo_p_FXObject(void *x) {
|
3386
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *)(FXDockHandler *) ((FXToolBarGrip *) x));
|
3387
|
+
}
|
3388
|
+
static void *_p_FXFontTo_p_FXObject(void *x) {
|
3389
|
+
return (void *)((FXObject *) (FXId *) ((FXFont *) x));
|
3390
|
+
}
|
3391
|
+
static void *_p_FXComboBoxTo_p_FXObject(void *x) {
|
3392
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXComboBox *) x));
|
3393
|
+
}
|
3394
|
+
static void *_p_FXImageTo_p_FXObject(void *x) {
|
3395
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *) ((FXImage *) x));
|
3396
|
+
}
|
3397
|
+
static void *_p_FXFrameTo_p_FXObject(void *x) {
|
3398
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *) ((FXFrame *) x));
|
3399
|
+
}
|
3400
|
+
static void *_p_FX7SegmentTo_p_FXObject(void *x) {
|
3401
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FX7Segment *) x));
|
3402
|
+
}
|
3403
|
+
static void *_p_FXDockTitleTo_p_FXObject(void *x) {
|
3404
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *)(FXDockHandler *) ((FXDockTitle *) x));
|
3405
|
+
}
|
3406
|
+
static void *_p_FXJPGImageTo_p_FXObject(void *x) {
|
3407
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXImage *) ((FXJPGImage *) x));
|
3408
|
+
}
|
3409
|
+
static void *_p_FXPNGImageTo_p_FXObject(void *x) {
|
3410
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXImage *) ((FXPNGImage *) x));
|
3411
|
+
}
|
3412
|
+
static void *_p_FXGIFImageTo_p_FXObject(void *x) {
|
3413
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXImage *) ((FXGIFImage *) x));
|
3414
|
+
}
|
3415
|
+
static void *_p_FXTIFImageTo_p_FXObject(void *x) {
|
3416
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXImage *) ((FXTIFImage *) x));
|
3417
|
+
}
|
3418
|
+
static void *_p_FXStringDictTo_p_FXObject(void *x) {
|
3419
|
+
return (void *)((FXObject *) (FXDict *) ((FXStringDict *) x));
|
3420
|
+
}
|
3421
|
+
static void *_p_FXStatusBarTo_p_FXObject(void *x) {
|
3422
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXHorizontalFrame *) ((FXStatusBar *) x));
|
3423
|
+
}
|
3424
|
+
static void *_p_FXDelegatorTo_p_FXObject(void *x) {
|
3425
|
+
return (void *)((FXObject *) ((FXDelegator *) x));
|
3426
|
+
}
|
3427
|
+
static void *_p_FXAccelTableTo_p_FXObject(void *x) {
|
3428
|
+
return (void *)((FXObject *) ((FXAccelTable *) x));
|
3429
|
+
}
|
3430
|
+
static void *_p_FXCursorTo_p_FXObject(void *x) {
|
3431
|
+
return (void *)((FXObject *) (FXId *) ((FXCursor *) x));
|
3432
|
+
}
|
3433
|
+
static void *_p_FXCURCursorTo_p_FXObject(void *x) {
|
3434
|
+
return (void *)((FXObject *) (FXId *)(FXCursor *) ((FXCURCursor *) x));
|
3435
|
+
}
|
3436
|
+
static void *_p_FXGIFCursorTo_p_FXObject(void *x) {
|
3437
|
+
return (void *)((FXObject *) (FXId *)(FXCursor *) ((FXGIFCursor *) x));
|
3438
|
+
}
|
3439
|
+
static void *_p_FXKnobTo_p_FXObject(void *x) {
|
3440
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXKnob *) x));
|
3441
|
+
}
|
3442
|
+
static void *_p_FXRealSpinnerTo_p_FXObject(void *x) {
|
3443
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXRealSpinner *) x));
|
3444
|
+
}
|
3445
|
+
static void *_p_FXSpinnerTo_p_FXObject(void *x) {
|
3446
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXSpinner *) x));
|
3447
|
+
}
|
3448
|
+
static void *_p_FXRulerViewTo_p_FXObject(void *x) {
|
3449
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXScrollArea *) ((FXRulerView *) x));
|
3450
|
+
}
|
3451
|
+
static void *_p_FXStatusLineTo_p_FXObject(void *x) {
|
3452
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXStatusLine *) x));
|
3453
|
+
}
|
3454
|
+
static void *_p_FXScrollWindowTo_p_FXObject(void *x) {
|
3455
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXScrollArea *) ((FXScrollWindow *) x));
|
3456
|
+
}
|
3457
|
+
static void *_p_FXWindowTo_p_FXObject(void *x) {
|
3458
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *) ((FXWindow *) x));
|
3459
|
+
}
|
3460
|
+
static void *_p_FXRootWindowTo_p_FXObject(void *x) {
|
3461
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *) ((FXRootWindow *) x));
|
3462
|
+
}
|
3463
|
+
static void *_p_FXTopWindowTo_p_FXObject(void *x) {
|
3464
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *) ((FXTopWindow *) x));
|
3465
|
+
}
|
3466
|
+
static void *_p_FXMainWindowTo_p_FXObject(void *x) {
|
3467
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXMainWindow *) x));
|
3468
|
+
}
|
3469
|
+
static void *_p_FXSplashWindowTo_p_FXObject(void *x) {
|
3470
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXSplashWindow *) x));
|
3471
|
+
}
|
3472
|
+
static void *_p_FXDockBarTo_p_FXObject(void *x) {
|
3473
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXDockBar *) x));
|
3474
|
+
}
|
3475
|
+
static void *_p_FXDictTo_p_FXObject(void *x) {
|
3476
|
+
return (void *)((FXObject *) ((FXDict *) x));
|
3477
|
+
}
|
3478
|
+
static void *_p_FXShellTo_p_FXObject(void *x) {
|
3479
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *) ((FXShell *) x));
|
3480
|
+
}
|
3481
|
+
static void *_p_FXBitmapTo_p_FXObject(void *x) {
|
3482
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *) ((FXBitmap *) x));
|
3483
|
+
}
|
3484
|
+
static void *_p_FXScrollAreaTo_p_FXObject(void *x) {
|
3485
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *) ((FXScrollArea *) x));
|
3486
|
+
}
|
3487
|
+
static void *_p_FXColorWellTo_p_FXObject(void *x) {
|
3488
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorWell *) x));
|
3489
|
+
}
|
3490
|
+
static void *_p_FXDragCornerTo_p_FXObject(void *x) {
|
3491
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *) ((FXDragCorner *) x));
|
3492
|
+
}
|
3493
|
+
static void *_p_FXRulerTo_p_FXObject(void *x) {
|
3494
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXRuler *) x));
|
3495
|
+
}
|
3496
|
+
static void *_p_FXDialTo_p_FXObject(void *x) {
|
3497
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXDial *) x));
|
3498
|
+
}
|
3499
|
+
static void *_p_FXVerticalFrameTo_p_FXObject(void *x) {
|
3500
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXVerticalFrame *) x));
|
3501
|
+
}
|
3502
|
+
static void *_p_FXHorizontalFrameTo_p_FXObject(void *x) {
|
3503
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXHorizontalFrame *) x));
|
3504
|
+
}
|
3505
|
+
static void *_p_FXImageViewTo_p_FXObject(void *x) {
|
3506
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXScrollArea *) ((FXImageView *) x));
|
3507
|
+
}
|
3508
|
+
static void *_p_FXDirSelectorTo_p_FXObject(void *x) {
|
3509
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXDirSelector *) x));
|
3510
|
+
}
|
3511
|
+
static void *_p_FXFileSelectorTo_p_FXObject(void *x) {
|
3512
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXFileSelector *) x));
|
3513
|
+
}
|
3514
|
+
static void *_p_FXColorSelectorTo_p_FXObject(void *x) {
|
3515
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXColorSelector *) x));
|
3516
|
+
}
|
3517
|
+
static void *_p_FXFontSelectorTo_p_FXObject(void *x) {
|
3518
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXFontSelector *) x));
|
3519
|
+
}
|
3520
|
+
static void *_p_FXToolBarTo_p_FXObject(void *x) {
|
3521
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXDockBar *) ((FXToolBar *) x));
|
3522
|
+
}
|
3523
|
+
static void *_p_FXToolBarShellTo_p_FXObject(void *x) {
|
3524
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXToolBarShell *) x));
|
3525
|
+
}
|
3526
|
+
static void *_p_FXDirBoxTo_p_FXObject(void *x) {
|
3527
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXTreeListBox *) ((FXDirBox *) x));
|
3528
|
+
}
|
3529
|
+
static void *_p_FXFileStreamTo_p_FXStream(void *x) {
|
3530
|
+
return (void *)((FXStream *) ((FXFileStream *) x));
|
3531
|
+
}
|
3532
|
+
static void *_p_FXMemoryStreamTo_p_FXStream(void *x) {
|
3533
|
+
return (void *)((FXStream *) ((FXMemoryStream *) x));
|
3534
|
+
}
|
3535
|
+
static void *_p_FXGradientBarTo_p_FXDrawable(void *x) {
|
3536
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXGradientBar *) x));
|
3537
|
+
}
|
3538
|
+
static void *_p_FXShutterItemTo_p_FXDrawable(void *x) {
|
3539
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutterItem *) x));
|
3540
|
+
}
|
3541
|
+
static void *_p_FXColorBarTo_p_FXDrawable(void *x) {
|
3542
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXColorBar *) x));
|
3543
|
+
}
|
3544
|
+
static void *_p_FXTabBarTo_p_FXDrawable(void *x) {
|
3545
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXTabBar *) x));
|
3546
|
+
}
|
3547
|
+
static void *_p_FXSwitcherTo_p_FXDrawable(void *x) {
|
3548
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXSwitcher *) x));
|
3549
|
+
}
|
3550
|
+
static void *_p_FXTextFieldTo_p_FXDrawable(void *x) {
|
3551
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXTextField *) x));
|
3552
|
+
}
|
3553
|
+
static void *_p_FXRGBImageTo_p_FXDrawable(void *x) {
|
3554
|
+
return (void *)((FXDrawable *) (FXImage *) ((FXRGBImage *) x));
|
3555
|
+
}
|
3556
|
+
static void *_p_FXToolBarTabTo_p_FXDrawable(void *x) {
|
3557
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXToolBarTab *) x));
|
3558
|
+
}
|
3559
|
+
static void *_p_FXDriveBoxTo_p_FXDrawable(void *x) {
|
3560
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *)(FXListBox *) ((FXDriveBox *) x));
|
3561
|
+
}
|
3562
|
+
static void *_p_FXBMPImageTo_p_FXDrawable(void *x) {
|
3563
|
+
return (void *)((FXDrawable *) (FXImage *) ((FXBMPImage *) x));
|
3564
|
+
}
|
3565
|
+
static void *_p_FXMatrixTo_p_FXDrawable(void *x) {
|
3566
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXMatrix *) x));
|
3567
|
+
}
|
3568
|
+
static void *_p_FXScrollCornerTo_p_FXDrawable(void *x) {
|
3569
|
+
return (void *)((FXDrawable *) (FXWindow *) ((FXScrollCorner *) x));
|
3570
|
+
}
|
3571
|
+
static void *_p_FXArrowButtonTo_p_FXDrawable(void *x) {
|
3572
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXArrowButton *) x));
|
3573
|
+
}
|
3574
|
+
static void *_p_FXPopupTo_p_FXDrawable(void *x) {
|
3575
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *) ((FXPopup *) x));
|
3576
|
+
}
|
3577
|
+
static void *_p_FXPCXImageTo_p_FXDrawable(void *x) {
|
3578
|
+
return (void *)((FXDrawable *) (FXImage *) ((FXPCXImage *) x));
|
3579
|
+
}
|
3580
|
+
static void *_p_FXHeaderTo_p_FXDrawable(void *x) {
|
3581
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXHeader *) x));
|
3582
|
+
}
|
3583
|
+
static void *_p_FXSplitterTo_p_FXDrawable(void *x) {
|
3584
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FXSplitter *) x));
|
3585
|
+
}
|
3586
|
+
static void *_p_FX4SplitterTo_p_FXDrawable(void *x) {
|
3587
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FX4Splitter *) x));
|
3588
|
+
}
|
3589
|
+
static void *_p_FXSpringTo_p_FXDrawable(void *x) {
|
3590
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXSpring *) x));
|
3591
|
+
}
|
3592
|
+
static void *_p_FXPackerTo_p_FXDrawable(void *x) {
|
3593
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FXPacker *) x));
|
3594
|
+
}
|
3595
|
+
static void *_p_FXTabBookTo_p_FXDrawable(void *x) {
|
3596
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *)(FXTabBar *) ((FXTabBook *) x));
|
3597
|
+
}
|
3598
|
+
static void *_p_FXImageFrameTo_p_FXDrawable(void *x) {
|
3599
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXImageFrame *) x));
|
3600
|
+
}
|
3601
|
+
static void *_p_FXVerticalSeparatorTo_p_FXDrawable(void *x) {
|
3602
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXFrame *)(FXSeparator *) ((FXVerticalSeparator *) x));
|
3603
|
+
}
|
3604
|
+
static void *_p_FXHorizontalSeparatorTo_p_FXDrawable(void *x) {
|
3605
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXFrame *)(FXSeparator *) ((FXHorizontalSeparator *) x));
|
3606
|
+
}
|
3607
|
+
static void *_p_FXSeparatorTo_p_FXDrawable(void *x) {
|
3608
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXSeparator *) x));
|
3609
|
+
}
|
3610
|
+
static void *_p_FXProgressBarTo_p_FXDrawable(void *x) {
|
3611
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXProgressBar *) x));
|
3612
|
+
}
|
3613
|
+
static void *_p_FXShutterTo_p_FXDrawable(void *x) {
|
3614
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutter *) x));
|
3615
|
+
}
|
3616
|
+
static void *_p_FXTGAImageTo_p_FXDrawable(void *x) {
|
3617
|
+
return (void *)((FXDrawable *) (FXImage *) ((FXTGAImage *) x));
|
3618
|
+
}
|
3619
|
+
static void *_p_FXToolTipTo_p_FXDrawable(void *x) {
|
3620
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *) ((FXToolTip *) x));
|
3621
|
+
}
|
3622
|
+
static void *_p_FXCompositeTo_p_FXDrawable(void *x) {
|
3623
|
+
return (void *)((FXDrawable *) (FXWindow *) ((FXComposite *) x));
|
3624
|
+
}
|
3625
|
+
static void *_p_FXBitmapFrameTo_p_FXDrawable(void *x) {
|
3626
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXBitmapFrame *) x));
|
3627
|
+
}
|
3628
|
+
static void *_p_FXICOImageTo_p_FXDrawable(void *x) {
|
3629
|
+
return (void *)((FXDrawable *) (FXImage *) ((FXICOImage *) x));
|
3630
|
+
}
|
3631
|
+
static void *_p_FXRealSliderTo_p_FXDrawable(void *x) {
|
3632
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXRealSlider *) x));
|
3633
|
+
}
|
3634
|
+
static void *_p_FXSliderTo_p_FXDrawable(void *x) {
|
3635
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXSlider *) x));
|
3636
|
+
}
|
3637
|
+
static void *_p_FXDockSiteTo_p_FXDrawable(void *x) {
|
3638
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXDockSite *) x));
|
3639
|
+
}
|
3640
|
+
static void *_p_FXGroupBoxTo_p_FXDrawable(void *x) {
|
3641
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXGroupBox *) x));
|
3642
|
+
}
|
3643
|
+
static void *_p_FXColorRingTo_p_FXDrawable(void *x) {
|
3644
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXColorRing *) x));
|
3645
|
+
}
|
3646
|
+
static void *_p_FXDockHandlerTo_p_FXDrawable(void *x) {
|
3647
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXDockHandler *) x));
|
3648
|
+
}
|
3649
|
+
static void *_p_FXPPMImageTo_p_FXDrawable(void *x) {
|
3650
|
+
return (void *)((FXDrawable *) (FXImage *) ((FXPPMImage *) x));
|
3651
|
+
}
|
3652
|
+
static void *_p_FXXBMImageTo_p_FXDrawable(void *x) {
|
3653
|
+
return (void *)((FXDrawable *) (FXImage *) ((FXXBMImage *) x));
|
3654
|
+
}
|
3655
|
+
static void *_p_FXXPMImageTo_p_FXDrawable(void *x) {
|
3656
|
+
return (void *)((FXDrawable *) (FXImage *) ((FXXPMImage *) x));
|
3657
|
+
}
|
3658
|
+
static void *_p_FXTreeListBoxTo_p_FXDrawable(void *x) {
|
3659
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXTreeListBox *) x));
|
3660
|
+
}
|
3661
|
+
static void *_p_FXListBoxTo_p_FXDrawable(void *x) {
|
3662
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXListBox *) x));
|
3663
|
+
}
|
3664
|
+
static void *_p_FXCanvasTo_p_FXDrawable(void *x) {
|
3665
|
+
return (void *)((FXDrawable *) (FXWindow *) ((FXCanvas *) x));
|
3666
|
+
}
|
3667
|
+
static void *_p_FXColorWheelTo_p_FXDrawable(void *x) {
|
3668
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXColorWheel *) x));
|
3669
|
+
}
|
3670
|
+
static void *_p_FXToolBarGripTo_p_FXDrawable(void *x) {
|
3671
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXFrame *)(FXDockHandler *) ((FXToolBarGrip *) x));
|
3672
|
+
}
|
3673
|
+
static void *_p_FXScrollBarTo_p_FXDrawable(void *x) {
|
3674
|
+
return (void *)((FXDrawable *) (FXWindow *) ((FXScrollBar *) x));
|
3675
|
+
}
|
3676
|
+
static void *_p_FXComboBoxTo_p_FXDrawable(void *x) {
|
3677
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXComboBox *) x));
|
3678
|
+
}
|
3679
|
+
static void *_p_FXImageTo_p_FXDrawable(void *x) {
|
3680
|
+
return (void *)((FXDrawable *) ((FXImage *) x));
|
3681
|
+
}
|
3682
|
+
static void *_p_FXFrameTo_p_FXDrawable(void *x) {
|
3683
|
+
return (void *)((FXDrawable *) (FXWindow *) ((FXFrame *) x));
|
3684
|
+
}
|
3685
|
+
static void *_p_FX7SegmentTo_p_FXDrawable(void *x) {
|
3686
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FX7Segment *) x));
|
3687
|
+
}
|
3688
|
+
static void *_p_FXDockTitleTo_p_FXDrawable(void *x) {
|
3689
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXFrame *)(FXDockHandler *) ((FXDockTitle *) x));
|
3690
|
+
}
|
3691
|
+
static void *_p_FXJPGImageTo_p_FXDrawable(void *x) {
|
3692
|
+
return (void *)((FXDrawable *) (FXImage *) ((FXJPGImage *) x));
|
3693
|
+
}
|
3694
|
+
static void *_p_FXPNGImageTo_p_FXDrawable(void *x) {
|
3695
|
+
return (void *)((FXDrawable *) (FXImage *) ((FXPNGImage *) x));
|
3696
|
+
}
|
3697
|
+
static void *_p_FXGIFImageTo_p_FXDrawable(void *x) {
|
3698
|
+
return (void *)((FXDrawable *) (FXImage *) ((FXGIFImage *) x));
|
3699
|
+
}
|
3700
|
+
static void *_p_FXTIFImageTo_p_FXDrawable(void *x) {
|
3701
|
+
return (void *)((FXDrawable *) (FXImage *) ((FXTIFImage *) x));
|
3702
|
+
}
|
3703
|
+
static void *_p_FXStatusBarTo_p_FXDrawable(void *x) {
|
3704
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *)(FXHorizontalFrame *) ((FXStatusBar *) x));
|
3705
|
+
}
|
3706
|
+
static void *_p_FXKnobTo_p_FXDrawable(void *x) {
|
3707
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXKnob *) x));
|
3708
|
+
}
|
3709
|
+
static void *_p_FXRulerViewTo_p_FXDrawable(void *x) {
|
3710
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXScrollArea *) ((FXRulerView *) x));
|
3711
|
+
}
|
3712
|
+
static void *_p_FXRealSpinnerTo_p_FXDrawable(void *x) {
|
3713
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXRealSpinner *) x));
|
3714
|
+
}
|
3715
|
+
static void *_p_FXSpinnerTo_p_FXDrawable(void *x) {
|
3716
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXSpinner *) x));
|
3717
|
+
}
|
3718
|
+
static void *_p_FXStatusLineTo_p_FXDrawable(void *x) {
|
3719
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXStatusLine *) x));
|
3720
|
+
}
|
3721
|
+
static void *_p_FXSplashWindowTo_p_FXDrawable(void *x) {
|
3722
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXSplashWindow *) x));
|
3723
|
+
}
|
3724
|
+
static void *_p_FXMainWindowTo_p_FXDrawable(void *x) {
|
3725
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXMainWindow *) x));
|
3726
|
+
}
|
3727
|
+
static void *_p_FXTopWindowTo_p_FXDrawable(void *x) {
|
3728
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *) ((FXTopWindow *) x));
|
3729
|
+
}
|
3730
|
+
static void *_p_FXRootWindowTo_p_FXDrawable(void *x) {
|
3731
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FXRootWindow *) x));
|
3732
|
+
}
|
3733
|
+
static void *_p_FXWindowTo_p_FXDrawable(void *x) {
|
3734
|
+
return (void *)((FXDrawable *) ((FXWindow *) x));
|
3735
|
+
}
|
3736
|
+
static void *_p_FXScrollWindowTo_p_FXDrawable(void *x) {
|
3737
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXScrollArea *) ((FXScrollWindow *) x));
|
3738
|
+
}
|
3739
|
+
static void *_p_FXDockBarTo_p_FXDrawable(void *x) {
|
3740
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXDockBar *) x));
|
3741
|
+
}
|
3742
|
+
static void *_p_FXShellTo_p_FXDrawable(void *x) {
|
3743
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FXShell *) x));
|
3744
|
+
}
|
3745
|
+
static void *_p_FXBitmapTo_p_FXDrawable(void *x) {
|
3746
|
+
return (void *)((FXDrawable *) ((FXBitmap *) x));
|
3747
|
+
}
|
3748
|
+
static void *_p_FXScrollAreaTo_p_FXDrawable(void *x) {
|
3749
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FXScrollArea *) x));
|
3750
|
+
}
|
3751
|
+
static void *_p_FXColorWellTo_p_FXDrawable(void *x) {
|
3752
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXColorWell *) x));
|
3753
|
+
}
|
3754
|
+
static void *_p_FXDragCornerTo_p_FXDrawable(void *x) {
|
3755
|
+
return (void *)((FXDrawable *) (FXWindow *) ((FXDragCorner *) x));
|
3756
|
+
}
|
3757
|
+
static void *_p_FXRulerTo_p_FXDrawable(void *x) {
|
3758
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXRuler *) x));
|
3759
|
+
}
|
3760
|
+
static void *_p_FXDialTo_p_FXDrawable(void *x) {
|
3761
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXDial *) x));
|
3762
|
+
}
|
3763
|
+
static void *_p_FXVerticalFrameTo_p_FXDrawable(void *x) {
|
3764
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXVerticalFrame *) x));
|
3765
|
+
}
|
3766
|
+
static void *_p_FXHorizontalFrameTo_p_FXDrawable(void *x) {
|
3767
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXHorizontalFrame *) x));
|
3768
|
+
}
|
3769
|
+
static void *_p_FXImageViewTo_p_FXDrawable(void *x) {
|
3770
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXScrollArea *) ((FXImageView *) x));
|
3771
|
+
}
|
3772
|
+
static void *_p_FXFontSelectorTo_p_FXDrawable(void *x) {
|
3773
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXFontSelector *) x));
|
3774
|
+
}
|
3775
|
+
static void *_p_FXColorSelectorTo_p_FXDrawable(void *x) {
|
3776
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXColorSelector *) x));
|
3777
|
+
}
|
3778
|
+
static void *_p_FXFileSelectorTo_p_FXDrawable(void *x) {
|
3779
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXFileSelector *) x));
|
3780
|
+
}
|
3781
|
+
static void *_p_FXDirSelectorTo_p_FXDrawable(void *x) {
|
3782
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXDirSelector *) x));
|
3783
|
+
}
|
3784
|
+
static void *_p_FXToolBarShellTo_p_FXDrawable(void *x) {
|
3785
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXToolBarShell *) x));
|
3786
|
+
}
|
3787
|
+
static void *_p_FXToolBarTo_p_FXDrawable(void *x) {
|
3788
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *)(FXDockBar *) ((FXToolBar *) x));
|
3789
|
+
}
|
3790
|
+
static void *_p_FXDirBoxTo_p_FXDrawable(void *x) {
|
3791
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *)(FXTreeListBox *) ((FXDirBox *) x));
|
3792
|
+
}
|
3793
|
+
static void *_p_FXBMPImageTo_p_FXImage(void *x) {
|
3794
|
+
return (void *)((FXImage *) ((FXBMPImage *) x));
|
3795
|
+
}
|
3796
|
+
static void *_p_FXPPMImageTo_p_FXImage(void *x) {
|
3797
|
+
return (void *)((FXImage *) ((FXPPMImage *) x));
|
3798
|
+
}
|
3799
|
+
static void *_p_FXRGBImageTo_p_FXImage(void *x) {
|
3800
|
+
return (void *)((FXImage *) ((FXRGBImage *) x));
|
3801
|
+
}
|
3802
|
+
static void *_p_FXXBMImageTo_p_FXImage(void *x) {
|
3803
|
+
return (void *)((FXImage *) ((FXXBMImage *) x));
|
3804
|
+
}
|
3805
|
+
static void *_p_FXXPMImageTo_p_FXImage(void *x) {
|
3806
|
+
return (void *)((FXImage *) ((FXXPMImage *) x));
|
3807
|
+
}
|
3808
|
+
static void *_p_FXGIFImageTo_p_FXImage(void *x) {
|
3809
|
+
return (void *)((FXImage *) ((FXGIFImage *) x));
|
3810
|
+
}
|
3811
|
+
static void *_p_FXTIFImageTo_p_FXImage(void *x) {
|
3812
|
+
return (void *)((FXImage *) ((FXTIFImage *) x));
|
3813
|
+
}
|
3814
|
+
static void *_p_FXJPGImageTo_p_FXImage(void *x) {
|
3815
|
+
return (void *)((FXImage *) ((FXJPGImage *) x));
|
3816
|
+
}
|
3817
|
+
static void *_p_FXPCXImageTo_p_FXImage(void *x) {
|
3818
|
+
return (void *)((FXImage *) ((FXPCXImage *) x));
|
3819
|
+
}
|
3820
|
+
static void *_p_FXPNGImageTo_p_FXImage(void *x) {
|
3821
|
+
return (void *)((FXImage *) ((FXPNGImage *) x));
|
3822
|
+
}
|
3823
|
+
static void *_p_FXICOImageTo_p_FXImage(void *x) {
|
3824
|
+
return (void *)((FXImage *) ((FXICOImage *) x));
|
3825
|
+
}
|
3826
|
+
static void *_p_FXTGAImageTo_p_FXImage(void *x) {
|
3827
|
+
return (void *)((FXImage *) ((FXTGAImage *) x));
|
3828
|
+
}
|
3829
|
+
static swig_type_info _swigt__p_FXObject[] = {{"_p_FXObject", 0, "FXObject *", 0, 0, 0, 0},{"_p_FXDocument", _p_FXDocumentTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXGradientBar", _p_FXGradientBarTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXRegistry", _p_FXRegistryTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXHeaderItem", _p_FXHeaderItemTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXShutterItem", _p_FXShutterItemTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXColorBar", _p_FXColorBarTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXTabBar", _p_FXTabBarTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXRGBImage", _p_FXRGBImageTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXSwitcher", _p_FXSwitcherTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXTextField", _p_FXTextFieldTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXToolBarTab", _p_FXToolBarTabTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDriveBox", _p_FXDriveBoxTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXIconDict", _p_FXIconDictTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXBMPImage", _p_FXBMPImageTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXMatrix", _p_FXMatrixTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXFileDict", _p_FXFileDictTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXRecentFiles", _p_FXRecentFilesTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXScrollCorner", _p_FXScrollCornerTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXArrowButton", _p_FXArrowButtonTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXPopup", _p_FXPopupTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDrawable", _p_FXDrawableTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXFont", _p_FXFontTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXPCXImage", _p_FXPCXImageTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXHeader", _p_FXHeaderTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXSplitter", _p_FXSplitterTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FX4Splitter", _p_FX4SplitterTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXTranslator", _p_FXTranslatorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXSpring", _p_FXSpringTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXPacker", _p_FXPackerTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXTabBook", _p_FXTabBookTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXApp", _p_FXAppTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXImageFrame", _p_FXImageFrameTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXVerticalSeparator", _p_FXVerticalSeparatorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXHorizontalSeparator", _p_FXHorizontalSeparatorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXSeparator", _p_FXSeparatorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXKnob", _p_FXKnobTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXProgressBar", _p_FXProgressBarTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXShutter", _p_FXShutterTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXTGAImage", _p_FXTGAImageTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXComposite", _p_FXCompositeTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXToolTip", _p_FXToolTipTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDict", _p_FXDictTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXICOImage", _p_FXICOImageTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXBitmapFrame", _p_FXBitmapFrameTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXRealSlider", _p_FXRealSliderTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXSlider", _p_FXSliderTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXSettings", _p_FXSettingsTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDockSite", _p_FXDockSiteTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXGroupBox", _p_FXGroupBoxTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXColorRing", _p_FXColorRingTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDataTarget", _p_FXDataTargetTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDebugTarget", _p_FXDebugTargetTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDockHandler", _p_FXDockHandlerTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXPPMImage", _p_FXPPMImageTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXXBMImage", _p_FXXBMImageTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXXPMImage", _p_FXXPMImageTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXTreeListBox", _p_FXTreeListBoxTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXListBox", _p_FXListBoxTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXCanvas", _p_FXCanvasTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXId", _p_FXIdTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXColorWheel", _p_FXColorWheelTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDial", _p_FXDialTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXToolBarGrip", _p_FXToolBarGripTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXScrollBar", _p_FXScrollBarTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXVisual", _p_FXVisualTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXComboBox", _p_FXComboBoxTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXImage", _p_FXImageTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXFrame", _p_FXFrameTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FX7Segment", _p_FX7SegmentTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDockTitle", _p_FXDockTitleTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXPNGImage", _p_FXPNGImageTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXJPGImage", _p_FXJPGImageTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXTIFImage", _p_FXTIFImageTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXGIFImage", _p_FXGIFImageTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXStatusBar", _p_FXStatusBarTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXStringDict", _p_FXStringDictTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDelegator", _p_FXDelegatorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXAccelTable", _p_FXAccelTableTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXObject", 0, 0, 0, 0, 0, 0},{"_p_FXCursor", _p_FXCursorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXCURCursor", _p_FXCURCursorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXGIFCursor", _p_FXGIFCursorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXRulerView", _p_FXRulerViewTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXRealSpinner", _p_FXRealSpinnerTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXSpinner", _p_FXSpinnerTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXStatusLine", _p_FXStatusLineTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXRootWindow", _p_FXRootWindowTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXWindow", _p_FXWindowTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXScrollWindow", _p_FXScrollWindowTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXTopWindow", _p_FXTopWindowTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXMainWindow", _p_FXMainWindowTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXSplashWindow", _p_FXSplashWindowTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDockBar", _p_FXDockBarTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXShell", _p_FXShellTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXBitmap", _p_FXBitmapTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXScrollArea", _p_FXScrollAreaTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXColorWell", _p_FXColorWellTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDragCorner", _p_FXDragCornerTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXRuler", _p_FXRulerTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXVerticalFrame", _p_FXVerticalFrameTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXHorizontalFrame", _p_FXHorizontalFrameTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXImageView", _p_FXImageViewTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXFontSelector", _p_FXFontSelectorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXColorSelector", _p_FXColorSelectorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXFileSelector", _p_FXFileSelectorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDirSelector", _p_FXDirSelectorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXToolBarShell", _p_FXToolBarShellTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXToolBar", _p_FXToolBarTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDirBox", _p_FXDirBoxTo_p_FXObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
3830
|
+
static swig_type_info _swigt__p_FXRGBImage[] = {{"_p_FXRGBImage", 0, "FXRGBImage *", 0, 0, 0, 0},{"_p_FXRGBImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
3831
|
+
static swig_type_info _swigt__p_FXuchar[] = {{"_p_FXuchar", 0, "unsigned char const *|FXuchar const *", 0, 0, 0, 0},{"_p_FXuchar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
3832
|
+
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}};
|
3833
|
+
static swig_type_info _swigt__p_FXId[] = {{"_p_FXId", 0, "FXId *", 0, 0, 0, 0},{"_p_FXGradientBar", _p_FXGradientBarTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXShutterItem", _p_FXShutterItemTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXColorBar", _p_FXColorBarTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXTabBar", _p_FXTabBarTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXRGBImage", _p_FXRGBImageTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXSwitcher", _p_FXSwitcherTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXTextField", _p_FXTextFieldTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXToolBarTab", _p_FXToolBarTabTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXDriveBox", _p_FXDriveBoxTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXBMPImage", _p_FXBMPImageTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXMatrix", _p_FXMatrixTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXScrollCorner", _p_FXScrollCornerTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXArrowButton", _p_FXArrowButtonTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXPopup", _p_FXPopupTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXDrawable", _p_FXDrawableTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXFont", _p_FXFontTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXPCXImage", _p_FXPCXImageTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXHeader", _p_FXHeaderTo_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_FXSpring", _p_FXSpringTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXPacker", _p_FXPackerTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXTabBook", _p_FXTabBookTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXImageFrame", _p_FXImageFrameTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXVerticalSeparator", _p_FXVerticalSeparatorTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXHorizontalSeparator", _p_FXHorizontalSeparatorTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXSeparator", _p_FXSeparatorTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXKnob", _p_FXKnobTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXProgressBar", _p_FXProgressBarTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXShutter", _p_FXShutterTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXTGAImage", _p_FXTGAImageTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXToolTip", _p_FXToolTipTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXComposite", _p_FXCompositeTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXICOImage", _p_FXICOImageTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXBitmapFrame", _p_FXBitmapFrameTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXRealSlider", _p_FXRealSliderTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXSlider", _p_FXSliderTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXDockSite", _p_FXDockSiteTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXGroupBox", _p_FXGroupBoxTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXColorRing", _p_FXColorRingTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXDockHandler", _p_FXDockHandlerTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXPPMImage", _p_FXPPMImageTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXXBMImage", _p_FXXBMImageTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXXPMImage", _p_FXXPMImageTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXTreeListBox", _p_FXTreeListBoxTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXListBox", _p_FXListBoxTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXCanvas", _p_FXCanvasTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXId", 0, 0, 0, 0, 0, 0},{"_p_FXColorWheel", _p_FXColorWheelTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXDial", _p_FXDialTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXToolBarGrip", _p_FXToolBarGripTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXScrollBar", _p_FXScrollBarTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXVisual", _p_FXVisualTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXComboBox", _p_FXComboBoxTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXImage", _p_FXImageTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXFrame", _p_FXFrameTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FX7Segment", _p_FX7SegmentTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXDockTitle", _p_FXDockTitleTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXPNGImage", _p_FXPNGImageTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXJPGImage", _p_FXJPGImageTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXTIFImage", _p_FXTIFImageTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXGIFImage", _p_FXGIFImageTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXStatusBar", _p_FXStatusBarTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXCursor", _p_FXCursorTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXCURCursor", _p_FXCURCursorTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXGIFCursor", _p_FXGIFCursorTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXRulerView", _p_FXRulerViewTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXRealSpinner", _p_FXRealSpinnerTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXSpinner", _p_FXSpinnerTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXStatusLine", _p_FXStatusLineTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXSplashWindow", _p_FXSplashWindowTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXMainWindow", _p_FXMainWindowTo_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_FXScrollWindow", _p_FXScrollWindowTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXDockBar", _p_FXDockBarTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXShell", _p_FXShellTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXBitmap", _p_FXBitmapTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXScrollArea", _p_FXScrollAreaTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXColorWell", _p_FXColorWellTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXDragCorner", _p_FXDragCornerTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXRuler", _p_FXRulerTo_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_FXImageView", _p_FXImageViewTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXFontSelector", _p_FXFontSelectorTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXColorSelector", _p_FXColorSelectorTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXFileSelector", _p_FXFileSelectorTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXDirSelector", _p_FXDirSelectorTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXToolBarShell", _p_FXToolBarShellTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXToolBar", _p_FXToolBarTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXDirBox", _p_FXDirBoxTo_p_FXId, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
3834
|
+
static swig_type_info _swigt__p_p_FXchar[] = {{"_p_p_FXchar", 0, "char const **|FXchar const **", 0, 0, 0, 0},{"_p_p_FXchar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
3835
|
+
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}};
|
3836
|
+
static swig_type_info _swigt__p_FXDrawable[] = {{"_p_FXDrawable", 0, "FXDrawable *", 0, 0, 0, 0},{"_p_FXGradientBar", _p_FXGradientBarTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXShutterItem", _p_FXShutterItemTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXColorBar", _p_FXColorBarTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXTabBar", _p_FXTabBarTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXRGBImage", _p_FXRGBImageTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXSwitcher", _p_FXSwitcherTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXTextField", _p_FXTextFieldTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXToolBarTab", _p_FXToolBarTabTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXDriveBox", _p_FXDriveBoxTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXBMPImage", _p_FXBMPImageTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXMatrix", _p_FXMatrixTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXScrollCorner", _p_FXScrollCornerTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXArrowButton", _p_FXArrowButtonTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXPopup", _p_FXPopupTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXDrawable", 0, 0, 0, 0, 0, 0},{"_p_FXPCXImage", _p_FXPCXImageTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXHeader", _p_FXHeaderTo_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_FXSpring", _p_FXSpringTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXPacker", _p_FXPackerTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXTabBook", _p_FXTabBookTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXImageFrame", _p_FXImageFrameTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXVerticalSeparator", _p_FXVerticalSeparatorTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXHorizontalSeparator", _p_FXHorizontalSeparatorTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXSeparator", _p_FXSeparatorTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXKnob", _p_FXKnobTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXProgressBar", _p_FXProgressBarTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXShutter", _p_FXShutterTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXTGAImage", _p_FXTGAImageTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXToolTip", _p_FXToolTipTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXComposite", _p_FXCompositeTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXICOImage", _p_FXICOImageTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXBitmapFrame", _p_FXBitmapFrameTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXRealSlider", _p_FXRealSliderTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXSlider", _p_FXSliderTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXDockSite", _p_FXDockSiteTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXGroupBox", _p_FXGroupBoxTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXColorRing", _p_FXColorRingTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXDockHandler", _p_FXDockHandlerTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXPPMImage", _p_FXPPMImageTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXXBMImage", _p_FXXBMImageTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXXPMImage", _p_FXXPMImageTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXTreeListBox", _p_FXTreeListBoxTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXListBox", _p_FXListBoxTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXCanvas", _p_FXCanvasTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXColorWheel", _p_FXColorWheelTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXDial", _p_FXDialTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXToolBarGrip", _p_FXToolBarGripTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXScrollBar", _p_FXScrollBarTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXComboBox", _p_FXComboBoxTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXImage", _p_FXImageTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXFrame", _p_FXFrameTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FX7Segment", _p_FX7SegmentTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXDockTitle", _p_FXDockTitleTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXPNGImage", _p_FXPNGImageTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXJPGImage", _p_FXJPGImageTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXTIFImage", _p_FXTIFImageTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXGIFImage", _p_FXGIFImageTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXStatusBar", _p_FXStatusBarTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXRulerView", _p_FXRulerViewTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXRealSpinner", _p_FXRealSpinnerTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXSpinner", _p_FXSpinnerTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXStatusLine", _p_FXStatusLineTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXSplashWindow", _p_FXSplashWindowTo_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_FXDockBar", _p_FXDockBarTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXShell", _p_FXShellTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXBitmap", _p_FXBitmapTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXScrollArea", _p_FXScrollAreaTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXColorWell", _p_FXColorWellTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXDragCorner", _p_FXDragCornerTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXRuler", _p_FXRulerTo_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_FXImageView", _p_FXImageViewTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXFontSelector", _p_FXFontSelectorTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXColorSelector", _p_FXColorSelectorTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXFileSelector", _p_FXFileSelectorTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXDirSelector", _p_FXDirSelectorTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXToolBarShell", _p_FXToolBarShellTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXToolBar", _p_FXToolBarTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXDirBox", _p_FXDirBoxTo_p_FXDrawable, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
3837
|
+
static swig_type_info _swigt__p_FXGIFImage[] = {{"_p_FXGIFImage", 0, "FXGIFImage *", 0, 0, 0, 0},{"_p_FXGIFImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
3838
|
+
static swig_type_info _swigt__p_FXTIFImage[] = {{"_p_FXTIFImage", 0, "FXTIFImage *", 0, 0, 0, 0},{"_p_FXTIFImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
3839
|
+
static swig_type_info _swigt__p_FXICOImage[] = {{"_p_FXICOImage", 0, "FXICOImage *", 0, 0, 0, 0},{"_p_FXICOImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
3840
|
+
static swig_type_info _swigt__p_FXPPMImage[] = {{"_p_FXPPMImage", 0, "FXPPMImage *", 0, 0, 0, 0},{"_p_FXPPMImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
3841
|
+
static swig_type_info _swigt__p_FXXBMImage[] = {{"_p_FXXBMImage", 0, "FXXBMImage *", 0, 0, 0, 0},{"_p_FXXBMImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
3842
|
+
static swig_type_info _swigt__p_FXXPMImage[] = {{"_p_FXXPMImage", 0, "FXXPMImage *", 0, 0, 0, 0},{"_p_FXXPMImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
3843
|
+
static swig_type_info _swigt__p_FXPCXImage[] = {{"_p_FXPCXImage", 0, "FXPCXImage *", 0, 0, 0, 0},{"_p_FXPCXImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
3844
|
+
static swig_type_info _swigt__p_FXColor[] = {{"_p_FXColor", 0, "unsigned int const *|FXColor const *", 0, 0, 0, 0},{"_p_FXColor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
3845
|
+
static swig_type_info _swigt__p_FXBMPImage[] = {{"_p_FXBMPImage", 0, "FXBMPImage *", 0, 0, 0, 0},{"_p_FXBMPImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
3846
|
+
static swig_type_info _swigt__p_FXApp[] = {{"_p_FXApp", 0, "FXApp *", 0, 0, 0, 0},{"_p_FXApp", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
3847
|
+
static swig_type_info _swigt__p_FXJPGImage[] = {{"_p_FXJPGImage", 0, "FXJPGImage *", 0, 0, 0, 0},{"_p_FXJPGImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
3848
|
+
static swig_type_info _swigt__p_FXImage[] = {{"_p_FXImage", 0, "FXImage *", 0, 0, 0, 0},{"_p_FXBMPImage", _p_FXBMPImageTo_p_FXImage, 0, 0, 0, 0, 0},{"_p_FXPPMImage", _p_FXPPMImageTo_p_FXImage, 0, 0, 0, 0, 0},{"_p_FXRGBImage", _p_FXRGBImageTo_p_FXImage, 0, 0, 0, 0, 0},{"_p_FXXBMImage", _p_FXXBMImageTo_p_FXImage, 0, 0, 0, 0, 0},{"_p_FXXPMImage", _p_FXXPMImageTo_p_FXImage, 0, 0, 0, 0, 0},{"_p_FXImage", 0, 0, 0, 0, 0, 0},{"_p_FXGIFImage", _p_FXGIFImageTo_p_FXImage, 0, 0, 0, 0, 0},{"_p_FXTIFImage", _p_FXTIFImageTo_p_FXImage, 0, 0, 0, 0, 0},{"_p_FXJPGImage", _p_FXJPGImageTo_p_FXImage, 0, 0, 0, 0, 0},{"_p_FXPCXImage", _p_FXPCXImageTo_p_FXImage, 0, 0, 0, 0, 0},{"_p_FXPNGImage", _p_FXPNGImageTo_p_FXImage, 0, 0, 0, 0, 0},{"_p_FXICOImage", _p_FXICOImageTo_p_FXImage, 0, 0, 0, 0, 0},{"_p_FXTGAImage", _p_FXTGAImageTo_p_FXImage, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
3849
|
+
static swig_type_info _swigt__p_FXPNGImage[] = {{"_p_FXPNGImage", 0, "FXPNGImage *", 0, 0, 0, 0},{"_p_FXPNGImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
3850
|
+
static swig_type_info _swigt__p_FXMemoryBuffer[] = {{"_p_FXMemoryBuffer", 0, "FXMemoryBuffer *", 0, 0, 0, 0},{"_p_FXMemoryBuffer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
3851
|
+
static swig_type_info _swigt__p_FXTGAImage[] = {{"_p_FXTGAImage", 0, "FXTGAImage *", 0, 0, 0, 0},{"_p_FXTGAImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
3852
|
+
|
3853
|
+
static swig_type_info *swig_types_initial[] = {
|
3854
|
+
_swigt__p_FXObject,
|
3855
|
+
_swigt__p_FXRGBImage,
|
3856
|
+
_swigt__p_FXuchar,
|
3857
|
+
_swigt__p_FXBitmap,
|
3858
|
+
_swigt__p_FXId,
|
3859
|
+
_swigt__p_p_FXchar,
|
3860
|
+
_swigt__p_FXStream,
|
3861
|
+
_swigt__p_FXDrawable,
|
3862
|
+
_swigt__p_FXGIFImage,
|
3863
|
+
_swigt__p_FXTIFImage,
|
3864
|
+
_swigt__p_FXICOImage,
|
3865
|
+
_swigt__p_FXPPMImage,
|
3866
|
+
_swigt__p_FXXBMImage,
|
3867
|
+
_swigt__p_FXXPMImage,
|
3868
|
+
_swigt__p_FXPCXImage,
|
3869
|
+
_swigt__p_FXColor,
|
3870
|
+
_swigt__p_FXBMPImage,
|
3871
|
+
_swigt__p_FXApp,
|
3872
|
+
_swigt__p_FXJPGImage,
|
3873
|
+
_swigt__p_FXImage,
|
3874
|
+
_swigt__p_FXPNGImage,
|
3875
|
+
_swigt__p_FXMemoryBuffer,
|
3876
|
+
_swigt__p_FXTGAImage,
|
3877
|
+
0
|
3878
|
+
};
|
3879
|
+
|
3880
|
+
|
3881
|
+
/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
|
3882
|
+
|
3883
|
+
|
3884
|
+
#ifdef __cplusplus
|
3885
|
+
extern "C"
|
3886
|
+
#endif
|
3887
|
+
SWIGEXPORT(void) Init_image(void) {
|
3888
|
+
int i;
|
3889
|
+
|
3890
|
+
SWIG_InitRuntime();
|
3891
|
+
|
3892
|
+
for (i = 0; swig_types_initial[i]; i++) {
|
3893
|
+
swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
|
3894
|
+
SWIG_define_class(swig_types[i]);
|
3895
|
+
}
|
3896
|
+
|
3897
|
+
rb_define_const(mFox,"BITMAP_KEEP", INT2NUM(BITMAP_KEEP));
|
3898
|
+
rb_define_const(mFox,"BITMAP_OWNED", INT2NUM(BITMAP_OWNED));
|
3899
|
+
rb_define_const(mFox,"BITMAP_SHMI", INT2NUM(BITMAP_SHMI));
|
3900
|
+
rb_define_const(mFox,"BITMAP_SHMP", INT2NUM(BITMAP_SHMP));
|
3901
|
+
|
3902
|
+
cFXBitmap.klass = rb_define_class_under(mFox, "FXBitmap", ((swig_class *) SWIGTYPE_p_FXDrawable->clientdata)->klass);
|
3903
|
+
SWIG_TypeClientData(SWIGTYPE_p_FXBitmap, (void *) &cFXBitmap);
|
3904
|
+
rb_define_alloc_func(cFXBitmap.klass, _wrap_FXBitmap_allocate);
|
3905
|
+
rb_define_method(cFXBitmap.klass, "initialize", VALUEFUNC(_wrap_new_FXBitmap), -1);
|
3906
|
+
rb_define_method(cFXBitmap.klass, "getData", VALUEFUNC(_wrap_FXBitmap_getData), -1);
|
3907
|
+
rb_define_method(cFXBitmap.klass, "getOptions", VALUEFUNC(_wrap_FXBitmap_getOptions), -1);
|
3908
|
+
rb_define_method(cFXBitmap.klass, "setOptions", VALUEFUNC(_wrap_FXBitmap_setOptions), -1);
|
3909
|
+
rb_define_method(cFXBitmap.klass, "getPixel", VALUEFUNC(_wrap_FXBitmap_getPixel), -1);
|
3910
|
+
rb_define_method(cFXBitmap.klass, "setPixel", VALUEFUNC(_wrap_FXBitmap_setPixel), -1);
|
3911
|
+
rb_define_method(cFXBitmap.klass, "save", VALUEFUNC(_wrap_FXBitmap_save), -1);
|
3912
|
+
rb_define_method(cFXBitmap.klass, "load", VALUEFUNC(_wrap_FXBitmap_load), -1);
|
3913
|
+
rb_define_method(cFXBitmap.klass, "create", VALUEFUNC(_wrap_FXBitmap_create), -1);
|
3914
|
+
rb_define_method(cFXBitmap.klass, "detach", VALUEFUNC(_wrap_FXBitmap_detach), -1);
|
3915
|
+
rb_define_method(cFXBitmap.klass, "destroy", VALUEFUNC(_wrap_FXBitmap_destroy), -1);
|
3916
|
+
rb_define_method(cFXBitmap.klass, "resize", VALUEFUNC(_wrap_FXBitmap_resize), -1);
|
3917
|
+
rb_define_method(cFXBitmap.klass, "restore", VALUEFUNC(_wrap_FXBitmap_restore), -1);
|
3918
|
+
rb_define_method(cFXBitmap.klass, "render", VALUEFUNC(_wrap_FXBitmap_render), -1);
|
3919
|
+
rb_define_method(cFXBitmap.klass, "release", VALUEFUNC(_wrap_FXBitmap_release), -1);
|
3920
|
+
rb_define_method(cFXBitmap.klass, "savePixels", VALUEFUNC(_wrap_FXBitmap_savePixels), -1);
|
3921
|
+
rb_define_method(cFXBitmap.klass, "loadPixels", VALUEFUNC(_wrap_FXBitmap_loadPixels), -1);
|
3922
|
+
rb_define_method(cFXBitmap.klass, "scale", VALUEFUNC(_wrap_FXBitmap_scale), -1);
|
3923
|
+
rb_define_method(cFXBitmap.klass, "mirror", VALUEFUNC(_wrap_FXBitmap_mirror), -1);
|
3924
|
+
rb_define_method(cFXBitmap.klass, "rotate", VALUEFUNC(_wrap_FXBitmap_rotate), -1);
|
3925
|
+
rb_define_method(cFXBitmap.klass, "crop", VALUEFUNC(_wrap_FXBitmap_crop), -1);
|
3926
|
+
rb_define_method(cFXBitmap.klass, "fill", VALUEFUNC(_wrap_FXBitmap_fill), -1);
|
3927
|
+
rb_define_method(cFXBitmap.klass, "setData", VALUEFUNC(_wrap_FXBitmap_setData), -1);
|
3928
|
+
cFXBitmap.mark = (void (*)(void *)) FXRbBitmap::markfunc;
|
3929
|
+
cFXBitmap.destroy = (void (*)(void *)) FXRbObject::freefunc;
|
3930
|
+
|
3931
|
+
cFXMemoryBuffer.klass = rb_define_class_under(mFox, "FXMemoryBuffer", rb_cObject);
|
3932
|
+
SWIG_TypeClientData(SWIGTYPE_p_FXMemoryBuffer, (void *) &cFXMemoryBuffer);
|
3933
|
+
rb_define_alloc_func(cFXMemoryBuffer.klass, _wrap_FXMemoryBuffer_allocate);
|
3934
|
+
rb_define_method(cFXMemoryBuffer.klass, "initialize", VALUEFUNC(_wrap_new_FXMemoryBuffer), -1);
|
3935
|
+
rb_define_method(cFXMemoryBuffer.klass, "getSize", VALUEFUNC(_wrap_FXMemoryBuffer_getSize), -1);
|
3936
|
+
rb_define_method(cFXMemoryBuffer.klass, "getData", VALUEFUNC(_wrap_FXMemoryBuffer_getData), -1);
|
3937
|
+
rb_define_method(cFXMemoryBuffer.klass, "[]", VALUEFUNC(_wrap_FXMemoryBuffer___getitem__), -1);
|
3938
|
+
rb_define_method(cFXMemoryBuffer.klass, "[]=", VALUEFUNC(_wrap_FXMemoryBuffer___setitem__), -1);
|
3939
|
+
cFXMemoryBuffer.mark = 0;
|
3940
|
+
cFXMemoryBuffer.destroy = (void (*)(void *)) free_FXMemoryBuffer;
|
3941
|
+
rb_define_const(mFox,"IMAGE_KEEP", INT2NUM(IMAGE_KEEP));
|
3942
|
+
rb_define_const(mFox,"IMAGE_OWNED", INT2NUM(IMAGE_OWNED));
|
3943
|
+
rb_define_const(mFox,"IMAGE_DITHER", INT2NUM(IMAGE_DITHER));
|
3944
|
+
rb_define_const(mFox,"IMAGE_NEAREST", INT2NUM(IMAGE_NEAREST));
|
3945
|
+
rb_define_const(mFox,"IMAGE_OPAQUE", INT2NUM(IMAGE_OPAQUE));
|
3946
|
+
rb_define_const(mFox,"IMAGE_ALPHACOLOR", INT2NUM(IMAGE_ALPHACOLOR));
|
3947
|
+
rb_define_const(mFox,"IMAGE_SHMI", INT2NUM(IMAGE_SHMI));
|
3948
|
+
rb_define_const(mFox,"IMAGE_SHMP", INT2NUM(IMAGE_SHMP));
|
3949
|
+
rb_define_const(mFox,"IMAGE_ALPHAGUESS", INT2NUM(IMAGE_ALPHAGUESS));
|
3950
|
+
|
3951
|
+
cFXImage.klass = rb_define_class_under(mFox, "FXImage", ((swig_class *) SWIGTYPE_p_FXDrawable->clientdata)->klass);
|
3952
|
+
SWIG_TypeClientData(SWIGTYPE_p_FXImage, (void *) &cFXImage);
|
3953
|
+
rb_define_alloc_func(cFXImage.klass, _wrap_FXImage_allocate);
|
3954
|
+
rb_define_method(cFXImage.klass, "initialize", VALUEFUNC(_wrap_new_FXImage), -1);
|
3955
|
+
rb_define_method(cFXImage.klass, "getData", VALUEFUNC(_wrap_FXImage_getData), -1);
|
3956
|
+
rb_define_method(cFXImage.klass, "getOptions", VALUEFUNC(_wrap_FXImage_getOptions), -1);
|
3957
|
+
rb_define_method(cFXImage.klass, "setOptions", VALUEFUNC(_wrap_FXImage_setOptions), -1);
|
3958
|
+
rb_define_method(cFXImage.klass, "setData", VALUEFUNC(_wrap_FXImage_setData), -1);
|
3959
|
+
rb_define_method(cFXImage.klass, "getPixel", VALUEFUNC(_wrap_FXImage_getPixel), -1);
|
3960
|
+
rb_define_method(cFXImage.klass, "setPixel", VALUEFUNC(_wrap_FXImage_setPixel), -1);
|
3961
|
+
rb_define_method(cFXImage.klass, "hasAlpha?", VALUEFUNC(_wrap_FXImage_hasAlphaq___), -1);
|
3962
|
+
rb_define_method(cFXImage.klass, "save", VALUEFUNC(_wrap_FXImage_save), -1);
|
3963
|
+
rb_define_method(cFXImage.klass, "load", VALUEFUNC(_wrap_FXImage_load), -1);
|
3964
|
+
rb_define_method(cFXImage.klass, "create", VALUEFUNC(_wrap_FXImage_create), -1);
|
3965
|
+
rb_define_method(cFXImage.klass, "detach", VALUEFUNC(_wrap_FXImage_detach), -1);
|
3966
|
+
rb_define_method(cFXImage.klass, "destroy", VALUEFUNC(_wrap_FXImage_destroy), -1);
|
3967
|
+
rb_define_method(cFXImage.klass, "resize", VALUEFUNC(_wrap_FXImage_resize), -1);
|
3968
|
+
rb_define_method(cFXImage.klass, "restore", VALUEFUNC(_wrap_FXImage_restore), -1);
|
3969
|
+
rb_define_method(cFXImage.klass, "render", VALUEFUNC(_wrap_FXImage_render), -1);
|
3970
|
+
rb_define_method(cFXImage.klass, "release", VALUEFUNC(_wrap_FXImage_release), -1);
|
3971
|
+
rb_define_method(cFXImage.klass, "scale", VALUEFUNC(_wrap_FXImage_scale), -1);
|
3972
|
+
rb_define_method(cFXImage.klass, "mirror", VALUEFUNC(_wrap_FXImage_mirror), -1);
|
3973
|
+
rb_define_method(cFXImage.klass, "rotate", VALUEFUNC(_wrap_FXImage_rotate), -1);
|
3974
|
+
rb_define_method(cFXImage.klass, "crop", VALUEFUNC(_wrap_FXImage_crop), -1);
|
3975
|
+
rb_define_method(cFXImage.klass, "fill", VALUEFUNC(_wrap_FXImage_fill), -1);
|
3976
|
+
rb_define_method(cFXImage.klass, "fade", VALUEFUNC(_wrap_FXImage_fade), -1);
|
3977
|
+
rb_define_method(cFXImage.klass, "xshear", VALUEFUNC(_wrap_FXImage_xshear), -1);
|
3978
|
+
rb_define_method(cFXImage.klass, "yshear", VALUEFUNC(_wrap_FXImage_yshear), -1);
|
3979
|
+
rb_define_method(cFXImage.klass, "hgradient", VALUEFUNC(_wrap_FXImage_hgradient), -1);
|
3980
|
+
rb_define_method(cFXImage.klass, "vgradient", VALUEFUNC(_wrap_FXImage_vgradient), -1);
|
3981
|
+
rb_define_method(cFXImage.klass, "gradient", VALUEFUNC(_wrap_FXImage_gradient), -1);
|
3982
|
+
rb_define_method(cFXImage.klass, "blend", VALUEFUNC(_wrap_FXImage_blend), -1);
|
3983
|
+
rb_define_method(cFXImage.klass, "savePixels", VALUEFUNC(_wrap_FXImage_savePixels), -1);
|
3984
|
+
rb_define_method(cFXImage.klass, "loadPixels", VALUEFUNC(_wrap_FXImage_loadPixels), -1);
|
3985
|
+
cFXImage.mark = (void (*)(void *)) FXRbImage::markfunc;
|
3986
|
+
cFXImage.destroy = (void (*)(void *)) FXRbObject::freefunc;
|
3987
|
+
|
3988
|
+
SWIGTYPE_p_FXImage->dcast = (swig_dycast_func) FXImage_dynamic_cast;
|
3989
|
+
|
3990
|
+
|
3991
|
+
cFXBMPImage.klass = rb_define_class_under(mFox, "FXBMPImage", ((swig_class *) SWIGTYPE_p_FXImage->clientdata)->klass);
|
3992
|
+
SWIG_TypeClientData(SWIGTYPE_p_FXBMPImage, (void *) &cFXBMPImage);
|
3993
|
+
rb_define_alloc_func(cFXBMPImage.klass, _wrap_FXBMPImage_allocate);
|
3994
|
+
rb_define_method(cFXBMPImage.klass, "initialize", VALUEFUNC(_wrap_new_FXBMPImage), -1);
|
3995
|
+
rb_define_singleton_method(cFXBMPImage.klass, "fileExt", VALUEFUNC(_wrap_FXBMPImage_fileExt), -1);
|
3996
|
+
rb_define_singleton_method(cFXBMPImage.klass, "mimeType", VALUEFUNC(_wrap_FXBMPImage_mimeType), -1);
|
3997
|
+
rb_define_method(cFXBMPImage.klass, "save", VALUEFUNC(_wrap_FXBMPImage_save), -1);
|
3998
|
+
rb_define_method(cFXBMPImage.klass, "load", VALUEFUNC(_wrap_FXBMPImage_load), -1);
|
3999
|
+
rb_define_method(cFXBMPImage.klass, "create", VALUEFUNC(_wrap_FXBMPImage_create), -1);
|
4000
|
+
rb_define_method(cFXBMPImage.klass, "detach", VALUEFUNC(_wrap_FXBMPImage_detach), -1);
|
4001
|
+
rb_define_method(cFXBMPImage.klass, "destroy", VALUEFUNC(_wrap_FXBMPImage_destroy), -1);
|
4002
|
+
rb_define_method(cFXBMPImage.klass, "resize", VALUEFUNC(_wrap_FXBMPImage_resize), -1);
|
4003
|
+
rb_define_method(cFXBMPImage.klass, "restore", VALUEFUNC(_wrap_FXBMPImage_restore), -1);
|
4004
|
+
rb_define_method(cFXBMPImage.klass, "render", VALUEFUNC(_wrap_FXBMPImage_render), -1);
|
4005
|
+
rb_define_method(cFXBMPImage.klass, "release", VALUEFUNC(_wrap_FXBMPImage_release), -1);
|
4006
|
+
rb_define_method(cFXBMPImage.klass, "scale", VALUEFUNC(_wrap_FXBMPImage_scale), -1);
|
4007
|
+
rb_define_method(cFXBMPImage.klass, "mirror", VALUEFUNC(_wrap_FXBMPImage_mirror), -1);
|
4008
|
+
rb_define_method(cFXBMPImage.klass, "rotate", VALUEFUNC(_wrap_FXBMPImage_rotate), -1);
|
4009
|
+
rb_define_method(cFXBMPImage.klass, "crop", VALUEFUNC(_wrap_FXBMPImage_crop), -1);
|
4010
|
+
rb_define_method(cFXBMPImage.klass, "fill", VALUEFUNC(_wrap_FXBMPImage_fill), -1);
|
4011
|
+
rb_define_method(cFXBMPImage.klass, "fade", VALUEFUNC(_wrap_FXBMPImage_fade), -1);
|
4012
|
+
rb_define_method(cFXBMPImage.klass, "xshear", VALUEFUNC(_wrap_FXBMPImage_xshear), -1);
|
4013
|
+
rb_define_method(cFXBMPImage.klass, "yshear", VALUEFUNC(_wrap_FXBMPImage_yshear), -1);
|
4014
|
+
rb_define_method(cFXBMPImage.klass, "hgradient", VALUEFUNC(_wrap_FXBMPImage_hgradient), -1);
|
4015
|
+
rb_define_method(cFXBMPImage.klass, "vgradient", VALUEFUNC(_wrap_FXBMPImage_vgradient), -1);
|
4016
|
+
rb_define_method(cFXBMPImage.klass, "gradient", VALUEFUNC(_wrap_FXBMPImage_gradient), -1);
|
4017
|
+
rb_define_method(cFXBMPImage.klass, "blend", VALUEFUNC(_wrap_FXBMPImage_blend), -1);
|
4018
|
+
rb_define_method(cFXBMPImage.klass, "savePixels", VALUEFUNC(_wrap_FXBMPImage_savePixels), -1);
|
4019
|
+
rb_define_method(cFXBMPImage.klass, "loadPixels", VALUEFUNC(_wrap_FXBMPImage_loadPixels), -1);
|
4020
|
+
cFXBMPImage.mark = (void (*)(void *)) FXRbBMPImage::markfunc;
|
4021
|
+
cFXBMPImage.destroy = (void (*)(void *)) FXRbObject::freefunc;
|
4022
|
+
|
4023
|
+
cFXGIFImage.klass = rb_define_class_under(mFox, "FXGIFImage", ((swig_class *) SWIGTYPE_p_FXImage->clientdata)->klass);
|
4024
|
+
SWIG_TypeClientData(SWIGTYPE_p_FXGIFImage, (void *) &cFXGIFImage);
|
4025
|
+
rb_define_alloc_func(cFXGIFImage.klass, _wrap_FXGIFImage_allocate);
|
4026
|
+
rb_define_method(cFXGIFImage.klass, "initialize", VALUEFUNC(_wrap_new_FXGIFImage), -1);
|
4027
|
+
rb_define_singleton_method(cFXGIFImage.klass, "fileExt", VALUEFUNC(_wrap_FXGIFImage_fileExt), -1);
|
4028
|
+
rb_define_singleton_method(cFXGIFImage.klass, "mimeType", VALUEFUNC(_wrap_FXGIFImage_mimeType), -1);
|
4029
|
+
rb_define_method(cFXGIFImage.klass, "save", VALUEFUNC(_wrap_FXGIFImage_save), -1);
|
4030
|
+
rb_define_method(cFXGIFImage.klass, "load", VALUEFUNC(_wrap_FXGIFImage_load), -1);
|
4031
|
+
rb_define_method(cFXGIFImage.klass, "create", VALUEFUNC(_wrap_FXGIFImage_create), -1);
|
4032
|
+
rb_define_method(cFXGIFImage.klass, "detach", VALUEFUNC(_wrap_FXGIFImage_detach), -1);
|
4033
|
+
rb_define_method(cFXGIFImage.klass, "destroy", VALUEFUNC(_wrap_FXGIFImage_destroy), -1);
|
4034
|
+
rb_define_method(cFXGIFImage.klass, "resize", VALUEFUNC(_wrap_FXGIFImage_resize), -1);
|
4035
|
+
rb_define_method(cFXGIFImage.klass, "restore", VALUEFUNC(_wrap_FXGIFImage_restore), -1);
|
4036
|
+
rb_define_method(cFXGIFImage.klass, "render", VALUEFUNC(_wrap_FXGIFImage_render), -1);
|
4037
|
+
rb_define_method(cFXGIFImage.klass, "release", VALUEFUNC(_wrap_FXGIFImage_release), -1);
|
4038
|
+
rb_define_method(cFXGIFImage.klass, "scale", VALUEFUNC(_wrap_FXGIFImage_scale), -1);
|
4039
|
+
rb_define_method(cFXGIFImage.klass, "mirror", VALUEFUNC(_wrap_FXGIFImage_mirror), -1);
|
4040
|
+
rb_define_method(cFXGIFImage.klass, "rotate", VALUEFUNC(_wrap_FXGIFImage_rotate), -1);
|
4041
|
+
rb_define_method(cFXGIFImage.klass, "crop", VALUEFUNC(_wrap_FXGIFImage_crop), -1);
|
4042
|
+
rb_define_method(cFXGIFImage.klass, "fill", VALUEFUNC(_wrap_FXGIFImage_fill), -1);
|
4043
|
+
rb_define_method(cFXGIFImage.klass, "fade", VALUEFUNC(_wrap_FXGIFImage_fade), -1);
|
4044
|
+
rb_define_method(cFXGIFImage.klass, "xshear", VALUEFUNC(_wrap_FXGIFImage_xshear), -1);
|
4045
|
+
rb_define_method(cFXGIFImage.klass, "yshear", VALUEFUNC(_wrap_FXGIFImage_yshear), -1);
|
4046
|
+
rb_define_method(cFXGIFImage.klass, "hgradient", VALUEFUNC(_wrap_FXGIFImage_hgradient), -1);
|
4047
|
+
rb_define_method(cFXGIFImage.klass, "vgradient", VALUEFUNC(_wrap_FXGIFImage_vgradient), -1);
|
4048
|
+
rb_define_method(cFXGIFImage.klass, "gradient", VALUEFUNC(_wrap_FXGIFImage_gradient), -1);
|
4049
|
+
rb_define_method(cFXGIFImage.klass, "blend", VALUEFUNC(_wrap_FXGIFImage_blend), -1);
|
4050
|
+
rb_define_method(cFXGIFImage.klass, "savePixels", VALUEFUNC(_wrap_FXGIFImage_savePixels), -1);
|
4051
|
+
rb_define_method(cFXGIFImage.klass, "loadPixels", VALUEFUNC(_wrap_FXGIFImage_loadPixels), -1);
|
4052
|
+
cFXGIFImage.mark = (void (*)(void *)) FXRbGIFImage::markfunc;
|
4053
|
+
cFXGIFImage.destroy = (void (*)(void *)) FXRbObject::freefunc;
|
4054
|
+
|
4055
|
+
cFXICOImage.klass = rb_define_class_under(mFox, "FXICOImage", ((swig_class *) SWIGTYPE_p_FXImage->clientdata)->klass);
|
4056
|
+
SWIG_TypeClientData(SWIGTYPE_p_FXICOImage, (void *) &cFXICOImage);
|
4057
|
+
rb_define_alloc_func(cFXICOImage.klass, _wrap_FXICOImage_allocate);
|
4058
|
+
rb_define_method(cFXICOImage.klass, "initialize", VALUEFUNC(_wrap_new_FXICOImage), -1);
|
4059
|
+
rb_define_singleton_method(cFXICOImage.klass, "fileExt", VALUEFUNC(_wrap_FXICOImage_fileExt), -1);
|
4060
|
+
rb_define_singleton_method(cFXICOImage.klass, "mimeType", VALUEFUNC(_wrap_FXICOImage_mimeType), -1);
|
4061
|
+
rb_define_method(cFXICOImage.klass, "save", VALUEFUNC(_wrap_FXICOImage_save), -1);
|
4062
|
+
rb_define_method(cFXICOImage.klass, "load", VALUEFUNC(_wrap_FXICOImage_load), -1);
|
4063
|
+
rb_define_method(cFXICOImage.klass, "create", VALUEFUNC(_wrap_FXICOImage_create), -1);
|
4064
|
+
rb_define_method(cFXICOImage.klass, "detach", VALUEFUNC(_wrap_FXICOImage_detach), -1);
|
4065
|
+
rb_define_method(cFXICOImage.klass, "destroy", VALUEFUNC(_wrap_FXICOImage_destroy), -1);
|
4066
|
+
rb_define_method(cFXICOImage.klass, "resize", VALUEFUNC(_wrap_FXICOImage_resize), -1);
|
4067
|
+
rb_define_method(cFXICOImage.klass, "restore", VALUEFUNC(_wrap_FXICOImage_restore), -1);
|
4068
|
+
rb_define_method(cFXICOImage.klass, "render", VALUEFUNC(_wrap_FXICOImage_render), -1);
|
4069
|
+
rb_define_method(cFXICOImage.klass, "release", VALUEFUNC(_wrap_FXICOImage_release), -1);
|
4070
|
+
rb_define_method(cFXICOImage.klass, "scale", VALUEFUNC(_wrap_FXICOImage_scale), -1);
|
4071
|
+
rb_define_method(cFXICOImage.klass, "mirror", VALUEFUNC(_wrap_FXICOImage_mirror), -1);
|
4072
|
+
rb_define_method(cFXICOImage.klass, "rotate", VALUEFUNC(_wrap_FXICOImage_rotate), -1);
|
4073
|
+
rb_define_method(cFXICOImage.klass, "crop", VALUEFUNC(_wrap_FXICOImage_crop), -1);
|
4074
|
+
rb_define_method(cFXICOImage.klass, "fill", VALUEFUNC(_wrap_FXICOImage_fill), -1);
|
4075
|
+
rb_define_method(cFXICOImage.klass, "fade", VALUEFUNC(_wrap_FXICOImage_fade), -1);
|
4076
|
+
rb_define_method(cFXICOImage.klass, "xshear", VALUEFUNC(_wrap_FXICOImage_xshear), -1);
|
4077
|
+
rb_define_method(cFXICOImage.klass, "yshear", VALUEFUNC(_wrap_FXICOImage_yshear), -1);
|
4078
|
+
rb_define_method(cFXICOImage.klass, "hgradient", VALUEFUNC(_wrap_FXICOImage_hgradient), -1);
|
4079
|
+
rb_define_method(cFXICOImage.klass, "vgradient", VALUEFUNC(_wrap_FXICOImage_vgradient), -1);
|
4080
|
+
rb_define_method(cFXICOImage.klass, "gradient", VALUEFUNC(_wrap_FXICOImage_gradient), -1);
|
4081
|
+
rb_define_method(cFXICOImage.klass, "blend", VALUEFUNC(_wrap_FXICOImage_blend), -1);
|
4082
|
+
rb_define_method(cFXICOImage.klass, "savePixels", VALUEFUNC(_wrap_FXICOImage_savePixels), -1);
|
4083
|
+
rb_define_method(cFXICOImage.klass, "loadPixels", VALUEFUNC(_wrap_FXICOImage_loadPixels), -1);
|
4084
|
+
cFXICOImage.mark = (void (*)(void *)) FXRbICOImage::markfunc;
|
4085
|
+
cFXICOImage.destroy = (void (*)(void *)) FXRbObject::freefunc;
|
4086
|
+
|
4087
|
+
cFXJPGImage.klass = rb_define_class_under(mFox, "FXJPGImage", ((swig_class *) SWIGTYPE_p_FXImage->clientdata)->klass);
|
4088
|
+
SWIG_TypeClientData(SWIGTYPE_p_FXJPGImage, (void *) &cFXJPGImage);
|
4089
|
+
rb_define_alloc_func(cFXJPGImage.klass, _wrap_FXJPGImage_allocate);
|
4090
|
+
rb_define_method(cFXJPGImage.klass, "initialize", VALUEFUNC(_wrap_new_FXJPGImage), -1);
|
4091
|
+
rb_define_singleton_method(cFXJPGImage.klass, "fileExt", VALUEFUNC(_wrap_FXJPGImage_fileExt), -1);
|
4092
|
+
rb_define_singleton_method(cFXJPGImage.klass, "mimeType", VALUEFUNC(_wrap_FXJPGImage_mimeType), -1);
|
4093
|
+
rb_define_singleton_method(cFXJPGImage.klass, "supported?", VALUEFUNC(_wrap_FXJPGImage_supportedq___), -1);
|
4094
|
+
rb_define_method(cFXJPGImage.klass, "setQuality", VALUEFUNC(_wrap_FXJPGImage_setQuality), -1);
|
4095
|
+
rb_define_method(cFXJPGImage.klass, "getQuality", VALUEFUNC(_wrap_FXJPGImage_getQuality), -1);
|
4096
|
+
rb_define_method(cFXJPGImage.klass, "save", VALUEFUNC(_wrap_FXJPGImage_save), -1);
|
4097
|
+
rb_define_method(cFXJPGImage.klass, "load", VALUEFUNC(_wrap_FXJPGImage_load), -1);
|
4098
|
+
rb_define_method(cFXJPGImage.klass, "create", VALUEFUNC(_wrap_FXJPGImage_create), -1);
|
4099
|
+
rb_define_method(cFXJPGImage.klass, "detach", VALUEFUNC(_wrap_FXJPGImage_detach), -1);
|
4100
|
+
rb_define_method(cFXJPGImage.klass, "destroy", VALUEFUNC(_wrap_FXJPGImage_destroy), -1);
|
4101
|
+
rb_define_method(cFXJPGImage.klass, "resize", VALUEFUNC(_wrap_FXJPGImage_resize), -1);
|
4102
|
+
rb_define_method(cFXJPGImage.klass, "restore", VALUEFUNC(_wrap_FXJPGImage_restore), -1);
|
4103
|
+
rb_define_method(cFXJPGImage.klass, "render", VALUEFUNC(_wrap_FXJPGImage_render), -1);
|
4104
|
+
rb_define_method(cFXJPGImage.klass, "release", VALUEFUNC(_wrap_FXJPGImage_release), -1);
|
4105
|
+
rb_define_method(cFXJPGImage.klass, "scale", VALUEFUNC(_wrap_FXJPGImage_scale), -1);
|
4106
|
+
rb_define_method(cFXJPGImage.klass, "mirror", VALUEFUNC(_wrap_FXJPGImage_mirror), -1);
|
4107
|
+
rb_define_method(cFXJPGImage.klass, "rotate", VALUEFUNC(_wrap_FXJPGImage_rotate), -1);
|
4108
|
+
rb_define_method(cFXJPGImage.klass, "crop", VALUEFUNC(_wrap_FXJPGImage_crop), -1);
|
4109
|
+
rb_define_method(cFXJPGImage.klass, "fill", VALUEFUNC(_wrap_FXJPGImage_fill), -1);
|
4110
|
+
rb_define_method(cFXJPGImage.klass, "fade", VALUEFUNC(_wrap_FXJPGImage_fade), -1);
|
4111
|
+
rb_define_method(cFXJPGImage.klass, "xshear", VALUEFUNC(_wrap_FXJPGImage_xshear), -1);
|
4112
|
+
rb_define_method(cFXJPGImage.klass, "yshear", VALUEFUNC(_wrap_FXJPGImage_yshear), -1);
|
4113
|
+
rb_define_method(cFXJPGImage.klass, "hgradient", VALUEFUNC(_wrap_FXJPGImage_hgradient), -1);
|
4114
|
+
rb_define_method(cFXJPGImage.klass, "vgradient", VALUEFUNC(_wrap_FXJPGImage_vgradient), -1);
|
4115
|
+
rb_define_method(cFXJPGImage.klass, "gradient", VALUEFUNC(_wrap_FXJPGImage_gradient), -1);
|
4116
|
+
rb_define_method(cFXJPGImage.klass, "blend", VALUEFUNC(_wrap_FXJPGImage_blend), -1);
|
4117
|
+
rb_define_method(cFXJPGImage.klass, "savePixels", VALUEFUNC(_wrap_FXJPGImage_savePixels), -1);
|
4118
|
+
rb_define_method(cFXJPGImage.klass, "loadPixels", VALUEFUNC(_wrap_FXJPGImage_loadPixels), -1);
|
4119
|
+
cFXJPGImage.mark = (void (*)(void *)) FXRbJPGImage::markfunc;
|
4120
|
+
cFXJPGImage.destroy = (void (*)(void *)) FXRbObject::freefunc;
|
4121
|
+
|
4122
|
+
cFXPCXImage.klass = rb_define_class_under(mFox, "FXPCXImage", ((swig_class *) SWIGTYPE_p_FXImage->clientdata)->klass);
|
4123
|
+
SWIG_TypeClientData(SWIGTYPE_p_FXPCXImage, (void *) &cFXPCXImage);
|
4124
|
+
rb_define_alloc_func(cFXPCXImage.klass, _wrap_FXPCXImage_allocate);
|
4125
|
+
rb_define_method(cFXPCXImage.klass, "initialize", VALUEFUNC(_wrap_new_FXPCXImage), -1);
|
4126
|
+
rb_define_singleton_method(cFXPCXImage.klass, "fileExt", VALUEFUNC(_wrap_FXPCXImage_fileExt), -1);
|
4127
|
+
rb_define_singleton_method(cFXPCXImage.klass, "mimeType", VALUEFUNC(_wrap_FXPCXImage_mimeType), -1);
|
4128
|
+
rb_define_method(cFXPCXImage.klass, "save", VALUEFUNC(_wrap_FXPCXImage_save), -1);
|
4129
|
+
rb_define_method(cFXPCXImage.klass, "load", VALUEFUNC(_wrap_FXPCXImage_load), -1);
|
4130
|
+
rb_define_method(cFXPCXImage.klass, "create", VALUEFUNC(_wrap_FXPCXImage_create), -1);
|
4131
|
+
rb_define_method(cFXPCXImage.klass, "detach", VALUEFUNC(_wrap_FXPCXImage_detach), -1);
|
4132
|
+
rb_define_method(cFXPCXImage.klass, "destroy", VALUEFUNC(_wrap_FXPCXImage_destroy), -1);
|
4133
|
+
rb_define_method(cFXPCXImage.klass, "resize", VALUEFUNC(_wrap_FXPCXImage_resize), -1);
|
4134
|
+
rb_define_method(cFXPCXImage.klass, "restore", VALUEFUNC(_wrap_FXPCXImage_restore), -1);
|
4135
|
+
rb_define_method(cFXPCXImage.klass, "render", VALUEFUNC(_wrap_FXPCXImage_render), -1);
|
4136
|
+
rb_define_method(cFXPCXImage.klass, "release", VALUEFUNC(_wrap_FXPCXImage_release), -1);
|
4137
|
+
rb_define_method(cFXPCXImage.klass, "scale", VALUEFUNC(_wrap_FXPCXImage_scale), -1);
|
4138
|
+
rb_define_method(cFXPCXImage.klass, "mirror", VALUEFUNC(_wrap_FXPCXImage_mirror), -1);
|
4139
|
+
rb_define_method(cFXPCXImage.klass, "rotate", VALUEFUNC(_wrap_FXPCXImage_rotate), -1);
|
4140
|
+
rb_define_method(cFXPCXImage.klass, "crop", VALUEFUNC(_wrap_FXPCXImage_crop), -1);
|
4141
|
+
rb_define_method(cFXPCXImage.klass, "fill", VALUEFUNC(_wrap_FXPCXImage_fill), -1);
|
4142
|
+
rb_define_method(cFXPCXImage.klass, "fade", VALUEFUNC(_wrap_FXPCXImage_fade), -1);
|
4143
|
+
rb_define_method(cFXPCXImage.klass, "xshear", VALUEFUNC(_wrap_FXPCXImage_xshear), -1);
|
4144
|
+
rb_define_method(cFXPCXImage.klass, "yshear", VALUEFUNC(_wrap_FXPCXImage_yshear), -1);
|
4145
|
+
rb_define_method(cFXPCXImage.klass, "hgradient", VALUEFUNC(_wrap_FXPCXImage_hgradient), -1);
|
4146
|
+
rb_define_method(cFXPCXImage.klass, "vgradient", VALUEFUNC(_wrap_FXPCXImage_vgradient), -1);
|
4147
|
+
rb_define_method(cFXPCXImage.klass, "gradient", VALUEFUNC(_wrap_FXPCXImage_gradient), -1);
|
4148
|
+
rb_define_method(cFXPCXImage.klass, "blend", VALUEFUNC(_wrap_FXPCXImage_blend), -1);
|
4149
|
+
rb_define_method(cFXPCXImage.klass, "savePixels", VALUEFUNC(_wrap_FXPCXImage_savePixels), -1);
|
4150
|
+
rb_define_method(cFXPCXImage.klass, "loadPixels", VALUEFUNC(_wrap_FXPCXImage_loadPixels), -1);
|
4151
|
+
cFXPCXImage.mark = (void (*)(void *)) FXRbPCXImage::markfunc;
|
4152
|
+
cFXPCXImage.destroy = (void (*)(void *)) FXRbObject::freefunc;
|
4153
|
+
|
4154
|
+
cFXPNGImage.klass = rb_define_class_under(mFox, "FXPNGImage", ((swig_class *) SWIGTYPE_p_FXImage->clientdata)->klass);
|
4155
|
+
SWIG_TypeClientData(SWIGTYPE_p_FXPNGImage, (void *) &cFXPNGImage);
|
4156
|
+
rb_define_alloc_func(cFXPNGImage.klass, _wrap_FXPNGImage_allocate);
|
4157
|
+
rb_define_method(cFXPNGImage.klass, "initialize", VALUEFUNC(_wrap_new_FXPNGImage), -1);
|
4158
|
+
rb_define_singleton_method(cFXPNGImage.klass, "fileExt", VALUEFUNC(_wrap_FXPNGImage_fileExt), -1);
|
4159
|
+
rb_define_singleton_method(cFXPNGImage.klass, "mimeType", VALUEFUNC(_wrap_FXPNGImage_mimeType), -1);
|
4160
|
+
rb_define_singleton_method(cFXPNGImage.klass, "supported?", VALUEFUNC(_wrap_FXPNGImage_supportedq___), -1);
|
4161
|
+
rb_define_method(cFXPNGImage.klass, "save", VALUEFUNC(_wrap_FXPNGImage_save), -1);
|
4162
|
+
rb_define_method(cFXPNGImage.klass, "load", VALUEFUNC(_wrap_FXPNGImage_load), -1);
|
4163
|
+
rb_define_method(cFXPNGImage.klass, "create", VALUEFUNC(_wrap_FXPNGImage_create), -1);
|
4164
|
+
rb_define_method(cFXPNGImage.klass, "detach", VALUEFUNC(_wrap_FXPNGImage_detach), -1);
|
4165
|
+
rb_define_method(cFXPNGImage.klass, "destroy", VALUEFUNC(_wrap_FXPNGImage_destroy), -1);
|
4166
|
+
rb_define_method(cFXPNGImage.klass, "resize", VALUEFUNC(_wrap_FXPNGImage_resize), -1);
|
4167
|
+
rb_define_method(cFXPNGImage.klass, "restore", VALUEFUNC(_wrap_FXPNGImage_restore), -1);
|
4168
|
+
rb_define_method(cFXPNGImage.klass, "render", VALUEFUNC(_wrap_FXPNGImage_render), -1);
|
4169
|
+
rb_define_method(cFXPNGImage.klass, "release", VALUEFUNC(_wrap_FXPNGImage_release), -1);
|
4170
|
+
rb_define_method(cFXPNGImage.klass, "scale", VALUEFUNC(_wrap_FXPNGImage_scale), -1);
|
4171
|
+
rb_define_method(cFXPNGImage.klass, "mirror", VALUEFUNC(_wrap_FXPNGImage_mirror), -1);
|
4172
|
+
rb_define_method(cFXPNGImage.klass, "rotate", VALUEFUNC(_wrap_FXPNGImage_rotate), -1);
|
4173
|
+
rb_define_method(cFXPNGImage.klass, "crop", VALUEFUNC(_wrap_FXPNGImage_crop), -1);
|
4174
|
+
rb_define_method(cFXPNGImage.klass, "fill", VALUEFUNC(_wrap_FXPNGImage_fill), -1);
|
4175
|
+
rb_define_method(cFXPNGImage.klass, "fade", VALUEFUNC(_wrap_FXPNGImage_fade), -1);
|
4176
|
+
rb_define_method(cFXPNGImage.klass, "xshear", VALUEFUNC(_wrap_FXPNGImage_xshear), -1);
|
4177
|
+
rb_define_method(cFXPNGImage.klass, "yshear", VALUEFUNC(_wrap_FXPNGImage_yshear), -1);
|
4178
|
+
rb_define_method(cFXPNGImage.klass, "hgradient", VALUEFUNC(_wrap_FXPNGImage_hgradient), -1);
|
4179
|
+
rb_define_method(cFXPNGImage.klass, "vgradient", VALUEFUNC(_wrap_FXPNGImage_vgradient), -1);
|
4180
|
+
rb_define_method(cFXPNGImage.klass, "gradient", VALUEFUNC(_wrap_FXPNGImage_gradient), -1);
|
4181
|
+
rb_define_method(cFXPNGImage.klass, "blend", VALUEFUNC(_wrap_FXPNGImage_blend), -1);
|
4182
|
+
rb_define_method(cFXPNGImage.klass, "savePixels", VALUEFUNC(_wrap_FXPNGImage_savePixels), -1);
|
4183
|
+
rb_define_method(cFXPNGImage.klass, "loadPixels", VALUEFUNC(_wrap_FXPNGImage_loadPixels), -1);
|
4184
|
+
cFXPNGImage.mark = (void (*)(void *)) FXRbPNGImage::markfunc;
|
4185
|
+
cFXPNGImage.destroy = (void (*)(void *)) FXRbObject::freefunc;
|
4186
|
+
|
4187
|
+
cFXPPMImage.klass = rb_define_class_under(mFox, "FXPPMImage", ((swig_class *) SWIGTYPE_p_FXImage->clientdata)->klass);
|
4188
|
+
SWIG_TypeClientData(SWIGTYPE_p_FXPPMImage, (void *) &cFXPPMImage);
|
4189
|
+
rb_define_alloc_func(cFXPPMImage.klass, _wrap_FXPPMImage_allocate);
|
4190
|
+
rb_define_method(cFXPPMImage.klass, "initialize", VALUEFUNC(_wrap_new_FXPPMImage), -1);
|
4191
|
+
rb_define_singleton_method(cFXPPMImage.klass, "fileExt", VALUEFUNC(_wrap_FXPPMImage_fileExt), -1);
|
4192
|
+
rb_define_singleton_method(cFXPPMImage.klass, "mimeType", VALUEFUNC(_wrap_FXPPMImage_mimeType), -1);
|
4193
|
+
rb_define_method(cFXPPMImage.klass, "save", VALUEFUNC(_wrap_FXPPMImage_save), -1);
|
4194
|
+
rb_define_method(cFXPPMImage.klass, "load", VALUEFUNC(_wrap_FXPPMImage_load), -1);
|
4195
|
+
rb_define_method(cFXPPMImage.klass, "create", VALUEFUNC(_wrap_FXPPMImage_create), -1);
|
4196
|
+
rb_define_method(cFXPPMImage.klass, "detach", VALUEFUNC(_wrap_FXPPMImage_detach), -1);
|
4197
|
+
rb_define_method(cFXPPMImage.klass, "destroy", VALUEFUNC(_wrap_FXPPMImage_destroy), -1);
|
4198
|
+
rb_define_method(cFXPPMImage.klass, "resize", VALUEFUNC(_wrap_FXPPMImage_resize), -1);
|
4199
|
+
rb_define_method(cFXPPMImage.klass, "restore", VALUEFUNC(_wrap_FXPPMImage_restore), -1);
|
4200
|
+
rb_define_method(cFXPPMImage.klass, "render", VALUEFUNC(_wrap_FXPPMImage_render), -1);
|
4201
|
+
rb_define_method(cFXPPMImage.klass, "release", VALUEFUNC(_wrap_FXPPMImage_release), -1);
|
4202
|
+
rb_define_method(cFXPPMImage.klass, "scale", VALUEFUNC(_wrap_FXPPMImage_scale), -1);
|
4203
|
+
rb_define_method(cFXPPMImage.klass, "mirror", VALUEFUNC(_wrap_FXPPMImage_mirror), -1);
|
4204
|
+
rb_define_method(cFXPPMImage.klass, "rotate", VALUEFUNC(_wrap_FXPPMImage_rotate), -1);
|
4205
|
+
rb_define_method(cFXPPMImage.klass, "crop", VALUEFUNC(_wrap_FXPPMImage_crop), -1);
|
4206
|
+
rb_define_method(cFXPPMImage.klass, "fill", VALUEFUNC(_wrap_FXPPMImage_fill), -1);
|
4207
|
+
rb_define_method(cFXPPMImage.klass, "fade", VALUEFUNC(_wrap_FXPPMImage_fade), -1);
|
4208
|
+
rb_define_method(cFXPPMImage.klass, "xshear", VALUEFUNC(_wrap_FXPPMImage_xshear), -1);
|
4209
|
+
rb_define_method(cFXPPMImage.klass, "yshear", VALUEFUNC(_wrap_FXPPMImage_yshear), -1);
|
4210
|
+
rb_define_method(cFXPPMImage.klass, "hgradient", VALUEFUNC(_wrap_FXPPMImage_hgradient), -1);
|
4211
|
+
rb_define_method(cFXPPMImage.klass, "vgradient", VALUEFUNC(_wrap_FXPPMImage_vgradient), -1);
|
4212
|
+
rb_define_method(cFXPPMImage.klass, "gradient", VALUEFUNC(_wrap_FXPPMImage_gradient), -1);
|
4213
|
+
rb_define_method(cFXPPMImage.klass, "blend", VALUEFUNC(_wrap_FXPPMImage_blend), -1);
|
4214
|
+
rb_define_method(cFXPPMImage.klass, "savePixels", VALUEFUNC(_wrap_FXPPMImage_savePixels), -1);
|
4215
|
+
rb_define_method(cFXPPMImage.klass, "loadPixels", VALUEFUNC(_wrap_FXPPMImage_loadPixels), -1);
|
4216
|
+
cFXPPMImage.mark = 0;
|
4217
|
+
cFXPPMImage.destroy = (void (*)(void *)) FXRbObject::freefunc;
|
4218
|
+
|
4219
|
+
cFXRGBImage.klass = rb_define_class_under(mFox, "FXRGBImage", ((swig_class *) SWIGTYPE_p_FXImage->clientdata)->klass);
|
4220
|
+
SWIG_TypeClientData(SWIGTYPE_p_FXRGBImage, (void *) &cFXRGBImage);
|
4221
|
+
rb_define_alloc_func(cFXRGBImage.klass, _wrap_FXRGBImage_allocate);
|
4222
|
+
rb_define_method(cFXRGBImage.klass, "initialize", VALUEFUNC(_wrap_new_FXRGBImage), -1);
|
4223
|
+
rb_define_singleton_method(cFXRGBImage.klass, "fileExt", VALUEFUNC(_wrap_FXRGBImage_fileExt), -1);
|
4224
|
+
rb_define_singleton_method(cFXRGBImage.klass, "mimeType", VALUEFUNC(_wrap_FXRGBImage_mimeType), -1);
|
4225
|
+
rb_define_method(cFXRGBImage.klass, "save", VALUEFUNC(_wrap_FXRGBImage_save), -1);
|
4226
|
+
rb_define_method(cFXRGBImage.klass, "load", VALUEFUNC(_wrap_FXRGBImage_load), -1);
|
4227
|
+
rb_define_method(cFXRGBImage.klass, "create", VALUEFUNC(_wrap_FXRGBImage_create), -1);
|
4228
|
+
rb_define_method(cFXRGBImage.klass, "detach", VALUEFUNC(_wrap_FXRGBImage_detach), -1);
|
4229
|
+
rb_define_method(cFXRGBImage.klass, "destroy", VALUEFUNC(_wrap_FXRGBImage_destroy), -1);
|
4230
|
+
rb_define_method(cFXRGBImage.klass, "resize", VALUEFUNC(_wrap_FXRGBImage_resize), -1);
|
4231
|
+
rb_define_method(cFXRGBImage.klass, "restore", VALUEFUNC(_wrap_FXRGBImage_restore), -1);
|
4232
|
+
rb_define_method(cFXRGBImage.klass, "render", VALUEFUNC(_wrap_FXRGBImage_render), -1);
|
4233
|
+
rb_define_method(cFXRGBImage.klass, "release", VALUEFUNC(_wrap_FXRGBImage_release), -1);
|
4234
|
+
rb_define_method(cFXRGBImage.klass, "scale", VALUEFUNC(_wrap_FXRGBImage_scale), -1);
|
4235
|
+
rb_define_method(cFXRGBImage.klass, "mirror", VALUEFUNC(_wrap_FXRGBImage_mirror), -1);
|
4236
|
+
rb_define_method(cFXRGBImage.klass, "rotate", VALUEFUNC(_wrap_FXRGBImage_rotate), -1);
|
4237
|
+
rb_define_method(cFXRGBImage.klass, "crop", VALUEFUNC(_wrap_FXRGBImage_crop), -1);
|
4238
|
+
rb_define_method(cFXRGBImage.klass, "fill", VALUEFUNC(_wrap_FXRGBImage_fill), -1);
|
4239
|
+
rb_define_method(cFXRGBImage.klass, "fade", VALUEFUNC(_wrap_FXRGBImage_fade), -1);
|
4240
|
+
rb_define_method(cFXRGBImage.klass, "xshear", VALUEFUNC(_wrap_FXRGBImage_xshear), -1);
|
4241
|
+
rb_define_method(cFXRGBImage.klass, "yshear", VALUEFUNC(_wrap_FXRGBImage_yshear), -1);
|
4242
|
+
rb_define_method(cFXRGBImage.klass, "hgradient", VALUEFUNC(_wrap_FXRGBImage_hgradient), -1);
|
4243
|
+
rb_define_method(cFXRGBImage.klass, "vgradient", VALUEFUNC(_wrap_FXRGBImage_vgradient), -1);
|
4244
|
+
rb_define_method(cFXRGBImage.klass, "gradient", VALUEFUNC(_wrap_FXRGBImage_gradient), -1);
|
4245
|
+
rb_define_method(cFXRGBImage.klass, "blend", VALUEFUNC(_wrap_FXRGBImage_blend), -1);
|
4246
|
+
rb_define_method(cFXRGBImage.klass, "savePixels", VALUEFUNC(_wrap_FXRGBImage_savePixels), -1);
|
4247
|
+
rb_define_method(cFXRGBImage.klass, "loadPixels", VALUEFUNC(_wrap_FXRGBImage_loadPixels), -1);
|
4248
|
+
cFXRGBImage.mark = (void (*)(void *)) FXRbRGBImage::markfunc;
|
4249
|
+
cFXRGBImage.destroy = (void (*)(void *)) FXRbObject::freefunc;
|
4250
|
+
|
4251
|
+
cFXTGAImage.klass = rb_define_class_under(mFox, "FXTGAImage", ((swig_class *) SWIGTYPE_p_FXImage->clientdata)->klass);
|
4252
|
+
SWIG_TypeClientData(SWIGTYPE_p_FXTGAImage, (void *) &cFXTGAImage);
|
4253
|
+
rb_define_alloc_func(cFXTGAImage.klass, _wrap_FXTGAImage_allocate);
|
4254
|
+
rb_define_method(cFXTGAImage.klass, "initialize", VALUEFUNC(_wrap_new_FXTGAImage), -1);
|
4255
|
+
rb_define_singleton_method(cFXTGAImage.klass, "fileExt", VALUEFUNC(_wrap_FXTGAImage_fileExt), -1);
|
4256
|
+
rb_define_singleton_method(cFXTGAImage.klass, "mimeType", VALUEFUNC(_wrap_FXTGAImage_mimeType), -1);
|
4257
|
+
rb_define_method(cFXTGAImage.klass, "save", VALUEFUNC(_wrap_FXTGAImage_save), -1);
|
4258
|
+
rb_define_method(cFXTGAImage.klass, "load", VALUEFUNC(_wrap_FXTGAImage_load), -1);
|
4259
|
+
rb_define_method(cFXTGAImage.klass, "create", VALUEFUNC(_wrap_FXTGAImage_create), -1);
|
4260
|
+
rb_define_method(cFXTGAImage.klass, "detach", VALUEFUNC(_wrap_FXTGAImage_detach), -1);
|
4261
|
+
rb_define_method(cFXTGAImage.klass, "destroy", VALUEFUNC(_wrap_FXTGAImage_destroy), -1);
|
4262
|
+
rb_define_method(cFXTGAImage.klass, "resize", VALUEFUNC(_wrap_FXTGAImage_resize), -1);
|
4263
|
+
rb_define_method(cFXTGAImage.klass, "restore", VALUEFUNC(_wrap_FXTGAImage_restore), -1);
|
4264
|
+
rb_define_method(cFXTGAImage.klass, "render", VALUEFUNC(_wrap_FXTGAImage_render), -1);
|
4265
|
+
rb_define_method(cFXTGAImage.klass, "release", VALUEFUNC(_wrap_FXTGAImage_release), -1);
|
4266
|
+
rb_define_method(cFXTGAImage.klass, "scale", VALUEFUNC(_wrap_FXTGAImage_scale), -1);
|
4267
|
+
rb_define_method(cFXTGAImage.klass, "mirror", VALUEFUNC(_wrap_FXTGAImage_mirror), -1);
|
4268
|
+
rb_define_method(cFXTGAImage.klass, "rotate", VALUEFUNC(_wrap_FXTGAImage_rotate), -1);
|
4269
|
+
rb_define_method(cFXTGAImage.klass, "crop", VALUEFUNC(_wrap_FXTGAImage_crop), -1);
|
4270
|
+
rb_define_method(cFXTGAImage.klass, "fill", VALUEFUNC(_wrap_FXTGAImage_fill), -1);
|
4271
|
+
rb_define_method(cFXTGAImage.klass, "fade", VALUEFUNC(_wrap_FXTGAImage_fade), -1);
|
4272
|
+
rb_define_method(cFXTGAImage.klass, "xshear", VALUEFUNC(_wrap_FXTGAImage_xshear), -1);
|
4273
|
+
rb_define_method(cFXTGAImage.klass, "yshear", VALUEFUNC(_wrap_FXTGAImage_yshear), -1);
|
4274
|
+
rb_define_method(cFXTGAImage.klass, "hgradient", VALUEFUNC(_wrap_FXTGAImage_hgradient), -1);
|
4275
|
+
rb_define_method(cFXTGAImage.klass, "vgradient", VALUEFUNC(_wrap_FXTGAImage_vgradient), -1);
|
4276
|
+
rb_define_method(cFXTGAImage.klass, "gradient", VALUEFUNC(_wrap_FXTGAImage_gradient), -1);
|
4277
|
+
rb_define_method(cFXTGAImage.klass, "blend", VALUEFUNC(_wrap_FXTGAImage_blend), -1);
|
4278
|
+
rb_define_method(cFXTGAImage.klass, "savePixels", VALUEFUNC(_wrap_FXTGAImage_savePixels), -1);
|
4279
|
+
rb_define_method(cFXTGAImage.klass, "loadPixels", VALUEFUNC(_wrap_FXTGAImage_loadPixels), -1);
|
4280
|
+
cFXTGAImage.mark = (void (*)(void *)) FXRbTGAImage::markfunc;
|
4281
|
+
cFXTGAImage.destroy = (void (*)(void *)) FXRbObject::freefunc;
|
4282
|
+
|
4283
|
+
cFXTIFImage.klass = rb_define_class_under(mFox, "FXTIFImage", ((swig_class *) SWIGTYPE_p_FXImage->clientdata)->klass);
|
4284
|
+
SWIG_TypeClientData(SWIGTYPE_p_FXTIFImage, (void *) &cFXTIFImage);
|
4285
|
+
rb_define_alloc_func(cFXTIFImage.klass, _wrap_FXTIFImage_allocate);
|
4286
|
+
rb_define_method(cFXTIFImage.klass, "initialize", VALUEFUNC(_wrap_new_FXTIFImage), -1);
|
4287
|
+
rb_define_singleton_method(cFXTIFImage.klass, "fileExt", VALUEFUNC(_wrap_FXTIFImage_fileExt), -1);
|
4288
|
+
rb_define_singleton_method(cFXTIFImage.klass, "mimeType", VALUEFUNC(_wrap_FXTIFImage_mimeType), -1);
|
4289
|
+
rb_define_singleton_method(cFXTIFImage.klass, "supported?", VALUEFUNC(_wrap_FXTIFImage_supportedq___), -1);
|
4290
|
+
rb_define_method(cFXTIFImage.klass, "setCodec", VALUEFUNC(_wrap_FXTIFImage_setCodec), -1);
|
4291
|
+
rb_define_method(cFXTIFImage.klass, "getCodec", VALUEFUNC(_wrap_FXTIFImage_getCodec), -1);
|
4292
|
+
rb_define_method(cFXTIFImage.klass, "save", VALUEFUNC(_wrap_FXTIFImage_save), -1);
|
4293
|
+
rb_define_method(cFXTIFImage.klass, "load", VALUEFUNC(_wrap_FXTIFImage_load), -1);
|
4294
|
+
rb_define_method(cFXTIFImage.klass, "create", VALUEFUNC(_wrap_FXTIFImage_create), -1);
|
4295
|
+
rb_define_method(cFXTIFImage.klass, "detach", VALUEFUNC(_wrap_FXTIFImage_detach), -1);
|
4296
|
+
rb_define_method(cFXTIFImage.klass, "destroy", VALUEFUNC(_wrap_FXTIFImage_destroy), -1);
|
4297
|
+
rb_define_method(cFXTIFImage.klass, "resize", VALUEFUNC(_wrap_FXTIFImage_resize), -1);
|
4298
|
+
rb_define_method(cFXTIFImage.klass, "restore", VALUEFUNC(_wrap_FXTIFImage_restore), -1);
|
4299
|
+
rb_define_method(cFXTIFImage.klass, "render", VALUEFUNC(_wrap_FXTIFImage_render), -1);
|
4300
|
+
rb_define_method(cFXTIFImage.klass, "release", VALUEFUNC(_wrap_FXTIFImage_release), -1);
|
4301
|
+
rb_define_method(cFXTIFImage.klass, "scale", VALUEFUNC(_wrap_FXTIFImage_scale), -1);
|
4302
|
+
rb_define_method(cFXTIFImage.klass, "mirror", VALUEFUNC(_wrap_FXTIFImage_mirror), -1);
|
4303
|
+
rb_define_method(cFXTIFImage.klass, "rotate", VALUEFUNC(_wrap_FXTIFImage_rotate), -1);
|
4304
|
+
rb_define_method(cFXTIFImage.klass, "crop", VALUEFUNC(_wrap_FXTIFImage_crop), -1);
|
4305
|
+
rb_define_method(cFXTIFImage.klass, "fill", VALUEFUNC(_wrap_FXTIFImage_fill), -1);
|
4306
|
+
rb_define_method(cFXTIFImage.klass, "fade", VALUEFUNC(_wrap_FXTIFImage_fade), -1);
|
4307
|
+
rb_define_method(cFXTIFImage.klass, "xshear", VALUEFUNC(_wrap_FXTIFImage_xshear), -1);
|
4308
|
+
rb_define_method(cFXTIFImage.klass, "yshear", VALUEFUNC(_wrap_FXTIFImage_yshear), -1);
|
4309
|
+
rb_define_method(cFXTIFImage.klass, "hgradient", VALUEFUNC(_wrap_FXTIFImage_hgradient), -1);
|
4310
|
+
rb_define_method(cFXTIFImage.klass, "vgradient", VALUEFUNC(_wrap_FXTIFImage_vgradient), -1);
|
4311
|
+
rb_define_method(cFXTIFImage.klass, "gradient", VALUEFUNC(_wrap_FXTIFImage_gradient), -1);
|
4312
|
+
rb_define_method(cFXTIFImage.klass, "blend", VALUEFUNC(_wrap_FXTIFImage_blend), -1);
|
4313
|
+
rb_define_method(cFXTIFImage.klass, "savePixels", VALUEFUNC(_wrap_FXTIFImage_savePixels), -1);
|
4314
|
+
rb_define_method(cFXTIFImage.klass, "loadPixels", VALUEFUNC(_wrap_FXTIFImage_loadPixels), -1);
|
4315
|
+
cFXTIFImage.mark = (void (*)(void *)) FXRbTIFImage::markfunc;
|
4316
|
+
cFXTIFImage.destroy = (void (*)(void *)) FXRbObject::freefunc;
|
4317
|
+
rb_define_module_function(mFox, "fxloadTIF", VALUEFUNC(_wrap_fxloadTIF), -1);
|
4318
|
+
rb_define_module_function(mFox, "fxsaveTIF", VALUEFUNC(_wrap_fxsaveTIF), -1);
|
4319
|
+
|
4320
|
+
cFXXBMImage.klass = rb_define_class_under(mFox, "FXXBMImage", ((swig_class *) SWIGTYPE_p_FXImage->clientdata)->klass);
|
4321
|
+
SWIG_TypeClientData(SWIGTYPE_p_FXXBMImage, (void *) &cFXXBMImage);
|
4322
|
+
rb_define_alloc_func(cFXXBMImage.klass, _wrap_FXXBMImage_allocate);
|
4323
|
+
rb_define_method(cFXXBMImage.klass, "initialize", VALUEFUNC(_wrap_new_FXXBMImage), -1);
|
4324
|
+
rb_define_singleton_method(cFXXBMImage.klass, "fileExt", VALUEFUNC(_wrap_FXXBMImage_fileExt), -1);
|
4325
|
+
rb_define_singleton_method(cFXXBMImage.klass, "mimeType", VALUEFUNC(_wrap_FXXBMImage_mimeType), -1);
|
4326
|
+
rb_define_method(cFXXBMImage.klass, "save", VALUEFUNC(_wrap_FXXBMImage_save), -1);
|
4327
|
+
rb_define_method(cFXXBMImage.klass, "load", VALUEFUNC(_wrap_FXXBMImage_load), -1);
|
4328
|
+
rb_define_method(cFXXBMImage.klass, "create", VALUEFUNC(_wrap_FXXBMImage_create), -1);
|
4329
|
+
rb_define_method(cFXXBMImage.klass, "detach", VALUEFUNC(_wrap_FXXBMImage_detach), -1);
|
4330
|
+
rb_define_method(cFXXBMImage.klass, "destroy", VALUEFUNC(_wrap_FXXBMImage_destroy), -1);
|
4331
|
+
rb_define_method(cFXXBMImage.klass, "resize", VALUEFUNC(_wrap_FXXBMImage_resize), -1);
|
4332
|
+
rb_define_method(cFXXBMImage.klass, "restore", VALUEFUNC(_wrap_FXXBMImage_restore), -1);
|
4333
|
+
rb_define_method(cFXXBMImage.klass, "render", VALUEFUNC(_wrap_FXXBMImage_render), -1);
|
4334
|
+
rb_define_method(cFXXBMImage.klass, "release", VALUEFUNC(_wrap_FXXBMImage_release), -1);
|
4335
|
+
rb_define_method(cFXXBMImage.klass, "scale", VALUEFUNC(_wrap_FXXBMImage_scale), -1);
|
4336
|
+
rb_define_method(cFXXBMImage.klass, "mirror", VALUEFUNC(_wrap_FXXBMImage_mirror), -1);
|
4337
|
+
rb_define_method(cFXXBMImage.klass, "rotate", VALUEFUNC(_wrap_FXXBMImage_rotate), -1);
|
4338
|
+
rb_define_method(cFXXBMImage.klass, "crop", VALUEFUNC(_wrap_FXXBMImage_crop), -1);
|
4339
|
+
rb_define_method(cFXXBMImage.klass, "fill", VALUEFUNC(_wrap_FXXBMImage_fill), -1);
|
4340
|
+
rb_define_method(cFXXBMImage.klass, "fade", VALUEFUNC(_wrap_FXXBMImage_fade), -1);
|
4341
|
+
rb_define_method(cFXXBMImage.klass, "xshear", VALUEFUNC(_wrap_FXXBMImage_xshear), -1);
|
4342
|
+
rb_define_method(cFXXBMImage.klass, "yshear", VALUEFUNC(_wrap_FXXBMImage_yshear), -1);
|
4343
|
+
rb_define_method(cFXXBMImage.klass, "hgradient", VALUEFUNC(_wrap_FXXBMImage_hgradient), -1);
|
4344
|
+
rb_define_method(cFXXBMImage.klass, "vgradient", VALUEFUNC(_wrap_FXXBMImage_vgradient), -1);
|
4345
|
+
rb_define_method(cFXXBMImage.klass, "gradient", VALUEFUNC(_wrap_FXXBMImage_gradient), -1);
|
4346
|
+
rb_define_method(cFXXBMImage.klass, "blend", VALUEFUNC(_wrap_FXXBMImage_blend), -1);
|
4347
|
+
rb_define_method(cFXXBMImage.klass, "savePixels", VALUEFUNC(_wrap_FXXBMImage_savePixels), -1);
|
4348
|
+
rb_define_method(cFXXBMImage.klass, "loadPixels", VALUEFUNC(_wrap_FXXBMImage_loadPixels), -1);
|
4349
|
+
cFXXBMImage.mark = 0;
|
4350
|
+
cFXXBMImage.destroy = (void (*)(void *)) FXRbObject::freefunc;
|
4351
|
+
rb_define_module_function(mFox, "fxloadXBM", VALUEFUNC(_wrap_fxloadXBM), -1);
|
4352
|
+
rb_define_module_function(mFox, "fxsaveXBM", VALUEFUNC(_wrap_fxsaveXBM), -1);
|
4353
|
+
rb_define_module_function(mFox, "fxsavePS", VALUEFUNC(_wrap_fxsavePS), -1);
|
4354
|
+
rb_define_module_function(mFox, "fxcheckXBM", VALUEFUNC(_wrap_fxcheckXBM), -1);
|
4355
|
+
|
4356
|
+
cFXXPMImage.klass = rb_define_class_under(mFox, "FXXPMImage", ((swig_class *) SWIGTYPE_p_FXImage->clientdata)->klass);
|
4357
|
+
SWIG_TypeClientData(SWIGTYPE_p_FXXPMImage, (void *) &cFXXPMImage);
|
4358
|
+
rb_define_alloc_func(cFXXPMImage.klass, _wrap_FXXPMImage_allocate);
|
4359
|
+
rb_define_method(cFXXPMImage.klass, "initialize", VALUEFUNC(_wrap_new_FXXPMImage), -1);
|
4360
|
+
rb_define_singleton_method(cFXXPMImage.klass, "fileExt", VALUEFUNC(_wrap_FXXPMImage_fileExt), -1);
|
4361
|
+
rb_define_singleton_method(cFXXPMImage.klass, "mimeType", VALUEFUNC(_wrap_FXXPMImage_mimeType), -1);
|
4362
|
+
rb_define_method(cFXXPMImage.klass, "save", VALUEFUNC(_wrap_FXXPMImage_save), -1);
|
4363
|
+
rb_define_method(cFXXPMImage.klass, "load", VALUEFUNC(_wrap_FXXPMImage_load), -1);
|
4364
|
+
rb_define_method(cFXXPMImage.klass, "create", VALUEFUNC(_wrap_FXXPMImage_create), -1);
|
4365
|
+
rb_define_method(cFXXPMImage.klass, "detach", VALUEFUNC(_wrap_FXXPMImage_detach), -1);
|
4366
|
+
rb_define_method(cFXXPMImage.klass, "destroy", VALUEFUNC(_wrap_FXXPMImage_destroy), -1);
|
4367
|
+
rb_define_method(cFXXPMImage.klass, "resize", VALUEFUNC(_wrap_FXXPMImage_resize), -1);
|
4368
|
+
rb_define_method(cFXXPMImage.klass, "restore", VALUEFUNC(_wrap_FXXPMImage_restore), -1);
|
4369
|
+
rb_define_method(cFXXPMImage.klass, "render", VALUEFUNC(_wrap_FXXPMImage_render), -1);
|
4370
|
+
rb_define_method(cFXXPMImage.klass, "release", VALUEFUNC(_wrap_FXXPMImage_release), -1);
|
4371
|
+
rb_define_method(cFXXPMImage.klass, "scale", VALUEFUNC(_wrap_FXXPMImage_scale), -1);
|
4372
|
+
rb_define_method(cFXXPMImage.klass, "mirror", VALUEFUNC(_wrap_FXXPMImage_mirror), -1);
|
4373
|
+
rb_define_method(cFXXPMImage.klass, "rotate", VALUEFUNC(_wrap_FXXPMImage_rotate), -1);
|
4374
|
+
rb_define_method(cFXXPMImage.klass, "crop", VALUEFUNC(_wrap_FXXPMImage_crop), -1);
|
4375
|
+
rb_define_method(cFXXPMImage.klass, "fill", VALUEFUNC(_wrap_FXXPMImage_fill), -1);
|
4376
|
+
rb_define_method(cFXXPMImage.klass, "fade", VALUEFUNC(_wrap_FXXPMImage_fade), -1);
|
4377
|
+
rb_define_method(cFXXPMImage.klass, "xshear", VALUEFUNC(_wrap_FXXPMImage_xshear), -1);
|
4378
|
+
rb_define_method(cFXXPMImage.klass, "yshear", VALUEFUNC(_wrap_FXXPMImage_yshear), -1);
|
4379
|
+
rb_define_method(cFXXPMImage.klass, "hgradient", VALUEFUNC(_wrap_FXXPMImage_hgradient), -1);
|
4380
|
+
rb_define_method(cFXXPMImage.klass, "vgradient", VALUEFUNC(_wrap_FXXPMImage_vgradient), -1);
|
4381
|
+
rb_define_method(cFXXPMImage.klass, "gradient", VALUEFUNC(_wrap_FXXPMImage_gradient), -1);
|
4382
|
+
rb_define_method(cFXXPMImage.klass, "blend", VALUEFUNC(_wrap_FXXPMImage_blend), -1);
|
4383
|
+
rb_define_method(cFXXPMImage.klass, "savePixels", VALUEFUNC(_wrap_FXXPMImage_savePixels), -1);
|
4384
|
+
rb_define_method(cFXXPMImage.klass, "loadPixels", VALUEFUNC(_wrap_FXXPMImage_loadPixels), -1);
|
4385
|
+
cFXXPMImage.mark = (void (*)(void *)) FXRbXPMImage::markfunc;
|
4386
|
+
cFXXPMImage.destroy = (void (*)(void *)) FXRbObject::freefunc;
|
4387
|
+
}
|
4388
|
+
|