fxruby 1.6.22.pre2-x86-mingw32 → 1.6.22.pre3-x86-mingw32
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/1.8/fox16.so +0 -0
- data/lib/1.9/fox16.so +0 -0
- 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
@@ -33,7 +33,7 @@ enum {
|
|
33
33
|
/// Toggle Button
|
34
34
|
class FXToggleButton : public FXLabel {
|
35
35
|
protected:
|
36
|
-
FXString altlabel;
|
36
|
+
FXString altlabel;
|
37
37
|
FXIcon *alticon;
|
38
38
|
FXHotKey althotkey;
|
39
39
|
FXint althotoff;
|
@@ -76,31 +76,31 @@ public:
|
|
76
76
|
|
77
77
|
/// Change alternate text shown when toggled
|
78
78
|
void setAltText(const FXString& text);
|
79
|
-
|
79
|
+
|
80
80
|
/// Return alternate text
|
81
81
|
FXString getAltText() const;
|
82
82
|
|
83
83
|
/// Change alternate icon shown when toggled
|
84
84
|
void setAltIcon(FXIcon* ic);
|
85
|
-
|
85
|
+
|
86
86
|
/// Return alternate icon
|
87
87
|
FXIcon* getAltIcon() const;
|
88
88
|
|
89
89
|
/// Change toggled state
|
90
90
|
void setState(FXbool s=TRUE,FXbool notify=FALSE);
|
91
|
-
|
91
|
+
|
92
92
|
/// return toggled state
|
93
93
|
FXbool getState() const;
|
94
94
|
|
95
95
|
/// Change alternate help text shown when toggled
|
96
96
|
void setAltHelpText(const FXString& text);
|
97
|
-
|
97
|
+
|
98
98
|
/// Return alternate help text
|
99
99
|
FXString getAltHelpText() const;
|
100
100
|
|
101
101
|
/// Change alternate tip text shown when toggled
|
102
102
|
void setAltTipText(const FXString& text);
|
103
|
-
|
103
|
+
|
104
104
|
/// Return alternate tip text
|
105
105
|
FXString getAltTipText() const;
|
106
106
|
|
data/swig-interfaces/FXToolBar.i
CHANGED
@@ -22,7 +22,7 @@
|
|
22
22
|
|
23
23
|
%rename("dockingSide=") FXToolBar::setDockingSide(FXuint side);
|
24
24
|
%rename("dockingSide") FXToolBar::getDockingSide() const;
|
25
|
-
|
25
|
+
|
26
26
|
|
27
27
|
/**
|
28
28
|
* A tool bar widget can be docked in a dock site; it automatically
|
@@ -38,7 +38,7 @@ public:
|
|
38
38
|
public:
|
39
39
|
%extend {
|
40
40
|
/**
|
41
|
-
* Construct a floatable toolbar
|
41
|
+
* Construct a floatable toolbar
|
42
42
|
* Normally, the toolbar is docked under window p.
|
43
43
|
* When floated, the toolbar can be docked under window q, which is
|
44
44
|
* typically an FXToolBarShell window.
|
@@ -56,12 +56,12 @@ public:
|
|
56
56
|
}
|
57
57
|
}
|
58
58
|
|
59
|
-
/// Set docking side
|
59
|
+
/// Set docking side
|
60
60
|
void setDockingSide(FXuint side=LAYOUT_SIDE_TOP);
|
61
61
|
|
62
62
|
/// Return docking side
|
63
63
|
FXuint getDockingSide() const;
|
64
|
-
|
64
|
+
|
65
65
|
/// Destroy
|
66
66
|
virtual ~FXToolBar();
|
67
67
|
};
|
@@ -52,7 +52,7 @@ public:
|
|
52
52
|
long onLeave(FXObject*,FXSelector,void* PTR_EVENT);
|
53
53
|
public:
|
54
54
|
%extend {
|
55
|
-
/// Construct toolbar grip
|
55
|
+
/// Construct toolbar grip
|
56
56
|
FXToolBarGrip(FXToolBar* p,FXObject* tgt=NULL,FXSelector sel=0,FXuint opts=TOOLBARGRIP_SINGLE,FXint x=0,FXint y=0,FXint w=0,FXint h=0){
|
57
57
|
return new FXRbToolBarGrip(p,tgt,sel,opts,x,y,w,h);
|
58
58
|
}
|
@@ -63,13 +63,13 @@ public:
|
|
63
63
|
|
64
64
|
/// Return TRUE if toolbar grip is displayed as a double bar
|
65
65
|
FXbool isDoubleBar() const;
|
66
|
-
|
66
|
+
|
67
67
|
/// Set the active color
|
68
68
|
void setActiveColor(FXColor clr);
|
69
69
|
|
70
70
|
/// Get the active color
|
71
71
|
FXColor getActiveColor() const;
|
72
|
-
|
72
|
+
|
73
73
|
/// Destructor
|
74
74
|
virtual ~FXToolBarGrip();
|
75
75
|
};
|
@@ -54,7 +54,7 @@ public:
|
|
54
54
|
|
55
55
|
/// Change frame style
|
56
56
|
void setFrameStyle(FXuint style);
|
57
|
-
|
57
|
+
|
58
58
|
/// Get current frame style
|
59
59
|
FXuint getFrameStyle() const;
|
60
60
|
|
@@ -81,10 +81,10 @@ public:
|
|
81
81
|
|
82
82
|
/// Change base gui color
|
83
83
|
void setBaseColor(FXColor clr);
|
84
|
-
|
84
|
+
|
85
85
|
/// Get base gui color
|
86
86
|
FXColor getBaseColor() const;
|
87
|
-
|
87
|
+
|
88
88
|
/// Destructor
|
89
89
|
virtual ~FXToolBarShell();
|
90
90
|
};
|
@@ -72,7 +72,7 @@ public:
|
|
72
72
|
};
|
73
73
|
public:
|
74
74
|
%extend {
|
75
|
-
/// Construct toolbar tab
|
75
|
+
/// Construct toolbar tab
|
76
76
|
FXToolBarTab(FXComposite* p,FXObject* tgt=NULL,FXSelector sel=0,FXuint opts=FRAME_RAISED,FXint x=0,FXint y=0,FXint w=0,FXint h=0){
|
77
77
|
return new FXRbToolBarTab(p,tgt,sel,opts,x,y,w,h);
|
78
78
|
}
|
@@ -80,22 +80,22 @@ public:
|
|
80
80
|
|
81
81
|
/// Collapse or uncollapse the toolbar
|
82
82
|
void collapse(FXbool fold,FXbool notify=FALSE);
|
83
|
-
|
83
|
+
|
84
84
|
/// Return true if the toolbar is collapsed
|
85
85
|
FXbool isCollapsed() const;
|
86
86
|
|
87
87
|
/// Change the tab style
|
88
88
|
void setTabStyle(FXuint style);
|
89
|
-
|
89
|
+
|
90
90
|
/// Get current tab style
|
91
91
|
FXuint getTabStyle() const;
|
92
|
-
|
92
|
+
|
93
93
|
/// Get the active color
|
94
94
|
FXColor getActiveColor() const;
|
95
95
|
|
96
96
|
/// Set the active color
|
97
97
|
void setActiveColor(FXColor clr);
|
98
|
-
|
98
|
+
|
99
99
|
/// Set the tool tip message for the toolbar tab
|
100
100
|
void setTipText(const FXString& text);
|
101
101
|
|
data/swig-interfaces/FXToolTip.i
CHANGED
@@ -46,7 +46,7 @@ enum {
|
|
46
46
|
PLACEMENT_MAXIMIZED /// Place it maximized to the screen size
|
47
47
|
};
|
48
48
|
|
49
|
-
|
49
|
+
|
50
50
|
class FXToolBar;
|
51
51
|
|
52
52
|
|
@@ -125,7 +125,7 @@ public:
|
|
125
125
|
FXTopWindow(FXApp* a,const FXString& name,FXIcon *ic,FXIcon *mi,FXuint opts,FXint x,FXint y,FXint w,FXint h,FXint pl,FXint pr,FXint pt,FXint pb,FXint hs,FXint vs){
|
126
126
|
return new FXRbTopWindow(a,name,ic,mi,opts,x,y,w,h,pl,pr,pt,pb,hs,vs);
|
127
127
|
}
|
128
|
-
|
128
|
+
|
129
129
|
// Construct owned top-level window
|
130
130
|
FXTopWindow(FXWindow* owner,const FXString& name,FXIcon *ic,FXIcon *mi,FXuint opts,FXint x,FXint y,FXint w,FXint h,FXint pl,FXint pr,FXint pt,FXint pb,FXint hs,FXint vs){
|
131
131
|
return new FXRbTopWindow(owner,name,ic,mi,opts,x,y,w,h,pl,pr,pt,pb,hs,vs);
|
@@ -157,7 +157,7 @@ public:
|
|
157
157
|
|
158
158
|
/// Change window title
|
159
159
|
void setTitle(const FXString& name);
|
160
|
-
|
160
|
+
|
161
161
|
/// Return window title
|
162
162
|
FXString getTitle() const;
|
163
163
|
|
@@ -193,28 +193,28 @@ public:
|
|
193
193
|
|
194
194
|
/// Change horizontal spacing between children
|
195
195
|
void setHSpacing(FXint hs);
|
196
|
-
|
196
|
+
|
197
197
|
/// Change vertical spacing between children
|
198
198
|
void setVSpacing(FXint vs);
|
199
|
-
|
199
|
+
|
200
200
|
/// Change packing hints for children
|
201
201
|
void setPackingHints(FXuint ph);
|
202
|
-
|
202
|
+
|
203
203
|
/// Return packing hints for children
|
204
204
|
FXuint getPackingHints() const;
|
205
|
-
|
205
|
+
|
206
206
|
/// Change title and border decorations
|
207
207
|
void setDecorations(FXuint decorations);
|
208
|
-
|
208
|
+
|
209
209
|
/// Return current title and border decorations
|
210
210
|
FXuint getDecorations() const;
|
211
|
-
|
211
|
+
|
212
212
|
/// Return window icon
|
213
213
|
FXIcon* getIcon() const;
|
214
214
|
|
215
215
|
/// Change window icon
|
216
216
|
void setIcon(FXIcon* ic);
|
217
|
-
|
217
|
+
|
218
218
|
/// Return window mini (title) icon
|
219
219
|
FXIcon* getMiniIcon() const;
|
220
220
|
|
@@ -99,7 +99,7 @@ public:
|
|
99
99
|
void setData(VALUE ptr){
|
100
100
|
self->setData((void*) ptr);
|
101
101
|
}
|
102
|
-
|
102
|
+
|
103
103
|
VALUE getData() const {
|
104
104
|
return self->getData() ? (VALUE) self->getData() : Qnil;
|
105
105
|
}
|
@@ -114,10 +114,10 @@ public:
|
|
114
114
|
|
115
115
|
/// Return TRUE if subitems, real or imagined
|
116
116
|
FXbool hasItems() const;
|
117
|
-
|
117
|
+
|
118
118
|
/// Change has items flag
|
119
119
|
void setHasItems(FXbool flag);
|
120
|
-
|
120
|
+
|
121
121
|
/// Return true if descendent of parent item
|
122
122
|
FXbool isChildOf(const FXTreeItem* item) const;
|
123
123
|
|
@@ -240,13 +240,13 @@ public:
|
|
240
240
|
|
241
241
|
/// Return number of items
|
242
242
|
FXint getNumItems() const;
|
243
|
-
|
243
|
+
|
244
244
|
/// Return number of visible items
|
245
245
|
FXint getNumVisible() const;
|
246
246
|
|
247
247
|
/// Change number of visible items
|
248
248
|
void setNumVisible(FXint nvis);
|
249
|
-
|
249
|
+
|
250
250
|
/// Return first root item
|
251
251
|
FXTreeItem* getFirstItem() const;
|
252
252
|
|
@@ -264,7 +264,7 @@ public:
|
|
264
264
|
}
|
265
265
|
return self->insertItem(other,father,item,notify);
|
266
266
|
}
|
267
|
-
|
267
|
+
|
268
268
|
/// Insert item with given text and optional icons, and user-data pointer under father before other item
|
269
269
|
FXTreeItem* insertItem(FXTreeItem* other,FXTreeItem* father,const FXString& text,FXIcon* oi=NULL,FXIcon* ci=NULL,void* ITEMDATA=NULL,FXbool notify=FALSE){
|
270
270
|
FXTreeItem* item=self->insertItem(other,father,text,oi,ci,ITEMDATA,notify);
|
@@ -274,14 +274,14 @@ public:
|
|
274
274
|
return item;
|
275
275
|
}
|
276
276
|
|
277
|
-
/// Append [possibly subclassed] item as last child of father
|
277
|
+
/// Append [possibly subclassed] item as last child of father
|
278
278
|
FXTreeItem* appendItem(FXTreeItem* father,FXTreeItem* item,FXbool notify=FALSE){
|
279
279
|
if(item->isMemberOf(FXMETACLASS(FXRbTreeItem))){
|
280
280
|
dynamic_cast<FXRbTreeItem*>(item)->owner=self;
|
281
281
|
}
|
282
282
|
return self->appendItem(father,item,notify);
|
283
283
|
}
|
284
|
-
|
284
|
+
|
285
285
|
/// Append item with given text and optional icons, and user-data pointer as last child of father
|
286
286
|
FXTreeItem* appendItem(FXTreeItem* father,const FXString& text,FXIcon* oi=NULL,FXIcon* ci=NULL,void* ITEMDATA=NULL,FXbool notify=FALSE){
|
287
287
|
FXTreeItem* item=self->appendItem(father,text,oi,ci,ITEMDATA,notify);
|
@@ -290,7 +290,7 @@ public:
|
|
290
290
|
}
|
291
291
|
return item;
|
292
292
|
}
|
293
|
-
|
293
|
+
|
294
294
|
/// Prepend [possibly subclassed] item as first child of father
|
295
295
|
FXTreeItem* prependItem(FXTreeItem* father,FXTreeItem* item,FXbool notify=FALSE){
|
296
296
|
if(item->isMemberOf(FXMETACLASS(FXRbTreeItem))){
|
@@ -298,7 +298,7 @@ public:
|
|
298
298
|
}
|
299
299
|
return self->prependItem(father,item,notify);
|
300
300
|
}
|
301
|
-
|
301
|
+
|
302
302
|
/// Prepend item with given text and optional icons, and user-data pointer as first child of father
|
303
303
|
FXTreeItem* prependItem(FXTreeItem* father,const FXString& text,FXIcon* oi=NULL,FXIcon* ci=NULL,void* ITEMDATA=NULL,FXbool notify=FALSE){
|
304
304
|
FXTreeItem* item=self->prependItem(father,text,oi,ci,ITEMDATA,notify);
|
@@ -321,10 +321,10 @@ public:
|
|
321
321
|
// Save pointer(s) to the soon-to-be-destroyed items
|
322
322
|
FXObjectListOf<FXTreeItem> items;
|
323
323
|
FXRbTreeList::enumerateItem(item,items);
|
324
|
-
|
324
|
+
|
325
325
|
// Do the deed
|
326
326
|
self->removeItem(item,notify);
|
327
|
-
|
327
|
+
|
328
328
|
// Now zero-out pointers held by still-alive Ruby objects
|
329
329
|
for(FXint i=0;i<items.no();i++){
|
330
330
|
FXRbUnregisterRubyObj(items[i]);
|
@@ -361,7 +361,7 @@ public:
|
|
361
361
|
}
|
362
362
|
}
|
363
363
|
}
|
364
|
-
|
364
|
+
|
365
365
|
/// Return item width
|
366
366
|
FXint getItemWidth(const FXTreeItem* item) const;
|
367
367
|
|
@@ -391,37 +391,37 @@ public:
|
|
391
391
|
|
392
392
|
/// Change item's text
|
393
393
|
void setItemText(FXTreeItem* item,const FXString& text);
|
394
|
-
|
394
|
+
|
395
395
|
/// Return item's text
|
396
396
|
FXString getItemText(const FXTreeItem* item) const;
|
397
|
-
|
397
|
+
|
398
398
|
/// Change item's open icon, deleting the old icon if it was owned
|
399
399
|
void setItemOpenIcon(FXTreeItem* item,FXIcon* icon,FXbool owned=FALSE);
|
400
|
-
|
400
|
+
|
401
401
|
/// Return item's open icon
|
402
402
|
FXIcon* getItemOpenIcon(const FXTreeItem* item) const;
|
403
|
-
|
403
|
+
|
404
404
|
/// Chance item's closed icon, deleting the old icon if it was owned
|
405
405
|
void setItemClosedIcon(FXTreeItem* item,FXIcon* icon,FXbool owned=FALSE);
|
406
|
-
|
406
|
+
|
407
407
|
/// Return item's closed icon
|
408
408
|
FXIcon* getItemClosedIcon(const FXTreeItem* item) const;
|
409
|
-
|
409
|
+
|
410
410
|
%extend {
|
411
411
|
/// Change item user-data pointer
|
412
412
|
void setItemData(FXTreeItem* item,VALUE ptr){
|
413
413
|
self->setItemData(item,(void*) ptr);
|
414
414
|
}
|
415
|
-
|
415
|
+
|
416
416
|
/// Return item user-data pointer
|
417
417
|
VALUE getItemData(const FXTreeItem* item) const {
|
418
418
|
return self->getItemData(item) ? (VALUE) self->getItemData(item) : Qnil;
|
419
419
|
}
|
420
420
|
}
|
421
|
-
|
421
|
+
|
422
422
|
/// Return TRUE if item is selected
|
423
423
|
FXbool isItemSelected(const FXTreeItem* item) const;
|
424
|
-
|
424
|
+
|
425
425
|
/// Return TRUE if item is current
|
426
426
|
FXbool isItemCurrent(const FXTreeItem* item) const;
|
427
427
|
|
@@ -460,13 +460,13 @@ public:
|
|
460
460
|
|
461
461
|
/// Sort root items
|
462
462
|
void sortRootItems();
|
463
|
-
|
463
|
+
|
464
464
|
/// Sort all items recursively
|
465
465
|
void sortItems();
|
466
466
|
|
467
467
|
/// Sort children of item
|
468
468
|
void sortChildItems(FXTreeItem* item);
|
469
|
-
|
469
|
+
|
470
470
|
/// Return sort function
|
471
471
|
FXTreeListSortFunc getSortFunc() const;
|
472
472
|
|
@@ -502,7 +502,7 @@ public:
|
|
502
502
|
|
503
503
|
/// Change selected text color
|
504
504
|
void setSelTextColor(FXColor clr);
|
505
|
-
|
505
|
+
|
506
506
|
/// Return line color
|
507
507
|
FXColor getLineColor() const;
|
508
508
|
|
@@ -511,13 +511,13 @@ public:
|
|
511
511
|
|
512
512
|
/// Return list style
|
513
513
|
FXuint getListStyle() const;
|
514
|
-
|
514
|
+
|
515
515
|
/// Change list style
|
516
516
|
void setListStyle(FXuint style);
|
517
|
-
|
517
|
+
|
518
518
|
/// Set the status line help text for this list
|
519
519
|
void setHelpText(const FXString& text);
|
520
|
-
|
520
|
+
|
521
521
|
/// Get the status line help text for this list
|
522
522
|
const FXString& getHelpText() const;
|
523
523
|
|
@@ -25,7 +25,7 @@ enum {
|
|
25
25
|
TREELISTBOX_NORMAL = 0 /// Normal style
|
26
26
|
};
|
27
27
|
|
28
|
-
|
28
|
+
|
29
29
|
class FXButton;
|
30
30
|
class FXMenuButton;
|
31
31
|
class FXTreeList;
|
@@ -63,7 +63,7 @@ public:
|
|
63
63
|
ID_LAST
|
64
64
|
};
|
65
65
|
public:
|
66
|
-
|
66
|
+
|
67
67
|
/// Construct tree list box
|
68
68
|
%extend {
|
69
69
|
FXTreeListBox(FXComposite* p,FXObject* tgt=NULL,FXSelector sel=0,FXuint opts=FRAME_SUNKEN|FRAME_THICK|TREELISTBOX_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=DEFAULT_PAD,FXint pr=DEFAULT_PAD,FXint pt=DEFAULT_PAD,FXint pb=DEFAULT_PAD){
|
@@ -73,16 +73,16 @@ public:
|
|
73
73
|
|
74
74
|
/// Return number of items
|
75
75
|
FXint getNumItems() const;
|
76
|
-
|
76
|
+
|
77
77
|
/// Return number of visible items
|
78
78
|
FXint getNumVisible() const;
|
79
|
-
|
79
|
+
|
80
80
|
/// Set number of visible items to determine default height
|
81
81
|
void setNumVisible(FXint nvis);
|
82
|
-
|
82
|
+
|
83
83
|
/// Return first top-level item
|
84
84
|
FXTreeItem* getFirstItem() const;
|
85
|
-
|
85
|
+
|
86
86
|
/// Return last top-level item
|
87
87
|
FXTreeItem* getLastItem() const;
|
88
88
|
|
@@ -97,8 +97,8 @@ public:
|
|
97
97
|
}
|
98
98
|
return self->insertItem(other,father,item);
|
99
99
|
}
|
100
|
-
|
101
|
-
|
100
|
+
|
101
|
+
|
102
102
|
/// Insert item with given text and optional icons, and user-data pointer under father before other item
|
103
103
|
FXTreeItem* insertItem(FXTreeItem* other,FXTreeItem* father,const FXString& text,FXIcon* oi=NULL,FXIcon* ci=NULL,void* ITEMDATA=NULL){
|
104
104
|
FXTreeItem* item=self->insertItem(other,father,text,oi,ci,ITEMDATA);
|
@@ -107,7 +107,7 @@ public:
|
|
107
107
|
}
|
108
108
|
return item;
|
109
109
|
}
|
110
|
-
|
110
|
+
|
111
111
|
/// Append [possibly subclassed] item as last child of father
|
112
112
|
FXTreeItem* appendItem(FXTreeItem* father,FXTreeItem* item){
|
113
113
|
if(item->isMemberOf(FXMETACLASS(FXRbTreeItem))){
|
@@ -115,7 +115,7 @@ public:
|
|
115
115
|
}
|
116
116
|
return self->appendItem(father,item);
|
117
117
|
}
|
118
|
-
|
118
|
+
|
119
119
|
/// Append item with given text and optional icons, and user-data pointer as last child of father
|
120
120
|
FXTreeItem* appendItem(FXTreeItem* father,const FXString& text,FXIcon* oi=NULL,FXIcon* ci=NULL,void* ITEMDATA=NULL){
|
121
121
|
FXTreeItem* item=self->appendItem(father,text,oi,ci,ITEMDATA);
|
@@ -124,7 +124,7 @@ public:
|
|
124
124
|
}
|
125
125
|
return item;
|
126
126
|
}
|
127
|
-
|
127
|
+
|
128
128
|
/// Prepend [possibly subclassed] item as first child of father
|
129
129
|
FXTreeItem* prependItem(FXTreeItem* father,FXTreeItem* item){
|
130
130
|
if(item->isMemberOf(FXMETACLASS(FXRbTreeItem))){
|
@@ -132,7 +132,7 @@ public:
|
|
132
132
|
}
|
133
133
|
return self->prependItem(father,item);
|
134
134
|
}
|
135
|
-
|
135
|
+
|
136
136
|
/// Prepend item with given text and optional icons, and user-data pointer as first child of father
|
137
137
|
FXTreeItem* prependItem(FXTreeItem* father,const FXString& text,FXIcon* oi=NULL,FXIcon* ci=NULL,void* ITEMDATA=NULL){
|
138
138
|
FXTreeItem* item=self->prependItem(father,text,oi,ci,ITEMDATA);
|
@@ -147,16 +147,16 @@ public:
|
|
147
147
|
// Save pointer(s) to the soon-to-be-destroyed items
|
148
148
|
FXObjectListOf<FXTreeItem> items;
|
149
149
|
FXRbTreeList::enumerateItem(item,items);
|
150
|
-
|
150
|
+
|
151
151
|
// Do the deed
|
152
152
|
self->removeItem(item);
|
153
|
-
|
153
|
+
|
154
154
|
// Now zero-out pointers held by still-alive Ruby objects
|
155
155
|
for(FXint i=0;i<items.no();i++){
|
156
156
|
FXRbUnregisterRubyObj(items[i]);
|
157
157
|
}
|
158
158
|
}
|
159
|
-
|
159
|
+
|
160
160
|
/// Remove all items in range [fm...to]
|
161
161
|
void removeItems(FXTreeItem* fm,FXTreeItem* to){
|
162
162
|
// Save pointer(s) to the soon-to-be-destroyed items
|
@@ -171,7 +171,7 @@ public:
|
|
171
171
|
FXRbUnregisterRubyObj(items[i]);
|
172
172
|
}
|
173
173
|
}
|
174
|
-
|
174
|
+
|
175
175
|
/// Remove all items from list
|
176
176
|
void clearItems(){
|
177
177
|
// Save pointer(s) to the soon-to-be-destroyed items
|
@@ -187,7 +187,7 @@ public:
|
|
187
187
|
}
|
188
188
|
}
|
189
189
|
}
|
190
|
-
|
190
|
+
|
191
191
|
/// Move item under father before other item
|
192
192
|
FXTreeItem *moveItem(FXTreeItem* other,FXTreeItem* father,FXTreeItem* item);
|
193
193
|
|
@@ -217,28 +217,28 @@ public:
|
|
217
217
|
|
218
218
|
/// Return TRUE if item is the current item
|
219
219
|
FXbool isItemCurrent(const FXTreeItem* item) const;
|
220
|
-
|
220
|
+
|
221
221
|
/// Return TRUE if item is leaf-item, i.e. has no children
|
222
222
|
FXbool isItemLeaf(const FXTreeItem* item) const;
|
223
|
-
|
223
|
+
|
224
224
|
/// Sort the toplevel items with the sort function
|
225
225
|
void sortRootItems();
|
226
|
-
|
226
|
+
|
227
227
|
/// Sort all items recursively
|
228
228
|
void sortItems();
|
229
229
|
|
230
230
|
/// Sort child items of item
|
231
231
|
void sortChildItems(FXTreeItem* item);
|
232
|
-
|
232
|
+
|
233
233
|
/// Return current item
|
234
234
|
FXTreeItem* getCurrentItem() const;
|
235
|
-
|
235
|
+
|
236
236
|
/// Change item label
|
237
237
|
void setItemText(FXTreeItem* item,const FXString& text);
|
238
|
-
|
238
|
+
|
239
239
|
/// Return item label
|
240
240
|
FXString getItemText(const FXTreeItem* item) const;
|
241
|
-
|
241
|
+
|
242
242
|
/// Change item's closed icon, deleting the old one if owned
|
243
243
|
void setItemOpenIcon(FXTreeItem* item,FXIcon* icon,FXbool owned=FALSE);
|
244
244
|
|
@@ -247,46 +247,46 @@ public:
|
|
247
247
|
|
248
248
|
/// Change item's closed icon, deleting the old one if it was owned
|
249
249
|
void setItemClosedIcon(FXTreeItem* item,FXIcon* icon,FXbool owned=FALSE);
|
250
|
-
|
250
|
+
|
251
251
|
/// Return item's closed icon
|
252
252
|
FXIcon* getItemClosedIcon(const FXTreeItem* item) const;
|
253
|
-
|
253
|
+
|
254
254
|
%extend {
|
255
255
|
/// Change item's user data
|
256
256
|
void setItemData(FXTreeItem* item,VALUE ptr){
|
257
257
|
self->setItemData(item,(void*) ptr);
|
258
258
|
}
|
259
|
-
|
259
|
+
|
260
260
|
/// Return item's user data
|
261
261
|
VALUE getItemData(const FXTreeItem* item) const {
|
262
262
|
return self->getItemData(item) ? (VALUE) self->getItemData(item) : Qnil;
|
263
263
|
}
|
264
264
|
}
|
265
|
-
|
265
|
+
|
266
266
|
/// Is the pane shown
|
267
267
|
FXbool isPaneShown() const;
|
268
|
-
|
268
|
+
|
269
269
|
/// Change font
|
270
270
|
void setFont(FXFont* fnt);
|
271
|
-
|
271
|
+
|
272
272
|
/// Return font
|
273
273
|
FXFont* getFont() const;
|
274
|
-
|
274
|
+
|
275
275
|
/// Return list style
|
276
276
|
FXuint getListStyle() const;
|
277
|
-
|
277
|
+
|
278
278
|
/// Change list style
|
279
279
|
void setListStyle(FXuint style);
|
280
|
-
|
280
|
+
|
281
281
|
/// Change help text
|
282
282
|
void setHelpText(const FXString& txt);
|
283
|
-
|
283
|
+
|
284
284
|
/// Return help text
|
285
285
|
const FXString& getHelpText() const;
|
286
|
-
|
286
|
+
|
287
287
|
/// Change tip text
|
288
288
|
void setTipText(const FXString& txt);
|
289
|
-
|
289
|
+
|
290
290
|
/// Return tip text
|
291
291
|
const FXString& getTipText() const;
|
292
292
|
|