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/rdoc-sources/FXDC.rb
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
module Fox
|
2
2
|
#
|
3
3
|
# Line segment
|
4
|
-
#
|
5
|
-
class FXSegment
|
4
|
+
#
|
5
|
+
class FXSegment
|
6
6
|
# x-coordinate of the starting point [Integer]
|
7
7
|
attr_accessor :x1
|
8
|
-
|
8
|
+
|
9
9
|
# y-coordinate of the starting point [Integer]
|
10
10
|
attr_accessor :y1
|
11
|
-
|
11
|
+
|
12
12
|
# x-coordinate of the endpoint [Integer]
|
13
13
|
attr_accessor :x2
|
14
|
-
|
14
|
+
|
15
15
|
# y-coordinate of the endpoint [Integer]
|
16
16
|
attr_accessor :y2
|
17
17
|
end
|
@@ -19,24 +19,24 @@ module Fox
|
|
19
19
|
#
|
20
20
|
# Arc
|
21
21
|
#
|
22
|
-
class FXArc
|
22
|
+
class FXArc
|
23
23
|
# x-coordinate of center point [Integer]
|
24
24
|
attr_accessor :x
|
25
|
-
|
25
|
+
|
26
26
|
# y-coordinate of center point [Integer]
|
27
27
|
attr_accessor :y
|
28
|
-
|
28
|
+
|
29
29
|
# Width [Integer]
|
30
30
|
attr_accessor :w
|
31
|
-
|
31
|
+
|
32
32
|
# Height [Integer]
|
33
33
|
attr_accessor :h
|
34
|
-
|
34
|
+
|
35
35
|
# Start of the arc, relative to the three-o'clock position from the center, in units of degrees * 64 [Integer]
|
36
36
|
attr_accessor :a
|
37
|
-
|
37
|
+
|
38
38
|
# Path and extent of the arc, relative to the three-o'clock position from the center, in units of degrees * 64 [Integer]
|
39
|
-
attr_accessor :b
|
39
|
+
attr_accessor :b
|
40
40
|
end
|
41
41
|
|
42
42
|
#
|
@@ -88,7 +88,7 @@ module Fox
|
|
88
88
|
# === Fill Styles
|
89
89
|
#
|
90
90
|
# +FILL_SOLID+:: Fill with solid color
|
91
|
-
# +FILL_TILED+:: Fill with tiled bitmap
|
91
|
+
# +FILL_TILED+:: Fill with tiled bitmap
|
92
92
|
# +FILL_STIPPLED+:: Fill where stipple mask is 1
|
93
93
|
# +FILL_OPAQUESTIPPLED+:: Fill with foreground where mask is 1, background otherwise
|
94
94
|
#
|
@@ -131,67 +131,67 @@ module Fox
|
|
131
131
|
|
132
132
|
# Application [FXApp]
|
133
133
|
attr_reader :app
|
134
|
-
|
134
|
+
|
135
135
|
# Foreground drawing color [FXColor]
|
136
136
|
attr_accessor :foreground
|
137
|
-
|
137
|
+
|
138
138
|
# Background drawing color [FXColor]
|
139
139
|
attr_accessor :background
|
140
|
-
|
140
|
+
|
141
141
|
# Dash pattern [String]
|
142
142
|
attr_reader :dashPattern
|
143
|
-
|
143
|
+
|
144
144
|
# Dash offset [Integer]
|
145
145
|
attr_reader :dashOffset
|
146
|
-
|
146
|
+
|
147
147
|
# Dash length [Integer]
|
148
148
|
attr_reader :dashLength
|
149
|
-
|
149
|
+
|
150
150
|
# Line width; a line width of zero means thinnest and fastest possible [Integer]
|
151
151
|
attr_accessor :lineWidth
|
152
|
-
|
152
|
+
|
153
153
|
# Line cap style, one of +CAP_NOT_LAST+, +CAP_BUTT+, +CAP_ROUND+ or +CAP_PROJECTING+ [Integer]
|
154
154
|
attr_accessor :lineCap
|
155
|
-
|
155
|
+
|
156
156
|
# Line join style, one of +JOIN_MITER+, +JOIN_ROUND+ or +JOIN_BEVEL+ [Integer]
|
157
157
|
attr_accessor :lineJoin
|
158
|
-
|
158
|
+
|
159
159
|
# Line style, one of +LINE_SOLID+, +LINE_ONOFF_DASH+ or +LINE_DOUBLE_DASH+ [Integer]
|
160
160
|
attr_accessor :lineStyle
|
161
|
-
|
161
|
+
|
162
162
|
# Fill style, one of +FILL_SOLID+, +FILL_TILED+, +FILL_STIPPLED+ or +FILL_OPAQUESTIPPLED+ [Integer]
|
163
163
|
attr_accessor :fillStyle
|
164
|
-
|
164
|
+
|
165
165
|
# Fill rule, one of +RULE_EVEN_ODD+ or +RULE_WINDING+ [Integer]
|
166
166
|
attr_accessor :fillRule
|
167
|
-
|
167
|
+
|
168
168
|
# Raster op function, one of +BLT_CLR+, +BLT_SRC+, +BLT_DST+, etc. (see list above) [Integer]
|
169
169
|
attr_accessor :function
|
170
|
-
|
170
|
+
|
171
171
|
# Tile image [FXImage]
|
172
172
|
attr_accessor :tile
|
173
|
-
|
173
|
+
|
174
174
|
# Stipple pattern [FXBitmap or Integer]
|
175
175
|
attr_accessor :stipple
|
176
|
-
|
176
|
+
|
177
177
|
# Clip region [FXRegion]
|
178
178
|
attr_writer :clipRegion
|
179
|
-
|
179
|
+
|
180
180
|
# Clip rectangle [FXRectangle]
|
181
181
|
attr_reader :clipRectangle
|
182
|
-
|
182
|
+
|
183
183
|
# X-coordinate of clip rectangle [Integer]
|
184
184
|
attr_reader :clipX
|
185
|
-
|
185
|
+
|
186
186
|
# Y-coordinate of clip rectangle [Integer]
|
187
187
|
attr_reader :clipY
|
188
|
-
|
188
|
+
|
189
189
|
# Width of clip rectangle, in pixels [Integer]
|
190
190
|
attr_reader :clipWidth
|
191
|
-
|
191
|
+
|
192
192
|
# Height of clip rectangle, in pixels [Integer]
|
193
193
|
attr_reader :clipHeight
|
194
|
-
|
194
|
+
|
195
195
|
# Font to draw text with [FXFont]
|
196
196
|
attr_accessor :font
|
197
197
|
|
@@ -207,7 +207,7 @@ module Fox
|
|
207
207
|
# +y+:: y-coordinate of the pixel of interest [Integer]
|
208
208
|
#
|
209
209
|
def readPixel(x, y) ; end
|
210
|
-
|
210
|
+
|
211
211
|
#
|
212
212
|
# Draw a point at (_x_, _y_) in the current foreground drawing color.
|
213
213
|
#
|
@@ -219,7 +219,7 @@ module Fox
|
|
219
219
|
# See also #drawPoints and #drawPointsRel.
|
220
220
|
#
|
221
221
|
def drawPoint(x, y) ; end
|
222
|
-
|
222
|
+
|
223
223
|
#
|
224
224
|
# Draw multiple points, where _points_ is an array of FXPoint instances.
|
225
225
|
#
|
@@ -230,7 +230,7 @@ module Fox
|
|
230
230
|
# See also #drawPoint and #drawPointsRel.
|
231
231
|
#
|
232
232
|
def drawPoints(points) ; end
|
233
|
-
|
233
|
+
|
234
234
|
#
|
235
235
|
# Draw multiple points, where _points_ is an array of FXPoint instances.
|
236
236
|
# Unlike #drawPoints, where each of the points is drawn relative to the
|
@@ -244,7 +244,7 @@ module Fox
|
|
244
244
|
# See also #drawPoint and #drawPoints.
|
245
245
|
#
|
246
246
|
def drawPointsRel(points) ; end
|
247
|
-
|
247
|
+
|
248
248
|
#
|
249
249
|
# Draw the line from (<em>x1</em>, <em>y1</em>) to (<em>x2</em>, <em>y2</em>).
|
250
250
|
#
|
@@ -258,7 +258,7 @@ module Fox
|
|
258
258
|
# See also #drawLines and #drawLinesRel.
|
259
259
|
#
|
260
260
|
def drawLine(x1, y1, x2, y2) ; end
|
261
|
-
|
261
|
+
|
262
262
|
#
|
263
263
|
# Draw connected lines, where _points_ is an array of FXPoint instances.
|
264
264
|
# The number of lines drawn is equal to the size of the _points_
|
@@ -272,7 +272,7 @@ module Fox
|
|
272
272
|
# See also #drawLine and #drawLinesRel.
|
273
273
|
#
|
274
274
|
def drawLines(points) ; end
|
275
|
-
|
275
|
+
|
276
276
|
#
|
277
277
|
# Draw connected lines, where _points_ is an array of FXPoint instances.
|
278
278
|
# The number of lines drawn is equal to the size of the _points_
|
@@ -287,7 +287,7 @@ module Fox
|
|
287
287
|
# See also #drawLine and #drawLines.
|
288
288
|
#
|
289
289
|
def drawLinesRel(points) ; end
|
290
|
-
|
290
|
+
|
291
291
|
#
|
292
292
|
# Draw mutiple, unconnected lines (i.e. line segments), where _segments_ is
|
293
293
|
# an array of FXSegment instances.
|
@@ -297,7 +297,7 @@ module Fox
|
|
297
297
|
# +segments+:: an array of FXSegment instances [Array]
|
298
298
|
#
|
299
299
|
def drawLineSegments(segments) ; end
|
300
|
-
|
300
|
+
|
301
301
|
#
|
302
302
|
# Draw rectangle with upper-left corner at (_x_, _y_) and with width and height (_w_, _h_).
|
303
303
|
#
|
@@ -311,7 +311,7 @@ module Fox
|
|
311
311
|
# See also #drawRectangles, #fillRectangle and #fillRectangles.
|
312
312
|
#
|
313
313
|
def drawRectangle(x, y, w, h) ; end
|
314
|
-
|
314
|
+
|
315
315
|
#
|
316
316
|
# Draw multiple rectangles, where _rectangles_ is an array of FXRectangle instances.
|
317
317
|
#
|
@@ -322,7 +322,7 @@ module Fox
|
|
322
322
|
# See also #drawRectangle, #fillRectangle and #fillRectangles.
|
323
323
|
#
|
324
324
|
def drawRectangles(rectangles) ; end
|
325
|
-
|
325
|
+
|
326
326
|
#
|
327
327
|
# Draw a rounded rectangle with ellipse width _ew_ and ellipse height _eh_.
|
328
328
|
#
|
@@ -356,7 +356,7 @@ module Fox
|
|
356
356
|
# See also #drawArcs, #fillArc and #fillArcs.
|
357
357
|
#
|
358
358
|
def drawArc(x, y, w, h, start, extent) ; end
|
359
|
-
|
359
|
+
|
360
360
|
#
|
361
361
|
# Draw arcs, where _arcs_ is an array of FXArc instances.
|
362
362
|
#
|
@@ -386,7 +386,7 @@ module Fox
|
|
386
386
|
# See also #drawRectangle, #drawRectangles and #fillRectangles.
|
387
387
|
#
|
388
388
|
def fillRectangle(x, y, w, h) ; end
|
389
|
-
|
389
|
+
|
390
390
|
#
|
391
391
|
# Draw filled rectangles, where _rectangles_ is an array of FXRectangle instances.
|
392
392
|
#
|
@@ -412,7 +412,7 @@ module Fox
|
|
412
412
|
|
413
413
|
def fillChord(x, y, w, h, ang1, ang2) ; end
|
414
414
|
def fillChords(chords, nchords) ; end
|
415
|
-
|
415
|
+
|
416
416
|
#
|
417
417
|
# Draw filled arc (see documentation for #drawArc).
|
418
418
|
#
|
@@ -428,7 +428,7 @@ module Fox
|
|
428
428
|
# See also #drawArc, #drawArcs and #fillArcs.
|
429
429
|
#
|
430
430
|
def fillArc(x, y, w, h, start, extent) ; end
|
431
|
-
|
431
|
+
|
432
432
|
#
|
433
433
|
# Draw filled arcs, where _arcs_ is an array of FXArc instances.
|
434
434
|
#
|
@@ -439,7 +439,7 @@ module Fox
|
|
439
439
|
# See also #drawArc, #drawArcs and #fillArc.
|
440
440
|
#
|
441
441
|
def fillArcs(arcs) ; end
|
442
|
-
|
442
|
+
|
443
443
|
#
|
444
444
|
# Draw a filled ellipse.
|
445
445
|
#
|
@@ -471,7 +471,7 @@ module Fox
|
|
471
471
|
# +points+:: an array of FXPoint instances [Array]
|
472
472
|
#
|
473
473
|
def fillComplexPolygon(points) ; end
|
474
|
-
|
474
|
+
|
475
475
|
#
|
476
476
|
# Draw filled polygon with relative points, where _points_ is an array of FXPoint instances.
|
477
477
|
#
|
@@ -498,7 +498,7 @@ module Fox
|
|
498
498
|
# +points+:: an array of FXPoint instances [Array]
|
499
499
|
#
|
500
500
|
def fillComplexPolygonRel(points) ; end
|
501
|
-
|
501
|
+
|
502
502
|
#
|
503
503
|
# Draw hashed box with upper-left corner at (_x_, _y_) and with width and height (_w_, _h_).
|
504
504
|
#
|
@@ -511,7 +511,7 @@ module Fox
|
|
511
511
|
# +b+:: border width, in pixels [Integer]
|
512
512
|
#
|
513
513
|
def drawHashBox(x, y, w, h, b=1) ; end
|
514
|
-
|
514
|
+
|
515
515
|
#
|
516
516
|
# Draw focus rectangle with upper-left corner at (_x_, _y_) and with width and height (_w_, _h_).
|
517
517
|
#
|
@@ -523,7 +523,7 @@ module Fox
|
|
523
523
|
# +height+:: height of the rectangle, in pixels [Integer]
|
524
524
|
#
|
525
525
|
def drawFocusRectangle(x, y, w, h) ; end
|
526
|
-
|
526
|
+
|
527
527
|
#
|
528
528
|
# Copy some rectangular area from _source_ into the drawable attached to this
|
529
529
|
# device context.
|
@@ -539,7 +539,7 @@ module Fox
|
|
539
539
|
# +dy+:: y-coordinate of the the destination point in this drawable [Integer]
|
540
540
|
#
|
541
541
|
def drawArea(source, sx, sy, sw, sh, dx, dy) ; end
|
542
|
-
|
542
|
+
|
543
543
|
#
|
544
544
|
# Copy some rectangular area from _source_ into the drawable attached to this
|
545
545
|
# device context, stretching it to width _dw_ and height _dh_.
|
@@ -568,7 +568,7 @@ module Fox
|
|
568
568
|
# +dy+:: y-coordinate of the the destination point in this drawable [Integer]
|
569
569
|
#
|
570
570
|
def drawImage(image, dx, dy) ; end
|
571
|
-
|
571
|
+
|
572
572
|
#
|
573
573
|
# Draw _bitmap_ into the drawable attached to this device context.
|
574
574
|
#
|
@@ -579,7 +579,7 @@ module Fox
|
|
579
579
|
# +dy+:: y-coordinate of the the destination point in this drawable [Integer]
|
580
580
|
#
|
581
581
|
def drawBitmap(bitmap, dx, dy) ; end
|
582
|
-
|
582
|
+
|
583
583
|
#
|
584
584
|
# Draw _icon_ into the drawable attached to this device context.
|
585
585
|
#
|
@@ -590,7 +590,7 @@ module Fox
|
|
590
590
|
# +dy+:: y-coordinate of the the destination point in this drawable [Integer]
|
591
591
|
#
|
592
592
|
def drawIcon(icon, dx, dy) ; end
|
593
|
-
|
593
|
+
|
594
594
|
#
|
595
595
|
# Draw a shaded version of an icon into the drawable attached to this device context.
|
596
596
|
# This is typically used for drawing disabled labels and buttons.
|
@@ -602,7 +602,7 @@ module Fox
|
|
602
602
|
# +dy+:: y-coordinate of the the destination point in this drawable [Integer]
|
603
603
|
#
|
604
604
|
def drawIconShaded(icon, dx, dy) ; end
|
605
|
-
|
605
|
+
|
606
606
|
#
|
607
607
|
# Draw a sunken version of an icon into the drawable attached to this device context.
|
608
608
|
#
|
@@ -613,7 +613,7 @@ module Fox
|
|
613
613
|
# +dy+:: y-coordinate of the the destination point in this drawable [Integer]
|
614
614
|
#
|
615
615
|
def drawIconSunken(icon, dx, dy) ; end
|
616
|
-
|
616
|
+
|
617
617
|
#
|
618
618
|
# Draw _string_ at position (_x_, _y_).
|
619
619
|
#
|
@@ -626,7 +626,7 @@ module Fox
|
|
626
626
|
# See also #drawImageText.
|
627
627
|
#
|
628
628
|
def drawText(x, y, string) ; end
|
629
|
-
|
629
|
+
|
630
630
|
#
|
631
631
|
# Draw _string_ at position (_x_, _y_).
|
632
632
|
#
|
@@ -639,10 +639,10 @@ module Fox
|
|
639
639
|
# See also #drawText.
|
640
640
|
#
|
641
641
|
def drawImageText(x, y, string) ; end
|
642
|
-
|
642
|
+
|
643
643
|
#
|
644
644
|
# Set dash pattern and dash offset.
|
645
|
-
# A dash pattern of [1, 2, 3, 4] is a repeating pattern of 1 foreground pixel,
|
645
|
+
# A dash pattern of [1, 2, 3, 4] is a repeating pattern of 1 foreground pixel,
|
646
646
|
# 2 background pixels, 3 foreground pixels, and 4 background pixels.
|
647
647
|
# The offset is where in the pattern the system will start counting.
|
648
648
|
# The maximum length of the dash pattern array is 32 elements.
|
@@ -653,7 +653,7 @@ module Fox
|
|
653
653
|
# +dashPattern+:: array of integers indicating the dash pattern [Array]
|
654
654
|
#
|
655
655
|
def setDashes(dashOffset, dashPattern) ; end
|
656
|
-
|
656
|
+
|
657
657
|
#
|
658
658
|
# Set clip rectangle.
|
659
659
|
#
|
@@ -667,7 +667,7 @@ module Fox
|
|
667
667
|
# See also #setClipMask.
|
668
668
|
#
|
669
669
|
def setClipRectangle(x, y, w, h) ; end
|
670
|
-
|
670
|
+
|
671
671
|
#
|
672
672
|
# Set clip rectangle.
|
673
673
|
#
|
@@ -678,12 +678,12 @@ module Fox
|
|
678
678
|
# See also #setClipMask.
|
679
679
|
#
|
680
680
|
def setClipRectangle(rectangle) ; end
|
681
|
-
|
681
|
+
|
682
682
|
#
|
683
683
|
# Clear clipping.
|
684
684
|
#
|
685
685
|
def clearClipRectangle() ; end
|
686
|
-
|
686
|
+
|
687
687
|
#
|
688
688
|
# Set clip mask to _bitmap_.
|
689
689
|
#
|
@@ -696,7 +696,7 @@ module Fox
|
|
696
696
|
# See also #setClipRectangle.
|
697
697
|
#
|
698
698
|
def setClipMask(bitmap, dx=0, dy=0) ; end
|
699
|
-
|
699
|
+
|
700
700
|
#
|
701
701
|
# Clear clip mask.
|
702
702
|
#
|
data/rdoc-sources/FXDCPrint.rb
CHANGED
@@ -3,24 +3,24 @@ module Fox
|
|
3
3
|
# Bounding box
|
4
4
|
#
|
5
5
|
class FXPSBounds
|
6
|
-
|
6
|
+
|
7
7
|
# Minimum x-coordinate [Float]
|
8
8
|
attr_accessor :xmin
|
9
|
-
|
9
|
+
|
10
10
|
# Maximum x-coordinate [Float]
|
11
11
|
attr_accessor :xmax
|
12
|
-
|
12
|
+
|
13
13
|
# Minimum y-coordinate [Float]
|
14
14
|
attr_accessor :ymin
|
15
|
-
|
15
|
+
|
16
16
|
# Maximum y-coordinate
|
17
17
|
attr_accessor :ymax
|
18
|
-
|
18
|
+
|
19
19
|
# Returns an initialized FXPSBounds instance
|
20
20
|
def initialize; end
|
21
21
|
end
|
22
22
|
|
23
|
-
|
23
|
+
|
24
24
|
#
|
25
25
|
# Describes printer
|
26
26
|
#
|
@@ -51,49 +51,49 @@ module Fox
|
|
51
51
|
class FXPrinter
|
52
52
|
# Printer name [String]
|
53
53
|
attr_accessor :name
|
54
|
-
|
54
|
+
|
55
55
|
# First page that can be printed [Integer]
|
56
56
|
attr_accessor :firstpage
|
57
|
-
|
57
|
+
|
58
58
|
# Last page that can be printed [Integer]
|
59
59
|
attr_accessor :lastpage
|
60
|
-
|
60
|
+
|
61
61
|
# Current page to print [Integer]
|
62
62
|
attr_accessor :currentpage
|
63
|
-
|
63
|
+
|
64
64
|
# On output, this is the first page to print [Integer]
|
65
65
|
attr_accessor :frompage
|
66
|
-
|
66
|
+
|
67
67
|
# On output, last page to print [Integer]
|
68
68
|
attr_accessor :topage
|
69
|
-
|
69
|
+
|
70
70
|
#
|
71
71
|
# Media size index, one of +MEDIA_CUSTOM+, +MEDIA_USLETTER+, +MEDIA_LEGAL+,
|
72
72
|
# +MEDIA_A4+ or +MEDIA_ENVELOPE+ [Integer]
|
73
73
|
#
|
74
74
|
attr_accessor :mediasize
|
75
|
-
|
75
|
+
|
76
76
|
# Width of paper in points (1/72 of an inch) [Float]
|
77
77
|
attr_accessor :mediawidth
|
78
|
-
|
78
|
+
|
79
79
|
# Height of paper in points [Float]
|
80
80
|
attr_accessor :mediaheight
|
81
|
-
|
81
|
+
|
82
82
|
# Left margin [Float]
|
83
83
|
attr_accessor :leftmargin
|
84
|
-
|
84
|
+
|
85
85
|
# Right margin [Float]
|
86
86
|
attr_accessor :rightmargin
|
87
|
-
|
87
|
+
|
88
88
|
# Top margin [Float]
|
89
89
|
attr_accessor :topmargin
|
90
|
-
|
90
|
+
|
91
91
|
# Bottom margin [Float]
|
92
92
|
attr_accessor :bottommargin
|
93
|
-
|
93
|
+
|
94
94
|
# Number of copies [Integer]
|
95
95
|
attr_accessor :numcopies
|
96
|
-
|
96
|
+
|
97
97
|
# Flags [Integer]
|
98
98
|
attr_accessor :flags
|
99
99
|
|
@@ -114,13 +114,13 @@ module Fox
|
|
114
114
|
# See also #beginPrint.
|
115
115
|
#
|
116
116
|
def endPrint(); end
|
117
|
-
|
117
|
+
|
118
118
|
#
|
119
119
|
# Generate end of page.
|
120
120
|
# See also #beginPage.
|
121
121
|
#
|
122
122
|
def endPage(); end
|
123
|
-
|
123
|
+
|
124
124
|
def setContentRange(pxmin, pymin, pxmax, pymax); end
|
125
125
|
end
|
126
126
|
end
|
data/rdoc-sources/FXDCWindow.rb
CHANGED
@@ -3,7 +3,7 @@ module Fox
|
|
3
3
|
# A window device context allows drawing into an FXDrawable, such as an
|
4
4
|
# on-screen window (i.e. FXWindow and its derivatives) or an off-screen image (FXImage
|
5
5
|
# and its derivatives).
|
6
|
-
# Because certain hardware resources are locked down, only one FXDCWindow may be
|
6
|
+
# Because certain hardware resources are locked down, only one FXDCWindow may be
|
7
7
|
# locked on a drawable at any one time.
|
8
8
|
#
|
9
9
|
class FXDCWindow < FXDC
|
@@ -4,7 +4,7 @@ module Fox
|
|
4
4
|
# to be directly connected with a variable in the program.
|
5
5
|
# Whenever the valuator control changes, the variable connected through
|
6
6
|
# the data target is automatically updated; conversely, whenever the program
|
7
|
-
# changes a variable, all the connected valuator widgets will be updated
|
7
|
+
# changes a variable, all the connected valuator widgets will be updated
|
8
8
|
# to reflect this new value on the display. For example:
|
9
9
|
#
|
10
10
|
# data = FXDataTarget.new("Some Text")
|
@@ -43,7 +43,7 @@ module Fox
|
|
43
43
|
# +ID_OPTION+:: +ID_OPTION++_i_ will set the value to _i_, where -10000 <= _i_ <= 10000
|
44
44
|
#
|
45
45
|
class FXDataTarget < FXObject
|
46
|
-
|
46
|
+
|
47
47
|
# The message target object for this data target [FXObject]
|
48
48
|
attr_accessor :target
|
49
49
|
|
data/rdoc-sources/FXDelegator.rb
CHANGED
@@ -2,7 +2,7 @@ module Fox
|
|
2
2
|
#
|
3
3
|
# A delegator forwards messages to a delegate object.
|
4
4
|
# Delegators are used when you need to multiplex messages
|
5
|
-
# toward any number of target objects.
|
5
|
+
# toward any number of target objects.
|
6
6
|
# For example, many controls may be connected to FXDelegator,
|
7
7
|
# instead of directly to the document object. Changing the
|
8
8
|
# delegate in FXDelegator will then reconnect the controls with their
|
data/rdoc-sources/FXDial.rb
CHANGED
@@ -32,7 +32,7 @@ module Fox
|
|
32
32
|
|
33
33
|
# Dial value [Integer]
|
34
34
|
attr_accessor :value
|
35
|
-
|
35
|
+
|
36
36
|
# Dial range [Range]
|
37
37
|
attr_accessor :range
|
38
38
|
|
@@ -45,7 +45,7 @@ module Fox
|
|
45
45
|
attr_accessor :revolutionIncrement
|
46
46
|
|
47
47
|
#
|
48
|
-
# The spacing for the small notches; this should be set
|
48
|
+
# The spacing for the small notches; this should be set
|
49
49
|
# in tenths of degrees in the range [1,3600], and the value should
|
50
50
|
# be a divisor of 3600, so as to make the notches come out evenly. [Integer]
|
51
51
|
#
|
@@ -56,16 +56,16 @@ module Fox
|
|
56
56
|
# be tenths of degrees in the range [-3600,3600]. [Integer]
|
57
57
|
#
|
58
58
|
attr_accessor :notchOffset
|
59
|
-
|
59
|
+
|
60
60
|
# Current dial style [Integer]
|
61
61
|
attr_accessor :dialStyle
|
62
|
-
|
62
|
+
|
63
63
|
# Center notch color [FXColor]
|
64
64
|
attr_accessor :notchColor
|
65
|
-
|
65
|
+
|
66
66
|
# Status line help text for this dial [String]
|
67
67
|
attr_accessor :helpText
|
68
|
-
|
68
|
+
|
69
69
|
# Tool tip message for this dial
|
70
70
|
attr_accessor :tipText
|
71
71
|
|
@@ -89,13 +89,13 @@ module Fox
|
|
89
89
|
#
|
90
90
|
def initialize(p, target=nil, selector=0, opts=DIAL_NORMAL, x=0, y=0, width=0, height=0, padLeft=DEFAULT_PAD, padRight=DEFAULT_PAD, padTop=DEFAULT_PAD, padBottom=DEFAULT_PAD) # :yields: theDial
|
91
91
|
end
|
92
|
-
|
92
|
+
|
93
93
|
#
|
94
94
|
# Set the dial value. If _notify_ is +true+, a +SEL_COMMAND+ message is
|
95
95
|
# sent to the dial's message target after the value is changed.
|
96
96
|
#
|
97
97
|
def setValue(value, notify=false); end
|
98
|
-
|
98
|
+
|
99
99
|
#
|
100
100
|
# Set the dial's range. If _notify_ is +true+, and the range modification
|
101
101
|
# causes the dial's value to change, a +SEL_COMMAND+ message is sent
|
data/rdoc-sources/FXDict.rb
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
module Fox
|
2
2
|
#
|
3
3
|
# The dictionary class maintains a fast-access hash table of entities
|
4
|
-
# indexed by a character string.
|
4
|
+
# indexed by a character string.
|
5
5
|
# It is typically used to map strings to pointers; however, overloading
|
6
6
|
# the #createData and #deleteData members allows any type of data to
|
7
7
|
# be indexed by strings.
|
8
8
|
#
|
9
9
|
class FXDict < FXObject
|
10
|
-
|
10
|
+
|
11
11
|
# Total number of entries in the table [Integer]
|
12
12
|
attr_reader :length
|
13
13
|
|
@@ -18,12 +18,12 @@ module Fox
|
|
18
18
|
attr_reader :last
|
19
19
|
|
20
20
|
alias size length
|
21
|
-
|
21
|
+
|
22
22
|
#
|
23
23
|
# Construct an empty dictionary.
|
24
24
|
#
|
25
25
|
def initialize ; end
|
26
|
-
|
26
|
+
|
27
27
|
#
|
28
28
|
# Return key at position _pos_.
|
29
29
|
#
|
@@ -36,7 +36,7 @@ module Fox
|
|
36
36
|
|
37
37
|
#
|
38
38
|
# Return position of next filled slot after _pos_ in the hash table,
|
39
|
-
# or a value greater than or equal to total if no filled
|
39
|
+
# or a value greater than or equal to total if no filled
|
40
40
|
# slot was found.
|
41
41
|
#
|
42
42
|
def next(pos) ; end
|
@@ -67,10 +67,10 @@ module Fox
|
|
67
67
|
# Returns +true+ if the given _key_ is present.
|
68
68
|
#
|
69
69
|
def has_key?(key) ; end
|
70
|
-
|
70
|
+
|
71
71
|
alias include? has_key?
|
72
72
|
alias member? has_key?
|
73
|
-
|
73
|
+
|
74
74
|
#
|
75
75
|
# Returns +true+ if this dictionary contains no key-value pairs.
|
76
76
|
#
|