fxruby 1.4.7 → 1.6.0
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/doc/apes02.html +6 -6
- data/doc/apes03.html +11 -11
- data/doc/book.html +1 -1
- data/doc/build.html +65 -67
- data/doc/ch03s02.html +7 -7
- data/doc/ch03s03.html +18 -18
- data/doc/ch03s04.html +11 -11
- data/doc/ch03s05.html +14 -14
- data/doc/ch04s02.html +14 -14
- data/doc/ch04s03.html +15 -15
- data/doc/ch04s04.html +28 -28
- data/doc/ch05s02.html +49 -49
- data/doc/ch05s03.html +8 -8
- data/doc/clipboardtut.html +45 -57
- data/doc/cvs.html +10 -10
- data/doc/differences.html +4 -4
- data/doc/dragdroptut.html +50 -50
- data/doc/events.html +11 -11
- data/doc/examples.html +48 -48
- data/doc/gems.html +38 -38
- data/doc/goals.html +4 -4
- data/doc/implementation.html +4 -4
- data/doc/infosources.html +9 -9
- data/doc/library.html +19 -19
- data/doc/opengl.html +31 -31
- data/doc/pt01.html +1 -1
- data/doc/pt02.html +1 -1
- data/doc/scintilla.html +15 -15
- data/doc/todo.html +6 -6
- data/doc/tutorial1.html +34 -34
- data/examples/babelfish.rb +1 -1
- data/examples/bounce.rb +1 -1
- data/examples/browser.rb +2 -2
- data/examples/button.rb +1 -1
- data/examples/datatarget.rb +2 -2
- data/examples/dctest.rb +12 -12
- data/examples/dialog.rb +1 -1
- data/examples/dilbert.rb +2 -2
- data/examples/dirlist.rb +1 -1
- data/examples/dragdrop.rb +1 -1
- data/examples/dragsource.rb +1 -1
- data/examples/dropsite.rb +1 -1
- data/examples/foursplit.rb +1 -1
- data/examples/gltest.rb +2 -2
- data/examples/glviewer.rb +4 -4
- data/examples/groupbox.rb +22 -22
- data/examples/header.rb +1 -1
- data/examples/hello.rb +1 -1
- data/examples/hello2.rb +1 -1
- data/examples/iconlist.rb +1 -1
- data/examples/image.rb +2 -2
- data/examples/imageviewer.rb +1 -1
- data/examples/inputs.rb +1 -1
- data/examples/mditest.rb +2 -2
- data/examples/pig.rb +1 -1
- data/examples/raabrowser.rb +2 -2
- data/examples/ratio.rb +2 -2
- data/examples/scintilla-test.rb +2 -2
- data/examples/scribble-orig.rb +3 -3
- data/examples/scribble.rb +1 -1
- data/examples/shutter.rb +1 -1
- data/examples/splitter.rb +36 -36
- data/examples/styledtext.rb +2 -2
- data/examples/tabbook.rb +1 -1
- data/examples/table.rb +1 -1
- data/examples/textedit/commands.rb +2 -2
- data/examples/textedit/helpwindow.rb +1 -1
- data/examples/textedit/prefdialog.rb +1 -1
- data/examples/textedit/textedit.rb +5 -3
- data/ext/{fox14 → fox16}/FXRbApp.cpp +1 -1
- data/ext/{fox14 → fox16}/FXRbDataTarget.cpp +1 -1
- data/ext/{fox14 → fox16}/FXRbGLViewer.cpp +1 -1
- data/ext/{fox14 → fox16}/FXRuby.cpp +137 -39
- data/ext/{fox14 → fox16}/MANIFEST +0 -0
- data/ext/{fox14 → fox16}/core_wrap.cpp +1177 -659
- data/ext/{fox14 → fox16}/dc_wrap.cpp +110 -3
- data/ext/{fox14 → fox16}/dialogs_wrap.cpp +381 -153
- data/ext/{fox14 → fox16}/extconf.rb +8 -8
- data/ext/{fox14 → fox16}/frames_wrap.cpp +1590 -1219
- data/ext/{fox14 → fox16}/fx3d_wrap.cpp +1060 -403
- data/ext/{fox14 → fox16}/iconlist_wrap.cpp +80 -25
- data/ext/{fox14 → fox16}/icons_wrap.cpp +296 -316
- data/ext/{fox14 → fox16}/image_wrap.cpp +267 -153
- data/ext/{fox14 → fox16}/impl.cpp +29 -0
- data/ext/{fox14 → fox16}/include/FXMemoryBuffer.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRb4Splitter.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRb7Segment.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbAccelTable.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbApp.h +3 -3
- data/ext/{fox14 → fox16}/include/FXRbAppVirtuals.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbArrowButton.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbBMPIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbBMPImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbBitmap.h +23 -5
- data/ext/{fox14 → fox16}/include/FXRbBitmapFrame.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbBitmapView.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbBitmapVirtuals.h +12 -2
- data/ext/{fox14 → fox16}/include/FXRbButton.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbCURCursor.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbCanvas.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbCheckButton.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbChoiceBox.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbColorBar.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbColorDialog.h +1 -1
- data/ext/fox16/include/FXRbColorList.h +84 -0
- data/ext/fox16/include/FXRbColorRing.h +51 -0
- data/ext/{fox14 → fox16}/include/FXRbColorSelector.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbColorWell.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbColorWheel.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbComboBox.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbCommon.h +4 -1
- data/ext/{fox14 → fox16}/include/FXRbComposite.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbCursor.h +5 -5
- data/ext/{fox14 → fox16}/include/FXRbCursorVirtuals.h +2 -2
- data/ext/{fox14 → fox16}/include/FXRbDC.h +18 -0
- data/ext/{fox14 → fox16}/include/FXRbDCPrint.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbDCVirtuals.h +9 -0
- data/ext/{fox14 → fox16}/include/FXRbDCWindow.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbDataTarget.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDebugTarget.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDelegator.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDial.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDialogBox.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDialogBoxVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbDict.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDirBox.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDirDialog.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDirList.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDirSelector.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDockBar.h +13 -13
- data/ext/{fox14 → fox16}/include/FXRbDockBarVirtuals.h +3 -3
- data/ext/{fox14 → fox16}/include/FXRbDockHandler.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDockSite.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDockSiteVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbDockTitle.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDocument.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDragCorner.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDrawable.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDrawableVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbDriveBox.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbFileDialog.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbFileDict.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbFileDictVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbFileList.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbFileSelector.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbFoldingItemVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbFoldingList.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbFoldingListVirtuals.h +0 -0
- data/ext/fox16/include/FXRbFont.h +183 -0
- data/ext/{fox14 → fox16}/include/FXRbFontDialog.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbFontSelector.h +1 -1
- data/ext/fox16/include/FXRbFontVirtuals.h +55 -0
- data/ext/{fox14 → fox16}/include/FXRbFrame.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGIFCursor.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGIFIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGIFImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGLCanvas.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGLCanvasVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbGLContext.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGLObject.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGLObjectVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbGLShape.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGLShapeVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbGLViewer.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGLViewerVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbGLVisual.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGradientBar.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGroupBox.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbHeader.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbHeaderItemVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbHorizontalFrame.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbICOIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbICOImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbIconItemVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbIconList.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbIconListVirtuals.h +0 -0
- data/ext/fox16/include/FXRbIconSource.h +127 -0
- data/ext/fox16/include/FXRbIconSourceVirtuals.h +37 -0
- data/ext/{fox14 → fox16}/include/FXRbId.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbIdVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbImage.h +7 -7
- data/ext/{fox14 → fox16}/include/FXRbImageFrame.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbImageView.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbImageVirtuals.h +3 -3
- data/ext/{fox14 → fox16}/include/FXRbInputDialog.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbJPGIcon.h +2 -2
- data/ext/{fox14 → fox16}/include/FXRbJPGImage.h +2 -2
- data/ext/fox16/include/FXRbKnob.h +51 -0
- data/ext/{fox14 → fox16}/include/FXRbLabel.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbList.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbListBox.h +5 -5
- data/ext/{fox14 → fox16}/include/FXRbListBoxVirtuals.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbListItemVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbListVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbMDIButton.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMDIChild.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMDIChildVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbMDIClient.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMDIClientVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbMainWindow.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMatrix.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuBar.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuButton.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuCaption.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuCascade.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuCheck.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuCommand.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuPane.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuRadio.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuSeparator.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuTitle.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMessageBox.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbObject.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbObjectVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbOptionMenu.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPCXIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPCXImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPNGIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPNGImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPPMIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPPMImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPacker.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPicker.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPopup.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPopupVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbPrintDialog.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbProgressBar.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbProgressDialog.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbRGBIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbRGBImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbRadioButton.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbRealSlider.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbRealSpinner.h +5 -5
- data/ext/fox16/include/FXRbRealSpinnerVirtuals.h +3 -0
- data/ext/{fox14 → fox16}/include/FXRbRecentFiles.h +6 -3
- data/ext/{fox14 → fox16}/include/FXRbRegistry.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbReplaceDialog.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbRootWindow.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbRuler.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbScintilla.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbScrollArea.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbScrollAreaVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbScrollBar.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbScrollPane.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbScrollWindow.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbSearchDialog.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbSeparator.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbSettings.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbShell.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbShutter.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbShutterVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbSlider.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbSpinner.h +5 -5
- data/ext/{fox14 → fox16}/include/FXRbSpinnerVirtuals.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbSplashWindow.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbSplitter.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbSpring.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbStatusBar.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbStatusLine.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbStream.h +7 -7
- data/ext/{fox14 → fox16}/include/FXRbStreamVirtuals.h +3 -3
- data/ext/{fox14 → fox16}/include/FXRbStringDict.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbSwitcher.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTGAIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTGAImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTIFIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTIFImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTabBar.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTabBarVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbTabBook.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTabItem.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTable.h +9 -3
- data/ext/{fox14 → fox16}/include/FXRbTableItemVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbTableVirtuals.h +3 -0
- data/ext/fox16/include/FXRbText.h +187 -0
- data/ext/{fox14 → fox16}/include/FXRbTextField.h +1 -1
- data/ext/fox16/include/FXRbTextVirtuals.h +52 -0
- data/ext/{fox14 → fox16}/include/FXRbToggleButton.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbToolBar.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbToolBarGrip.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbToolBarShell.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbToolBarTab.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbToolTip.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTopWindow.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTopWindowVirtuals.h +0 -0
- data/ext/fox16/include/FXRbTranslator.h +61 -0
- data/ext/fox16/include/FXRbTranslatorVirtuals.h +4 -0
- data/ext/{fox14 → fox16}/include/FXRbTreeItemVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbTreeList.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTreeListBox.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTreeListBoxVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbTreeListVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbTriStateButton.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbVerticalFrame.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbVisual.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbWindow.h +27 -9
- data/ext/{fox14 → fox16}/include/FXRbWindowVirtuals.h +13 -4
- data/ext/{fox14 → fox16}/include/FXRbWizard.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbXBMIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbXBMImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbXPMIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbXPMImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRuby.h +43 -18
- data/ext/{fox14 → fox16}/include/impl.h +5 -0
- data/ext/{fox14 → fox16}/include/inlinestubs.h +29 -0
- data/ext/{fox14 → fox16}/label_wrap.cpp +319 -122
- data/ext/{fox14 → fox16}/layout_wrap.cpp +443 -153
- data/ext/{fox14 → fox16}/librb.c +0 -0
- data/ext/{fox14 → fox16}/list_wrap.cpp +660 -44
- data/ext/{fox14 → fox16}/markfuncs.cpp +38 -8
- data/ext/{fox14 → fox16}/mdi_wrap.cpp +253 -109
- data/ext/{fox14 → fox16}/menu_wrap.cpp +342 -146
- data/ext/{fox14 → fox16}/scintilla_wrap.cpp +58 -39
- data/ext/{fox14 → fox16}/table_wrap.cpp +294 -82
- data/ext/{fox14 → fox16}/text_wrap.cpp +203 -193
- data/ext/{fox14 → fox16}/treelist_wrap.cpp +125 -60
- data/ext/{fox14 → fox16}/ui_wrap.cpp +993 -714
- data/ext/{fox14 → fox16}/unregisterOwnedObjects.cpp +6 -1
- data/lib/{fox14 → fox16}/aliases.rb +119 -46
- data/lib/{fox14 → fox16}/calendar.rb +2 -2
- data/lib/{fox14 → fox16}/chore.rb +6 -22
- data/lib/{fox14 → fox16}/colors.rb +1 -1
- data/lib/{fox14 → fox16}/core.rb +122 -4
- data/lib/{fox14 → fox16}/dict.rb +0 -0
- data/lib/{fox14 → fox16}/execute_nonmodal.rb +0 -0
- data/lib/{fox14 → fox16}/glgroup.rb +4 -2
- data/lib/{fox14 → fox16}/glshapes.rb +1 -1
- data/lib/{fox14 → fox16}/input.rb +1 -1
- data/lib/{fox14 → fox16}/irb.rb +1 -1
- data/lib/{fox14 → fox16}/iterators.rb +1 -1
- data/lib/{fox14 → fox16}/keys.rb +2 -2
- data/lib/{fox14 → fox16}/missingdep.rb +1 -1
- data/lib/{fox14 → fox16}/pseudokeyboard.rb +1 -1
- data/lib/{fox14 → fox16}/pseudomouse.rb +1 -1
- data/lib/{fox14 → fox16}/responder.rb +1 -1
- data/lib/{fox14 → fox16}/responder2.rb +5 -5
- data/lib/{fox14 → fox16}/scintilla.rb +249 -12
- data/lib/{fox14 → fox16}/settings.rb +0 -0
- data/lib/{fox14 → fox16}/signal.rb +1 -1
- data/lib/{fox14 → fox16}/splashscreen.rb +2 -2
- data/lib/{fox14 → fox16}/timeout.rb +10 -37
- data/lib/{fox14 → fox16}/undolist.rb +2 -2
- data/lib/{fox14 → fox16}/version.rb +2 -2
- data/rdoc-sources/FX4Splitter.rb +24 -6
- data/rdoc-sources/FX7Segment.rb +6 -0
- data/rdoc-sources/FXAccelTable.rb +35 -0
- data/rdoc-sources/FXApp.rb +113 -1
- data/rdoc-sources/FXBMPIcon.rb +5 -0
- data/rdoc-sources/FXBMPImage.rb +5 -0
- data/rdoc-sources/FXBitmap.rb +23 -1
- data/rdoc-sources/FXCheckButton.rb +7 -0
- data/rdoc-sources/FXColorList.rb +55 -0
- data/rdoc-sources/FXColorRing.rb +49 -0
- data/rdoc-sources/FXColorWheel.rb +22 -2
- data/rdoc-sources/FXComboBox.rb +10 -0
- data/rdoc-sources/FXDC.rb +18 -0
- data/rdoc-sources/FXDial.rb +34 -1
- data/rdoc-sources/FXDirList.rb +1 -0
- data/rdoc-sources/FXDockBar.rb +21 -6
- data/rdoc-sources/FXDockHandler.rb +7 -0
- data/rdoc-sources/FXDockSite.rb +18 -0
- data/rdoc-sources/FXExtentd.rb +85 -0
- data/rdoc-sources/FXExtentf.rb +85 -0
- data/rdoc-sources/FXFileDialog.rb +11 -0
- data/rdoc-sources/FXFileDict.rb +7 -7
- data/rdoc-sources/FXFileList.rb +22 -0
- data/rdoc-sources/FXFileSelector.rb +10 -0
- data/rdoc-sources/FXFoldingList.rb +13 -2
- data/rdoc-sources/FXFont.rb +68 -62
- data/rdoc-sources/FXGIFIcon.rb +5 -0
- data/rdoc-sources/FXGIFImage.rb +5 -0
- data/rdoc-sources/FXGLViewer.rb +23 -0
- data/rdoc-sources/FXGradientBar.rb +10 -0
- data/rdoc-sources/FXHeader.rb +11 -0
- data/rdoc-sources/FXICOIcon.rb +5 -0
- data/rdoc-sources/FXICOImage.rb +5 -0
- data/rdoc-sources/FXIconList.rb +8 -0
- data/rdoc-sources/FXIconSource.rb +12 -12
- data/rdoc-sources/FXImage.rb +0 -4
- data/rdoc-sources/FXInputDialog.rb +19 -6
- data/rdoc-sources/FXJPGIcon.rb +5 -0
- data/rdoc-sources/FXJPGImage.rb +5 -0
- data/rdoc-sources/FXKnob.rb +76 -0
- data/rdoc-sources/FXList.rb +8 -0
- data/rdoc-sources/FXListBox.rb +7 -1
- data/rdoc-sources/FXMenuCaption.rb +3 -0
- data/rdoc-sources/FXMenuCheck.rb +2 -2
- data/rdoc-sources/FXMenuCommand.rb +1 -2
- data/rdoc-sources/FXMenuRadio.rb +5 -2
- data/rdoc-sources/FXOptionMenu.rb +7 -0
- data/rdoc-sources/FXPCXIcon.rb +5 -0
- data/rdoc-sources/FXPCXImage.rb +5 -0
- data/rdoc-sources/FXPNGIcon.rb +5 -0
- data/rdoc-sources/FXPNGImage.rb +5 -0
- data/rdoc-sources/FXPPMIcon.rb +5 -0
- data/rdoc-sources/FXPPMImage.rb +5 -0
- data/rdoc-sources/FXQuatd.rb +5 -12
- data/rdoc-sources/FXQuatf.rb +5 -7
- data/rdoc-sources/FXRGBIcon.rb +5 -0
- data/rdoc-sources/FXRGBImage.rb +5 -0
- data/rdoc-sources/FXRadioButton.rb +6 -0
- data/rdoc-sources/FXRanged.rb +3 -0
- data/rdoc-sources/FXRangef.rb +3 -0
- data/rdoc-sources/FXRealSlider.rb +3 -1
- data/rdoc-sources/FXRealSpinner.rb +11 -4
- data/rdoc-sources/FXRecentFiles.rb +10 -6
- data/rdoc-sources/FXRectangle.rb +12 -0
- data/rdoc-sources/FXRuler.rb +28 -0
- data/rdoc-sources/FXScrollBar.rb +9 -3
- data/rdoc-sources/FXScrollPane.rb +3 -0
- data/rdoc-sources/FXSettings.rb +26 -0
- data/rdoc-sources/FXSize.rb +65 -0
- data/rdoc-sources/FXSlider.rb +2 -0
- data/rdoc-sources/FXSphered.rb +12 -0
- data/rdoc-sources/FXSpheref.rb +12 -0
- data/rdoc-sources/FXSpinner.rb +8 -4
- data/rdoc-sources/FXTGAIcon.rb +5 -0
- data/rdoc-sources/FXTGAImage.rb +5 -0
- data/rdoc-sources/FXTIFIcon.rb +5 -0
- data/rdoc-sources/FXTIFImage.rb +5 -0
- data/rdoc-sources/FXTabBar.rb +5 -1
- data/rdoc-sources/FXTabBook.rb +3 -0
- data/rdoc-sources/FXTabItem.rb +7 -0
- data/rdoc-sources/FXTable.rb +96 -18
- data/rdoc-sources/FXText.rb +47 -12
- data/rdoc-sources/FXTextField.rb +6 -0
- data/rdoc-sources/FXToggleButton.rb +0 -1
- data/rdoc-sources/FXTopWindow.rb +44 -2
- data/rdoc-sources/FXTranslator.rb +32 -0
- data/rdoc-sources/FXTreeList.rb +8 -0
- data/rdoc-sources/FXTreeListBox.rb +20 -0
- data/rdoc-sources/{FXVec.rb → FXVec2d.rb} +28 -29
- data/rdoc-sources/FXVec2f.rb +96 -0
- data/rdoc-sources/FXVec3d.rb +113 -0
- data/rdoc-sources/FXVec3f.rb +113 -0
- data/rdoc-sources/FXVec4d.rb +129 -0
- data/rdoc-sources/FXVec4f.rb +129 -0
- data/rdoc-sources/FXWindow.rb +89 -14
- data/rdoc-sources/FXXBMIcon.rb +5 -0
- data/rdoc-sources/FXXBMImage.rb +5 -0
- data/rdoc-sources/FXXPMIcon.rb +5 -0
- data/rdoc-sources/FXXPMImage.rb +5 -0
- data/rdoc-sources/README.rdoc +1 -1
- data/tests/TC_FXAccelTable.rb +1 -1
- data/tests/TC_FXApp.rb +1 -1
- data/tests/TC_FXArc.rb +1 -1
- data/tests/TC_FXBMPIcon.rb +1 -1
- data/tests/TC_FXBMPImage.rb +1 -1
- data/tests/TC_FXButton.rb +1 -1
- data/tests/TC_FXCheckButton.rb +1 -1
- data/tests/TC_FXComboBox.rb +2 -1
- data/tests/TC_FXDC.rb +1 -1
- data/tests/TC_FXDCPrint.rb +1 -1
- data/tests/TC_FXDCWindow.rb +1 -1
- data/tests/TC_FXDataTarget.rb +1 -1
- data/tests/TC_FXDirList.rb +2 -2
- data/tests/TC_FXFileAssoc.rb +1 -1
- data/tests/TC_FXFileStream.rb +1 -1
- data/tests/TC_FXFont.rb +2 -2
- data/tests/TC_FXFontDesc.rb +15 -19
- data/tests/TC_FXGLGroup.rb +1 -1
- data/tests/TC_FXGLShape.rb +1 -1
- data/tests/TC_FXGLViewer.rb +1 -3
- data/tests/TC_FXGradientBar.rb +1 -1
- data/tests/TC_FXHeader.rb +2 -2
- data/tests/TC_FXIconDict.rb +1 -1
- data/tests/TC_FXIconList.rb +2 -2
- data/tests/TC_FXId.rb +2 -2
- data/tests/TC_FXImage.rb +1 -1
- data/tests/TC_FXLight.rb +1 -1
- data/tests/TC_FXList.rb +2 -12
- data/tests/TC_FXListBox.rb +2 -2
- data/tests/TC_FXMat4f.rb +1 -1
- data/tests/TC_FXMaterial.rb +2 -2
- data/tests/TC_FXMemoryStream.rb +1 -1
- data/tests/TC_FXMenuCheck.rb +1 -1
- data/tests/TC_FXMenuCommand.rb +15 -1
- data/tests/TC_FXMenuRadio.rb +1 -1
- data/tests/TC_FXPoint.rb +1 -1
- data/tests/TC_FXQuatf.rb +1 -1
- data/tests/TC_FXRadioButton.rb +1 -1
- data/tests/TC_FXRangef.rb +1 -1
- data/tests/TC_FXRectangle.rb +1 -1
- data/tests/TC_FXRegion.rb +1 -1
- data/tests/TC_FXRegistry.rb +1 -1
- data/tests/TC_FXScrollArea.rb +1 -1
- data/tests/TC_FXScrollWindow.rb +1 -1
- data/tests/TC_FXSegment.rb +1 -1
- data/tests/TC_FXSettings.rb +1 -1
- data/tests/TC_FXShell.rb +1 -1
- data/tests/TC_FXSize.rb +1 -1
- data/tests/TC_FXStream.rb +1 -1
- data/tests/TC_FXTable.rb +33 -1
- data/tests/TC_FXTableItem.rb +2 -2
- data/tests/TC_FXText.rb +2 -2
- data/tests/TC_FXTopWindow.rb +1 -1
- data/tests/TC_FXTreeList.rb +2 -2
- data/tests/TC_FXTreeListBox.rb +2 -2
- data/tests/TC_FXUndoList.rb +2 -2
- data/tests/TC_FXVec2d.rb +6 -6
- data/tests/TC_FXVec2f.rb +5 -5
- data/tests/TC_FXVec3d.rb +5 -5
- data/tests/TC_FXVec3f.rb +5 -5
- data/tests/TC_FXVec4f.rb +3 -3
- data/tests/TC_FXViewport.rb +1 -1
- data/tests/TC_FXXBMIcon.rb +1 -1
- data/tests/TC_FXXBMImage.rb +1 -1
- data/tests/TC_FXXPMIcon.rb +1 -1
- data/tests/TC_FXXPMImage.rb +1 -1
- data/tests/TC_Misc.rb +1 -1
- data/tests/TC_downcast.rb +1 -1
- data/tests/TS_All.rb +1 -2
- data/tests/stress1.rb +5 -5
- data/tests/stress2.rb +1 -1
- data/tests/stress3.rb +1 -1
- data/tests/testcase.rb +1 -1
- metadata +294 -280
- data/doc/changes.html +0 -433
- data/ext/fox14/include/FXRbFont.h +0 -70
- data/ext/fox14/include/FXRbIconSource.h +0 -127
- data/ext/fox14/include/FXRbIconSourceVirtuals.h +0 -37
- data/ext/fox14/include/FXRbRealSpinnerVirtuals.h +0 -3
- data/ext/fox14/include/FXRbText.h +0 -94
- data/ext/fox14/include/FXRbTextVirtuals.h +0 -9
- data/rdoc-sources/FXMat4.rb +0 -171
- data/rdoc-sources/FXVec4.rb +0 -91
|
@@ -3,13 +3,12 @@ module Fox
|
|
|
3
3
|
# The FXMenuCommand widget is used to invoke a command in the
|
|
4
4
|
# application from a menu. Menu commands may reflect
|
|
5
5
|
# the state of the application by graying out or becoming hidden.
|
|
6
|
+
# When activated, a menu command sends a +SEL_COMMAND+ to its target.
|
|
6
7
|
#
|
|
7
8
|
# === Events
|
|
8
9
|
#
|
|
9
10
|
# The following messages are sent by FXMenuCommand to its target:
|
|
10
11
|
#
|
|
11
|
-
# +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
|
|
12
|
-
# +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
|
|
13
12
|
# +SEL_COMMAND+:: sent when the command is activated
|
|
14
13
|
#
|
|
15
14
|
class FXMenuCommand < FXMenuCaption
|
data/rdoc-sources/FXMenuRadio.rb
CHANGED
|
@@ -3,13 +3,16 @@ module Fox
|
|
|
3
3
|
# The FXMenuRadio widget is used to change a state in the application from a menu.
|
|
4
4
|
# Menu radio commands may reflect the state of the application by graying out, becoming
|
|
5
5
|
# hidden, or by displaying a bullet.
|
|
6
|
+
# When activated, a menu radio sends a +SEL_COMMAND+ to its target;
|
|
7
|
+
# the message data contains the new state.
|
|
8
|
+
# A collection of menu radio widgets which belong to each other
|
|
9
|
+
# is supposed to be updated by a common +SEL_UPDATE+ handler to
|
|
10
|
+
# properly maintain the state between them.
|
|
6
11
|
#
|
|
7
12
|
# === Events
|
|
8
13
|
#
|
|
9
14
|
# The following messages are sent by FXMenuRadio to its target:
|
|
10
15
|
#
|
|
11
|
-
# +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
|
|
12
|
-
# +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
|
|
13
16
|
# +SEL_COMMAND+:: sent when the command is activated
|
|
14
17
|
#
|
|
15
18
|
class FXMenuRadio < FXMenuCommand
|
|
@@ -13,6 +13,12 @@ module Fox
|
|
|
13
13
|
# +SEL_COMMAND+:: sent when this option is clicked; the message data is an FXEvent instance.
|
|
14
14
|
#
|
|
15
15
|
class FXOption < FXLabel
|
|
16
|
+
# Selection background color [FXColor]
|
|
17
|
+
attr_accessor :selBackColor
|
|
18
|
+
|
|
19
|
+
# Selection text color [FXColor]
|
|
20
|
+
attr_accessor :selTextColor
|
|
21
|
+
|
|
16
22
|
#
|
|
17
23
|
# Returns an initialized FXOption instance.
|
|
18
24
|
#
|
|
@@ -31,6 +37,7 @@ module Fox
|
|
|
31
37
|
# +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
|
|
32
38
|
# +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
|
|
33
39
|
# +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
|
|
40
|
+
# +SEL_COMMAND+:: sent when this an option is selected; the message data is the option number.
|
|
34
41
|
#
|
|
35
42
|
class FXOptionMenu < FXLabel
|
|
36
43
|
|
data/rdoc-sources/FXPCXIcon.rb
CHANGED
data/rdoc-sources/FXPCXImage.rb
CHANGED
|
@@ -7,6 +7,11 @@ module Fox
|
|
|
7
7
|
# Return the suggested file extension for this image type ("pcx").
|
|
8
8
|
#
|
|
9
9
|
def FXPCXImage.fileExt; end
|
|
10
|
+
|
|
11
|
+
#
|
|
12
|
+
# Return the MIME type for this image type
|
|
13
|
+
#
|
|
14
|
+
def FXPCXImage.mimeType; end
|
|
10
15
|
|
|
11
16
|
#
|
|
12
17
|
# Return an initialized FXPCXImage instance.
|
data/rdoc-sources/FXPNGIcon.rb
CHANGED
|
@@ -7,6 +7,11 @@ module Fox
|
|
|
7
7
|
# Return the suggested file extension for this image type ("png").
|
|
8
8
|
#
|
|
9
9
|
def FXPNGIcon.fileExt; end
|
|
10
|
+
|
|
11
|
+
#
|
|
12
|
+
# Return the MIME type for this image type
|
|
13
|
+
#
|
|
14
|
+
def FXPNGIcon.mimeType; end
|
|
10
15
|
|
|
11
16
|
# Return +true+ if PNG image file format is supported.
|
|
12
17
|
def FXPNGIcon.supported? ; end
|
data/rdoc-sources/FXPNGImage.rb
CHANGED
|
@@ -7,6 +7,11 @@ module Fox
|
|
|
7
7
|
# Return the suggested file extension for this image type ("png").
|
|
8
8
|
#
|
|
9
9
|
def FXPNGImage.fileExt; end
|
|
10
|
+
|
|
11
|
+
#
|
|
12
|
+
# Return the MIME type for this image type
|
|
13
|
+
#
|
|
14
|
+
def FXPNGImage.mimeType; end
|
|
10
15
|
|
|
11
16
|
# Return +true+ if PNG image file format is supported.
|
|
12
17
|
def FXPNGImage.supported? ; end
|
data/rdoc-sources/FXPPMIcon.rb
CHANGED
data/rdoc-sources/FXPPMImage.rb
CHANGED
|
@@ -7,6 +7,11 @@ module Fox
|
|
|
7
7
|
# Return the suggested file extension for this image type ("ppm").
|
|
8
8
|
#
|
|
9
9
|
def FXPPMImage.fileExt; end
|
|
10
|
+
|
|
11
|
+
#
|
|
12
|
+
# Return the MIME type for this image type
|
|
13
|
+
#
|
|
14
|
+
def FXPNGImage.mimeType; end
|
|
10
15
|
|
|
11
16
|
#
|
|
12
17
|
# Return an initialized FXPPMImage instance.
|
data/rdoc-sources/FXQuatd.rb
CHANGED
|
@@ -43,11 +43,6 @@ module Fox
|
|
|
43
43
|
# instances.
|
|
44
44
|
def initialize(ex, ey, ez); end
|
|
45
45
|
|
|
46
|
-
#
|
|
47
|
-
# Construct quaternion from 3x3 matrix; _mat_ is an FXMat3d instance.
|
|
48
|
-
#
|
|
49
|
-
def FXQuatd.fromMatrix(mat); end
|
|
50
|
-
|
|
51
46
|
# Adjust quaternion length; returns a reference to self.
|
|
52
47
|
def adjust!; end
|
|
53
48
|
|
|
@@ -145,17 +140,18 @@ module Fox
|
|
|
145
140
|
def *(vec); end
|
|
146
141
|
|
|
147
142
|
#
|
|
148
|
-
# Construct a quaternion from arc a->b on unit sphere
|
|
143
|
+
# Construct a quaternion from arc a->b on unit sphere and return a reference
|
|
144
|
+
# to self.
|
|
149
145
|
#
|
|
150
146
|
# ==== Parameters:
|
|
151
147
|
#
|
|
152
148
|
# +a+:: [FXVec3d]
|
|
153
149
|
# +b+:: [FXVec3d]
|
|
154
150
|
#
|
|
155
|
-
def
|
|
151
|
+
def arc!(a, b); end
|
|
156
152
|
|
|
157
153
|
#
|
|
158
|
-
# Spherical lerp.
|
|
154
|
+
# Spherical lerp and return a reference to self.
|
|
159
155
|
#
|
|
160
156
|
# ==== Parameters:
|
|
161
157
|
#
|
|
@@ -163,9 +159,6 @@ module Fox
|
|
|
163
159
|
# +v+:: [FXQuatd]
|
|
164
160
|
# +f+:: [Float]
|
|
165
161
|
#
|
|
166
|
-
def
|
|
167
|
-
|
|
168
|
-
# Convert to matrix (returns an FXMat3d instance).
|
|
169
|
-
def toMatrix; end
|
|
162
|
+
def lerp!(u, v, f); end
|
|
170
163
|
end
|
|
171
164
|
end
|
data/rdoc-sources/FXQuatf.rb
CHANGED
|
@@ -149,17 +149,18 @@ module Fox
|
|
|
149
149
|
def *(vec); end
|
|
150
150
|
|
|
151
151
|
#
|
|
152
|
-
# Construct a quaternion from arc a->b on unit sphere
|
|
152
|
+
# Construct a quaternion from arc a->b on unit sphere and
|
|
153
|
+
# return reference to self.
|
|
153
154
|
#
|
|
154
155
|
# ==== Parameters:
|
|
155
156
|
#
|
|
156
157
|
# +a+:: [FXVec3f]
|
|
157
158
|
# +b+:: [FXVec3f]
|
|
158
159
|
#
|
|
159
|
-
def
|
|
160
|
+
def arc!(a, b); end
|
|
160
161
|
|
|
161
162
|
#
|
|
162
|
-
# Spherical lerp.
|
|
163
|
+
# Spherical lerp, return reference to self.
|
|
163
164
|
#
|
|
164
165
|
# ==== Parameters:
|
|
165
166
|
#
|
|
@@ -167,9 +168,6 @@ module Fox
|
|
|
167
168
|
# +v+:: [FXQuatf]
|
|
168
169
|
# +f+:: [Float]
|
|
169
170
|
#
|
|
170
|
-
def
|
|
171
|
-
|
|
172
|
-
# Convert to a 3x3 matrix; returns an FXMat3f instance.
|
|
173
|
-
def toMatrix; end
|
|
171
|
+
def lerp!(u, v, f); end
|
|
174
172
|
end
|
|
175
173
|
end
|
data/rdoc-sources/FXRGBIcon.rb
CHANGED
data/rdoc-sources/FXRGBImage.rb
CHANGED
|
@@ -7,6 +7,11 @@ module Fox
|
|
|
7
7
|
# Return the suggested file extension for this image type ("rgb").
|
|
8
8
|
#
|
|
9
9
|
def FXRGBImage.fileExt; end
|
|
10
|
+
|
|
11
|
+
#
|
|
12
|
+
# Return the MIME type for this image type
|
|
13
|
+
#
|
|
14
|
+
def FXRGBImage.mimeType; end
|
|
10
15
|
|
|
11
16
|
#
|
|
12
17
|
# Return an initialized FXRGBImage instance.
|
|
@@ -3,6 +3,12 @@ module Fox
|
|
|
3
3
|
# A radio button is a tri-state button. Normally, it is either
|
|
4
4
|
# +TRUE+ or +FALSE+; a third state +MAYBE+ may be set to indicate that no selection
|
|
5
5
|
# has been made yet by the user, or that the state is ambiguous.
|
|
6
|
+
# When pressed, the radio button sets its state to +TRUE+ and sends a +SEL_COMMAND+
|
|
7
|
+
# message to its target, with the message data set to the state of the radio button.
|
|
8
|
+
# A group of radio buttons can be made mutually exclusive by linking them
|
|
9
|
+
# to a common data target (i.e. an instance of FXDataTarget).
|
|
10
|
+
# Alternatively, an application can implement a common +SEL_UPDATE+ handler to
|
|
11
|
+
# check and uncheck radio buttons as appropriate.
|
|
6
12
|
#
|
|
7
13
|
# === Events
|
|
8
14
|
#
|
data/rdoc-sources/FXRanged.rb
CHANGED
data/rdoc-sources/FXRangef.rb
CHANGED
|
@@ -9,6 +9,8 @@ module Fox
|
|
|
9
9
|
#
|
|
10
10
|
# The following messages are sent by FXRealSlider to its target:
|
|
11
11
|
#
|
|
12
|
+
# +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
|
|
13
|
+
# +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
|
|
12
14
|
# +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
|
|
13
15
|
# +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
|
|
14
16
|
# +SEL_MIDDLEBUTTONPRESS+:: sent when the middle mouse button goes down; the message data is an FXEvent instance.
|
|
@@ -90,7 +92,7 @@ module Fox
|
|
|
90
92
|
end
|
|
91
93
|
|
|
92
94
|
# Set slider range (where _lo_ and _hi_ are Float values).
|
|
93
|
-
def setRange(lo, hi); end
|
|
95
|
+
def setRange(lo, hi, notify=false); end
|
|
94
96
|
|
|
95
97
|
# Return the slider range as an array of Float values [lo, hi].
|
|
96
98
|
def getRange(); end
|
|
@@ -8,8 +8,6 @@ module Fox
|
|
|
8
8
|
#
|
|
9
9
|
# +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
|
|
10
10
|
# +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
|
|
11
|
-
# +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
|
|
12
|
-
# +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
|
|
13
11
|
# +SEL_COMMAND+::
|
|
14
12
|
# sent whenever the spinner's value changes; the message data is a Float
|
|
15
13
|
# indicating the new spinner value.
|
|
@@ -71,6 +69,9 @@ module Fox
|
|
|
71
69
|
|
|
72
70
|
# Number of columns (i.e. width of spinner's text field, in terms of number of columns of 'm') [Integer]
|
|
73
71
|
attr_accessor :numColumns
|
|
72
|
+
|
|
73
|
+
# Spinner granularity [Float]
|
|
74
|
+
attr_accessor :granularity
|
|
74
75
|
|
|
75
76
|
#
|
|
76
77
|
# Return an initialized FXRealSpinner instance.
|
|
@@ -95,11 +96,17 @@ module Fox
|
|
|
95
96
|
end
|
|
96
97
|
|
|
97
98
|
# Increment spinner
|
|
98
|
-
def increment(); end
|
|
99
|
+
def increment(notify=false); end
|
|
99
100
|
|
|
101
|
+
# Increment spinner by certain amount
|
|
102
|
+
def incrementByAmount(amt, notify=false); end
|
|
103
|
+
|
|
100
104
|
# Decrement spinner
|
|
101
|
-
def decrement(); end
|
|
105
|
+
def decrement(notify=false); end
|
|
102
106
|
|
|
107
|
+
# Decrement spinner by certain amount
|
|
108
|
+
def decrementByAmount(amt, notify=false); end
|
|
109
|
+
|
|
103
110
|
# Return +true+ if the spinner is in cyclic mode.
|
|
104
111
|
def cyclic?; end
|
|
105
112
|
|
|
@@ -35,6 +35,9 @@ module Fox
|
|
|
35
35
|
# <tt>ID_FILE_10</tt>:: x
|
|
36
36
|
#
|
|
37
37
|
class FXRecentFiles < FXObject
|
|
38
|
+
# Application associated with this recent files group [FXApp]
|
|
39
|
+
attr_reader :app
|
|
40
|
+
|
|
38
41
|
# Maximum number of files to track [Integer]
|
|
39
42
|
attr_accessor :maxFiles
|
|
40
43
|
|
|
@@ -48,16 +51,17 @@ module Fox
|
|
|
48
51
|
attr_accessor :selector
|
|
49
52
|
|
|
50
53
|
#
|
|
51
|
-
# Construct a new FXRecentFiles
|
|
54
|
+
# Construct a new FXRecentFiles group, using the global application instance.
|
|
52
55
|
#
|
|
53
56
|
def initialize # :yields: theRecentFiles
|
|
54
57
|
end
|
|
55
58
|
|
|
56
|
-
#
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
# Make new recent files group with default groupname
|
|
60
|
+
def initialize(a) # :yields: theRecentFiles
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
# Make new recent files group with groupname gp
|
|
64
|
+
def initialize(a, gp, tgt=nil, sel=0) # :yields: theRecentFiles
|
|
61
65
|
end
|
|
62
66
|
|
|
63
67
|
# Append a file to the end of the list.
|
data/rdoc-sources/FXRectangle.rb
CHANGED
|
@@ -71,6 +71,18 @@ module Fox
|
|
|
71
71
|
#
|
|
72
72
|
def contains?(r); end
|
|
73
73
|
|
|
74
|
+
#
|
|
75
|
+
# Shift each of the rectangle's corners by the amount _p_ (an FXPoint
|
|
76
|
+
# instance) and return a reference to the rectangle.
|
|
77
|
+
#
|
|
78
|
+
def move!(p); end
|
|
79
|
+
|
|
80
|
+
#
|
|
81
|
+
# Shift each of the rectangle's corners by the amount (_dx_, _dy_)
|
|
82
|
+
# and return a reference to the rectangle.
|
|
83
|
+
#
|
|
84
|
+
def move!(dx, dy); end
|
|
85
|
+
|
|
74
86
|
#
|
|
75
87
|
# Grow the rectangle by some amount and return a reference to the rectangle.
|
|
76
88
|
#
|
data/rdoc-sources/FXRuler.rb
CHANGED
|
@@ -5,6 +5,13 @@ module Fox
|
|
|
5
5
|
# indents, and tickmarks.
|
|
6
6
|
# The ruler widget sends a +SEL_CHANGED+ message when the indentation or margins
|
|
7
7
|
# are interactively changed by the user.
|
|
8
|
+
# If the document size exceeds the available space, it is possible to
|
|
9
|
+
# scroll the document using setPosition(). When the document size is
|
|
10
|
+
# less than the available space, the alignment options can be used to
|
|
11
|
+
# center, left-adjust, or right-adjust the document.
|
|
12
|
+
# Finally, a special option exists to stretch the document to the
|
|
13
|
+
# available space, that is to say, the document will always be fitten
|
|
14
|
+
# with given left and right edges substracted from the available space.
|
|
8
15
|
#
|
|
9
16
|
# === Events
|
|
10
17
|
#
|
|
@@ -12,6 +19,7 @@ module Fox
|
|
|
12
19
|
#
|
|
13
20
|
# +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
|
|
14
21
|
# +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
|
|
22
|
+
# +SEL_CHANGED+:: sent whenever something about the ruler changes
|
|
15
23
|
#
|
|
16
24
|
# === Ruler options
|
|
17
25
|
#
|
|
@@ -29,6 +37,14 @@ module Fox
|
|
|
29
37
|
# +RULER_MARKERS+:: Draw markers for indentation settings
|
|
30
38
|
# +RULER_METRIC+:: Metric subdivision (default)
|
|
31
39
|
# +RULER_ENGLISH+:: English subdivision
|
|
40
|
+
# +RULER_MARGIN_ADJUST+:: Allow margin adjustment
|
|
41
|
+
# +RULER_ALIGN_CENTER+:: Center document horizontally
|
|
42
|
+
# +RULER_ALIGN_LEFT+:: Align document to the left
|
|
43
|
+
# +RULER_ALIGN_RIGHT+:: Align document to the right
|
|
44
|
+
# +RULER_ALIGN_TOP+:: Align document to the top
|
|
45
|
+
# +RULER_ALIGN_BOTTOM+:: Align document to the bottom
|
|
46
|
+
# +RULER_ALIGN_STRETCH+:: Stretch document to fit horizontally
|
|
47
|
+
# +RULER_ALIGN_NORMAL+:: Normally, document is centered both ways
|
|
32
48
|
#
|
|
33
49
|
# === Message identifiers:
|
|
34
50
|
#
|
|
@@ -39,6 +55,9 @@ module Fox
|
|
|
39
55
|
# Current position [Integer]
|
|
40
56
|
attr_accessor :position
|
|
41
57
|
|
|
58
|
+
# Content size [Integer]
|
|
59
|
+
attr_accessor :contentSize
|
|
60
|
+
|
|
42
61
|
# Document size [Integer]
|
|
43
62
|
attr_accessor :documentSize
|
|
44
63
|
|
|
@@ -84,6 +103,9 @@ module Fox
|
|
|
84
103
|
# The ruler style [Integer]
|
|
85
104
|
attr_accessor :rulerStyle
|
|
86
105
|
|
|
106
|
+
# Ruler alignment [Integer]
|
|
107
|
+
attr_accessor :rulerAlignment
|
|
108
|
+
|
|
87
109
|
# The current text color [FXColor]
|
|
88
110
|
attr_accessor :textColor
|
|
89
111
|
|
|
@@ -98,5 +120,11 @@ module Fox
|
|
|
98
120
|
#
|
|
99
121
|
def initialize(p, tgt=nil, sel=0, opts=RULER_NORMAL, x=0, y=0, w=0, h=0, pl=DEFAULT_PAD, pr=DEFAULT_PAD, pt=DEFAULT_PAD, pb=DEFAULT_PAD) # :yields: theRuler
|
|
100
122
|
end
|
|
123
|
+
|
|
124
|
+
# Return lower edge of document (an integer)
|
|
125
|
+
def documentLower; end
|
|
126
|
+
|
|
127
|
+
# Return upper edge of document (an integer)
|
|
128
|
+
def documentUpper; end
|
|
101
129
|
end
|
|
102
130
|
end
|