fxruby 1.6.22.pre2 → 1.6.22.pre3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/FXList.i
CHANGED
|
@@ -41,8 +41,8 @@ class FXList;
|
|
|
41
41
|
class FXListItem : public FXObject {
|
|
42
42
|
protected:
|
|
43
43
|
FXString label;
|
|
44
|
-
FXIcon *icon;
|
|
45
|
-
void *data;
|
|
44
|
+
FXIcon *icon;
|
|
45
|
+
void *data;
|
|
46
46
|
FXuint state;
|
|
47
47
|
FXint x,y;
|
|
48
48
|
protected:
|
|
@@ -71,7 +71,7 @@ public:
|
|
|
71
71
|
void setData(VALUE ptr){
|
|
72
72
|
self->setData((void*) ptr);
|
|
73
73
|
}
|
|
74
|
-
|
|
74
|
+
|
|
75
75
|
VALUE getData() const {
|
|
76
76
|
return self->getData() ? (VALUE) self->getData() : Qnil;
|
|
77
77
|
}
|
|
@@ -202,10 +202,10 @@ public:
|
|
|
202
202
|
|
|
203
203
|
/// Change the number of visible items
|
|
204
204
|
void setNumVisible(FXint nvis);
|
|
205
|
-
|
|
205
|
+
|
|
206
206
|
/// Return the item at the given index
|
|
207
207
|
FXListItem *getItem(FXint index) const;
|
|
208
|
-
|
|
208
|
+
|
|
209
209
|
%extend {
|
|
210
210
|
/// Replace the item with a [possibly subclassed] item
|
|
211
211
|
FXint setItem(FXint index,FXListItem* item,FXbool notify=FALSE){
|
|
@@ -231,7 +231,7 @@ public:
|
|
|
231
231
|
|
|
232
232
|
// Do the deed
|
|
233
233
|
FXint result=self->setItem(index,text,icon,ITEMDATA,notify);
|
|
234
|
-
|
|
234
|
+
|
|
235
235
|
// Now zero-out pointers held by still-alive Ruby objects
|
|
236
236
|
FXRbUnregisterRubyObj(oldItem);
|
|
237
237
|
|
|
@@ -263,7 +263,7 @@ public:
|
|
|
263
263
|
return self->appendItem(item,notify);
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
|
-
|
|
266
|
+
|
|
267
267
|
/// Append new item with given text and optional icon, and user-data pointer
|
|
268
268
|
FXint appendItem(const FXString& text,FXIcon *icon=NULL,void* ITEMDATA=NULL,FXbool notify=FALSE);
|
|
269
269
|
|
|
@@ -275,7 +275,7 @@ public:
|
|
|
275
275
|
return self->prependItem(item,notify);
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
|
-
|
|
278
|
+
|
|
279
279
|
/// Prepend new item with given text and optional icon, and user-data pointer
|
|
280
280
|
FXint prependItem(const FXString& text,FXIcon *icon=NULL,void* ITEMDATA=NULL,FXbool notify=FALSE);
|
|
281
281
|
|
|
@@ -297,7 +297,7 @@ public:
|
|
|
297
297
|
// Now zero-out pointers held by still-alive Ruby objects
|
|
298
298
|
FXRbUnregisterRubyObj(item);
|
|
299
299
|
}
|
|
300
|
-
|
|
300
|
+
|
|
301
301
|
/// Remove all items from list
|
|
302
302
|
void clearItems(FXbool notify=FALSE){
|
|
303
303
|
// Save pointers to the soon-to-be-destroyed items
|
|
@@ -311,7 +311,7 @@ public:
|
|
|
311
311
|
for(FXint j=0; j<items.no(); j++) FXRbUnregisterRubyObj(items[j]);
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
|
-
|
|
314
|
+
|
|
315
315
|
/// Return item width
|
|
316
316
|
FXint getItemWidth(FXint index) const;
|
|
317
317
|
|
|
@@ -320,8 +320,8 @@ public:
|
|
|
320
320
|
|
|
321
321
|
/// Return item hit code: 0 no hit; 1 hit the icon; 2 hit the text
|
|
322
322
|
FXint hitItem(FXint index,FXint x,FXint y) const;
|
|
323
|
-
|
|
324
|
-
/**
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
325
|
* Search items by name, beginning from item start. If the start
|
|
326
326
|
* item is -1 the search will start at the first item in the list.
|
|
327
327
|
* Flags may be SEARCH_FORWARD or SEARCH_BACKWARD to control the
|
|
@@ -332,7 +332,7 @@ public:
|
|
|
332
332
|
* Return -1 if no matching item is found.
|
|
333
333
|
*/
|
|
334
334
|
FXint findItem(const FXString& text,FXint start=-1,FXuint flags=SEARCH_FORWARD|SEARCH_WRAP) const;
|
|
335
|
-
|
|
335
|
+
|
|
336
336
|
/**
|
|
337
337
|
* Search items by associated user data, beginning from item start. If the
|
|
338
338
|
* start item is -1 the search will start at the first item in the list.
|
|
@@ -357,49 +357,49 @@ public:
|
|
|
357
357
|
|
|
358
358
|
/// Change item text
|
|
359
359
|
void setItemText(FXint index,const FXString& text);
|
|
360
|
-
|
|
360
|
+
|
|
361
361
|
/// Return item text
|
|
362
362
|
FXString getItemText(FXint index) const;
|
|
363
|
-
|
|
363
|
+
|
|
364
364
|
/// Change item icon
|
|
365
365
|
void setItemIcon(FXint index,FXIcon* icon,FXbool owned=FALSE);
|
|
366
|
-
|
|
366
|
+
|
|
367
367
|
/// Return item icon, if any
|
|
368
368
|
FXIcon* getItemIcon(FXint index) const;
|
|
369
|
-
|
|
369
|
+
|
|
370
370
|
%extend {
|
|
371
371
|
/// Change item user-data pointer
|
|
372
372
|
void setItemData(FXint index, VALUE ptr){
|
|
373
373
|
self->setItemData(index, (void*) ptr);
|
|
374
374
|
}
|
|
375
|
-
|
|
375
|
+
|
|
376
376
|
/// Return item user-data pointer
|
|
377
377
|
VALUE getItemData(FXint index) const {
|
|
378
378
|
return self->getItemData(index) ? (VALUE) self->getItemData(index) : Qnil;
|
|
379
379
|
}
|
|
380
|
-
}
|
|
381
|
-
|
|
380
|
+
}
|
|
381
|
+
|
|
382
382
|
/// Return TRUE if item is selected
|
|
383
383
|
FXbool isItemSelected(FXint index) const;
|
|
384
|
-
|
|
384
|
+
|
|
385
385
|
/// Return TRUE if item is current
|
|
386
386
|
FXbool isItemCurrent(FXint index) const;
|
|
387
|
-
|
|
387
|
+
|
|
388
388
|
/// Return TRUE if item is visible
|
|
389
389
|
FXbool isItemVisible(FXint index) const;
|
|
390
|
-
|
|
390
|
+
|
|
391
391
|
/// Return TRUE if item is enabled
|
|
392
392
|
FXbool isItemEnabled(FXint index) const;
|
|
393
|
-
|
|
393
|
+
|
|
394
394
|
/// Repaint item
|
|
395
395
|
void updateItem(FXint index) const;
|
|
396
|
-
|
|
396
|
+
|
|
397
397
|
/// Return current item, if any
|
|
398
398
|
FXint getCurrentItem() const;
|
|
399
399
|
|
|
400
400
|
/// Change anchor item
|
|
401
401
|
void setAnchorItem(FXint index);
|
|
402
|
-
|
|
402
|
+
|
|
403
403
|
/// Return anchor item, if any
|
|
404
404
|
FXint getAnchorItem() const;
|
|
405
405
|
|
|
@@ -408,10 +408,10 @@ public:
|
|
|
408
408
|
|
|
409
409
|
/// Sort items using current sort function
|
|
410
410
|
void sortItems();
|
|
411
|
-
|
|
411
|
+
|
|
412
412
|
/// Change text font
|
|
413
413
|
void setFont(FXFont* fnt);
|
|
414
|
-
|
|
414
|
+
|
|
415
415
|
/// Return text font
|
|
416
416
|
FXFont* getFont() const;
|
|
417
417
|
|
|
@@ -420,35 +420,35 @@ public:
|
|
|
420
420
|
|
|
421
421
|
/// Change normal text color
|
|
422
422
|
void setTextColor(FXColor clr);
|
|
423
|
-
|
|
423
|
+
|
|
424
424
|
/// Return selected text background
|
|
425
425
|
FXColor getSelBackColor() const;
|
|
426
426
|
|
|
427
427
|
/// Change selected text background
|
|
428
428
|
void setSelBackColor(FXColor clr);
|
|
429
|
-
|
|
429
|
+
|
|
430
430
|
/// Return selected text color
|
|
431
431
|
FXColor getSelTextColor() const;
|
|
432
432
|
|
|
433
433
|
/// Change selected text color
|
|
434
434
|
void setSelTextColor(FXColor clr);
|
|
435
|
-
|
|
435
|
+
|
|
436
436
|
/// Return list style
|
|
437
437
|
FXuint getListStyle() const;
|
|
438
|
-
|
|
438
|
+
|
|
439
439
|
/// Change list style
|
|
440
440
|
void setListStyle(FXuint style);
|
|
441
|
-
|
|
441
|
+
|
|
442
442
|
/// Set the status line help text for this list
|
|
443
443
|
void setHelpText(const FXString& text);
|
|
444
|
-
|
|
444
|
+
|
|
445
445
|
/// Get the status line help text for this list
|
|
446
446
|
const FXString& getHelpText() const;
|
|
447
447
|
|
|
448
448
|
/// Destructor
|
|
449
449
|
virtual ~FXList();
|
|
450
450
|
};
|
|
451
|
-
|
|
451
|
+
|
|
452
452
|
%clear FXint index;
|
|
453
453
|
%clear FXint newindex;
|
|
454
454
|
%clear FXint oldindex;
|
data/swig-interfaces/FXListBox.i
CHANGED
|
@@ -143,10 +143,10 @@ public:
|
|
|
143
143
|
|
|
144
144
|
/// Change item icon
|
|
145
145
|
void setItemIcon(FXint index,FXIcon* icon,FXbool owned=FALSE);
|
|
146
|
-
|
|
146
|
+
|
|
147
147
|
/// Return icon of item at index
|
|
148
148
|
FXIcon* getItemIcon(FXint index) const;
|
|
149
|
-
|
|
149
|
+
|
|
150
150
|
%extend {
|
|
151
151
|
/// Set data pointer for specified item
|
|
152
152
|
void setItemData(FXint index,VALUE ptr) {
|
|
@@ -176,19 +176,19 @@ public:
|
|
|
176
176
|
|
|
177
177
|
/// Change text color
|
|
178
178
|
void setTextColor(FXColor clr);
|
|
179
|
-
|
|
179
|
+
|
|
180
180
|
/// Return text color
|
|
181
181
|
FXColor getTextColor() const;
|
|
182
182
|
|
|
183
183
|
/// Change selected background color
|
|
184
184
|
void setSelBackColor(FXColor clr);
|
|
185
|
-
|
|
185
|
+
|
|
186
186
|
/// Return selected background color
|
|
187
187
|
FXColor getSelBackColor() const;
|
|
188
188
|
|
|
189
189
|
/// Change selected text color
|
|
190
190
|
void setSelTextColor(FXColor clr);
|
|
191
|
-
|
|
191
|
+
|
|
192
192
|
/// Return selected text color
|
|
193
193
|
FXColor getSelTextColor() const;
|
|
194
194
|
|
|
@@ -36,7 +36,7 @@ public:
|
|
|
36
36
|
return new FXRbMDIDeleteButton(p,tgt,sel,opts,x,y,w,h);
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
|
|
39
|
+
|
|
40
40
|
/// Destructor
|
|
41
41
|
virtual ~FXMDIDeleteButton();
|
|
42
42
|
};
|
|
@@ -61,7 +61,7 @@ public:
|
|
|
61
61
|
return new FXRbMDIRestoreButton(p,tgt,sel,opts,x,y,w,h);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
|
|
64
|
+
|
|
65
65
|
/// Destructor
|
|
66
66
|
virtual ~FXMDIRestoreButton();
|
|
67
67
|
};
|
|
@@ -86,7 +86,7 @@ public:
|
|
|
86
86
|
return new FXRbMDIMaximizeButton(p,tgt,sel,opts,x,y,w,h);
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
|
-
|
|
89
|
+
|
|
90
90
|
/// Destructor
|
|
91
91
|
virtual ~FXMDIMaximizeButton();
|
|
92
92
|
};
|
|
@@ -111,7 +111,7 @@ public:
|
|
|
111
111
|
return new FXRbMDIMinimizeButton(p,tgt,sel,opts,x,y,w,h);
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
|
-
|
|
114
|
+
|
|
115
115
|
/// Destructor
|
|
116
116
|
virtual ~FXMDIMinimizeButton();
|
|
117
117
|
};
|
|
@@ -136,7 +136,7 @@ public:
|
|
|
136
136
|
return new FXRbMDIWindowButton(p,pup,tgt,sel,opts,x,y,w,h);
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
-
|
|
139
|
+
|
|
140
140
|
/// Destructor
|
|
141
141
|
virtual ~FXMDIWindowButton();
|
|
142
142
|
};
|
|
@@ -155,7 +155,7 @@ public:
|
|
|
155
155
|
void setNormalY(FXint y);
|
|
156
156
|
void setNormalWidth(FXint w);
|
|
157
157
|
void setNormalHeight(FXint h);
|
|
158
|
-
|
|
158
|
+
|
|
159
159
|
/// Return normal (restored) position
|
|
160
160
|
FXint getNormalX() const;
|
|
161
161
|
FXint getNormalY() const;
|
|
@@ -167,19 +167,19 @@ public:
|
|
|
167
167
|
void setIconY(FXint y);
|
|
168
168
|
void setIconWidth(FXint w);
|
|
169
169
|
void setIconHeight(FXint h);
|
|
170
|
-
|
|
170
|
+
|
|
171
171
|
/// Return iconified position
|
|
172
172
|
FXint getIconX() const;
|
|
173
173
|
FXint getIconY() const;
|
|
174
174
|
FXint getIconWidth() const;
|
|
175
175
|
FXint getIconHeight() const;
|
|
176
|
-
|
|
176
|
+
|
|
177
177
|
/// Return content window
|
|
178
178
|
FXWindow *contentWindow() const;
|
|
179
|
-
|
|
179
|
+
|
|
180
180
|
/// Change MDI Child's title
|
|
181
181
|
void setTitle(const FXString& name);
|
|
182
|
-
|
|
182
|
+
|
|
183
183
|
/// Get current title
|
|
184
184
|
FXString getTitle() const;
|
|
185
185
|
|
|
@@ -198,25 +198,25 @@ public:
|
|
|
198
198
|
void setBorderColor(FXColor clr);
|
|
199
199
|
void setTitleColor(FXColor clr);
|
|
200
200
|
void setTitleBackColor(FXColor clr);
|
|
201
|
-
|
|
201
|
+
|
|
202
202
|
/// Return TRUE if maximized
|
|
203
203
|
FXbool isMaximized() const;
|
|
204
204
|
|
|
205
205
|
/// Return TRUE if minimized
|
|
206
206
|
FXbool isMinimized() const;
|
|
207
|
-
|
|
207
|
+
|
|
208
208
|
/// Get window icon
|
|
209
209
|
FXIcon *getIcon() const;
|
|
210
|
-
|
|
210
|
+
|
|
211
211
|
/// Set window icon
|
|
212
212
|
void setIcon(FXIcon* icon);
|
|
213
|
-
|
|
213
|
+
|
|
214
214
|
/// Get window menu
|
|
215
215
|
FXPopup* getMenu() const;
|
|
216
|
-
|
|
216
|
+
|
|
217
217
|
/// Set window menu
|
|
218
218
|
void setMenu(FXPopup* menu);
|
|
219
|
-
|
|
219
|
+
|
|
220
220
|
/// Set tracking instead of just outline
|
|
221
221
|
void setTracking(FXbool tracking=TRUE);
|
|
222
222
|
|
|
@@ -225,7 +225,7 @@ public:
|
|
|
225
225
|
|
|
226
226
|
/// Set title font
|
|
227
227
|
void setFont(FXFont *fnt);
|
|
228
|
-
|
|
228
|
+
|
|
229
229
|
/// Get title font
|
|
230
230
|
FXFont* getFont() const;
|
|
231
231
|
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
***********************************************************************/
|
|
22
22
|
|
|
23
23
|
class FXMDIChild;
|
|
24
|
-
|
|
24
|
+
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* The MDI client window manages a number of MDI child windows in a multiple-document
|
|
@@ -74,7 +74,7 @@ public:
|
|
|
74
74
|
public:
|
|
75
75
|
enum {
|
|
76
76
|
ID_MDI_ANY=65400,
|
|
77
|
-
ID_MDI_1, // Select MDI child 1
|
|
77
|
+
ID_MDI_1, // Select MDI child 1
|
|
78
78
|
ID_MDI_2,
|
|
79
79
|
ID_MDI_3,
|
|
80
80
|
ID_MDI_4,
|
data/swig-interfaces/FXMat4d.i
CHANGED
|
@@ -57,10 +57,10 @@ public:
|
|
|
57
57
|
if(x==0.0) rb_raise(rb_eZeroDivError,"divided by 0");
|
|
58
58
|
return (*self)/x;
|
|
59
59
|
}
|
|
60
|
-
|
|
60
|
+
|
|
61
61
|
/// Multiply matrix and vector
|
|
62
62
|
FXVec4d operator*(const FXVec4d& other) const { return (*self)*other; }
|
|
63
|
-
|
|
63
|
+
|
|
64
64
|
/// Mutiply matrix and vector, for non-projective matrix
|
|
65
65
|
FXVec3d operator*(const FXVec3d& v) const { return (*self)*v; }
|
|
66
66
|
}
|
data/swig-interfaces/FXMat4f.i
CHANGED
|
@@ -65,22 +65,22 @@ public:
|
|
|
65
65
|
|
|
66
66
|
// Multiply by a matrix
|
|
67
67
|
FXMat4f operator*(const FXMat4f& other) const { return (*self)*other; }
|
|
68
|
-
|
|
68
|
+
|
|
69
69
|
// Multiply by a scalar
|
|
70
70
|
FXMat4f operator*(FXfloat x) const { return (*self)*x; }
|
|
71
|
-
|
|
71
|
+
|
|
72
72
|
// Multiply by a homogenous vector
|
|
73
73
|
FXVec4f operator*(const FXVec4f& other) const { return (*self)*other; }
|
|
74
|
-
|
|
74
|
+
|
|
75
75
|
// Multiply by a non-homogeneous vector, for non-projective matrix
|
|
76
76
|
FXVec3f operator*(const FXVec3f& other) const { return (*self)*other; }
|
|
77
|
-
|
|
77
|
+
|
|
78
78
|
// Divide by a scalar
|
|
79
79
|
FXMat4f operator/(FXfloat x) const {
|
|
80
80
|
if(x==0.0f) rb_raise(rb_eZeroDivError,"divided by 0");
|
|
81
81
|
return (*self)/x;
|
|
82
82
|
}
|
|
83
|
-
|
|
83
|
+
|
|
84
84
|
// Negation
|
|
85
85
|
FXMat4f operator-() const { return -(*self); }
|
|
86
86
|
|
data/swig-interfaces/FXMatrix.i
CHANGED
|
@@ -33,12 +33,12 @@ enum {
|
|
|
33
33
|
* the matrix will have the given number of rows and the number of columns
|
|
34
34
|
* grows as more child windows are added; if the matrix style is MATRIX_BY_COLUMNS,
|
|
35
35
|
* then the number of columns is fixed and the number of rows grows as more children
|
|
36
|
-
* are added.
|
|
36
|
+
* are added.
|
|
37
37
|
* If all children in a row (column) have the LAYOUT_FILL_ROW (LAYOUT_FILL_COLUMN)
|
|
38
38
|
* hint set, then the row (column) will be stretchable as the matrix layout manager
|
|
39
39
|
* itself is resized. If more than one row (column) is stretchable, the space is
|
|
40
40
|
* apportioned to each stretchable row (column) proportionally.
|
|
41
|
-
* Within each cell of the matrix, all other layout hints are observed.
|
|
41
|
+
* Within each cell of the matrix, all other layout hints are observed.
|
|
42
42
|
* For example, a child having LAYOUT_CENTER_Y and LAYOUT_FILL_X hints will
|
|
43
43
|
* be centered in the Y-direction, while being stretched in the X-direction.
|
|
44
44
|
* Empty cells can be obtained by simply placing a borderless FXFrame widget
|
|
@@ -64,31 +64,31 @@ public:
|
|
|
64
64
|
|
|
65
65
|
/// Obtain the child placed at a certain row and column
|
|
66
66
|
FXWindow* childAtRowCol(FXint r,FXint c) const;
|
|
67
|
-
|
|
67
|
+
|
|
68
68
|
/// Return the row in which the given child is placed
|
|
69
69
|
FXint rowOfChild(const FXWindow* child) const;
|
|
70
|
-
|
|
70
|
+
|
|
71
71
|
/// Return the column in which the given child is placed
|
|
72
72
|
FXint colOfChild(const FXWindow* child) const;
|
|
73
|
-
|
|
73
|
+
|
|
74
74
|
/// Change the matrix style
|
|
75
75
|
void setMatrixStyle(FXuint ph);
|
|
76
|
-
|
|
76
|
+
|
|
77
77
|
/// Return the current matrix style
|
|
78
78
|
FXuint getMatrixStyle() const;
|
|
79
|
-
|
|
79
|
+
|
|
80
80
|
/// Change the number of rows
|
|
81
81
|
void setNumRows(FXint nr);
|
|
82
|
-
|
|
82
|
+
|
|
83
83
|
/// Return the number of rows
|
|
84
84
|
FXint getNumRows() const;
|
|
85
|
-
|
|
86
|
-
/// Change the number of columns
|
|
85
|
+
|
|
86
|
+
/// Change the number of columns
|
|
87
87
|
void setNumColumns(FXint nc);
|
|
88
|
-
|
|
88
|
+
|
|
89
89
|
/// Return the number of columns
|
|
90
90
|
FXint getNumColumns() const;
|
|
91
|
-
|
|
91
|
+
|
|
92
92
|
/// Destructor
|
|
93
93
|
virtual ~FXMatrix();
|
|
94
94
|
};
|
|
@@ -28,10 +28,10 @@ class FXMemoryBuffer {
|
|
|
28
28
|
public:
|
|
29
29
|
// Create an memory buffer object
|
|
30
30
|
FXMemoryBuffer(FXColor *data,FXuint size);
|
|
31
|
-
|
|
31
|
+
|
|
32
32
|
// Returns the size (in bytes)
|
|
33
33
|
FXuint getSize() const;
|
|
34
|
-
|
|
34
|
+
|
|
35
35
|
%extend {
|
|
36
36
|
// Returns the data as an array of Bignums
|
|
37
37
|
VALUE getData() const {
|
|
@@ -52,13 +52,13 @@ public:
|
|
|
52
52
|
FXColor __getitem__(FXuint i) const {
|
|
53
53
|
return self->getData()[i];
|
|
54
54
|
}
|
|
55
|
-
|
|
55
|
+
|
|
56
56
|
FXColor __setitem__(FXuint i,FXColor value){
|
|
57
57
|
self->getData()[i] = value;
|
|
58
58
|
return value;
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
|
|
61
|
+
|
|
62
62
|
// Destructor
|
|
63
63
|
~FXMemoryBuffer();
|
|
64
64
|
};
|
data/swig-interfaces/FXMenuBar.i
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
* at "lyle@lylejohnson.name".
|
|
21
21
|
***********************************************************************/
|
|
22
22
|
|
|
23
|
-
/// Menu bar
|
|
23
|
+
/// Menu bar
|
|
24
24
|
class FXMenuBar : public FXToolBar {
|
|
25
25
|
protected:
|
|
26
26
|
FXMenuBar(){}
|
|
@@ -37,7 +37,7 @@ public:
|
|
|
37
37
|
|
|
38
38
|
%extend {
|
|
39
39
|
/**
|
|
40
|
-
* Construct a floatable menubar
|
|
40
|
+
* Construct a floatable menubar
|
|
41
41
|
* Normally, the menubar is docked under window p.
|
|
42
42
|
* When floated, the menubar can be docked under window q, which is
|
|
43
43
|
* typically an FXToolBarShell window.
|
|
@@ -54,7 +54,7 @@ public:
|
|
|
54
54
|
return new FXRbMenuBar(p,opts,x,y,w,h,pl,pr,pt,pb,hs,vs);
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
-
|
|
57
|
+
|
|
58
58
|
// Destructor
|
|
59
59
|
virtual ~FXMenuBar();
|
|
60
60
|
};
|
|
@@ -49,10 +49,10 @@ enum {
|
|
|
49
49
|
* menu button; this is controlled by the flags MENUBUTTON_DOWN, etc.
|
|
50
50
|
* Next, there are several attachment modes; the popup's left/bottom edge may
|
|
51
51
|
* attach to the menu button's left/top edge, or the popup's right/top edge may
|
|
52
|
-
* attach to the menu button's right/bottom edge, or both.
|
|
52
|
+
* attach to the menu button's right/bottom edge, or both.
|
|
53
53
|
* Also, the popup may apear centered relative to the menu button.
|
|
54
54
|
* Finally, a small offset may be specified to displace the location of the
|
|
55
|
-
* popup by a few pixels so as to account for borders and so on.
|
|
55
|
+
* popup by a few pixels so as to account for borders and so on.
|
|
56
56
|
* Normally, the menu button shows an arrow pointing to the direction where
|
|
57
57
|
* the popup is set to appear; this can be turned off by passing the option
|
|
58
58
|
* MENUBUTTON_NOARROWS.
|
|
@@ -110,19 +110,19 @@ public:
|
|
|
110
110
|
|
|
111
111
|
/// Change menu button style
|
|
112
112
|
void setButtonStyle(FXuint style);
|
|
113
|
-
|
|
113
|
+
|
|
114
114
|
/// Get menu button style
|
|
115
115
|
FXuint getButtonStyle() const;
|
|
116
|
-
|
|
116
|
+
|
|
117
117
|
/// Change popup style
|
|
118
118
|
void setPopupStyle(FXuint style);
|
|
119
|
-
|
|
119
|
+
|
|
120
120
|
/// Get popup style
|
|
121
121
|
FXuint getPopupStyle() const;
|
|
122
|
-
|
|
122
|
+
|
|
123
123
|
/// Change attachment
|
|
124
124
|
void setAttachment(FXuint att);
|
|
125
|
-
|
|
125
|
+
|
|
126
126
|
/// Get attachment
|
|
127
127
|
FXuint getAttachment() const;
|
|
128
128
|
|
|
@@ -103,16 +103,16 @@ public:
|
|
|
103
103
|
|
|
104
104
|
/// Return the current text color
|
|
105
105
|
void setTextColor(FXColor clr);
|
|
106
|
-
|
|
106
|
+
|
|
107
107
|
/// Return the selection background color
|
|
108
108
|
FXColor getSelBackColor() const;
|
|
109
|
-
|
|
109
|
+
|
|
110
110
|
/// Set the selection background color
|
|
111
111
|
void setSelBackColor(FXColor clr);
|
|
112
|
-
|
|
112
|
+
|
|
113
113
|
/// Return the selection text color
|
|
114
114
|
FXColor getSelTextColor() const;
|
|
115
|
-
|
|
115
|
+
|
|
116
116
|
/// Set the selection text color
|
|
117
117
|
void setSelTextColor(FXColor clr);
|
|
118
118
|
|
|
@@ -83,7 +83,7 @@ public:
|
|
|
83
83
|
FXMessageBox(FXWindow* owner,const FXString& caption,const FXString& text,FXIcon* ic=NULL,FXuint opts=0,FXint x=0,FXint y=0){
|
|
84
84
|
return new FXRbMessageBox(owner,caption,text,ic,opts,x,y);
|
|
85
85
|
}
|
|
86
|
-
|
|
86
|
+
|
|
87
87
|
/// Construct free floating message box with given caption, icon, and message text
|
|
88
88
|
FXMessageBox(FXApp* app,const FXString& caption,const FXString& text,FXIcon* ic=NULL,FXuint opts=0,FXint x=0,FXint y=0){
|
|
89
89
|
return new FXRbMessageBox(app,caption,text,ic,opts,x,y);
|
|
@@ -106,25 +106,25 @@ public:
|
|
|
106
106
|
|
|
107
107
|
/// Set the current option
|
|
108
108
|
void setCurrent(FXOption *win,FXbool notify=FALSE);
|
|
109
|
-
|
|
109
|
+
|
|
110
110
|
/// Return the current option
|
|
111
111
|
FXOption* getCurrent() const;
|
|
112
112
|
|
|
113
113
|
/// Set the current option number
|
|
114
114
|
void setCurrentNo(FXint no,FXbool notify=FALSE);
|
|
115
|
-
|
|
115
|
+
|
|
116
116
|
/// Get the current option number
|
|
117
117
|
FXint getCurrentNo() const;
|
|
118
|
-
|
|
118
|
+
|
|
119
119
|
/// Get number of options
|
|
120
120
|
FXint getNumOptions() const;
|
|
121
|
-
|
|
121
|
+
|
|
122
122
|
/// Set the pane which will be popped up
|
|
123
123
|
void setMenu(FXPopup *pup);
|
|
124
|
-
|
|
124
|
+
|
|
125
125
|
/// Return the pane which is popped up
|
|
126
126
|
FXPopup* getMenu() const;
|
|
127
|
-
|
|
127
|
+
|
|
128
128
|
/// Return TRUE if popped up
|
|
129
129
|
FXbool isPopped() const;
|
|
130
130
|
|