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/swig-interfaces/macros.i
CHANGED
@@ -49,7 +49,7 @@
|
|
49
49
|
%define DECLARE_FXBITMAP_VIRTUALS(klass)
|
50
50
|
%extend klass {
|
51
51
|
/**
|
52
|
-
* Retrieves pixels from the server-side bitmap.
|
52
|
+
* Retrieves pixels from the server-side bitmap.
|
53
53
|
*/
|
54
54
|
virtual void restore();
|
55
55
|
|
@@ -61,7 +61,7 @@
|
|
61
61
|
|
62
62
|
/// Save pixel data only
|
63
63
|
virtual bool savePixels(FXStream& store) const;
|
64
|
-
|
64
|
+
|
65
65
|
/// Load pixel data
|
66
66
|
virtual bool loadPixels(FXStream& store);
|
67
67
|
|
@@ -102,7 +102,7 @@
|
|
102
102
|
%extend klass {
|
103
103
|
/// Save pixel data only
|
104
104
|
virtual bool savePixels(FXStream& store) const;
|
105
|
-
|
105
|
+
|
106
106
|
/// Load pixel data
|
107
107
|
virtual bool loadPixels(FXStream& store);
|
108
108
|
}
|
@@ -123,7 +123,7 @@
|
|
123
123
|
virtual void drawLines(const FXPoint* points,FXuint npoints);
|
124
124
|
virtual void drawLinesRel(const FXPoint* points,FXuint npoints);
|
125
125
|
virtual void drawLineSegments(const FXSegment* segments,FXuint nsegments);
|
126
|
-
|
126
|
+
|
127
127
|
/// Draw rectangles
|
128
128
|
virtual void drawRectangle(FXint x,FXint y,FXint w,FXint h);
|
129
129
|
virtual void drawRectangles(const FXRectangle* rectangles,FXuint nrectangles);
|
@@ -133,9 +133,9 @@
|
|
133
133
|
|
134
134
|
/**
|
135
135
|
* Draw arcs.
|
136
|
-
* The argument ang1 specifies the start of the arc relative to the
|
136
|
+
* The argument ang1 specifies the start of the arc relative to the
|
137
137
|
* three-o'clock position from the center, in units of degrees*64.
|
138
|
-
* The argument ang2 specifies the path and extent of the arc relative
|
138
|
+
* The argument ang2 specifies the path and extent of the arc relative
|
139
139
|
* to the start of the arc, in units of degrees*64.
|
140
140
|
* The arguments x,y,w,h specify the bounding rectangle.
|
141
141
|
*/
|
@@ -175,20 +175,20 @@
|
|
175
175
|
|
176
176
|
/// Draw focus rectangle
|
177
177
|
virtual void drawFocusRectangle(FXint x,FXint y,FXint w,FXint h);
|
178
|
-
|
178
|
+
|
179
179
|
/// Draw area from source
|
180
180
|
virtual void drawArea(const FXDrawable* source,FXint sx,FXint sy,FXint sw,FXint sh,FXint dx,FXint dy);
|
181
181
|
|
182
182
|
/// Draw stretched area from source
|
183
183
|
virtual void drawArea(const FXDrawable* source,FXint sx,FXint sy,FXint sw,FXint sh,FXint dx,FXint dy,FXint dw,FXint dh);
|
184
184
|
|
185
|
-
/// Draw image
|
185
|
+
/// Draw image
|
186
186
|
virtual void drawImage(const FXImage* image,FXint dx,FXint dy);
|
187
187
|
|
188
188
|
/// Draw bitmap
|
189
189
|
virtual void drawBitmap(const FXBitmap* bitmap,FXint dx,FXint dy);
|
190
|
-
|
191
|
-
/// Draw icon
|
190
|
+
|
191
|
+
/// Draw icon
|
192
192
|
virtual void drawIcon(const FXIcon* icon,FXint dx,FXint dy);
|
193
193
|
virtual void drawIconShaded(const FXIcon* icon,FXint dx,FXint dy);
|
194
194
|
virtual void drawIconSunken(const FXIcon* icon,FXint dx,FXint dy);
|
@@ -201,13 +201,13 @@
|
|
201
201
|
|
202
202
|
/// Set foreground drawing color
|
203
203
|
virtual void setForeground(FXColor clr);
|
204
|
-
|
204
|
+
|
205
205
|
/// Set background drawing color
|
206
206
|
virtual void setBackground(FXColor clr);
|
207
|
-
|
207
|
+
|
208
208
|
/**
|
209
209
|
* Set dash pattern and dash offset.
|
210
|
-
* A dash pattern of [1 2 3 4] is a repeating pattern of 1 foreground pixel,
|
210
|
+
* A dash pattern of [1 2 3 4] is a repeating pattern of 1 foreground pixel,
|
211
211
|
* 2 background pixels, 3 foreground pixels, and 4 background pixels.
|
212
212
|
* The offset is where in the pattern the system will start counting.
|
213
213
|
* The maximum length of the dash pattern is 32.
|
@@ -216,55 +216,55 @@
|
|
216
216
|
|
217
217
|
/// Set line width:- 0 means thinnest/fastest possible
|
218
218
|
virtual void setLineWidth(FXuint linewidth=0);
|
219
|
-
|
219
|
+
|
220
220
|
/// Set line cap style
|
221
221
|
virtual void setLineCap(FXCapStyle capstyle=CAP_BUTT);
|
222
|
-
|
222
|
+
|
223
223
|
/// Set line join style
|
224
224
|
virtual void setLineJoin(FXJoinStyle joinstyle=JOIN_MITER);
|
225
|
-
|
225
|
+
|
226
226
|
/// Set line style
|
227
227
|
virtual void setLineStyle(FXLineStyle linestyle=LINE_SOLID);
|
228
|
-
|
228
|
+
|
229
229
|
/// Set fill style
|
230
230
|
virtual void setFillStyle(FXFillStyle fillstyle=FILL_SOLID);
|
231
|
-
|
231
|
+
|
232
232
|
/// Set fill rule
|
233
233
|
virtual void setFillRule(FXFillRule fillrule=RULE_EVEN_ODD);
|
234
|
-
|
234
|
+
|
235
235
|
/// Set rasterop function
|
236
236
|
virtual void setFunction(FXFunction func=BLT_SRC);
|
237
|
-
|
237
|
+
|
238
238
|
/// Set the tile image
|
239
239
|
virtual void setTile(FXImage* image,FXint dx=0,FXint dy=0);
|
240
|
-
|
241
|
-
/// Set the stipple pattern
|
240
|
+
|
241
|
+
/// Set the stipple pattern
|
242
242
|
virtual void setStipple(FXBitmap *bitmap,FXint dx=0,FXint dy=0);
|
243
|
-
|
244
|
-
/// Set the stipple pattern
|
243
|
+
|
244
|
+
/// Set the stipple pattern
|
245
245
|
virtual void setStipple(FXStipplePattern pat,FXint dx=0,FXint dy=0);
|
246
|
-
|
246
|
+
|
247
247
|
/// Set clip region
|
248
248
|
virtual void setClipRegion(const FXRegion& region);
|
249
|
-
|
249
|
+
|
250
250
|
/// Set clip rectangle
|
251
251
|
virtual void setClipRectangle(FXint x,FXint y,FXint w,FXint h);
|
252
252
|
|
253
253
|
/// Change clip rectangle
|
254
254
|
virtual void setClipRectangle(const FXRectangle& rectangle);
|
255
|
-
|
255
|
+
|
256
256
|
/// Clear clipping
|
257
257
|
virtual void clearClipRectangle();
|
258
|
-
|
258
|
+
|
259
259
|
/// Set clip mask
|
260
260
|
virtual void setClipMask(FXBitmap* bitmap,FXint dx=0,FXint dy=0);
|
261
|
-
|
261
|
+
|
262
262
|
/// Clear clip mask
|
263
263
|
virtual void clearClipMask();
|
264
|
-
|
264
|
+
|
265
265
|
/// Set font to draw text with
|
266
266
|
virtual void setFont(FXFont *fnt);
|
267
|
-
|
267
|
+
|
268
268
|
/// Clip against child windows
|
269
269
|
virtual void clipChildren(FXbool yes);
|
270
270
|
}
|
@@ -338,7 +338,7 @@
|
|
338
338
|
|
339
339
|
%define DECLARE_FXDRAWABLE_VIRTUALS(klass)
|
340
340
|
%extend klass {
|
341
|
-
/// Resize drawable to the specified width and height
|
341
|
+
/// Resize drawable to the specified width and height
|
342
342
|
virtual void resize(FXint w,FXint h);
|
343
343
|
}
|
344
344
|
%enddef
|
@@ -428,7 +428,7 @@
|
|
428
428
|
|
429
429
|
/// Find out if the font is monotype or proportional
|
430
430
|
virtual FXbool isFontMono() const;
|
431
|
-
|
431
|
+
|
432
432
|
%extend {
|
433
433
|
/// See if font has glyph for ch
|
434
434
|
virtual FXbool hasChar(VALUE ch) const {
|
@@ -446,33 +446,33 @@
|
|
446
446
|
}
|
447
447
|
}
|
448
448
|
|
449
|
-
/// Get first character glyph in font
|
449
|
+
/// Get first character glyph in font
|
450
450
|
virtual FXwchar getMinChar() const;
|
451
|
-
|
451
|
+
|
452
452
|
/// Get last character glyph in font
|
453
453
|
virtual FXwchar getMaxChar() const;
|
454
454
|
|
455
455
|
/// Left bearing
|
456
456
|
virtual FXint leftBearing(FXwchar ch) const;
|
457
|
-
|
457
|
+
|
458
458
|
/// Right bearing
|
459
459
|
virtual FXint rightBearing(FXwchar ch) const;
|
460
|
-
|
460
|
+
|
461
461
|
/// Width of widest character in font
|
462
462
|
virtual FXint getFontWidth() const;
|
463
|
-
|
463
|
+
|
464
464
|
/// Height of highest character in font
|
465
465
|
virtual FXint getFontHeight() const;
|
466
|
-
|
466
|
+
|
467
467
|
/// Ascent from baseline
|
468
468
|
virtual FXint getFontAscent() const;
|
469
|
-
|
469
|
+
|
470
470
|
/// Descent from baseline
|
471
471
|
virtual FXint getFontDescent() const;
|
472
|
-
|
472
|
+
|
473
473
|
/// Get font leading [that is lead-ing as in Pb!]
|
474
474
|
virtual FXint getFontLeading() const;
|
475
|
-
|
475
|
+
|
476
476
|
/// Get font line spacing
|
477
477
|
virtual FXint getFontSpacing() const;
|
478
478
|
|
@@ -491,7 +491,7 @@
|
|
491
491
|
%extend klass {
|
492
492
|
/// Make OpenGL context current prior to performing OpenGL commands
|
493
493
|
virtual FXbool makeCurrent();
|
494
|
-
|
494
|
+
|
495
495
|
/// Make OpenGL context non current
|
496
496
|
virtual FXbool makeNonCurrent();
|
497
497
|
|
@@ -585,10 +585,10 @@
|
|
585
585
|
%extend klass {
|
586
586
|
/// Select item at index
|
587
587
|
virtual FXbool selectItem(FXint index,FXbool notify=FALSE);
|
588
|
-
|
588
|
+
|
589
589
|
/// Deselect item at index
|
590
590
|
virtual FXbool deselectItem(FXint index,FXbool notify=FALSE);
|
591
|
-
|
591
|
+
|
592
592
|
/// Toggle item at index
|
593
593
|
virtual FXbool toggleItem(FXint index,FXbool notify=FALSE);
|
594
594
|
|
@@ -608,11 +608,11 @@
|
|
608
608
|
virtual FXint getItemAt(FXint x,FXint y) const;
|
609
609
|
|
610
610
|
/// Scroll to make item at index visible
|
611
|
-
virtual void makeItemVisible(FXint index);
|
611
|
+
virtual void makeItemVisible(FXint index);
|
612
612
|
|
613
613
|
/// Enable item at index
|
614
614
|
virtual FXbool enableItem(FXint index);
|
615
|
-
|
615
|
+
|
616
616
|
/// Disable item at index
|
617
617
|
virtual FXbool disableItem(FXint index);
|
618
618
|
}
|
@@ -666,7 +666,7 @@
|
|
666
666
|
* to divine the icon format if the parameter is omitted].
|
667
667
|
*/
|
668
668
|
virtual FXImage *loadImageData(const void *pixels,const FXString& type=FXString::null) const;
|
669
|
-
|
669
|
+
|
670
670
|
/**
|
671
671
|
* Load an image of a given type (e.g. "gif") from an already open stream.
|
672
672
|
* Returns NULL if there's some error loading the image. [The optional
|
@@ -718,7 +718,7 @@
|
|
718
718
|
* pixels. Normally, IMAGE_DITHER is used which causes the server-side
|
719
719
|
* representation to be rendered using a 16x16 ordered dither if necessary;
|
720
720
|
* however if IMAGE_NEAREST is used a faster (but uglier-looking), nearest
|
721
|
-
* neighbor algorithm is used.
|
721
|
+
* neighbor algorithm is used.
|
722
722
|
*/
|
723
723
|
virtual void render();
|
724
724
|
|
@@ -727,24 +727,24 @@
|
|
727
727
|
* If it is not owned, the image just forgets about the buffer.
|
728
728
|
*/
|
729
729
|
virtual void release();
|
730
|
-
|
730
|
+
|
731
731
|
/**
|
732
|
-
* Rescale pixels image to the specified width and height; this calls
|
732
|
+
* Rescale pixels image to the specified width and height; this calls
|
733
733
|
* resize() to adjust the client and server side representations.
|
734
734
|
*/
|
735
735
|
virtual void scale(FXint w,FXint h,FXint quality=0);
|
736
|
-
|
736
|
+
|
737
737
|
/// Mirror image horizontally and/or vertically
|
738
738
|
virtual void mirror(bool horizontal,bool vertical);
|
739
739
|
|
740
740
|
/**
|
741
|
-
* Rotate image by degrees ccw; this calls resize() to adjust the client
|
741
|
+
* Rotate image by degrees ccw; this calls resize() to adjust the client
|
742
742
|
* and server side representations if necessary.
|
743
743
|
*/
|
744
744
|
virtual void rotate(FXint degrees);
|
745
745
|
|
746
746
|
/**
|
747
|
-
* Crop image to given rectangle; this calls resize() to adjust the client
|
747
|
+
* Crop image to given rectangle; this calls resize() to adjust the client
|
748
748
|
* and server side representations.
|
749
749
|
*/
|
750
750
|
virtual void crop(FXint x,FXint y,FXint w,FXint h,FXColor color=0);
|
@@ -806,28 +806,28 @@
|
|
806
806
|
%extend klass {
|
807
807
|
/// Enable item
|
808
808
|
virtual FXbool enableItem(FXint index);
|
809
|
-
|
809
|
+
|
810
810
|
/// Disable item
|
811
811
|
virtual FXbool disableItem(FXint index);
|
812
|
-
|
812
|
+
|
813
813
|
/// Scroll to bring item into view
|
814
814
|
virtual void makeItemVisible(FXint index);
|
815
|
-
|
815
|
+
|
816
816
|
/// Return index of item at x,y, if any
|
817
817
|
virtual FXint getItemAt(FXint x,FXint y) const;
|
818
|
-
|
818
|
+
|
819
819
|
/// Select item
|
820
820
|
virtual FXbool selectItem(FXint index,FXbool notify=FALSE);
|
821
|
-
|
821
|
+
|
822
822
|
/// Deselect item
|
823
823
|
virtual FXbool deselectItem(FXint index,FXbool notify=FALSE);
|
824
|
-
|
824
|
+
|
825
825
|
/// Toggle item selection state
|
826
826
|
virtual FXbool toggleItem(FXint index,FXbool notify=FALSE);
|
827
827
|
|
828
828
|
/// Extend selection from anchor item to index
|
829
829
|
virtual FXbool extendSelection(FXint index,FXbool notify=FALSE);
|
830
|
-
|
830
|
+
|
831
831
|
/// Deselect all items
|
832
832
|
virtual FXbool killSelection(FXbool notify=FALSE);
|
833
833
|
|
@@ -950,10 +950,10 @@
|
|
950
950
|
virtual void drawContent(const FXTable* table,FXDC& dc,FXint x,FXint y,FXint w,FXint h) const;
|
951
951
|
virtual void drawPattern(const FXTable* table,FXDC& dc,FXint x,FXint y,FXint w,FXint h) const;
|
952
952
|
virtual void drawBackground(const FXTable* table,FXDC& dc,FXint x,FXint y,FXint w,FXint h) const;
|
953
|
-
|
953
|
+
|
954
954
|
// Change item's text label
|
955
955
|
virtual void setText(const FXString& txt);
|
956
|
-
|
956
|
+
|
957
957
|
// Return item's text label
|
958
958
|
virtual FXString getText() const;
|
959
959
|
|
@@ -968,10 +968,10 @@
|
|
968
968
|
|
969
969
|
// Select item
|
970
970
|
virtual void setSelected(FXbool selected);
|
971
|
-
|
971
|
+
|
972
972
|
// Enable or disable item
|
973
973
|
virtual void setEnabled(FXbool enabled);
|
974
|
-
|
974
|
+
|
975
975
|
// Make item draggable
|
976
976
|
virtual void setDraggable(FXbool draggable);
|
977
977
|
|
@@ -995,16 +995,16 @@
|
|
995
995
|
|
996
996
|
// Return width of item
|
997
997
|
virtual FXint getWidth(const FXTable* table) const;
|
998
|
-
|
998
|
+
|
999
999
|
// Return height of item
|
1000
1000
|
virtual FXint getHeight(const FXTable* table) const;
|
1001
|
-
|
1001
|
+
|
1002
1002
|
// Create server-side resources
|
1003
1003
|
virtual void create();
|
1004
|
-
|
1004
|
+
|
1005
1005
|
// Detach server-side resources
|
1006
1006
|
virtual void detach();
|
1007
|
-
|
1007
|
+
|
1008
1008
|
// Destroy server-side resources
|
1009
1009
|
virtual void destroy();
|
1010
1010
|
}
|
@@ -1018,7 +1018,7 @@
|
|
1018
1018
|
virtual void drawVGrid(FXDC& dc,FXint rlo,FXint rhi,FXint clo,FXint chi);
|
1019
1019
|
virtual void drawContents(FXDC& dc,FXint x,FXint y,FXint w,FXint h);
|
1020
1020
|
virtual FXTableItem* createItem(const FXString& text,FXIcon* icon,void* ptr);
|
1021
|
-
|
1021
|
+
|
1022
1022
|
/// Set the table size to nr rows and nc columns; all existing items will be removed
|
1023
1023
|
virtual void setTableSize(FXint nr,FXint nc,FXbool notify=FALSE);
|
1024
1024
|
|
@@ -1069,7 +1069,7 @@
|
|
1069
1069
|
|
1070
1070
|
/// Kill selection
|
1071
1071
|
virtual FXbool killSelection(FXbool notify=FALSE);
|
1072
|
-
|
1072
|
+
|
1073
1073
|
/**
|
1074
1074
|
* Start input mode for the cell at the given position.
|
1075
1075
|
* An input control is created which is used to edit the cell;
|
@@ -1098,7 +1098,7 @@
|
|
1098
1098
|
|
1099
1099
|
/// Scroll to make cell at r,c fully visible
|
1100
1100
|
virtual void makePositionVisible(FXint row_unchecked,FXint col_unchecked);
|
1101
|
-
|
1101
|
+
|
1102
1102
|
/// Enable item
|
1103
1103
|
virtual FXbool enableItem(FXint r,FXint c);
|
1104
1104
|
|
@@ -1136,13 +1136,13 @@
|
|
1136
1136
|
|
1137
1137
|
/// Change style of text range
|
1138
1138
|
virtual void changeStyle(FXint pos,FXint n,FXint style);
|
1139
|
-
|
1139
|
+
|
1140
1140
|
/// Change style of text range from style-array
|
1141
1141
|
virtual void changeStyle(FXint pos,const FXString& style);
|
1142
1142
|
|
1143
1143
|
/// Change the text in the buffer to new text
|
1144
1144
|
virtual void setText(const FXString& text,FXbool notify=FALSE);
|
1145
|
-
|
1145
|
+
|
1146
1146
|
/// Change the text in the buffer to new text
|
1147
1147
|
virtual void setStyledText(const FXString& text,FXint style=0,FXbool notify=FALSE);
|
1148
1148
|
}
|
@@ -1177,10 +1177,10 @@
|
|
1177
1177
|
%extend klass {
|
1178
1178
|
// Change item label
|
1179
1179
|
virtual void setText(const FXString& txt);
|
1180
|
-
|
1180
|
+
|
1181
1181
|
// Change open icon, deleting the old one if it was owned
|
1182
1182
|
virtual void setOpenIcon(FXIcon* icn,FXbool owned=FALSE);
|
1183
|
-
|
1183
|
+
|
1184
1184
|
// Change closed icon, deleting the old one if it was owned
|
1185
1185
|
virtual void setClosedIcon(FXIcon* icn,FXbool owned=FALSE);
|
1186
1186
|
virtual void setFocus(FXbool focus);
|
@@ -1210,7 +1210,7 @@
|
|
1210
1210
|
|
1211
1211
|
/// Extend selection from anchor item to item
|
1212
1212
|
virtual FXbool extendSelection(FXTreeItem* item,FXbool notify=FALSE);
|
1213
|
-
|
1213
|
+
|
1214
1214
|
/// Deselect all items
|
1215
1215
|
virtual FXbool killSelection(FXbool notify=FALSE);
|
1216
1216
|
|
@@ -1223,7 +1223,7 @@
|
|
1223
1223
|
/// Collapse tree
|
1224
1224
|
virtual FXbool collapseTree(FXTreeItem* tree,FXbool notify=FALSE);
|
1225
1225
|
|
1226
|
-
/// Expand tree
|
1226
|
+
/// Expand tree
|
1227
1227
|
virtual FXbool expandTree(FXTreeItem* tree,FXbool notify=FALSE);
|
1228
1228
|
|
1229
1229
|
/// Change current item
|
@@ -1304,7 +1304,7 @@
|
|
1304
1304
|
*/
|
1305
1305
|
virtual const FXchar* tr(const FXchar* message,const FXchar* hint=NULL) const;
|
1306
1306
|
|
1307
|
-
/// Enable this window to receive drops
|
1307
|
+
/// Enable this window to receive drops
|
1308
1308
|
virtual void dropEnable();
|
1309
1309
|
|
1310
1310
|
/// Disable this window from receiving drops
|
data/test/TC_FXAccelTable.rb
CHANGED
@@ -15,7 +15,7 @@ class TC_FXAccelTable < Test::Unit::TestCase
|
|
15
15
|
assert @accelTable.hasAccel?(@hotKey)
|
16
16
|
assert_nil @accelTable.targetOfAccel(@hotKey)
|
17
17
|
end
|
18
|
-
|
18
|
+
|
19
19
|
def test_add_accel_with_default_seldn_selup
|
20
20
|
target = FXObject.new
|
21
21
|
@accelTable.addAccel(@hotKey, target)
|
@@ -29,7 +29,7 @@ class TC_FXAccelTable < Test::Unit::TestCase
|
|
29
29
|
def test_add_accel_with_no_defaults
|
30
30
|
@accelTable.addAccel(@hotKey, FXObject.new, FXSEL(SEL_COMMAND, FXWindow::ID_SHOW), FXSEL(SEL_COMMAND, FXWindow::ID_HIDE))
|
31
31
|
end
|
32
|
-
|
32
|
+
|
33
33
|
def test_add_accel_with_lambda_for_seldn
|
34
34
|
@accelTable.addAccel(@hotKey, lambda { puts "hello" })
|
35
35
|
end
|
@@ -47,7 +47,7 @@ class TC_FXAccelTable < Test::Unit::TestCase
|
|
47
47
|
@accelTable.addAccel(@hotKey)
|
48
48
|
assert(@accelTable.hasAccel?(@hotKey))
|
49
49
|
end
|
50
|
-
|
50
|
+
|
51
51
|
def test_remove_accel
|
52
52
|
@accelTable.addAccel(@hotKey)
|
53
53
|
assert(@accelTable.hasAccel?(@hotKey))
|
data/test/TC_FXButton.rb
CHANGED
@@ -9,7 +9,7 @@ class TC_FXButton < Fox::TestCase
|
|
9
9
|
super("TC_FXButton")
|
10
10
|
@button = FXButton.new(mainWindow, "buttonText")
|
11
11
|
end
|
12
|
-
|
12
|
+
|
13
13
|
def testText
|
14
14
|
assert(@button.text)
|
15
15
|
assert_instance_of(String, @button.text)
|
@@ -19,11 +19,11 @@ class TC_FXButton < Fox::TestCase
|
|
19
19
|
assert(@button.text)
|
20
20
|
assert_instance_of(String, @button.text)
|
21
21
|
end
|
22
|
-
|
22
|
+
|
23
23
|
def testStyle
|
24
24
|
assert(@button.buttonStyle)
|
25
25
|
assert_instance_of(Fixnum, @button.buttonStyle)
|
26
|
-
|
26
|
+
|
27
27
|
@button.buttonStyle |= BUTTON_AUTOGRAY
|
28
28
|
assert((@button.buttonStyle & BUTTON_AUTOGRAY) != 0)
|
29
29
|
@button.buttonStyle &= ~BUTTON_AUTOGRAY
|
@@ -49,23 +49,23 @@ class TC_FXButton < Fox::TestCase
|
|
49
49
|
@button.buttonStyle &= ~BUTTON_INITIAL
|
50
50
|
assert((@button.buttonStyle & BUTTON_INITIAL) == 0)
|
51
51
|
end
|
52
|
-
|
52
|
+
|
53
53
|
def testState
|
54
54
|
assert(@button.state)
|
55
55
|
assert_kind_of(Fixnum, @button.state)
|
56
|
-
|
56
|
+
|
57
57
|
@button.state = STATE_UP
|
58
58
|
assert_equal(STATE_UP, @button.state)
|
59
|
-
|
59
|
+
|
60
60
|
@button.state = STATE_DOWN
|
61
61
|
assert_equal(STATE_DOWN, @button.state)
|
62
|
-
|
62
|
+
|
63
63
|
@button.state = STATE_ENGAGED
|
64
64
|
assert_equal(STATE_ENGAGED, @button.state)
|
65
|
-
|
65
|
+
|
66
66
|
@button.state = STATE_CHECKED
|
67
67
|
assert_equal(STATE_CHECKED, @button.state)
|
68
|
-
|
68
|
+
|
69
69
|
@button.state = STATE_UNCHECKED
|
70
70
|
assert_equal(STATE_UNCHECKED, @button.state)
|
71
71
|
end
|
data/test/TC_FXCheckButton.rb
CHANGED
@@ -18,7 +18,7 @@ class TC_FXCheckButton < Fox::TestCase
|
|
18
18
|
assert(!@checkButton.unchecked?)
|
19
19
|
assert(!@checkButton.maybe?)
|
20
20
|
end
|
21
|
-
|
21
|
+
|
22
22
|
def test_setCheck_FALSE
|
23
23
|
@checkButton.check = Fox::FALSE
|
24
24
|
assert_equal(false, @checkButton.check)
|
@@ -27,7 +27,7 @@ class TC_FXCheckButton < Fox::TestCase
|
|
27
27
|
assert(@checkButton.unchecked?)
|
28
28
|
assert(!@checkButton.maybe?)
|
29
29
|
end
|
30
|
-
|
30
|
+
|
31
31
|
def test_setCheck_MAYBE
|
32
32
|
@checkButton.check = Fox::MAYBE
|
33
33
|
assert_equal(true, @checkButton.check) # this is not a typo!
|
@@ -36,7 +36,7 @@ class TC_FXCheckButton < Fox::TestCase
|
|
36
36
|
assert(!@checkButton.unchecked?)
|
37
37
|
assert(@checkButton.maybe?)
|
38
38
|
end
|
39
|
-
|
39
|
+
|
40
40
|
def test_setCheck_true
|
41
41
|
@checkButton.check = true
|
42
42
|
assert_equal(true, @checkButton.check)
|
@@ -45,7 +45,7 @@ class TC_FXCheckButton < Fox::TestCase
|
|
45
45
|
assert(!@checkButton.unchecked?)
|
46
46
|
assert(!@checkButton.maybe?)
|
47
47
|
end
|
48
|
-
|
48
|
+
|
49
49
|
def test_setCheck_false
|
50
50
|
@checkButton.check = false
|
51
51
|
assert_equal(false, @checkButton.check)
|
data/test/TC_FXComboBox.rb
CHANGED