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/test/TC_FXTreeList.rb
CHANGED
@@ -11,7 +11,7 @@ class TC_FXTreeList < Fox::TestCase
|
|
11
11
|
(TREELIST_BROWSESELECT|TREELIST_SHOWS_LINES|TREELIST_SHOWS_BOXES|
|
12
12
|
TREELIST_ROOT_BOXES|LAYOUT_FILL_X|LAYOUT_FILL_Y))
|
13
13
|
end
|
14
|
-
|
14
|
+
|
15
15
|
def test_firstItem
|
16
16
|
assert_nil(@treeList.firstItem)
|
17
17
|
item = @treeList.prependItem(nil, "first")
|
@@ -70,7 +70,7 @@ class TC_FXTreeList < Fox::TestCase
|
|
70
70
|
theItem = @treeList.appendItem(nil, "", nil, nil, nil, true)
|
71
71
|
assert_same(theItem, anItem)
|
72
72
|
end
|
73
|
-
|
73
|
+
|
74
74
|
def test_SEL_DELETED
|
75
75
|
theItem = @treeList.appendItem(nil, "")
|
76
76
|
anItem = nil
|
@@ -86,7 +86,7 @@ class TC_FXTreeList < Fox::TestCase
|
|
86
86
|
@treeList.each { |item| count += 1 }
|
87
87
|
assert_equal(0, count, "count for empty list should be zero")
|
88
88
|
end
|
89
|
-
|
89
|
+
|
90
90
|
def test_each
|
91
91
|
@treeList.appendItem(nil, "1")
|
92
92
|
@treeList.appendItem(nil, "2")
|
@@ -96,5 +96,5 @@ class TC_FXTreeList < Fox::TestCase
|
|
96
96
|
@treeList.each { |item| count += 1 }
|
97
97
|
assert_equal(4, count, "count didn't match expected number of items")
|
98
98
|
end
|
99
|
-
|
99
|
+
|
100
100
|
end
|
data/test/TC_FXTreeListBox.rb
CHANGED
@@ -5,7 +5,7 @@ require 'fox16'
|
|
5
5
|
class TC_FXTreeListBox < Fox::TestCase
|
6
6
|
include Fox
|
7
7
|
|
8
|
-
|
8
|
+
|
9
9
|
def setup
|
10
10
|
super(self.class.name)
|
11
11
|
@treeListBox = FXTreeListBox.new(mainWindow)
|
@@ -26,7 +26,7 @@ class TC_FXTreeListBox < Fox::TestCase
|
|
26
26
|
@treeListBox.each { |item| count += 1 }
|
27
27
|
assert_equal(0, count, "count for empty list should be zero")
|
28
28
|
end
|
29
|
-
|
29
|
+
|
30
30
|
def test_each
|
31
31
|
@treeListBox.appendItem(nil, "1")
|
32
32
|
@treeListBox.appendItem(nil, "2")
|
@@ -36,6 +36,6 @@ class TC_FXTreeListBox < Fox::TestCase
|
|
36
36
|
@treeListBox.each { |item| count += 1 }
|
37
37
|
assert_equal(4, count, "count didn't match expected number of items")
|
38
38
|
end
|
39
|
-
|
39
|
+
|
40
40
|
end
|
41
41
|
|
data/test/TC_FXVec2d.rb
CHANGED
@@ -22,7 +22,7 @@ class TC_FXVec2d < Test::Unit::TestCase
|
|
22
22
|
assert_equal(3.0, vec[1])
|
23
23
|
assert_equal(3.0, vec.y)
|
24
24
|
end
|
25
|
-
|
25
|
+
|
26
26
|
def test_getitem
|
27
27
|
vec = FXVec2d.new(2.0, 3.0)
|
28
28
|
assert_equal(2.0, vec[0])
|
@@ -95,12 +95,12 @@ class TC_FXVec2d < Test::Unit::TestCase
|
|
95
95
|
# that fix is made to FOX.
|
96
96
|
def test_length
|
97
97
|
v = FXVec2d.new(1.0, 1.0)
|
98
|
-
assert_in_delta(Math.sqrt(2), v.length, 1.0e-12)
|
98
|
+
assert_in_delta(Math.sqrt(2), v.length, 1.0e-12)
|
99
99
|
end
|
100
100
|
|
101
101
|
def test_length2
|
102
102
|
v = FXVec2d.new(1.0, 1.0)
|
103
|
-
assert_equal(2.0, v.length2)
|
103
|
+
assert_equal(2.0, v.length2)
|
104
104
|
end
|
105
105
|
|
106
106
|
def test_normalize
|
data/test/TC_FXVec2f.rb
CHANGED
@@ -21,7 +21,7 @@ class TC_FXVec2f < Test::Unit::TestCase
|
|
21
21
|
assert_equal(3.0, vec[1])
|
22
22
|
assert_equal(3.0, vec.y)
|
23
23
|
end
|
24
|
-
|
24
|
+
|
25
25
|
def test_getitem
|
26
26
|
vec = FXVec2f.new(2.0, 3.0)
|
27
27
|
assert_equal(2.0, vec[0])
|
@@ -90,12 +90,12 @@ class TC_FXVec2f < Test::Unit::TestCase
|
|
90
90
|
|
91
91
|
def test_length
|
92
92
|
v = FXVec2f.new(1.0, 1.0)
|
93
|
-
assert_in_delta(Math.sqrt(2), v.length, 1.0e-7)
|
93
|
+
assert_in_delta(Math.sqrt(2), v.length, 1.0e-7)
|
94
94
|
end
|
95
95
|
|
96
96
|
def test_length2
|
97
97
|
v = FXVec2f.new(1.0, 1.0)
|
98
|
-
assert_equal(2.0, v.length2)
|
98
|
+
assert_equal(2.0, v.length2)
|
99
99
|
end
|
100
100
|
|
101
101
|
def test_normalize
|
data/test/TC_FXVec3d.rb
CHANGED
@@ -23,7 +23,7 @@ class TC_FXVec3d < Test::Unit::TestCase
|
|
23
23
|
assert_equal(3, vec[2])
|
24
24
|
assert_equal(3, vec.z)
|
25
25
|
end
|
26
|
-
|
26
|
+
|
27
27
|
def test_construct_from_color
|
28
28
|
vec = FXVec3d.new(FXRGB(1, 1, 1))
|
29
29
|
assert_in_delta(0.003921568627, vec.x, 1.0e-12)
|
@@ -44,7 +44,7 @@ class TC_FXVec3d < Test::Unit::TestCase
|
|
44
44
|
assert_equal(2, v[1] = 2)
|
45
45
|
assert_equal(3, v[2] = 3)
|
46
46
|
end
|
47
|
-
|
47
|
+
|
48
48
|
def test_bounds_checks
|
49
49
|
vec = FXVec3d.new
|
50
50
|
assert_raises(IndexError) { vec[-1] }
|
@@ -52,7 +52,7 @@ class TC_FXVec3d < Test::Unit::TestCase
|
|
52
52
|
assert_raises(IndexError) { vec[-1] = 0.0 }
|
53
53
|
assert_raises(IndexError) { vec[3] = 0.0 }
|
54
54
|
end
|
55
|
-
|
55
|
+
|
56
56
|
def test_unary_minus
|
57
57
|
assert_equal(FXVec3d.new(-1, -2, -3), -FXVec3d.new(1, 2, 3))
|
58
58
|
end
|
@@ -100,12 +100,12 @@ class TC_FXVec3d < Test::Unit::TestCase
|
|
100
100
|
|
101
101
|
def test_length
|
102
102
|
v = FXVec3d.new(1, 1, 1)
|
103
|
-
assert_in_delta(Math.sqrt(3), v.length, 1.0e-12)
|
103
|
+
assert_in_delta(Math.sqrt(3), v.length, 1.0e-12)
|
104
104
|
end
|
105
105
|
|
106
106
|
def test_length2
|
107
107
|
v = FXVec3d.new(1, 1, 1)
|
108
|
-
assert_equal(3, v.length2)
|
108
|
+
assert_equal(3, v.length2)
|
109
109
|
end
|
110
110
|
|
111
111
|
def test_normalize
|
data/test/TC_FXVec3f.rb
CHANGED
@@ -23,7 +23,7 @@ class TC_FXVec3f < Test::Unit::TestCase
|
|
23
23
|
assert_equal(3, vec[2])
|
24
24
|
assert_equal(3, vec.z)
|
25
25
|
end
|
26
|
-
|
26
|
+
|
27
27
|
def test_construct_from_color
|
28
28
|
vec = FXVec3f.new(FXRGB(1, 1, 1))
|
29
29
|
assert_in_delta(0.003921568627, vec.x, 1.0e-7)
|
@@ -44,7 +44,7 @@ class TC_FXVec3f < Test::Unit::TestCase
|
|
44
44
|
assert_equal(2, v[1] = 2)
|
45
45
|
assert_equal(3, v[2] = 3)
|
46
46
|
end
|
47
|
-
|
47
|
+
|
48
48
|
def test_bounds_checks
|
49
49
|
vec = FXVec3f.new
|
50
50
|
assert_raises(IndexError) { vec[-1] }
|
@@ -52,7 +52,7 @@ class TC_FXVec3f < Test::Unit::TestCase
|
|
52
52
|
assert_raises(IndexError) { vec[-1] = 0.0 }
|
53
53
|
assert_raises(IndexError) { vec[3] = 0.0 }
|
54
54
|
end
|
55
|
-
|
55
|
+
|
56
56
|
def test_unary_minus
|
57
57
|
assert_equal(FXVec3f.new(-1, -2, -3), -FXVec3f.new(1, 2, 3))
|
58
58
|
end
|
@@ -100,12 +100,12 @@ class TC_FXVec3f < Test::Unit::TestCase
|
|
100
100
|
|
101
101
|
def test_length
|
102
102
|
v = FXVec3f.new(1, 1, 1)
|
103
|
-
assert_in_delta(Math.sqrt(3), v.length, 1.0e-7)
|
103
|
+
assert_in_delta(Math.sqrt(3), v.length, 1.0e-7)
|
104
104
|
end
|
105
105
|
|
106
106
|
def test_length2
|
107
107
|
v = FXVec3f.new(1, 1, 1)
|
108
|
-
assert_equal(3, v.length2)
|
108
|
+
assert_equal(3, v.length2)
|
109
109
|
end
|
110
110
|
|
111
111
|
def test_normalize
|
data/test/TC_FXVec4f.rb
CHANGED
@@ -9,12 +9,12 @@ class TC_FXVec4f < Test::Unit::TestCase
|
|
9
9
|
def test_new
|
10
10
|
FXVec4f.new
|
11
11
|
end
|
12
|
-
|
12
|
+
|
13
13
|
def test_new2
|
14
14
|
vec1 = FXVec4f.new(1.0, 2.0, 3.0, 4.0)
|
15
15
|
assert_equal(vec1, FXVec4f.new(vec1))
|
16
16
|
end
|
17
|
-
|
17
|
+
|
18
18
|
def test_new3
|
19
19
|
a = FXVec3f.new(1, 2, 3)
|
20
20
|
b = FXVec4f.new(a)
|
@@ -23,7 +23,7 @@ class TC_FXVec4f < Test::Unit::TestCase
|
|
23
23
|
assert_equal(3, b[2])
|
24
24
|
assert_equal(1, b[3])
|
25
25
|
end
|
26
|
-
|
26
|
+
|
27
27
|
def test_new4
|
28
28
|
a = FXVec4f.new(1, 2, 3)
|
29
29
|
assert_equal(1, a[0])
|
@@ -37,7 +37,7 @@ class TC_FXVec4f < Test::Unit::TestCase
|
|
37
37
|
assert_equal(3, b[2])
|
38
38
|
assert_equal(4, b[3])
|
39
39
|
end
|
40
|
-
|
40
|
+
|
41
41
|
def test_new5
|
42
42
|
c = FXVec4f.new(FXRGB(128, 128, 128))
|
43
43
|
end
|
@@ -90,7 +90,7 @@ class TC_FXVec4f < Test::Unit::TestCase
|
|
90
90
|
v2 = FXVec4f.new(6.0, 12.0, 18.0, 24.0)
|
91
91
|
assert_equal(v2, v1 * 2)
|
92
92
|
end
|
93
|
-
|
93
|
+
|
94
94
|
def test_mul2 # same as dot product
|
95
95
|
v1 = FXVec4f.new(3.0, 6.0, 9.0, 12.0)
|
96
96
|
v2 = FXVec4f.new(2.0, 4.0, 6.0, 8.0)
|
@@ -116,7 +116,7 @@ class TC_FXVec4f < Test::Unit::TestCase
|
|
116
116
|
|
117
117
|
def test_length
|
118
118
|
v = FXVec4f.new(1.0, 1.0, 1.0, 1.0)
|
119
|
-
assert_equal(2.0, v.length)
|
119
|
+
assert_equal(2.0, v.length)
|
120
120
|
end
|
121
121
|
|
122
122
|
def test_normalize
|
data/test/TC_Misc.rb
CHANGED
@@ -143,15 +143,19 @@ class TC_Misc < Test::Unit::TestCase
|
|
143
143
|
assert_in_delta(1.0, s, DELTA)
|
144
144
|
assert_in_delta(1.0, v, DELTA)
|
145
145
|
end
|
146
|
-
|
146
|
+
|
147
147
|
def test_fxversion
|
148
148
|
assert_instance_of(String, Fox.fxversion)
|
149
149
|
end
|
150
|
-
|
150
|
+
|
151
151
|
def test_fxrubyversion
|
152
152
|
assert_instance_of(String, Fox.fxrubyversion)
|
153
153
|
end
|
154
154
|
|
155
155
|
def test_fxTraceLevel
|
156
|
+
old = Fox.fxTraceLevel
|
157
|
+
Fox.fxTraceLevel = 10
|
158
|
+
assert_equal 10, Fox.fxTraceLevel
|
159
|
+
Fox.fxTraceLevel = old
|
156
160
|
end
|
157
161
|
end
|
data/test/TS_All.rb
CHANGED
@@ -1,25 +1,9 @@
|
|
1
1
|
require 'fox16'
|
2
2
|
require 'test/unit'
|
3
3
|
|
4
|
-
class TS_All
|
5
|
-
def TS_All.suite
|
6
|
-
suite = Test::Unit::TestSuite.new
|
7
|
-
Object.constants.sort.each do |k|
|
8
|
-
next if /^TC_/ !~ k
|
9
|
-
constant = Object.const_get(k)
|
10
|
-
if constant.kind_of?(Class)
|
11
|
-
# puts "adding tests for #{constant.to_s}"
|
12
|
-
suite << constant.suite
|
13
|
-
end
|
14
|
-
end
|
15
|
-
suite
|
16
|
-
end
|
17
|
-
end
|
18
|
-
|
19
4
|
if __FILE__ == $0
|
20
|
-
|
5
|
+
$: << File.dirname(__FILE__)
|
21
6
|
Dir.glob("TC_*.rb").each do |testcase|
|
22
7
|
require "#{testcase}"
|
23
8
|
end
|
24
|
-
Test::Unit::UI::Console::TestRunner.run(TS_All)
|
25
9
|
end
|
data/test/stress1.rb
CHANGED
@@ -57,10 +57,10 @@ class Application < FXApp
|
|
57
57
|
init(ARGV)
|
58
58
|
|
59
59
|
@mainWindow = FXMainWindow.new(self, appName, nil, nil, DECOR_ALL, 0, 0, 400, 600)
|
60
|
-
@dirTree = DirTree.new(@mainWindow)
|
60
|
+
@dirTree = DirTree.new(@mainWindow)
|
61
61
|
|
62
62
|
@count = 0
|
63
|
-
end
|
63
|
+
end
|
64
64
|
|
65
65
|
def create
|
66
66
|
super
|
@@ -83,10 +83,10 @@ end
|
|
83
83
|
if __FILE__ == $0
|
84
84
|
# Make application
|
85
85
|
application = Application.new
|
86
|
-
|
87
|
-
# Create app
|
86
|
+
|
87
|
+
# Create app
|
88
88
|
application.create()
|
89
|
-
|
89
|
+
|
90
90
|
# Run
|
91
91
|
application.run()
|
92
92
|
end
|
data/test/stress2.rb
CHANGED
@@ -10,7 +10,7 @@ class TC_stress2 < Test::Unit::TestCase
|
|
10
10
|
@countLabel = FXLabel.new(theMainWindow, "0", nil, LAYOUT_FILL_X|LAYOUT_FILL_Y)
|
11
11
|
theMainWindow
|
12
12
|
end
|
13
|
-
|
13
|
+
|
14
14
|
def on_timeout(sender, sel, ptr)
|
15
15
|
safeToQuit = false
|
16
16
|
$lock.synchronize {
|
@@ -27,7 +27,7 @@ class TC_stress2 < Test::Unit::TestCase
|
|
27
27
|
@theApp.addTimeout(100, method(:on_timeout))
|
28
28
|
end
|
29
29
|
end
|
30
|
-
|
30
|
+
|
31
31
|
def test_run
|
32
32
|
# Set up the counter thread
|
33
33
|
$count = 0
|
@@ -48,4 +48,4 @@ class TC_stress2 < Test::Unit::TestCase
|
|
48
48
|
@theApp.run
|
49
49
|
end
|
50
50
|
end
|
51
|
-
|
51
|
+
|
data/test/stress3.rb
CHANGED
@@ -37,7 +37,7 @@ class ShutterWindow < FXMainWindow
|
|
37
37
|
@shutter = FXShutter.new(splitter, nil, 0,
|
38
38
|
FRAME_SUNKEN|LAYOUT_FILL_X|LAYOUT_FILL_Y,
|
39
39
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
|
40
|
-
|
40
|
+
|
41
41
|
shutterItem = ShutterItem.new(@shutter, "Shutter Item 1", nil, LAYOUT_FILL_Y)
|
42
42
|
ShutterButton.new(shutterItem.content, "1-1")
|
43
43
|
ShutterButton.new(shutterItem.content, "1-2")
|
@@ -46,19 +46,19 @@ class ShutterWindow < FXMainWindow
|
|
46
46
|
ShutterButton.new(shutterItem.content, "1-5")
|
47
47
|
ShutterButton.new(shutterItem.content, "1-6")
|
48
48
|
ShutterButton.new(shutterItem.content, "1-7")
|
49
|
-
|
49
|
+
|
50
50
|
shutterItem = ShutterItem.new(@shutter, "Shutter Item 2")
|
51
51
|
ShutterButton.new(shutterItem.content, "2-1")
|
52
52
|
ShutterButton.new(shutterItem.content, "2-2")
|
53
53
|
ShutterButton.new(shutterItem.content, "2-3")
|
54
54
|
ShutterButton.new(shutterItem.content, "2-4")
|
55
55
|
ShutterButton.new(shutterItem.content, "2-5")
|
56
|
-
|
56
|
+
|
57
57
|
shutterItem = ShutterItem.new(@shutter, "Shutter Item 3")
|
58
58
|
ShutterButton.new(shutterItem.content, "3-1")
|
59
59
|
ShutterButton.new(shutterItem.content, "3-2")
|
60
60
|
ShutterButton.new(shutterItem.content, "3-3")
|
61
|
-
|
61
|
+
|
62
62
|
# Right pane is a switcher
|
63
63
|
# For a real application, each panel in the switcher would have real, working contents...
|
64
64
|
@switcher = FXSwitcher.new(splitter,
|
@@ -71,10 +71,10 @@ class ShutterWindow < FXMainWindow
|
|
71
71
|
def create
|
72
72
|
# Create base class
|
73
73
|
super
|
74
|
-
|
74
|
+
|
75
75
|
# Run the garbage collector now
|
76
76
|
GC.start
|
77
|
-
|
77
|
+
|
78
78
|
# Safe to drop out any time now...
|
79
79
|
getApp().addChore(getApp(), FXApp::ID_QUIT)
|
80
80
|
end
|
@@ -87,29 +87,29 @@ class TC_stress3 < Test::Unit::TestCase
|
|
87
87
|
shutterWindow = ShutterWindow.new(theApp)
|
88
88
|
theApp.create
|
89
89
|
theApp.run
|
90
|
-
|
90
|
+
|
91
91
|
#
|
92
92
|
# Check to see if anyone's missing in action.
|
93
93
|
# First, the shutter itself should have three
|
94
94
|
# shutter items as its children.
|
95
95
|
#
|
96
96
|
assert_equal(3, shutterWindow.shutter.numChildren)
|
97
|
-
|
97
|
+
|
98
98
|
# Each shutter item has two children
|
99
99
|
shutterWindow.shutter.each_child { |c|
|
100
100
|
assert_equal(2, c.numChildren)
|
101
101
|
}
|
102
|
-
|
102
|
+
|
103
103
|
# First item's content should have 7 children
|
104
104
|
shutterItem1 = shutterWindow.shutter.first
|
105
105
|
assert_equal(7, shutterItem1.content.numChildren)
|
106
|
-
|
106
|
+
|
107
107
|
# Second item's content should have 5 children
|
108
|
-
shutterItem2 = shutterItem1.next
|
108
|
+
shutterItem2 = shutterItem1.next
|
109
109
|
assert_equal(5, shutterItem2.content.numChildren)
|
110
110
|
|
111
111
|
# Third item's content should have 3 children
|
112
|
-
shutterItem3 = shutterItem2.next
|
112
|
+
shutterItem3 = shutterItem2.next
|
113
113
|
assert_equal(3, shutterItem3.content.numChildren)
|
114
114
|
end
|
115
115
|
end
|
data/test/testcase.rb
CHANGED
@@ -17,19 +17,19 @@ module Fox
|
|
17
17
|
@theApp = FXApp.instance
|
18
18
|
end
|
19
19
|
@theMainWindow = FXMainWindow.new(@theApp, appName)
|
20
|
-
end
|
20
|
+
end
|
21
21
|
end
|
22
|
-
|
22
|
+
|
23
23
|
# Return a reference to the application
|
24
24
|
def app
|
25
25
|
@theApp
|
26
26
|
end
|
27
|
-
|
27
|
+
|
28
28
|
# Return a reference to the main window
|
29
29
|
def mainWindow
|
30
30
|
@theMainWindow
|
31
31
|
end
|
32
|
-
|
32
|
+
|
33
33
|
# Override the base class version of default_test() so that
|
34
34
|
# a test case with no tests doesn't trigger an error.
|
35
35
|
def default_test; end
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fxruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 854953483
|
5
5
|
prerelease: 7
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 6
|
9
9
|
- 22
|
10
10
|
- pre
|
11
|
-
-
|
12
|
-
version: 1.6.22.
|
11
|
+
- 3
|
12
|
+
version: 1.6.22.pre3
|
13
13
|
platform: ruby
|
14
14
|
authors:
|
15
15
|
- Lyle Johnson
|
@@ -17,36 +17,36 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date: 2012-
|
20
|
+
date: 2012-02-09 00:00:00 Z
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
23
|
-
name:
|
23
|
+
name: rdoc
|
24
24
|
prerelease: false
|
25
25
|
requirement: &id001 !ruby/object:Gem::Requirement
|
26
26
|
none: false
|
27
27
|
requirements:
|
28
28
|
- - ~>
|
29
29
|
- !ruby/object:Gem::Version
|
30
|
-
hash:
|
30
|
+
hash: 19
|
31
31
|
segments:
|
32
|
-
-
|
33
|
-
-
|
34
|
-
version: "
|
32
|
+
- 3
|
33
|
+
- 10
|
34
|
+
version: "3.10"
|
35
35
|
type: :development
|
36
36
|
version_requirements: *id001
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
|
-
name:
|
38
|
+
name: hoe
|
39
39
|
prerelease: false
|
40
40
|
requirement: &id002 !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
42
42
|
requirements:
|
43
43
|
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
hash:
|
45
|
+
hash: 25
|
46
46
|
segments:
|
47
|
-
-
|
48
|
-
-
|
49
|
-
version: "
|
47
|
+
- 2
|
48
|
+
- 13
|
49
|
+
version: "2.13"
|
50
50
|
type: :development
|
51
51
|
version_requirements: *id002
|
52
52
|
description: FXRuby is the Ruby binding to the FOX GUI toolkit.
|
@@ -1022,84 +1022,84 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1022
1022
|
requirements: []
|
1023
1023
|
|
1024
1024
|
rubyforge_project: fxruby
|
1025
|
-
rubygems_version: 1.8.
|
1025
|
+
rubygems_version: 1.8.15
|
1026
1026
|
signing_key:
|
1027
1027
|
specification_version: 3
|
1028
1028
|
summary: FXRuby is the Ruby binding to the FOX GUI toolkit.
|
1029
1029
|
test_files:
|
1030
|
-
- test/
|
1031
|
-
- test/
|
1032
|
-
- test/
|
1033
|
-
- test/
|
1030
|
+
- test/TC_FXMenuRadio.rb
|
1031
|
+
- test/TC_FXLight.rb
|
1032
|
+
- test/TC_FXMainWindow.rb
|
1033
|
+
- test/TC_FXFont.rb
|
1034
|
+
- test/TC_FXMenuCheck.rb
|
1035
|
+
- test/TC_FXAccelTable.rb
|
1036
|
+
- test/TC_FXHiliteStyle.rb
|
1037
|
+
- test/TC_FXTreeListBox.rb
|
1038
|
+
- test/TC_FXComboBox.rb
|
1039
|
+
- test/TC_FXVec2f.rb
|
1040
|
+
- test/TC_FXDialogBox.rb
|
1041
|
+
- test/TC_FXStream.rb
|
1042
|
+
- test/TC_FXVec3d.rb
|
1043
|
+
- test/TC_Misc.rb
|
1034
1044
|
- test/TC_FXIconList.rb
|
1035
|
-
- test/TC_FXXPMIcon.rb
|
1036
|
-
- test/TC_FXSegment.rb
|
1037
1045
|
- test/TC_FXMemoryStream.rb
|
1038
|
-
- test/
|
1046
|
+
- test/TC_FXExtentd.rb
|
1047
|
+
- test/TC_downcast.rb
|
1048
|
+
- test/TC_FXList.rb
|
1039
1049
|
- test/TC_FXShell.rb
|
1040
|
-
- test/
|
1041
|
-
- test/
|
1042
|
-
- test/TC_Misc.rb
|
1043
|
-
- test/TC_FXMaterial.rb
|
1044
|
-
- test/TC_FXMenuCommand.rb
|
1045
|
-
- test/TC_FXRectangle.rb
|
1046
|
-
- test/TC_FXGLShape.rb
|
1047
|
-
- test/TC_FXTreeList.rb
|
1048
|
-
- test/TC_FXGradientBar.rb
|
1049
|
-
- test/TC_FXUndoList.rb
|
1050
|
-
- test/TC_FXImage.rb
|
1050
|
+
- test/TC_FXRadioButton.rb
|
1051
|
+
- test/TC_FXDCPrint.rb
|
1051
1052
|
- test/TC_FXTableItem.rb
|
1052
|
-
- test/TC_FXVec3f.rb
|
1053
1053
|
- test/TC_FXIconDict.rb
|
1054
|
-
- test/
|
1055
|
-
- test/
|
1056
|
-
- test/
|
1057
|
-
- test/
|
1058
|
-
- test/TC_FXTopWindow.rb
|
1059
|
-
- test/TC_FXHiliteStyle.rb
|
1060
|
-
- test/TC_FXHeader.rb
|
1061
|
-
- test/TC_FXPoint.rb
|
1062
|
-
- test/TC_FXRegistry.rb
|
1063
|
-
- test/TC_FXFileStream.rb
|
1064
|
-
- test/TC_FXXBMIcon.rb
|
1065
|
-
- test/TC_FXScrollArea.rb
|
1066
|
-
- test/TC_FXSettings.rb
|
1067
|
-
- test/TC_FXSize.rb
|
1068
|
-
- test/TC_FXApp.rb
|
1069
|
-
- test/TC_FXVec3d.rb
|
1070
|
-
- test/TC_FXExtentd.rb
|
1071
|
-
- test/TC_FXDC.rb
|
1072
|
-
- test/TC_FXMenuCheck.rb
|
1073
|
-
- test/TC_FXDCWindow.rb
|
1074
|
-
- test/TC_FXFont.rb
|
1054
|
+
- test/TC_FXXBMImage.rb
|
1055
|
+
- test/TC_FXVec4f.rb
|
1056
|
+
- test/TC_FXId.rb
|
1057
|
+
- test/TC_FXQuatf.rb
|
1075
1058
|
- test/TC_FXTable.rb
|
1076
|
-
- test/
|
1077
|
-
- test/
|
1078
|
-
- test/TC_FXFontDesc.rb
|
1079
|
-
- test/TC_FXGLViewer.rb
|
1059
|
+
- test/TC_FXSize.rb
|
1060
|
+
- test/TC_FXVec3f.rb
|
1080
1061
|
- test/TC_FXViewport.rb
|
1081
|
-
- test/
|
1062
|
+
- test/TC_FXUndoList.rb
|
1082
1063
|
- test/TC_FXText.rb
|
1083
|
-
- test/TC_FXId.rb
|
1084
|
-
- test/TC_FXXPMImage.rb
|
1085
1064
|
- test/TC_FXMessageBox.rb
|
1086
|
-
- test/
|
1087
|
-
- test/
|
1088
|
-
- test/
|
1089
|
-
- test/
|
1090
|
-
- test/
|
1091
|
-
- test/
|
1092
|
-
- test/
|
1065
|
+
- test/TC_FXScrollArea.rb
|
1066
|
+
- test/TC_FXTreeList.rb
|
1067
|
+
- test/TC_FXVec2d.rb
|
1068
|
+
- test/TC_FXSettings.rb
|
1069
|
+
- test/TC_FXRectangle.rb
|
1070
|
+
- test/TC_FXGradientBar.rb
|
1071
|
+
- test/TC_FXMaterial.rb
|
1072
|
+
- test/TC_FXImage.rb
|
1073
|
+
- test/TC_FXScrollWindow.rb
|
1074
|
+
- test/TC_FXFileStream.rb
|
1093
1075
|
- test/TC_FXFoldingList.rb
|
1076
|
+
- test/TC_FXTopWindow.rb
|
1077
|
+
- test/TC_FXXBMIcon.rb
|
1078
|
+
- test/TC_FXMenuCommand.rb
|
1079
|
+
- test/TC_FXRegion.rb
|
1080
|
+
- test/TC_FXRanged.rb
|
1081
|
+
- test/TC_FXListBox.rb
|
1082
|
+
- test/TC_FXDCWindow.rb
|
1083
|
+
- test/TC_FXSegment.rb
|
1084
|
+
- test/TC_FXArc.rb
|
1094
1085
|
- test/TC_FXMat4f.rb
|
1095
|
-
- test/
|
1086
|
+
- test/TC_FXCheckButton.rb
|
1087
|
+
- test/TC_FXPoint.rb
|
1088
|
+
- test/TC_FXRegistry.rb
|
1089
|
+
- test/TC_FXDC.rb
|
1096
1090
|
- test/TC_FXButton.rb
|
1097
|
-
- test/TC_FXList.rb
|
1098
|
-
- test/TC_FXDialogBox.rb
|
1099
|
-
- test/TC_FXBMPIcon.rb
|
1100
|
-
- test/TC_FXMainWindow.rb
|
1101
|
-
- test/TC_FXXBMImage.rb
|
1102
1091
|
- test/TC_FXFileAssoc.rb
|
1103
|
-
- test/
|
1092
|
+
- test/TC_FXGLGroup.rb
|
1093
|
+
- test/TC_FXBMPImage.rb
|
1104
1094
|
- test/TC_FXDirList.rb
|
1095
|
+
- test/TC_FXBMPIcon.rb
|
1096
|
+
- test/TC_FXGLViewer.rb
|
1097
|
+
- test/TC_FXExtentf.rb
|
1098
|
+
- test/TC_FXHeader.rb
|
1099
|
+
- test/TC_FXGLShape.rb
|
1100
|
+
- test/TC_FXXPMIcon.rb
|
1101
|
+
- test/TC_FXFontDesc.rb
|
1102
|
+
- test/TC_FXRangef.rb
|
1103
|
+
- test/TC_FXXPMImage.rb
|
1104
|
+
- test/TC_FXApp.rb
|
1105
1105
|
- test/TC_FXDataTarget.rb
|