fxruby 1.4.7 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
data/rdoc-sources/FXText.rb
CHANGED
@@ -51,7 +51,15 @@ module Fox
|
|
51
51
|
attr_accessor :del
|
52
52
|
end
|
53
53
|
|
54
|
-
#
|
54
|
+
#
|
55
|
+
# The text widget supports editing of multiple lines of text.
|
56
|
+
# An optional style table can provide text coloring based on
|
57
|
+
# the contents of an optional parallel style buffer, which is
|
58
|
+
# maintained as text is edited. In a typical scenario, the
|
59
|
+
# contents of the style buffer is either directly written when
|
60
|
+
# the text is added to the widget, or is continually modified
|
61
|
+
# by editing the text via syntax-based highlighting engine which
|
62
|
+
# colors the text based on syntactical patterns.
|
55
63
|
#
|
56
64
|
# === Events
|
57
65
|
#
|
@@ -67,12 +75,13 @@ module Fox
|
|
67
75
|
# +SEL_RIGHTBUTTONRELEASE+:: sent when the right mouse button goes up; the message data is an FXEvent instance.
|
68
76
|
# +SEL_INSERTED+::
|
69
77
|
# sent after text is inserted into the text buffer; the message data
|
70
|
-
# is a
|
71
|
-
# the text was inserted and the number of characters inserted.
|
78
|
+
# is a reference to an FXTextChange instance.
|
72
79
|
# +SEL_DELETED+::
|
73
|
-
# sent
|
74
|
-
# a
|
75
|
-
#
|
80
|
+
# sent after text is removed from the text buffer; the message data is
|
81
|
+
# a reference to an FXTextChange instance.
|
82
|
+
# +SEL_REPLACED+::
|
83
|
+
# sent after some text is replaced in the text buffer; the message data is
|
84
|
+
# a reference to an FXTextChange instance.
|
76
85
|
# +SEL_CHANGED+::
|
77
86
|
# sent when the contents of the text buffer change in any way;
|
78
87
|
# the message data is an integer indicating the cursor position.
|
@@ -94,6 +103,7 @@ module Fox
|
|
94
103
|
# +TEXT_NO_TABS+:: Insert spaces for tabs
|
95
104
|
# +TEXT_AUTOINDENT+:: Autoindent
|
96
105
|
# +TEXT_SHOWACTIVE+:: Show active line
|
106
|
+
# +TEXT_AUTOSCROLL+:: Logging mode, keeping last line visible
|
97
107
|
#
|
98
108
|
# === Selection modes
|
99
109
|
#
|
@@ -320,19 +330,31 @@ module Fox
|
|
320
330
|
# Return +true+ if text is editable
|
321
331
|
def editable? ; end
|
322
332
|
|
333
|
+
# Set overstrike mode to +true+ or +false+.
|
334
|
+
def overstrike=(os); end
|
335
|
+
|
336
|
+
# Return +true+ if overstrike mode is activated.
|
337
|
+
def overstrike? ; end
|
338
|
+
|
323
339
|
# Return +true+ if styled text
|
324
340
|
def styled? ; end
|
325
341
|
|
326
342
|
# Get character at position _pos_ in text buffer
|
327
|
-
def
|
343
|
+
def getByte(pos); end
|
328
344
|
|
345
|
+
# Get wide character at position _pos_.
|
346
|
+
def getChar(pos); end
|
347
|
+
|
348
|
+
# Get length of wide character at position _pos_.
|
349
|
+
def getCharLen(pos); end
|
350
|
+
|
329
351
|
# Get style at position _pos_ in style buffer
|
330
352
|
def getStyle(pos); end
|
331
353
|
|
332
|
-
# Extract _n_
|
354
|
+
# Extract _n_ bytes of text from position _pos_ in the text buffer
|
333
355
|
def extractText(pos, n); end
|
334
356
|
|
335
|
-
# Extract _n_
|
357
|
+
# Extract _n_ bytes of style info from position _pos_ in the style buffer
|
336
358
|
def extractStyle(pos, n); end
|
337
359
|
|
338
360
|
# Replace the _m_ characters at _pos_ with _text_.
|
@@ -380,11 +402,15 @@ module Fox
|
|
380
402
|
def removeText(pos, n, notify=false); end
|
381
403
|
|
382
404
|
# Change the style of _n_ characters at position _pos_ in the text
|
383
|
-
# buffer to _style_. Here, _style_ is
|
405
|
+
# buffer to _style_. Here, _style_ is an integer index into the
|
384
406
|
# style table, indicating the new style for all the affected characters;
|
385
|
-
# or _style_ is a String...
|
386
407
|
def changeStyle(pos, n, style); end
|
387
408
|
|
409
|
+
# Change the style of text range at position _pos_ in the text
|
410
|
+
# buffer to _style_. Here, _style_ an array of bytes indicating
|
411
|
+
# the new style.
|
412
|
+
def changeStyle(pos, style); end
|
413
|
+
|
388
414
|
# Change the text
|
389
415
|
# If _notify_ is +true+, +SEL_INSERTED+ and +SEL_CHANGED+ messages
|
390
416
|
# are sent to the text widget's message target after the new text is
|
@@ -471,9 +497,15 @@ module Fox
|
|
471
497
|
# Return end of word
|
472
498
|
def wordEnd(pos); end
|
473
499
|
|
474
|
-
# Return validated position
|
500
|
+
# Return validated UTF8 character start position
|
475
501
|
def validPos(pos); end
|
476
502
|
|
503
|
+
# Retreat to the previous valid UTF8 character start
|
504
|
+
def dec(pos); end
|
505
|
+
|
506
|
+
# Advance to the next valid UTF8 character start
|
507
|
+
def inc(pos); end
|
508
|
+
|
477
509
|
# Make line containing _pos_ the top line
|
478
510
|
def setTopLine(pos); end
|
479
511
|
|
@@ -538,5 +570,8 @@ module Fox
|
|
538
570
|
|
539
571
|
# Scroll text to make the given position visible
|
540
572
|
def makePositionVisible(pos); end
|
573
|
+
|
574
|
+
# Return number of rows in buffer.
|
575
|
+
def numRows; end
|
541
576
|
end
|
542
577
|
end
|
data/rdoc-sources/FXTextField.rb
CHANGED
@@ -121,6 +121,12 @@ module Fox
|
|
121
121
|
# Return +true+ if text field may be edited
|
122
122
|
def editable?() ; end
|
123
123
|
|
124
|
+
# Set overstrike mode to +true+ or +false+.
|
125
|
+
def overstrike=(os); end
|
126
|
+
|
127
|
+
# Return +true+ if overstrike mode is set.
|
128
|
+
def overstrike?; end
|
129
|
+
|
124
130
|
# Select all text
|
125
131
|
def selectAll(); end
|
126
132
|
|
@@ -19,7 +19,6 @@ module Fox
|
|
19
19
|
# +TOGGLEBUTTON_AUTOGRAY+:: Automatically gray out when not updated
|
20
20
|
# +TOGGLEBUTTON_AUTOHIDE+:: Automatically hide toggle button when not updated
|
21
21
|
# +TOGGLEBUTTON_TOOLBAR+:: Toolbar style toggle button [flat look]
|
22
|
-
# +TOGGLEBUTTON_KEEPSTATE+:: Draw button according to state
|
23
22
|
# +TOGGLEBUTTON_NORMAL+:: <tt>FRAME_RAISED|FRAME_THICK|JUSTIFY_NORMAL|ICON_BEFORE_TEXT</tt>
|
24
23
|
#
|
25
24
|
class FXToggleButton < FXLabel
|
data/rdoc-sources/FXTopWindow.rb
CHANGED
@@ -1,14 +1,52 @@
|
|
1
1
|
module Fox
|
2
2
|
#
|
3
|
-
# Abstract base class for all top-level windows
|
3
|
+
# Abstract base class for all top-level windows.
|
4
|
+
#
|
5
|
+
# TopWindows are usually managed by a Window Manager under X11 and
|
6
|
+
# therefore borders and window-menus and other decorations like resize-
|
7
|
+
# handles are subject to the Window Manager's interpretation of the
|
8
|
+
# decoration hints.
|
9
|
+
# When a TopWindow is closed, it sends a SEL_CLOSE message to its
|
10
|
+
# target. The target should return 0 in response to this message if
|
11
|
+
# there is no objection to proceed with the closing of the window, and
|
12
|
+
# return 1 otherwise. After the SEL_CLOSE message has been sent and
|
13
|
+
# no objection was raised, the window will delete itself.
|
14
|
+
# When the session is closed, the window will send a SEL_SESSION_NOTIFY
|
15
|
+
# message to its target, allowing the application to write any unsaved
|
16
|
+
# data to the disk. If the target returns 0, then the system will proceed
|
17
|
+
# to close the session. Subsequently a SEL_SESSION_CLOSED will be received
|
18
|
+
# which causes the window to be closed with prejudice by calling the
|
19
|
+
# function close(FALSE).
|
20
|
+
# When receiving a SEL_UPDATE, the target can update the title string
|
21
|
+
# of the window, so that the title of the window reflects the name
|
22
|
+
# of the document, for example.
|
23
|
+
# For convenience, TopWindow provides the same layout behavior as
|
24
|
+
# the Packer widget, as well as docking and undocking of toolbars.
|
25
|
+
# TopWindows can be owned by other windows, or be free-floating.
|
26
|
+
# Owned TopWindows will usually remain stacked on top of the owner
|
27
|
+
# windows. The lifetime of an owned window should not exceed that of
|
28
|
+
# the owner.
|
4
29
|
#
|
5
30
|
# === Events
|
6
31
|
#
|
7
32
|
# The following messages are sent by FXTopWindow to its target:
|
8
33
|
#
|
34
|
+
# +SEL_MINIMIZE+::
|
35
|
+
# sent when the user clicks the minimize button in the upper right-hand
|
36
|
+
# corner of the top-level window.
|
37
|
+
# +SEL_MAXIMIZE+::
|
38
|
+
# sent when the user clicks the maximize button in the upper right-hand
|
39
|
+
# corner of the top-level window.
|
40
|
+
# +SEL_RESTORE+::
|
41
|
+
# sent when the user clicks the restore button in the upper right-hand
|
42
|
+
# corner of the top-level window.
|
9
43
|
# +SEL_CLOSE+::
|
10
44
|
# sent when the user clicks the close button in the upper right-hand
|
11
45
|
# corner of the top-level window.
|
46
|
+
# +SEL_SESSION_NOTIFY+:
|
47
|
+
# sent when the session is closed.:
|
48
|
+
# +SEL_SESSION_CLOSED+::
|
49
|
+
# sent after the session is closed.
|
12
50
|
#
|
13
51
|
# === Title and border decorations
|
14
52
|
#
|
@@ -114,7 +152,11 @@ module Fox
|
|
114
152
|
def restore(notify=false); end
|
115
153
|
|
116
154
|
#
|
117
|
-
# Close window
|
155
|
+
# Close the window, return +true+ if actually closed. If _notify_ is +true+, the target
|
156
|
+
# will receive a +SEL_CLOSE+ message to determine if it is OK to close the window.
|
157
|
+
# If the target ignores the +SEL_CLOSE+ message or returns 0, the window will
|
158
|
+
# be closed, and subsequently deleted. When the last main window has been
|
159
|
+
# closed, the application will receive an +ID_QUIT+ message and will be closed.
|
118
160
|
#
|
119
161
|
def close(notify=false); end
|
120
162
|
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
module Fox
|
2
|
+
#
|
3
|
+
# A translator translates a message to another language.
|
4
|
+
#
|
5
|
+
class FXTranslator
|
6
|
+
|
7
|
+
# The application associated with this translator [FXApp]
|
8
|
+
attr_reader :app
|
9
|
+
|
10
|
+
#
|
11
|
+
# Return a new translator for the application _a_ (an FXApp instance).
|
12
|
+
#
|
13
|
+
def initialize(a); end
|
14
|
+
|
15
|
+
#
|
16
|
+
# Translate a message.
|
17
|
+
#
|
18
|
+
def tr(context, message, hint=nil); end
|
19
|
+
|
20
|
+
#
|
21
|
+
# Change the text codec used to decode the messages embedded in the
|
22
|
+
# source.
|
23
|
+
#
|
24
|
+
def textCodec=(codec); end
|
25
|
+
|
26
|
+
#
|
27
|
+
# Return a reference to the text codec.
|
28
|
+
#
|
29
|
+
def textCodec; end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
data/rdoc-sources/FXTreeList.rb
CHANGED
@@ -320,6 +320,14 @@ module Fox
|
|
320
320
|
#
|
321
321
|
def moveItem(other, father, item); end
|
322
322
|
|
323
|
+
#
|
324
|
+
# Extract item from list and return a reference to the item.
|
325
|
+
# If _notify_ is +true+ and the extraction causes the list's current item
|
326
|
+
# to change, a +SEL_CHANGED+ message is sent to the list's message target
|
327
|
+
# before the item is extracted from the list.
|
328
|
+
#
|
329
|
+
def extractItem(item, notify=false); end
|
330
|
+
|
323
331
|
# Remove item.
|
324
332
|
# If _notify_ is +true+, a +SEL_DELETED+ message is sent to the list's message
|
325
333
|
# target before the item is removed.
|
@@ -6,6 +6,15 @@ module Fox
|
|
6
6
|
# pointer to the item. While manipulating the tree list, it may send
|
7
7
|
# +SEL_CHANGED+ messages to indicate which item the cursor is hovering over.
|
8
8
|
#
|
9
|
+
# === Events
|
10
|
+
#
|
11
|
+
# The following messages are sent by FXTreeListBox to its target:
|
12
|
+
#
|
13
|
+
# +SEL_CHANGED+::
|
14
|
+
# sent when the current list item changes; the message data is a reference to the new tree item.
|
15
|
+
# +SEL_COMMAND+::
|
16
|
+
# sent when the current list item changes; the message data is a reference to the new tree item.
|
17
|
+
#
|
9
18
|
# === Tree list box styles
|
10
19
|
#
|
11
20
|
# +TREELISTBOX_NORMAL+:: Normal style
|
@@ -124,6 +133,17 @@ module Fox
|
|
124
133
|
# target before each item is removed.
|
125
134
|
def clearItems(notify=false); end
|
126
135
|
|
136
|
+
#
|
137
|
+
# Move _item_ under _father_ before _other_ item and return a reference to
|
138
|
+
# _item_.
|
139
|
+
#
|
140
|
+
def moveItem(other, father, item); end
|
141
|
+
|
142
|
+
#
|
143
|
+
# Extract item from list and return a reference to the item.
|
144
|
+
#
|
145
|
+
def extractItem(item); end
|
146
|
+
|
127
147
|
#
|
128
148
|
# Search items by _text_, beginning from item _start_. If the
|
129
149
|
# start item is +nil+ the search will start at the first, top-most item
|
@@ -1,12 +1,16 @@
|
|
1
1
|
module Fox
|
2
|
-
class
|
2
|
+
class FXVec2d
|
3
|
+
|
4
|
+
attr_accessor :x
|
5
|
+
attr_accessor :y
|
6
|
+
|
3
7
|
#
|
4
|
-
# Return an initialized
|
8
|
+
# Return an initialized FXVec2d instance.
|
5
9
|
#
|
6
|
-
def initialize(
|
10
|
+
def initialize(xx, yy); end
|
7
11
|
|
8
12
|
#
|
9
|
-
# Returns the element at _index_, where _index_ is 0
|
13
|
+
# Returns the element at _index_, where _index_ is 0 or 1.
|
10
14
|
# Raises IndexError if _index_ is out of range.
|
11
15
|
#
|
12
16
|
def [](index); end
|
@@ -17,35 +21,32 @@ module Fox
|
|
17
21
|
#
|
18
22
|
def []=(index, value); end
|
19
23
|
|
20
|
-
#
|
21
|
-
def ==(other); end
|
22
|
-
|
23
|
-
# Returns a new FXVec instance which is the negation of this one.
|
24
|
+
# Returns a new FXVec2d instance which is the negation of this one.
|
24
25
|
def @-(); end
|
25
26
|
|
26
27
|
#
|
27
|
-
# Returns a new
|
28
|
-
# addition of the _other_
|
28
|
+
# Returns a new FXVec2d instance obtained by memberwise
|
29
|
+
# addition of the _other_ FXVec2d instance with this
|
29
30
|
# one.
|
30
31
|
#
|
31
32
|
def +(other); end
|
32
33
|
|
33
34
|
#
|
34
|
-
# Returns a new
|
35
|
-
# subtraction of the _other_
|
35
|
+
# Returns a new FXVec2d instance obtained by memberwise
|
36
|
+
# subtraction of the _other_ FXVec2d instance from this
|
36
37
|
# one.
|
37
38
|
#
|
38
39
|
def -(other); end
|
39
40
|
|
40
41
|
#
|
41
|
-
# Returns a new
|
42
|
+
# Returns a new FXVec2d instance obtained by memberwise
|
42
43
|
# multiplication of this vector's elements by the scalar
|
43
44
|
# _n_.
|
44
45
|
#
|
45
46
|
def *(n); end
|
46
47
|
|
47
48
|
#
|
48
|
-
# Returns a new
|
49
|
+
# Returns a new FXVec2d instance obtained by memberwise
|
49
50
|
# division of this vector's elements by the scalar
|
50
51
|
# _n_.
|
51
52
|
# Raises ZeroDivisionError if _n_ is identically zero.
|
@@ -57,41 +58,39 @@ module Fox
|
|
57
58
|
#
|
58
59
|
def dot(other); end
|
59
60
|
|
61
|
+
# Return +true+ if this vector is equal to _other_.
|
62
|
+
def ==(other); end
|
63
|
+
|
60
64
|
#
|
61
|
-
# Return the
|
65
|
+
# Return the square of the length of this vector.
|
62
66
|
#
|
63
|
-
def
|
64
|
-
|
67
|
+
def length2; end
|
68
|
+
|
65
69
|
#
|
66
70
|
# Return the length (magnitude) of this vector.
|
67
71
|
#
|
68
|
-
def
|
72
|
+
def length; end
|
69
73
|
|
74
|
+
# Clamp the values of this vector between limits _lo_ and _hi_.
|
75
|
+
def clamp(lo, hi); end
|
76
|
+
|
70
77
|
#
|
71
|
-
# Return a new
|
78
|
+
# Return a new FXVec2d instance which is a normalized version
|
72
79
|
# of this one.
|
73
80
|
#
|
74
81
|
def normalize; end
|
75
82
|
|
76
83
|
#
|
77
|
-
#
|
78
|
-
#
|
79
|
-
def normalize!; end
|
80
|
-
|
81
|
-
#
|
82
|
-
# Return a new FXVec instance which is the lesser of this
|
84
|
+
# Return a new FXVec2d instance which is the lesser of this
|
83
85
|
# vector and _other_.
|
84
86
|
#
|
85
87
|
def lo(other); end
|
86
88
|
|
87
89
|
#
|
88
|
-
# Return a new
|
90
|
+
# Return a new FXVec2d instance which is the greater of this
|
89
91
|
# vector and _other_.
|
90
92
|
#
|
91
93
|
def hi(other); end
|
92
|
-
|
93
|
-
# Return a new Array instance with this vector's elements as its members.
|
94
|
-
def to_a; end
|
95
94
|
end
|
96
95
|
end
|
97
96
|
|
@@ -0,0 +1,96 @@
|
|
1
|
+
module Fox
|
2
|
+
class FXVec2f
|
3
|
+
|
4
|
+
attr_accessor :x
|
5
|
+
attr_accessor :y
|
6
|
+
|
7
|
+
#
|
8
|
+
# Return an initialized FXVec2f instance.
|
9
|
+
#
|
10
|
+
def initialize(xx, yy); end
|
11
|
+
|
12
|
+
#
|
13
|
+
# Returns the element at _index_, where _index_ is 0 or 1.
|
14
|
+
# Raises IndexError if _index_ is out of range.
|
15
|
+
#
|
16
|
+
def [](index); end
|
17
|
+
|
18
|
+
#
|
19
|
+
# Set the element at _index_ to _value_ and return _value_.
|
20
|
+
# Raises IndexError if _index_ is out of range.
|
21
|
+
#
|
22
|
+
def []=(index, value); end
|
23
|
+
|
24
|
+
# Returns a new FXVec2f instance which is the negation of this one.
|
25
|
+
def @-(); end
|
26
|
+
|
27
|
+
#
|
28
|
+
# Returns a new FXVec2f instance obtained by memberwise
|
29
|
+
# addition of the _other_ FXVec2f instance with this
|
30
|
+
# one.
|
31
|
+
#
|
32
|
+
def +(other); end
|
33
|
+
|
34
|
+
#
|
35
|
+
# Returns a new FXVec2f instance obtained by memberwise
|
36
|
+
# subtraction of the _other_ FXVec2f instance from this
|
37
|
+
# one.
|
38
|
+
#
|
39
|
+
def -(other); end
|
40
|
+
|
41
|
+
#
|
42
|
+
# Returns a new FXVec2f instance obtained by memberwise
|
43
|
+
# multiplication of this vector's elements by the scalar
|
44
|
+
# _n_.
|
45
|
+
#
|
46
|
+
def *(n); end
|
47
|
+
|
48
|
+
#
|
49
|
+
# Returns a new FXVec2f instance obtained by memberwise
|
50
|
+
# division of this vector's elements by the scalar
|
51
|
+
# _n_.
|
52
|
+
# Raises ZeroDivisionError if _n_ is identically zero.
|
53
|
+
#
|
54
|
+
def /(n); end
|
55
|
+
|
56
|
+
#
|
57
|
+
# Returns the dot (scalar) product of this vector and _other_.
|
58
|
+
#
|
59
|
+
def dot(other); end
|
60
|
+
|
61
|
+
# Return +true+ if this vector is equal to _other_.
|
62
|
+
def ==(other); end
|
63
|
+
|
64
|
+
#
|
65
|
+
# Return the square of the length of this vector.
|
66
|
+
#
|
67
|
+
def length2; end
|
68
|
+
|
69
|
+
#
|
70
|
+
# Return the length (magnitude) of this vector.
|
71
|
+
#
|
72
|
+
def length; end
|
73
|
+
|
74
|
+
# Clamp the values of this vector between limits _lo_ and _hi_.
|
75
|
+
def clamp(lo, hi); end
|
76
|
+
|
77
|
+
#
|
78
|
+
# Return a new FXVec2f instance which is a normalized version
|
79
|
+
# of this one.
|
80
|
+
#
|
81
|
+
def normalize; end
|
82
|
+
|
83
|
+
#
|
84
|
+
# Return a new FXVec2f instance which is the lesser of this
|
85
|
+
# vector and _other_.
|
86
|
+
#
|
87
|
+
def lo(other); end
|
88
|
+
|
89
|
+
#
|
90
|
+
# Return a new FXVec2f instance which is the greater of this
|
91
|
+
# vector and _other_.
|
92
|
+
#
|
93
|
+
def hi(other); end
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|