fxruby 1.6.22.pre2 → 1.6.22.pre3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +1 -1
- data/README.txt +10 -10
- data/Rakefile +3 -2
- data/doap.rdf +2 -2
- data/examples/babelfish.rb +2 -2
- data/examples/bounce.rb +20 -20
- data/examples/charts.rb +2 -2
- data/examples/custom_table_item.rb +3 -3
- data/examples/datatarget.rb +2 -2
- data/examples/dctest.rb +51 -51
- data/examples/dialog.rb +14 -14
- data/examples/dilbert.rb +4 -4
- data/examples/dirlist.rb +6 -6
- data/examples/dragdrop.rb +7 -7
- data/examples/dragsource.rb +6 -6
- data/examples/dropsite.rb +5 -5
- data/examples/foursplit.rb +6 -6
- data/examples/gltest.rb +40 -40
- data/examples/glviewer.rb +16 -16
- data/examples/groupbox.rb +41 -41
- data/examples/header.rb +6 -6
- data/examples/hello2.rb +2 -2
- data/examples/iconlist.rb +10 -10
- data/examples/image.rb +26 -26
- data/examples/imageviewer.rb +31 -31
- data/examples/inputs.rb +2 -2
- data/examples/mditest.rb +12 -12
- data/examples/pig.rb +8 -8
- data/examples/raabrowser.rb +5 -5
- data/examples/ratio.rb +9 -9
- data/examples/rulerview.rb +2 -2
- data/examples/scintilla-test.rb +6 -6
- data/examples/scribble-orig.rb +3 -3
- data/examples/scribble.rb +3 -3
- data/examples/shutter.rb +6 -6
- data/examples/splitter.rb +15 -15
- data/examples/styledtext.rb +10 -10
- data/examples/tabbook.rb +14 -14
- data/examples/table.rb +21 -21
- data/examples/textedit/helpwindow.rb +6 -6
- data/examples/textedit/textedit.rb +72 -72
- data/ext/fox16/FXRuby.cpp +48 -5
- data/ext/fox16/core_wrap.cpp +1 -1
- data/ext/fox16/iconlist_wrap.cpp +1 -1
- data/ext/fox16/icons_wrap.cpp +1 -1
- data/ext/fox16/include/FXMemoryBuffer.h +3 -3
- data/ext/fox16/include/FXRbApp.h +1 -1
- data/ext/fox16/include/FXRbBitmap.h +1 -1
- data/ext/fox16/include/FXRbBitmapFrame.h +2 -2
- data/ext/fox16/include/FXRbBitmapVirtuals.h +2 -2
- data/ext/fox16/include/FXRbDCPrint.h +1 -1
- data/ext/fox16/include/FXRbDCVirtuals.h +24 -24
- data/ext/fox16/include/FXRbDCWindow.h +1 -1
- data/ext/fox16/include/FXRbDockBar.h +1 -1
- data/ext/fox16/include/FXRbFileDict.h +2 -2
- data/ext/fox16/include/FXRbFoldingList.h +1 -1
- data/ext/fox16/include/FXRbFontVirtuals.h +9 -9
- data/ext/fox16/include/FXRbGLViewerVirtuals.h +2 -2
- data/ext/fox16/include/FXRbIconItemVirtuals.h +8 -8
- data/ext/fox16/include/FXRbIconListVirtuals.h +7 -7
- data/ext/fox16/include/FXRbIconSourceVirtuals.h +1 -1
- data/ext/fox16/include/FXRbImageFrame.h +2 -2
- data/ext/fox16/include/FXRbImageVirtuals.h +1 -1
- data/ext/fox16/include/FXRbListVirtuals.h +4 -4
- data/ext/fox16/include/FXRbMenuBar.h +1 -1
- data/ext/fox16/include/FXRbPopupVirtuals.h +1 -1
- data/ext/fox16/include/FXRbRecentFiles.h +1 -1
- data/ext/fox16/include/FXRbRuler.h +3 -3
- data/ext/fox16/include/FXRbRulerView.h +3 -3
- data/ext/fox16/include/FXRbScintilla.h +1 -1
- data/ext/fox16/include/FXRbSeparator.h +2 -2
- data/ext/fox16/include/FXRbTableItemVirtuals.h +8 -8
- data/ext/fox16/include/FXRbTableVirtuals.h +13 -13
- data/ext/fox16/include/FXRbText.h +2 -2
- data/ext/fox16/include/FXRbTextVirtuals.h +3 -3
- data/ext/fox16/include/FXRbToolBar.h +1 -1
- data/ext/fox16/include/FXRbToolBarGrip.h +1 -1
- data/ext/fox16/include/FXRbToolBarTab.h +1 -1
- data/ext/fox16/include/FXRbTreeList.h +1 -1
- data/ext/fox16/include/FXRbTreeListVirtuals.h +4 -4
- data/ext/fox16/include/FXRbWindow.h +3 -3
- data/ext/fox16/include/FXRbWizard.h +2 -2
- data/ext/fox16/include/FXRuby.h +8 -4
- data/ext/fox16/librb.c +12 -12
- data/ext/fox16/list_wrap.cpp +1 -1
- data/ext/fox16/make_impl.rb +5 -5
- data/ext/fox16/markfuncs.cpp +228 -220
- data/ext/fox16/scintilla_wrap.cpp +1 -1
- data/ext/fox16/treelist_wrap.cpp +4 -4
- data/ext/fox16/ui_wrap.cpp +2 -2
- data/ext/fox16/unregisterOwnedObjects.cpp +3 -3
- data/lib/fox16/accel_table.rb +1 -1
- data/lib/fox16/aliases.rb +3 -3
- data/lib/fox16/calendar.rb +21 -21
- data/lib/fox16/chore.rb +2 -2
- data/lib/fox16/core.rb +70 -70
- data/lib/fox16/dict.rb +1 -1
- data/lib/fox16/execute_nonmodal.rb +1 -1
- data/lib/fox16/glgroup.rb +16 -16
- data/lib/fox16/glshapes.rb +26 -26
- data/lib/fox16/input.rb +4 -4
- data/lib/fox16/irb.rb +2 -2
- data/lib/fox16/iterators.rb +2 -2
- data/lib/fox16/keys.rb +34 -34
- data/lib/fox16/kwargs.rb +927 -927
- data/lib/fox16/pseudokeyboard.rb +1 -1
- data/lib/fox16/pseudomouse.rb +1 -1
- data/lib/fox16/responder2.rb +4 -4
- data/lib/fox16/scintilla.rb +2 -2
- data/lib/fox16/signal.rb +4 -4
- data/lib/fox16/splashscreen.rb +3 -3
- data/lib/fox16/timeout.rb +3 -3
- data/lib/fox16/undolist.rb +9 -9
- data/lib/fox16/version.rb +1 -1
- data/rdoc-sources/FX4Splitter.rb +9 -9
- data/rdoc-sources/FX7Segment.rb +9 -9
- data/rdoc-sources/FXAccelTable.rb +1 -1
- data/rdoc-sources/FXApp.rb +50 -50
- data/rdoc-sources/FXBMPIcon.rb +3 -3
- data/rdoc-sources/FXBMPImage.rb +2 -2
- data/rdoc-sources/FXBitmap.rb +11 -11
- data/rdoc-sources/FXBitmapFrame.rb +5 -5
- data/rdoc-sources/FXBitmapView.rb +2 -2
- data/rdoc-sources/FXButton.rb +2 -2
- data/rdoc-sources/FXCheckButton.rb +5 -5
- data/rdoc-sources/FXColorBar.rb +5 -5
- data/rdoc-sources/FXColorDialog.rb +2 -2
- data/rdoc-sources/FXColorList.rb +2 -2
- data/rdoc-sources/FXColorRing.rb +8 -8
- data/rdoc-sources/FXColorSelector.rb +4 -4
- data/rdoc-sources/FXColorWell.rb +4 -4
- data/rdoc-sources/FXColorWheel.rb +6 -6
- data/rdoc-sources/FXComboBox.rb +17 -17
- data/rdoc-sources/FXComposite.rb +2 -2
- data/rdoc-sources/FXCursor.rb +7 -7
- data/rdoc-sources/FXDC.rb +67 -67
- data/rdoc-sources/FXDCPrint.rb +22 -22
- data/rdoc-sources/FXDCWindow.rb +1 -1
- data/rdoc-sources/FXDataTarget.rb +2 -2
- data/rdoc-sources/FXDebugTarget.rb +1 -1
- data/rdoc-sources/FXDelegator.rb +1 -1
- data/rdoc-sources/FXDial.rb +8 -8
- data/rdoc-sources/FXDict.rb +7 -7
- data/rdoc-sources/FXDirBox.rb +3 -3
- data/rdoc-sources/FXDirDialog.rb +7 -7
- data/rdoc-sources/FXDirList.rb +21 -21
- data/rdoc-sources/FXDirSelector.rb +8 -8
- data/rdoc-sources/FXDockBar.rb +5 -5
- data/rdoc-sources/FXDockHandler.rb +3 -3
- data/rdoc-sources/FXDockSite.rb +2 -2
- data/rdoc-sources/FXDockTitle.rb +3 -3
- data/rdoc-sources/FXDocument.rb +3 -3
- data/rdoc-sources/FXDragCorner.rb +3 -3
- data/rdoc-sources/FXDrawable.rb +3 -3
- data/rdoc-sources/FXDriveBox.rb +4 -4
- data/rdoc-sources/FXExtentd.rb +2 -2
- data/rdoc-sources/FXExtentf.rb +2 -2
- data/rdoc-sources/FXFileDialog.rb +21 -21
- data/rdoc-sources/FXFileDict.rb +17 -17
- data/rdoc-sources/FXFileList.rb +32 -32
- data/rdoc-sources/FXFileSelector.rb +20 -20
- data/rdoc-sources/FXFileStream.rb +1 -1
- data/rdoc-sources/FXFoldingList.rb +53 -53
- data/rdoc-sources/FXFont.rb +38 -38
- data/rdoc-sources/FXFrame.rb +11 -11
- data/rdoc-sources/FXGIFCursor.rb +3 -3
- data/rdoc-sources/FXGLCanvas.rb +2 -2
- data/rdoc-sources/FXGLContext.rb +6 -6
- data/rdoc-sources/FXGLObject.rb +6 -6
- data/rdoc-sources/FXGLShape.rb +3 -3
- data/rdoc-sources/FXGLViewer.rb +54 -54
- data/rdoc-sources/FXGLVisual.rb +13 -13
- data/rdoc-sources/FXGradientBar.rb +15 -15
- data/rdoc-sources/FXGroupBox.rb +4 -4
- data/rdoc-sources/FXHeader.rb +44 -44
- data/rdoc-sources/FXICOIcon.rb +1 -1
- data/rdoc-sources/FXICOImage.rb +1 -1
- data/rdoc-sources/FXIconDict.rb +1 -1
- data/rdoc-sources/FXIconList.rb +69 -69
- data/rdoc-sources/FXIconSource.rb +2 -2
- data/rdoc-sources/FXId.rb +1 -1
- data/rdoc-sources/FXImage.rb +11 -11
- data/rdoc-sources/FXImageFrame.rb +3 -3
- data/rdoc-sources/FXImageView.rb +2 -2
- data/rdoc-sources/FXInputDialog.rb +6 -6
- data/rdoc-sources/FXJPGIcon.rb +3 -3
- data/rdoc-sources/FXJPGImage.rb +2 -2
- data/rdoc-sources/FXKnob.rb +9 -9
- data/rdoc-sources/FXLabel.rb +8 -8
- data/rdoc-sources/FXList.rb +28 -28
- data/rdoc-sources/FXListBox.rb +21 -21
- data/rdoc-sources/FXMDIChild.rb +11 -11
- data/rdoc-sources/FXMDIClient.rb +5 -5
- data/rdoc-sources/FXMatrix.rb +6 -6
- data/rdoc-sources/FXMemoryBuffer.rb +1 -1
- data/rdoc-sources/FXMemoryStream.rb +3 -3
- data/rdoc-sources/FXMenuBar.rb +1 -1
- data/rdoc-sources/FXMenuButton.rb +7 -7
- data/rdoc-sources/FXMenuCaption.rb +10 -10
- data/rdoc-sources/FXMenuCheck.rb +1 -1
- data/rdoc-sources/FXMenuRadio.rb +1 -1
- data/rdoc-sources/FXMenuSeparator.rb +1 -1
- data/rdoc-sources/FXMessageBox.rb +3 -3
- data/rdoc-sources/FXOptionMenu.rb +9 -9
- data/rdoc-sources/FXPCXIcon.rb +2 -2
- data/rdoc-sources/FXPCXImage.rb +1 -1
- data/rdoc-sources/FXPNGIcon.rb +3 -3
- data/rdoc-sources/FXPNGImage.rb +1 -1
- data/rdoc-sources/FXPPMIcon.rb +2 -2
- data/rdoc-sources/FXPPMImage.rb +1 -1
- data/rdoc-sources/FXPacker.rb +13 -13
- data/rdoc-sources/FXPopup.rb +11 -11
- data/rdoc-sources/FXProgressBar.rb +7 -7
- data/rdoc-sources/FXProgressDialog.rb +3 -3
- data/rdoc-sources/FXQuatd.rb +17 -17
- data/rdoc-sources/FXQuatf.rb +18 -18
- data/rdoc-sources/FXRGBIcon.rb +3 -3
- data/rdoc-sources/FXRGBImage.rb +1 -1
- data/rdoc-sources/FXRadioButton.rb +4 -4
- data/rdoc-sources/FXRanged.rb +1 -1
- data/rdoc-sources/FXRangef.rb +1 -1
- data/rdoc-sources/FXRealSlider.rb +7 -7
- data/rdoc-sources/FXRealSpinner.rb +11 -11
- data/rdoc-sources/FXRecentFiles.rb +8 -8
- data/rdoc-sources/FXRectangle.rb +12 -12
- data/rdoc-sources/FXRegion.rb +15 -15
- data/rdoc-sources/FXRegistry.rb +4 -4
- data/rdoc-sources/FXReplaceDialog.rb +3 -3
- data/rdoc-sources/FXRuler.rb +18 -18
- data/rdoc-sources/FXRulerView.rb +38 -38
- data/rdoc-sources/FXScintilla.rb +16 -16
- data/rdoc-sources/FXScrollArea.rb +9 -9
- data/rdoc-sources/FXScrollBar.rb +8 -8
- data/rdoc-sources/FXScrollPane.rb +1 -1
- data/rdoc-sources/FXScrollWindow.rb +5 -5
- data/rdoc-sources/FXSeparator.rb +1 -1
- data/rdoc-sources/FXSettings.rb +1 -1
- data/rdoc-sources/FXShutter.rb +3 -3
- data/rdoc-sources/FXSize.rb +4 -4
- data/rdoc-sources/FXSlider.rb +7 -7
- data/rdoc-sources/FXSphered.rb +21 -21
- data/rdoc-sources/FXSpheref.rb +20 -20
- data/rdoc-sources/FXSpinner.rb +12 -12
- data/rdoc-sources/FXSplashWindow.rb +1 -1
- data/rdoc-sources/FXSplitter.rb +6 -6
- data/rdoc-sources/FXSpring.rb +2 -2
- data/rdoc-sources/FXStatusBar.rb +4 -4
- data/rdoc-sources/FXStatusLine.rb +5 -5
- data/rdoc-sources/FXStream.rb +8 -8
- data/rdoc-sources/FXStringDict.rb +5 -5
- data/rdoc-sources/FXSwitcher.rb +2 -2
- data/rdoc-sources/FXTGAIcon.rb +3 -3
- data/rdoc-sources/FXTGAImage.rb +1 -1
- data/rdoc-sources/FXTIFIcon.rb +2 -2
- data/rdoc-sources/FXTIFImage.rb +2 -2
- data/rdoc-sources/FXTabBar.rb +2 -2
- data/rdoc-sources/FXTable.rb +131 -131
- data/rdoc-sources/FXText.rb +48 -48
- data/rdoc-sources/FXTextField.rb +9 -9
- data/rdoc-sources/FXToolBar.rb +1 -1
- data/rdoc-sources/FXToolBarGrip.rb +1 -1
- data/rdoc-sources/FXToolBarShell.rb +7 -7
- data/rdoc-sources/FXToolBarTab.rb +3 -3
- data/rdoc-sources/FXToolTip.rb +1 -1
- data/rdoc-sources/FXTopWindow.rb +17 -17
- data/rdoc-sources/FXTranslator.rb +5 -5
- data/rdoc-sources/FXTreeList.rb +50 -50
- data/rdoc-sources/FXTreeListBox.rb +16 -16
- data/rdoc-sources/FXVec2d.rb +5 -5
- data/rdoc-sources/FXVec2f.rb +5 -5
- data/rdoc-sources/FXVec3d.rb +8 -8
- data/rdoc-sources/FXVec3f.rb +8 -8
- data/rdoc-sources/FXVec4d.rb +8 -8
- data/rdoc-sources/FXVec4f.rb +8 -8
- data/rdoc-sources/FXVisual.rb +3 -3
- data/rdoc-sources/FXWindow.rb +99 -99
- data/rdoc-sources/FXWizard.rb +8 -8
- data/rdoc-sources/FXXBMIcon.rb +2 -2
- data/rdoc-sources/FXXBMImage.rb +1 -1
- data/rdoc-sources/FXXPMIcon.rb +2 -2
- data/rdoc-sources/FXXPMImage.rb +1 -1
- data/rdoc-sources/fxdefs.rb +17 -17
- data/scripts/generate_kwargs_lib.rb +22 -22
- data/scripts/iface.rb +1 -1
- data/swig-interfaces/FX4Splitter.i +5 -5
- data/swig-interfaces/FX7Segment.i +5 -5
- data/swig-interfaces/FXApp.i +10 -10
- data/swig-interfaces/FXBMPIcon.i +2 -2
- data/swig-interfaces/FXBitmap.i +3 -3
- data/swig-interfaces/FXBitmapFrame.i +1 -1
- data/swig-interfaces/FXBitmapView.i +1 -1
- data/swig-interfaces/FXCanvas.i +1 -1
- data/swig-interfaces/FXCheckButton.i +2 -2
- data/swig-interfaces/FXChoiceBox.i +2 -2
- data/swig-interfaces/FXColorBar.i +7 -7
- data/swig-interfaces/FXColorList.i +5 -5
- data/swig-interfaces/FXColorWell.i +1 -1
- data/swig-interfaces/FXColorWheel.i +6 -6
- data/swig-interfaces/FXComboBox.i +4 -4
- data/swig-interfaces/FXCursor.i +4 -4
- data/swig-interfaces/FXDC.i +23 -23
- data/swig-interfaces/FXDCPrint.i +5 -5
- data/swig-interfaces/FXDCWindow.i +8 -8
- data/swig-interfaces/FXDataTarget.i +5 -5
- data/swig-interfaces/FXDebugTarget.i +1 -1
- data/swig-interfaces/FXDelegator.i +3 -3
- data/swig-interfaces/FXDial.i +8 -8
- data/swig-interfaces/FXDialogBox.i +3 -3
- data/swig-interfaces/FXDict.i +14 -14
- data/swig-interfaces/FXDirBox.i +1 -1
- data/swig-interfaces/FXDirDialog.i +2 -2
- data/swig-interfaces/FXDirList.i +16 -16
- data/swig-interfaces/FXDirSelector.i +2 -2
- data/swig-interfaces/FXDockBar.i +1 -1
- data/swig-interfaces/FXDockHandler.i +1 -1
- data/swig-interfaces/FXDockSite.i +1 -1
- data/swig-interfaces/FXDockTitle.i +1 -1
- data/swig-interfaces/FXDocument.i +1 -1
- data/swig-interfaces/FXDragCorner.i +3 -3
- data/swig-interfaces/FXDriveBox.i +1 -1
- data/swig-interfaces/FXFileDialog.i +8 -8
- data/swig-interfaces/FXFileDict.i +2 -2
- data/swig-interfaces/FXFileList.i +11 -11
- data/swig-interfaces/FXFileSelector.i +4 -4
- data/swig-interfaces/FXFoldingList.i +7 -7
- data/swig-interfaces/FXFont.i +20 -20
- data/swig-interfaces/FXFrame.i +3 -3
- data/swig-interfaces/FXGLCanvas.i +3 -3
- data/swig-interfaces/FXGLContext.i +7 -7
- data/swig-interfaces/FXGLObject.i +1 -1
- data/swig-interfaces/FXGLShape.i +6 -6
- data/swig-interfaces/FXGLViewer.i +40 -40
- data/swig-interfaces/FXGLVisual.i +2 -2
- data/swig-interfaces/FXGradientBar.i +4 -4
- data/swig-interfaces/FXGroupBox.i +3 -3
- data/swig-interfaces/FXHeader.i +7 -7
- data/swig-interfaces/FXIcon.i +4 -4
- data/swig-interfaces/FXIconDict.i +1 -1
- data/swig-interfaces/FXIconList.i +46 -46
- data/swig-interfaces/FXImage.i +2 -2
- data/swig-interfaces/FXImageView.i +1 -1
- data/swig-interfaces/FXInputDialog.i +3 -3
- data/swig-interfaces/FXJPGIcon.i +3 -3
- data/swig-interfaces/FXJPGImage.i +2 -2
- data/swig-interfaces/FXKnob.i +2 -2
- data/swig-interfaces/FXLabel.i +2 -2
- data/swig-interfaces/FXList.i +35 -35
- data/swig-interfaces/FXListBox.i +5 -5
- data/swig-interfaces/FXMDIButton.i +5 -5
- data/swig-interfaces/FXMDIChild.i +12 -12
- data/swig-interfaces/FXMDIClient.i +2 -2
- data/swig-interfaces/FXMat4d.i +2 -2
- data/swig-interfaces/FXMat4f.i +5 -5
- data/swig-interfaces/FXMatrix.i +12 -12
- data/swig-interfaces/FXMemoryBuffer.i +4 -4
- data/swig-interfaces/FXMenuBar.i +3 -3
- data/swig-interfaces/FXMenuButton.i +7 -7
- data/swig-interfaces/FXMenuCaption.i +4 -4
- data/swig-interfaces/FXMenuCommand.i +1 -1
- data/swig-interfaces/FXMenuPane.i +1 -1
- data/swig-interfaces/FXMenuRadio.i +1 -1
- data/swig-interfaces/FXMenuSeparator.i +1 -1
- data/swig-interfaces/FXMessageBox.i +1 -1
- data/swig-interfaces/FXOptionMenu.i +6 -6
- data/swig-interfaces/FXPNGIcon.i +2 -2
- data/swig-interfaces/FXPPMIcon.i +2 -2
- data/swig-interfaces/FXPacker.i +6 -6
- data/swig-interfaces/FXPopup.i +13 -13
- data/swig-interfaces/FXProgressBar.i +12 -12
- data/swig-interfaces/FXProgressDialog.i +5 -5
- data/swig-interfaces/FXQuatd.i +7 -7
- data/swig-interfaces/FXQuatf.i +1 -1
- data/swig-interfaces/FXRadioButton.i +4 -4
- data/swig-interfaces/FXRanged.i +4 -4
- data/swig-interfaces/FXRangef.i +5 -5
- data/swig-interfaces/FXRealSlider.i +10 -10
- data/swig-interfaces/FXRealSpinner.i +17 -17
- data/swig-interfaces/FXRecentFiles.i +1 -1
- data/swig-interfaces/FXRegion.i +4 -4
- data/swig-interfaces/FXRegistry.i +3 -3
- data/swig-interfaces/FXReplaceDialog.i +1 -1
- data/swig-interfaces/FXScintilla.i +3 -3
- data/swig-interfaces/FXScrollArea.i +7 -7
- data/swig-interfaces/FXScrollBar.i +3 -3
- data/swig-interfaces/FXScrollWindow.i +6 -6
- data/swig-interfaces/FXSearchDialog.i +1 -1
- data/swig-interfaces/FXSeparator.i +3 -3
- data/swig-interfaces/FXSettings.i +3 -3
- data/swig-interfaces/FXShell.i +1 -1
- data/swig-interfaces/FXSlider.i +11 -11
- data/swig-interfaces/FXSphered.i +1 -1
- data/swig-interfaces/FXSpheref.i +1 -1
- data/swig-interfaces/FXSpinner.i +15 -15
- data/swig-interfaces/FXSplitter.i +6 -6
- data/swig-interfaces/FXStatusBar.i +4 -4
- data/swig-interfaces/FXStatusLine.i +5 -5
- data/swig-interfaces/FXStream.i +1 -1
- data/swig-interfaces/FXSwitcher.i +5 -5
- data/swig-interfaces/FXTabBar.i +2 -2
- data/swig-interfaces/FXTabBook.i +1 -1
- data/swig-interfaces/FXTabItem.i +4 -4
- data/swig-interfaces/FXTable.i +37 -37
- data/swig-interfaces/FXText.i +13 -13
- data/swig-interfaces/FXTextField.i +1 -1
- data/swig-interfaces/FXToggleButton.i +6 -6
- data/swig-interfaces/FXToolBar.i +4 -4
- data/swig-interfaces/FXToolBarGrip.i +3 -3
- data/swig-interfaces/FXToolBarShell.i +3 -3
- data/swig-interfaces/FXToolBarTab.i +5 -5
- data/swig-interfaces/FXToolTip.i +1 -1
- data/swig-interfaces/FXTopWindow.i +10 -10
- data/swig-interfaces/FXTreeList.i +28 -28
- data/swig-interfaces/FXTreeListBox.i +36 -36
- data/swig-interfaces/FXVec3d.i +2 -2
- data/swig-interfaces/FXVec3f.i +2 -2
- data/swig-interfaces/FXVec4d.i +1 -1
- data/swig-interfaces/FXVec4f.i +9 -9
- data/swig-interfaces/FXVerticalFrame.i +1 -1
- data/swig-interfaces/FXVisual.i +1 -1
- data/swig-interfaces/FXWindow.i +46 -46
- data/swig-interfaces/FXXPMIcon.i +1 -1
- data/swig-interfaces/FXXPMImage.i +1 -1
- data/swig-interfaces/exceptions.i +1 -1
- data/swig-interfaces/freefuncs.i +1 -1
- data/swig-interfaces/fxdefs.i +13 -13
- data/swig-interfaces/macros.i +79 -79
- data/test/TC_FXAccelTable.rb +3 -3
- data/test/TC_FXButton.rb +9 -9
- data/test/TC_FXCheckButton.rb +4 -4
- data/test/TC_FXComboBox.rb +1 -1
- data/test/TC_FXDC.rb +42 -42
- data/test/TC_FXDialogBox.rb +1 -1
- data/test/TC_FXExtentd.rb +2 -2
- data/test/TC_FXExtentf.rb +2 -2
- data/test/TC_FXFileAssoc.rb +5 -5
- data/test/TC_FXFileStream.rb +5 -5
- data/test/TC_FXFoldingList.rb +3 -3
- data/test/TC_FXFont.rb +3 -3
- data/test/TC_FXGLGroup.rb +1 -1
- data/test/TC_FXHeader.rb +3 -3
- data/test/TC_FXIconDict.rb +5 -5
- data/test/TC_FXIconList.rb +12 -12
- data/test/TC_FXImage.rb +16 -16
- data/test/TC_FXList.rb +5 -5
- data/test/TC_FXListBox.rb +1 -1
- data/test/TC_FXMainWindow.rb +2 -2
- data/test/TC_FXMat4f.rb +33 -33
- data/test/TC_FXMaterial.rb +5 -5
- data/test/TC_FXMemoryStream.rb +2 -2
- data/test/TC_FXMenuCheck.rb +5 -5
- data/test/TC_FXMessageBox.rb +3 -3
- data/test/TC_FXPoint.rb +1 -1
- data/test/TC_FXRadioButton.rb +4 -4
- data/test/TC_FXRanged.rb +3 -3
- data/test/TC_FXRangef.rb +3 -3
- data/test/TC_FXRegion.rb +1 -1
- data/test/TC_FXScrollArea.rb +1 -1
- data/test/TC_FXScrollWindow.rb +1 -1
- data/test/TC_FXSettings.rb +2 -2
- data/test/TC_FXShell.rb +2 -2
- data/test/TC_FXTopWindow.rb +2 -2
- data/test/TC_FXTreeList.rb +4 -4
- data/test/TC_FXTreeListBox.rb +3 -3
- data/test/TC_FXVec2d.rb +3 -3
- data/test/TC_FXVec2f.rb +3 -3
- data/test/TC_FXVec3d.rb +5 -5
- data/test/TC_FXVec3f.rb +5 -5
- data/test/TC_FXVec4f.rb +6 -6
- data/test/TC_Misc.rb +6 -2
- data/test/TS_All.rb +1 -17
- data/test/stress1.rb +5 -5
- data/test/stress2.rb +3 -3
- data/test/stress3.rb +12 -12
- data/test/testcase.rb +4 -4
- metadata +76 -76
data/lib/fox16/core.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
module Fox
|
2
|
-
|
2
|
+
|
3
3
|
class FXIconItem
|
4
4
|
def <=>(otherItem)
|
5
5
|
text <=> otherItem.text
|
@@ -11,13 +11,13 @@ module Fox
|
|
11
11
|
text <=> otherItem.text
|
12
12
|
end
|
13
13
|
end
|
14
|
-
|
14
|
+
|
15
15
|
class FXTreeItem
|
16
16
|
def <=>(otherItem)
|
17
17
|
text <=> otherItem.text
|
18
18
|
end
|
19
19
|
end
|
20
|
-
|
20
|
+
|
21
21
|
class FXTreeList
|
22
22
|
def addItemFirst(*args) # :nodoc:
|
23
23
|
warn "addItemFirst() is deprecated; use prependItem() instead"
|
@@ -43,12 +43,12 @@ module Fox
|
|
43
43
|
warn "reparentItem() is deprecated; use moveItem() instead"
|
44
44
|
moveItem(nil, father, item)
|
45
45
|
end
|
46
|
-
|
46
|
+
|
47
47
|
def moveItemBefore(other, item) # :nodoc:
|
48
48
|
warn "moveItemBefore() is deprecated; use moveItem() instead"
|
49
49
|
moveItem(other, other.parent, item)
|
50
50
|
end
|
51
|
-
|
51
|
+
|
52
52
|
def moveItemAfter(other, item) # :nodoc:
|
53
53
|
warn "moveItemAfter() is deprecated; use moveItem() instead"
|
54
54
|
moveItem(other.next, other.parent, item)
|
@@ -83,20 +83,20 @@ module Fox
|
|
83
83
|
value.to_s
|
84
84
|
end
|
85
85
|
end
|
86
|
-
|
86
|
+
|
87
87
|
class FXDockBar
|
88
88
|
# Allow docking on the specified side, where _side_ is one of the +ALLOW+
|
89
89
|
# constants listed above.
|
90
90
|
def allowSide(side)
|
91
91
|
self.allowedSides = self.allowedSides | side
|
92
92
|
end
|
93
|
-
|
93
|
+
|
94
94
|
# Disallow docking on the specified side, where _side_ is one of the
|
95
95
|
# +ALLOW+ constants listed above.
|
96
96
|
def disallowSide(side)
|
97
97
|
self.allowedSides = self.allowedSides & ~side
|
98
98
|
end
|
99
|
-
|
99
|
+
|
100
100
|
# Return +true+ if docking is allowed on the specified side, where _side_
|
101
101
|
# is one of the +ALLOW+ constants listed above.
|
102
102
|
#
|
@@ -104,19 +104,19 @@ module Fox
|
|
104
104
|
(allowedSides & side) != 0
|
105
105
|
end
|
106
106
|
end
|
107
|
-
|
107
|
+
|
108
108
|
class FXFileDialog
|
109
109
|
# Allow navigation for this file dialog
|
110
110
|
def allowNavigation
|
111
111
|
self.navigationAllowed = true
|
112
112
|
end
|
113
|
-
|
113
|
+
|
114
114
|
# Disallow navigation for this file dialog
|
115
115
|
def disallowNavigation
|
116
116
|
self.navigationAllowed = false
|
117
117
|
end
|
118
118
|
end
|
119
|
-
|
119
|
+
|
120
120
|
class FXFileList
|
121
121
|
#
|
122
122
|
# Show parent directories.
|
@@ -124,7 +124,7 @@ module Fox
|
|
124
124
|
def showParentDirs
|
125
125
|
self.parentDirsShown = true
|
126
126
|
end
|
127
|
-
|
127
|
+
|
128
128
|
#
|
129
129
|
# Hide parent directories
|
130
130
|
#
|
@@ -132,13 +132,13 @@ module Fox
|
|
132
132
|
self.parentDirsShown = false
|
133
133
|
end
|
134
134
|
end
|
135
|
-
|
135
|
+
|
136
136
|
class FXFileSelector
|
137
137
|
# Allow navigation for this file selector
|
138
138
|
def allowNavigation
|
139
139
|
self.navigationAllowed = true
|
140
140
|
end
|
141
|
-
|
141
|
+
|
142
142
|
# Disallow navigation for this file selector
|
143
143
|
def disallowNavigation
|
144
144
|
self.navigationAllowed = false
|
@@ -151,7 +151,7 @@ module Fox
|
|
151
151
|
# up. Raises IndexError if _index_ is out of bounds.
|
152
152
|
#
|
153
153
|
def arrowUp?(index)
|
154
|
-
if index < 0 || index >= numItems
|
154
|
+
if index < 0 || index >= numItems
|
155
155
|
raise IndexError, "header item index out of bounds"
|
156
156
|
else
|
157
157
|
getArrowDir(index) == Fox::TRUE
|
@@ -163,7 +163,7 @@ module Fox
|
|
163
163
|
# down. Raises IndexError if _index_ is out of bounds.
|
164
164
|
#
|
165
165
|
def arrowDown?(index)
|
166
|
-
if index < 0 || index >= numItems
|
166
|
+
if index < 0 || index >= numItems
|
167
167
|
raise IndexError, "header item index out of bounds"
|
168
168
|
else
|
169
169
|
getArrowDir(index) == Fox::FALSE
|
@@ -175,14 +175,14 @@ module Fox
|
|
175
175
|
# any arrow. Raises IndexError if _index_ is out of bounds.
|
176
176
|
#
|
177
177
|
def arrowMaybe?(index)
|
178
|
-
if index < 0 || index >= numItems
|
178
|
+
if index < 0 || index >= numItems
|
179
179
|
raise IndexError, "header item index out of bounds"
|
180
180
|
else
|
181
181
|
getArrowDir(index) == Fox::MAYBE
|
182
182
|
end
|
183
183
|
end
|
184
184
|
end
|
185
|
-
|
185
|
+
|
186
186
|
class FXHiliteStyle
|
187
187
|
#
|
188
188
|
# Construct a new FXHiliteStyle instance, with fields initialized from
|
@@ -218,7 +218,7 @@ module Fox
|
|
218
218
|
default = default ? 1 : 0
|
219
219
|
readIntEntry(section, key, default) != 0
|
220
220
|
end
|
221
|
-
|
221
|
+
|
222
222
|
#
|
223
223
|
# Write a boolean registry _value_ to the specified _section_ and _key_.
|
224
224
|
#
|
@@ -226,68 +226,68 @@ module Fox
|
|
226
226
|
writeIntEntry(section, key, value ? 1 : 0)
|
227
227
|
end
|
228
228
|
end
|
229
|
-
|
229
|
+
|
230
230
|
class FXVec2d
|
231
231
|
# Convert to array
|
232
232
|
def to_a
|
233
233
|
[x, y]
|
234
234
|
end
|
235
|
-
|
235
|
+
|
236
236
|
# Convert to string
|
237
237
|
def to_s
|
238
238
|
to_a.to_s
|
239
239
|
end
|
240
|
-
|
240
|
+
|
241
241
|
def inspect; to_a.inspect; end
|
242
242
|
end
|
243
|
-
|
243
|
+
|
244
244
|
class FXVec2f
|
245
245
|
# Convert to array
|
246
246
|
def to_a; [x, y]; end
|
247
|
-
|
247
|
+
|
248
248
|
# Convert to string
|
249
249
|
def to_s; to_a.to_s; end
|
250
|
-
|
250
|
+
|
251
251
|
def inspect; to_a.inspect; end
|
252
252
|
end
|
253
|
-
|
253
|
+
|
254
254
|
class FXVec3d
|
255
255
|
# Convert to array
|
256
256
|
def to_a; [x, y, z]; end
|
257
|
-
|
257
|
+
|
258
258
|
# Convert to string
|
259
259
|
def to_s; to_a.to_s; end
|
260
|
-
|
260
|
+
|
261
261
|
def inspect; to_a.inspect; end
|
262
262
|
end
|
263
|
-
|
263
|
+
|
264
264
|
class FXVec3f
|
265
265
|
# Convert to array
|
266
266
|
def to_a; [x, y, z]; end
|
267
|
-
|
267
|
+
|
268
268
|
# Convert to string
|
269
269
|
def to_s; to_a.to_s; end
|
270
|
-
|
270
|
+
|
271
271
|
def inspect; to_a.inspect; end
|
272
272
|
end
|
273
|
-
|
273
|
+
|
274
274
|
class FXVec4d
|
275
275
|
# Convert to array
|
276
276
|
def to_a; [x, y, z, w]; end
|
277
|
-
|
277
|
+
|
278
278
|
# Convert to string
|
279
279
|
def to_s; to_a.to_s; end
|
280
|
-
|
280
|
+
|
281
281
|
def inspect; to_a.inspect; end
|
282
282
|
end
|
283
|
-
|
283
|
+
|
284
284
|
class FXVec4f
|
285
285
|
# Convert to array
|
286
286
|
def to_a; [x, y, z, w]; end
|
287
|
-
|
287
|
+
|
288
288
|
# Convert to string
|
289
289
|
def to_s; to_a.to_s; end
|
290
|
-
|
290
|
+
|
291
291
|
def inspect; to_a.inspect; end
|
292
292
|
end
|
293
293
|
|
@@ -306,11 +306,11 @@ module Fox
|
|
306
306
|
child = next_child
|
307
307
|
end
|
308
308
|
end
|
309
|
-
|
309
|
+
|
310
310
|
#
|
311
311
|
# Traverse the widget tree starting from this window
|
312
312
|
# using depth-first traversal.
|
313
|
-
#
|
313
|
+
#
|
314
314
|
def each_child_recursive # :yields: child
|
315
315
|
each_child do |child|
|
316
316
|
yield child
|
@@ -319,7 +319,7 @@ module Fox
|
|
319
319
|
end
|
320
320
|
end
|
321
321
|
end
|
322
|
-
|
322
|
+
|
323
323
|
|
324
324
|
# Returns an array containing all child windows of this window
|
325
325
|
def children
|
@@ -327,7 +327,7 @@ module Fox
|
|
327
327
|
each_child { |kid| kids << kid }
|
328
328
|
kids
|
329
329
|
end
|
330
|
-
|
330
|
+
|
331
331
|
# Return +true+ if this window (self) comes before sibling window _other_.
|
332
332
|
def before?(other)
|
333
333
|
FXWindow.before?(other)
|
@@ -342,12 +342,12 @@ module Fox
|
|
342
342
|
def linkBefore(other)
|
343
343
|
reparent(self.parent, other)
|
344
344
|
end
|
345
|
-
|
345
|
+
|
346
346
|
# Relink this window after sibling window _other_, in the parent's window list.
|
347
347
|
def linkAfter(other)
|
348
348
|
reparent(self.parent, other.next)
|
349
349
|
end
|
350
|
-
|
350
|
+
|
351
351
|
# Setting visible to +true+ calls #show, setting it to +false+ calls #hide.
|
352
352
|
def visible=(vis)
|
353
353
|
if vis
|
@@ -388,7 +388,7 @@ module Fox
|
|
388
388
|
# clipboard back into a Ruby string.
|
389
389
|
#
|
390
390
|
def Fox.fxdecodeStringData(data)
|
391
|
-
if /mswin/ =~
|
391
|
+
if /cygwin|mswin|mingw|bccwin|wince|emx/ =~ RUBY_PLATFORM
|
392
392
|
data.chop
|
393
393
|
else
|
394
394
|
data
|
@@ -403,7 +403,7 @@ module Fox
|
|
403
403
|
# appropriate for the current platform.
|
404
404
|
#
|
405
405
|
def Fox.fxencodeStringData(str)
|
406
|
-
if /mswin/ =~
|
406
|
+
if /cygwin|mswin|mingw|bccwin|wince|emx/ =~ RUBY_PLATFORM
|
407
407
|
str + "\0"
|
408
408
|
else
|
409
409
|
str
|
@@ -442,48 +442,48 @@ module Fox
|
|
442
442
|
end
|
443
443
|
end
|
444
444
|
end
|
445
|
-
|
445
|
+
|
446
446
|
# Tried to read past the end of a stream
|
447
447
|
class FXStreamEndError < FXStreamError ; end
|
448
|
-
|
448
|
+
|
449
449
|
# Filled up a stream's internal buffer, or the disk is full
|
450
450
|
class FXStreamFullError < FXStreamError ; end
|
451
|
-
|
451
|
+
|
452
452
|
# Unable to open for write
|
453
453
|
class FXStreamNoWriteError < FXStreamError ; end
|
454
|
-
|
454
|
+
|
455
455
|
# Unable to open for read
|
456
456
|
class FXStreamNoReadError < FXStreamError ; end
|
457
|
-
|
457
|
+
|
458
458
|
# Stream format error
|
459
459
|
class FXStreamFormatError < FXStreamError ; end
|
460
|
-
|
460
|
+
|
461
461
|
# Trying to read unknown class
|
462
462
|
class FXStreamUnknownError < FXStreamError ; end
|
463
|
-
|
463
|
+
|
464
464
|
# Alloc failed
|
465
465
|
class FXStreamAllocError < FXStreamError ; end
|
466
|
-
|
466
|
+
|
467
467
|
# General failure
|
468
468
|
class FXStreamFailureError < FXStreamError ; end
|
469
|
-
|
469
|
+
|
470
470
|
class FXCheckButton
|
471
471
|
# Return +true+ if this check button is in the checked state.
|
472
472
|
def checked?
|
473
473
|
self.checkState == TRUE
|
474
474
|
end
|
475
|
-
|
475
|
+
|
476
476
|
# Return +true+ if this check button is in the unchecked state.
|
477
477
|
def unchecked?
|
478
478
|
self.checkState == FALSE
|
479
479
|
end
|
480
|
-
|
480
|
+
|
481
481
|
# Return +true+ if this check button is in the indeterminate, or "maybe", state.
|
482
482
|
def maybe?
|
483
483
|
self.checkState == MAYBE
|
484
484
|
end
|
485
485
|
end
|
486
|
-
|
486
|
+
|
487
487
|
class FXComboTableItem < FXTableItem
|
488
488
|
#
|
489
489
|
# Construct new combobox table item
|
@@ -518,7 +518,7 @@ module Fox
|
|
518
518
|
def setFromControl(comboBox)
|
519
519
|
self.text = comboBox.text
|
520
520
|
end
|
521
|
-
|
521
|
+
|
522
522
|
# Set selections as an array of strings
|
523
523
|
def selections=(strings)
|
524
524
|
@selections = strings
|
@@ -528,30 +528,30 @@ module Fox
|
|
528
528
|
self.text = @selections[0]
|
529
529
|
end
|
530
530
|
end
|
531
|
-
|
531
|
+
|
532
532
|
# Return selections
|
533
533
|
def selections
|
534
534
|
@selections
|
535
535
|
end
|
536
536
|
end
|
537
|
-
|
537
|
+
|
538
538
|
class FXMenuCheck
|
539
539
|
# Return +true+ if this menu check button is in the checked state.
|
540
540
|
def checked?
|
541
541
|
self.checkState == TRUE
|
542
542
|
end
|
543
|
-
|
543
|
+
|
544
544
|
# Return +true+ if this menu check button is in the unchecked state.
|
545
545
|
def unchecked?
|
546
546
|
self.checkState == FALSE
|
547
547
|
end
|
548
|
-
|
548
|
+
|
549
549
|
# Return +true+ if this menu check button is in the indeterminate, or "maybe", state.
|
550
550
|
def maybe?
|
551
551
|
self.checkState == MAYBE
|
552
552
|
end
|
553
553
|
end
|
554
|
-
|
554
|
+
|
555
555
|
class FXRadioButton
|
556
556
|
# Return +true+ if this radio button is in the checked state.
|
557
557
|
def checked?
|
@@ -568,7 +568,7 @@ module Fox
|
|
568
568
|
self.checkState == MAYBE
|
569
569
|
end
|
570
570
|
end
|
571
|
-
|
571
|
+
|
572
572
|
class FXMenuRadio
|
573
573
|
# Return +true+ if this menu radio button is in the checked state.
|
574
574
|
def checked?
|
@@ -585,7 +585,7 @@ module Fox
|
|
585
585
|
self.checkState == MAYBE
|
586
586
|
end
|
587
587
|
end
|
588
|
-
|
588
|
+
|
589
589
|
class FXObject
|
590
590
|
require 'enumerator'
|
591
591
|
def self.subclasses
|
@@ -624,7 +624,7 @@ module Fox
|
|
624
624
|
fillArc(x-r, y-r, 2*r, 2*r, 0, 360*64)
|
625
625
|
end
|
626
626
|
end
|
627
|
-
|
627
|
+
|
628
628
|
class FXHVec
|
629
629
|
def normalize!
|
630
630
|
normalized = self.normalize
|
@@ -632,7 +632,7 @@ module Fox
|
|
632
632
|
self
|
633
633
|
end
|
634
634
|
end
|
635
|
-
|
635
|
+
|
636
636
|
class FXTable
|
637
637
|
#
|
638
638
|
# Append _numColumns_ columns to the right of the table..
|
@@ -642,7 +642,7 @@ module Fox
|
|
642
642
|
def appendColumns(numColumns=1, notify=false)
|
643
643
|
insertColumns(self.numColumns, numColumns, notify)
|
644
644
|
end
|
645
|
-
|
645
|
+
|
646
646
|
#
|
647
647
|
# Append _numRows_ rows to the bottom of the table..
|
648
648
|
# If _notify_ is +true+, a <tt>SEL_INSERTED</tt> message is sent to the
|
@@ -651,7 +651,7 @@ module Fox
|
|
651
651
|
def appendRows(numRows=1, notify=false)
|
652
652
|
insertRows(self.numRows, numRows, notify)
|
653
653
|
end
|
654
|
-
|
654
|
+
|
655
655
|
# Select cell at (_row_, _col_).
|
656
656
|
# If _notify_ is +true+, a +SEL_SELECTED+ message is sent to the table's message target
|
657
657
|
# after the item is selected.
|
@@ -692,7 +692,7 @@ module Fox
|
|
692
692
|
end
|
693
693
|
changes
|
694
694
|
end
|
695
|
-
|
695
|
+
|
696
696
|
=end
|
697
697
|
|
698
698
|
end
|
data/lib/fox16/dict.rb
CHANGED
data/lib/fox16/glgroup.rb
CHANGED
@@ -14,7 +14,7 @@ module Fox
|
|
14
14
|
|
15
15
|
FLT_MAX = 1.0e+20
|
16
16
|
FLT_MIN = -1.0e+20
|
17
|
-
|
17
|
+
|
18
18
|
#
|
19
19
|
# Returns an initialized FXGLGroup instance
|
20
20
|
#
|
@@ -22,21 +22,21 @@ module Fox
|
|
22
22
|
super
|
23
23
|
@list = []
|
24
24
|
end
|
25
|
-
|
25
|
+
|
26
26
|
#
|
27
27
|
# Return number of objects in this group.
|
28
28
|
#
|
29
29
|
def size
|
30
30
|
@list.size
|
31
31
|
end
|
32
|
-
|
32
|
+
|
33
33
|
#
|
34
34
|
# Return child at position _pos_.
|
35
35
|
#
|
36
36
|
def [](pos)
|
37
37
|
@list[pos]
|
38
38
|
end
|
39
|
-
|
39
|
+
|
40
40
|
#
|
41
41
|
# Set child at position _pos_ to _obj_.
|
42
42
|
#
|
@@ -67,14 +67,14 @@ module Fox
|
|
67
67
|
end
|
68
68
|
box
|
69
69
|
end
|
70
|
-
|
70
|
+
|
71
71
|
#
|
72
72
|
# Draw this group into _viewer_ (an FXGLViewer instance).
|
73
73
|
#
|
74
74
|
def draw(viewer)
|
75
75
|
@list.each { |obj| obj.draw(viewer) }
|
76
76
|
end
|
77
|
-
|
77
|
+
|
78
78
|
#
|
79
79
|
# Perform hit test in _viewer_ (an FXGLViewer instance).
|
80
80
|
#
|
@@ -87,7 +87,7 @@ module Fox
|
|
87
87
|
end
|
88
88
|
GL.PopName
|
89
89
|
end
|
90
|
-
|
90
|
+
|
91
91
|
#
|
92
92
|
# Identify object by means of _path_.
|
93
93
|
#
|
@@ -102,7 +102,7 @@ module Fox
|
|
102
102
|
def canDrag
|
103
103
|
true
|
104
104
|
end
|
105
|
-
|
105
|
+
|
106
106
|
#
|
107
107
|
# Drag group object around in _viewer_ (an FXGLViewer instance),
|
108
108
|
# from (_fx_, _fy_) to (_tx_, _ty_).
|
@@ -110,37 +110,37 @@ module Fox
|
|
110
110
|
def drag(viewer, fx, fy, tx, ty)
|
111
111
|
@list.each { |obj| obj.drag(viewer, fx, fy, tx, ty) }
|
112
112
|
end
|
113
|
-
|
113
|
+
|
114
114
|
#
|
115
115
|
# Insert child object (_obj_) at position _pos_.
|
116
116
|
#
|
117
117
|
def insert(pos, obj)
|
118
118
|
raise NotImplementedError
|
119
119
|
end
|
120
|
-
|
120
|
+
|
121
121
|
#
|
122
122
|
# Prepend child object (_obj_).
|
123
123
|
#
|
124
124
|
def prepend(obj)
|
125
125
|
@list.unshift(obj)
|
126
126
|
end
|
127
|
-
|
127
|
+
|
128
128
|
#
|
129
129
|
# Append child object
|
130
130
|
#
|
131
131
|
def append(obj)
|
132
132
|
@list << obj
|
133
133
|
end
|
134
|
-
|
134
|
+
|
135
135
|
alias << append
|
136
|
-
|
136
|
+
|
137
137
|
#
|
138
138
|
# Replace child object at position _pos_ with _obj_.
|
139
139
|
#
|
140
140
|
def replace(pos, obj)
|
141
141
|
@list[pos] = obj
|
142
142
|
end
|
143
|
-
|
143
|
+
|
144
144
|
#
|
145
145
|
# If _obj_ is a reference to an FXGLObject in this group, remove the
|
146
146
|
# child object from the list. If _obj_ is an integer, remove the child
|
@@ -153,9 +153,9 @@ module Fox
|
|
153
153
|
@list.delete_at(obj)
|
154
154
|
end
|
155
155
|
end
|
156
|
-
|
156
|
+
|
157
157
|
alias erase remove
|
158
|
-
|
158
|
+
|
159
159
|
#
|
160
160
|
# Remove all children from this group.
|
161
161
|
#
|