fxruby 1.2.6 → 1.4.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/ChangeLog +0 -90
- data/doc/apes02.html +2 -2
- data/doc/apes03.html +1 -1
- data/doc/book.html +1 -1
- data/doc/build.html +26 -26
- data/doc/ch03s02.html +1 -2
- data/doc/ch03s03.html +1 -2
- data/doc/ch03s04.html +1 -2
- data/doc/ch03s05.html +1 -2
- data/doc/changes.html +12 -7
- data/doc/cvs.html +2 -2
- data/doc/differences.html +3 -3
- data/doc/gems.html +44 -44
- data/doc/implementation.html +1 -1
- data/doc/library.html +5 -5
- data/doc/opengl.html +5 -5
- data/doc/pt02.html +1 -1
- data/doc/scintilla.html +6 -6
- data/doc/tutorial1.html +8 -15
- data/examples/babelfish.rb +6 -16
- data/examples/bounce.rb +1 -1
- data/examples/browser.rb +1 -1
- data/examples/button.rb +1 -1
- data/examples/datatarget.rb +2 -2
- data/examples/dctest.rb +1 -1
- 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 +2 -2
- data/examples/header.rb +3 -3
- data/examples/hello.rb +1 -1
- data/examples/hello2.rb +1 -1
- data/examples/iconlist.rb +16 -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 +1 -1
- data/examples/styledtext.rb +2 -2
- data/examples/tabbook.rb +1 -1
- data/examples/table.rb +1 -1
- data/ext/{fox12 → fox14}/FXRbApp.cpp +7 -13
- data/ext/{fox12 → fox14}/FXRbDataTarget.cpp +5 -1
- data/ext/{fox12 → fox14}/FXRbGLViewer.cpp +1 -1
- data/ext/{fox12 → fox14}/FXRuby.cpp +49 -14
- data/ext/{fox12 → fox14}/MANIFEST +0 -0
- data/ext/{fox12 → fox14}/core_wrap.cpp +1098 -390
- data/ext/{fox12 → fox14}/dc_wrap.cpp +61 -1
- data/ext/{fox12 → fox14}/dialogs_wrap.cpp +2293 -939
- data/ext/{fox12 → fox14}/extconf.rb +8 -8
- data/ext/{fox12 → fox14}/frames_wrap.cpp +1396 -395
- data/ext/{fox12 → fox14}/fx3d_wrap.cpp +884 -363
- data/ext/{fox12 → fox14}/iconlist_wrap.cpp +338 -117
- data/ext/{fox12 → fox14}/icons_wrap.cpp +668 -61
- data/ext/{fox12 → fox14}/image_wrap.cpp +245 -164
- data/ext/{fox12 → fox14}/impl.cpp +58 -2
- data/ext/{fox12 → fox14}/include/FXMemoryBuffer.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRb4Splitter.h +1 -1
- data/ext/fox14/include/FXRb7Segment.h +51 -0
- data/ext/{fox12 → fox14}/include/FXRbAccelTable.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbApp.h +1 -2
- data/ext/{fox12 → fox14}/include/FXRbAppVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbArrowButton.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbBMPIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbBMPImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbBitmap.h +5 -5
- data/ext/{fox12 → fox14}/include/FXRbBitmapFrame.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbBitmapView.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbBitmapVirtuals.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbButton.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbCURCursor.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbCanvas.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbCheckButton.h +1 -1
- data/ext/fox14/include/FXRbChoiceBox.h +56 -0
- data/ext/{fox12 → fox14}/include/FXRbColorBar.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbColorDialog.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbColorSelector.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbColorWell.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbColorWheel.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbComboBox.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbCommon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbComposite.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbCursor.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbCursorVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbDC.h +25 -1
- data/ext/{fox12 → fox14}/include/FXRbDCPrint.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDCVirtuals.h +12 -0
- data/ext/{fox12 → fox14}/include/FXRbDCWindow.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDataTarget.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDebugTarget.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDelegator.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDial.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDialogBox.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDialogBoxVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbDict.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDirBox.h +2 -1
- data/ext/{fox12 → fox14}/include/FXRbDirDialog.h +4 -1
- data/ext/{fox12 → fox14}/include/FXRbDirList.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDirSelector.h +1 -1
- data/ext/fox14/include/FXRbDockBar.h +86 -0
- data/ext/fox14/include/FXRbDockBarVirtuals.h +10 -0
- data/ext/fox14/include/FXRbDockHandler.h +51 -0
- data/ext/fox14/include/FXRbDockSite.h +85 -0
- data/ext/fox14/include/FXRbDockSiteVirtuals.h +13 -0
- data/ext/fox14/include/FXRbDockTitle.h +51 -0
- data/ext/{fox12 → fox14}/include/FXRbDocument.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDragCorner.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDrawable.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDrawableVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbDriveBox.h +2 -1
- data/ext/{fox12 → fox14}/include/FXRbFileDialog.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbFileDict.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbFileDictVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbFileList.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbFileSelector.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbFoldingItemVirtuals.h +2 -5
- data/ext/{fox12 → fox14}/include/FXRbFoldingList.h +98 -15
- data/ext/fox14/include/FXRbFoldingListVirtuals.h +43 -0
- data/ext/{fox12 → fox14}/include/FXRbFont.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbFontDialog.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbFontSelector.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbFrame.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGIFCursor.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGIFIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGIFImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGLCanvas.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGLCanvasVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbGLContext.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGLObject.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGLObjectVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbGLShape.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGLShapeVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbGLViewer.h +7 -1
- data/ext/{fox12 → fox14}/include/FXRbGLViewerVirtuals.h +4 -0
- data/ext/{fox12 → fox14}/include/FXRbGLVisual.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGradientBar.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGroupBox.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbHeader.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbHeaderItemVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbHorizontalFrame.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbICOIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbICOImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbIconItemVirtuals.h +2 -5
- data/ext/{fox12 → fox14}/include/FXRbIconList.h +33 -15
- data/ext/{fox12 → fox14}/include/FXRbIconListVirtuals.h +14 -0
- data/ext/fox14/include/FXRbIconSource.h +127 -0
- data/ext/fox14/include/FXRbIconSourceVirtuals.h +37 -0
- data/ext/{fox12 → fox14}/include/FXRbId.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbIdVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbImage.h +5 -5
- data/ext/{fox12 → fox14}/include/FXRbImageFrame.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbImageView.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbImageVirtuals.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbInputDialog.h +4 -1
- data/ext/{fox12 → fox14}/include/FXRbJPGIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbJPGImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbLabel.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbList.h +29 -11
- data/ext/{fox12 → fox14}/include/FXRbListBox.h +12 -1
- data/ext/fox14/include/FXRbListBoxVirtuals.h +4 -0
- data/ext/{fox12 → fox14}/include/FXRbListItemVirtuals.h +1 -4
- data/ext/{fox12 → fox14}/include/FXRbListVirtuals.h +12 -0
- data/ext/{fox12 → fox14}/include/FXRbMDIButton.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMDIChild.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMDIChildVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbMDIClient.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMDIClientVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbMainWindow.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMatrix.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuBar.h +2 -2
- data/ext/{fox12 → fox14}/include/FXRbMenuButton.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuCaption.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuCascade.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuCheck.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuCommand.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuPane.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuRadio.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuSeparator.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuTitle.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMessageBox.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbObject.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbObjectVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbOptionMenu.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPCXIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPCXImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPNGIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPNGImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPPMIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPPMImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPacker.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPicker.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPopup.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPopupVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbPrintDialog.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbProgressBar.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbProgressDialog.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRGBIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRGBImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRadioButton.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRealSlider.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRealSpinner.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRealSpinnerVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbRecentFiles.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRegistry.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbReplaceDialog.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRootWindow.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRuler.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbScintilla.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbScrollArea.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbScrollAreaVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbScrollBar.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbScrollPane.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbScrollWindow.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbSearchDialog.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbSeparator.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbSettings.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbShell.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbShutter.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbShutterVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbSlider.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbSpinner.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbSpinnerVirtuals.h +0 -0
- data/ext/fox14/include/FXRbSplashWindow.h +57 -0
- data/ext/{fox12 → fox14}/include/FXRbSplitter.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbSpring.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbStatusBar.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbStatusLine.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbStream.h +3 -3
- data/ext/{fox12 → fox14}/include/FXRbStreamVirtuals.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbStringDict.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbSwitcher.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTGAIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTGAImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTIFIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTIFImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTabBar.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTabBarVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbTabBook.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTabItem.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTable.h +96 -36
- data/ext/{fox12 → fox14}/include/FXRbTableItemVirtuals.h +24 -3
- data/ext/{fox12 → fox14}/include/FXRbTableVirtuals.h +19 -6
- data/ext/{fox12 → fox14}/include/FXRbText.h +2 -2
- data/ext/{fox12 → fox14}/include/FXRbTextField.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTextVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbToggleButton.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbToolBar.h +2 -19
- data/ext/{fox12 → fox14}/include/FXRbToolBarGrip.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbToolBarShell.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbToolBarTab.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbToolTip.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTopWindow.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTopWindowVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbTreeItemVirtuals.h +2 -2
- data/ext/{fox12 → fox14}/include/FXRbTreeList.h +33 -9
- data/ext/{fox12 → fox14}/include/FXRbTreeListBox.h +12 -1
- data/ext/fox14/include/FXRbTreeListBoxVirtuals.h +4 -0
- data/ext/{fox12 → fox14}/include/FXRbTreeListVirtuals.h +12 -0
- data/ext/{fox12 → fox14}/include/FXRbTriStateButton.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbVerticalFrame.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbVisual.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbWindow.h +35 -5
- data/ext/{fox12 → fox14}/include/FXRbWindowVirtuals.h +17 -1
- data/ext/{fox12 → fox14}/include/FXRbWizard.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbXBMIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbXBMImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbXPMIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbXPMImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRuby.h +78 -7
- data/ext/{fox12 → fox14}/include/impl.h +7 -0
- data/ext/{fox12 → fox14}/include/inlinestubs.h +58 -2
- data/ext/{fox12 → fox14}/label_wrap.cpp +524 -68
- data/ext/{fox12 → fox14}/layout_wrap.cpp +1025 -90
- data/ext/{fox12 → fox14}/librb.c +0 -0
- data/ext/{fox12 → fox14}/list_wrap.cpp +328 -234
- data/ext/{fox12 → fox14}/markfuncs.cpp +29 -4
- data/ext/{fox12 → fox14}/mdi_wrap.cpp +553 -99
- data/ext/{fox12 → fox14}/menu_wrap.cpp +967 -404
- data/ext/{fox12 → fox14}/scintilla_wrap.cpp +754 -635
- data/ext/{fox12 → fox14}/table_wrap.cpp +501 -284
- data/ext/{fox12 → fox14}/text_wrap.cpp +765 -629
- data/ext/{fox12 → fox14}/treelist_wrap.cpp +859 -661
- data/ext/{fox12 → fox14}/ui_wrap.cpp +3025 -627
- data/ext/{fox12 → fox14}/unregisterOwnedObjects.cpp +1 -1
- data/lib/{fox12 → fox14}/aliases.rb +252 -45
- data/lib/{fox12 → fox14}/calendar.rb +2 -2
- data/lib/{fox12 → fox14}/chore.rb +1 -1
- data/lib/{fox12 → fox14}/colors.rb +1 -1
- data/lib/{fox12 → fox14}/core.rb +126 -52
- data/lib/{fox12 → fox14}/dict.rb +0 -0
- data/lib/{fox12 → fox14}/execute_nonmodal.rb +0 -0
- data/lib/{fox12 → fox14}/glgroup.rb +1 -1
- data/lib/{fox12 → fox14}/glshapes.rb +1 -1
- data/lib/{fox12 → fox14}/input.rb +1 -1
- data/lib/{fox12 → fox14}/irb.rb +1 -1
- data/lib/{fox12 → fox14}/iterators.rb +1 -1
- data/lib/{fox12 → fox14}/keys.rb +1 -1
- data/lib/{fox12 → fox14}/missingdep.rb +1 -1
- data/lib/{fox12 → fox14}/pseudokeyboard.rb +1 -1
- data/lib/{fox12 → fox14}/pseudomouse.rb +1 -1
- data/lib/{fox12 → fox14}/responder.rb +1 -1
- data/lib/{fox12 → fox14}/responder2.rb +5 -5
- data/lib/{fox12 → fox14}/scintilla.rb +0 -0
- data/lib/{fox12 → fox14}/settings.rb +0 -0
- data/lib/{fox12 → fox14}/signal.rb +1 -1
- data/lib/{fox12 → fox14}/splashscreen.rb +2 -2
- data/lib/{fox12 → fox14}/timeout.rb +1 -1
- data/lib/{fox12 → fox14}/undolist.rb +2 -2
- data/lib/{fox12 → fox14}/version.rb +2 -2
- data/rdoc-sources/FX7Segment.rb +48 -0
- data/rdoc-sources/FXApp.rb +51 -31
- data/rdoc-sources/FXBMPIcon.rb +18 -1
- data/rdoc-sources/FXBMPImage.rb +5 -0
- data/rdoc-sources/FXBitmap.rb +18 -3
- data/rdoc-sources/FXBitmapFrame.rb +3 -1
- data/rdoc-sources/FXBitmapView.rb +4 -1
- data/rdoc-sources/FXButton.rb +16 -0
- data/rdoc-sources/FXCheckButton.rb +25 -1
- data/rdoc-sources/FXChoiceBox.rb +82 -0
- data/rdoc-sources/FXColorBar.rb +6 -1
- data/rdoc-sources/FXColorDialog.rb +1 -0
- data/rdoc-sources/FXColorWell.rb +14 -6
- data/rdoc-sources/FXColorWheel.rb +6 -4
- data/rdoc-sources/FXComboBox.rb +53 -5
- data/rdoc-sources/FXCursor.rb +2 -2
- data/rdoc-sources/FXDC.rb +36 -2
- data/rdoc-sources/FXDial.rb +10 -4
- data/rdoc-sources/FXDirBox.rb +7 -1
- data/rdoc-sources/FXDirDialog.rb +33 -0
- data/rdoc-sources/FXDirList.rb +8 -3
- data/rdoc-sources/FXDirSelector.rb +36 -2
- data/rdoc-sources/FXDockBar.rb +136 -0
- data/rdoc-sources/FXDockHandler.rb +19 -0
- data/rdoc-sources/FXDockSite.rb +86 -0
- data/rdoc-sources/FXDockTitle.rb +26 -0
- data/rdoc-sources/FXFileDialog.rb +33 -0
- data/rdoc-sources/FXFileDict.rb +29 -56
- data/rdoc-sources/FXFileList.rb +39 -16
- data/rdoc-sources/FXFileSelector.rb +28 -2
- data/rdoc-sources/FXFileStream.rb +3 -0
- data/rdoc-sources/FXFoldingList.rb +104 -62
- data/rdoc-sources/FXFont.rb +2 -9
- data/rdoc-sources/FXFrame.rb +7 -1
- data/rdoc-sources/FXGIFCursor.rb +17 -5
- data/rdoc-sources/FXGIFIcon.rb +5 -0
- data/rdoc-sources/FXGIFImage.rb +5 -0
- data/rdoc-sources/FXHeader.rb +24 -4
- data/rdoc-sources/FXICOIcon.rb +10 -0
- data/rdoc-sources/FXICOImage.rb +5 -0
- data/rdoc-sources/FXIconList.rb +37 -13
- data/rdoc-sources/FXIconSource.rb +100 -0
- data/rdoc-sources/FXImage.rb +8 -2
- data/rdoc-sources/FXInputDialog.rb +6 -0
- data/rdoc-sources/FXJPGIcon.rb +13 -0
- data/rdoc-sources/FXJPGImage.rb +8 -0
- data/rdoc-sources/FXLabel.rb +4 -1
- data/rdoc-sources/FXList.rb +19 -9
- data/rdoc-sources/FXListBox.rb +22 -4
- data/rdoc-sources/FXMDIChild.rb +21 -2
- data/rdoc-sources/FXMDIClient.rb +15 -11
- data/rdoc-sources/FXMainWindow.rb +7 -1
- data/rdoc-sources/FXMemoryStream.rb +2 -0
- data/rdoc-sources/FXMenuBar.rb +1 -1
- data/rdoc-sources/FXMessageBox.rb +17 -7
- data/rdoc-sources/FXObject.rb +7 -1
- data/rdoc-sources/FXPCXIcon.rb +10 -0
- data/rdoc-sources/FXPCXImage.rb +5 -0
- data/rdoc-sources/FXPNGIcon.rb +15 -2
- data/rdoc-sources/FXPNGImage.rb +8 -0
- data/rdoc-sources/FXPPMIcon.rb +10 -0
- data/rdoc-sources/FXPPMImage.rb +5 -0
- data/rdoc-sources/FXQuatd.rb +1 -1
- data/rdoc-sources/FXQuatf.rb +1 -1
- data/rdoc-sources/FXRGBIcon.rb +12 -2
- data/rdoc-sources/FXRGBImage.rb +5 -0
- data/rdoc-sources/FXRegistry.rb +19 -2
- data/rdoc-sources/FXRuler.rb +47 -5
- data/rdoc-sources/FXScrollArea.rb +4 -4
- data/rdoc-sources/FXScrollPane.rb +3 -1
- data/rdoc-sources/FXSeparator.rb +20 -10
- data/rdoc-sources/FXSettings.rb +3 -3
- data/rdoc-sources/FXShell.rb +2 -1
- data/rdoc-sources/FXShutter.rb +7 -2
- data/rdoc-sources/FXSphered.rb +5 -2
- data/rdoc-sources/FXSpheref.rb +5 -2
- data/rdoc-sources/FXSplashWindow.rb +31 -0
- data/rdoc-sources/FXSplitter.rb +2 -1
- data/rdoc-sources/FXStream.rb +11 -2
- data/rdoc-sources/FXTGAIcon.rb +12 -2
- data/rdoc-sources/FXTGAImage.rb +5 -0
- data/rdoc-sources/FXTIFIcon.rb +15 -2
- data/rdoc-sources/FXTIFImage.rb +8 -0
- data/rdoc-sources/FXTable.rb +92 -15
- data/rdoc-sources/FXText.rb +11 -2
- data/rdoc-sources/FXTextField.rb +6 -2
- data/rdoc-sources/FXToolBar.rb +5 -65
- data/rdoc-sources/FXToolBarGrip.rb +5 -10
- data/rdoc-sources/FXToolBarTab.rb +8 -3
- data/rdoc-sources/FXTopWindow.rb +4 -0
- data/rdoc-sources/FXTreeList.rb +56 -50
- data/rdoc-sources/FXTreeListBox.rb +49 -30
- data/rdoc-sources/FXWindow.rb +30 -11
- data/rdoc-sources/FXXBMIcon.rb +10 -0
- data/rdoc-sources/FXXBMImage.rb +5 -0
- data/rdoc-sources/FXXPMIcon.rb +11 -1
- data/rdoc-sources/FXXPMImage.rb +5 -0
- data/rdoc-sources/README.rdoc +1 -1
- data/tests/TC_FXBMPIcon.rb +15 -0
- data/tests/TC_FXBMPImage.rb +15 -0
- data/tests/TC_FXFont.rb +0 -10
- data/tests/TC_FXXBMIcon.rb +15 -0
- data/tests/TC_FXXBMImage.rb +15 -0
- data/tests/TC_FXXPMIcon.rb +15 -0
- data/tests/TC_FXXPMImage.rb +15 -0
- data/web/downloads.html +3 -1
- data/web/home.html +3 -1
- metadata +290 -268
- data/ANNOUNCE +0 -25
- data/examples/mditest2.rb +0 -195
- data/ext/fox12/include/FXRbToolBarVirtuals.h +0 -6
- data/lib/fox12/dialogs.rb +0 -72
- data/tests/TC_FXSettings.rb +0 -34
- data/tests/doit.rb +0 -5
data/rdoc-sources/FXQuatd.rb
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
module Fox
|
|
2
1
|
class FXQuatd < FXVec4d
|
|
3
2
|
# Return an initialized FXQuatd instance.
|
|
4
3
|
def initialize; end
|
|
5
4
|
|
|
6
5
|
#
|
|
7
6
|
# Construct an FXQuatd instance from a rotation axis and angle.
|
|
8
7
|
#
|
|
9
8
|
# ==== Parameters:
|
|
10
9
|
#
|
|
11
10
|
# +axis+:: the rotation axis [FXVec3d]
|
|
12
11
|
# +angle+:: the rotation angle (in radians) [Float]
|
|
13
12
|
#
|
|
14
13
|
def initialize(axis, phi=0.0); end
|
|
15
14
|
|
|
16
15
|
#
|
|
17
16
|
# Construct an FXQuatd from components.
|
|
18
17
|
#
|
|
19
18
|
# ==== Parameters:
|
|
20
19
|
#
|
|
21
20
|
# +x+:: x [Float]
|
|
22
21
|
# +y+:: y [Float]
|
|
23
22
|
# +z+:: z [Float]
|
|
24
23
|
# +w+:: w [Float]
|
|
25
24
|
#
|
|
26
25
|
def initialize(x, y, z, w); end
|
|
27
26
|
|
|
28
27
|
#
|
|
29
28
|
# Construct from Euler angles yaw (z), pitch (y) and roll (x).
|
|
30
29
|
#
|
|
31
30
|
# ==== Parameters:
|
|
32
31
|
#
|
|
33
32
|
# +roll+:: roll angle in radians [Float]
|
|
34
33
|
# +pitch+:: pitch angle in radians [Float]
|
|
35
34
|
# +yaw+:: yaw angle in radians [Float]
|
|
36
35
|
#
|
|
37
36
|
def initialize(roll, pitch, yaw); end
|
|
38
37
|
|
|
39
38
|
# Adjust quaternion length; returns a reference to self.
|
|
40
39
|
def adjust!; end
|
|
41
40
|
|
|
42
41
|
#
|
|
43
42
|
# Set quaternion from rotation axis and angle.
|
|
44
43
|
#
|
|
45
44
|
# ==== Parameters:
|
|
46
45
|
#
|
|
47
46
|
# +axis+:: the rotation axis [FXVec3d]
|
|
48
47
|
# +angle+:: the rotation angle (in radians) [Float]
|
|
49
48
|
#
|
|
50
49
|
def setAxisAngle(axis, phi=0.0); end
|
|
51
50
|
|
|
52
51
|
#
|
|
53
52
|
# Return the rotation axis and angle for this quaternion, i.e.
|
|
54
53
|
#
|
|
55
54
|
# axis, angle = aQuaternion.getAxisAngle()
|
|
56
55
|
#
|
|
57
56
|
# where _axis_ is an FXVec3d instance and _angle_ is the angle
|
|
58
57
|
# of rotation in radians.
|
|
59
58
|
#
|
|
60
59
|
def getAxisAngle(); end
|
|
61
60
|
|
|
62
61
|
#
|
|
63
62
|
# Set quaternion from yaw (z), pitch (y) and roll (x).
|
|
64
63
|
#
|
|
65
64
|
# ==== Parameters:
|
|
66
65
|
#
|
|
67
66
|
# +roll+:: roll angle in radians [Float]
|
|
68
67
|
# +pitch+:: pitch angle in radians [Float]
|
|
69
68
|
# +yaw+:: yaw angle in radians [Float]
|
|
70
69
|
#
|
|
71
70
|
def setRollPitchYaw(roll, pitch, yaw); end
|
|
72
71
|
|
|
73
72
|
#
|
|
74
73
|
# Obtain roll, pitch and yaw angles (in radians) from quaternion, e.g.
|
|
75
74
|
#
|
|
76
75
|
# roll, pitch, yaw = aQuaternion.getRollPitchYaw()
|
|
77
76
|
#
|
|
78
77
|
def getRollPitchYaw(); end
|
|
79
78
|
|
|
80
79
|
#
|
|
81
80
|
# Return the exponentiation of this quaternion (a new FXQuatd instance).
|
|
82
81
|
#
|
|
83
82
|
def exp; end
|
|
84
83
|
|
|
85
84
|
#
|
|
86
85
|
# Return the logarithm of this quaternion (a new FXQuatd instance).
|
|
87
86
|
#
|
|
88
87
|
def log; end
|
|
89
88
|
|
|
90
89
|
#
|
|
91
90
|
# Return the inverse of this quaternion (a new FXQuatd instance).
|
|
92
91
|
#
|
|
93
92
|
def invert; end
|
|
94
93
|
|
|
95
94
|
#
|
|
96
95
|
# Invert unit quaternion (returns a new FXQuatd instance).
|
|
97
96
|
#
|
|
98
97
|
def unitinvert; end
|
|
99
98
|
|
|
100
99
|
#
|
|
101
100
|
# Return the conjugate of this quaternion (a new FXQuatd instance).
|
|
102
101
|
#
|
|
103
102
|
def conj; end
|
|
104
103
|
|
|
105
104
|
#
|
|
106
105
|
# Return the product of this quaternion and _other_ (another FXQuatd instance).
|
|
107
106
|
#
|
|
108
107
|
def *(other); end
|
|
109
108
|
|
|
110
109
|
#
|
|
111
110
|
# Compute the rotation of a vector _vec_ by this quaternion; returns the
|
|
112
111
|
# rotated vector (a new FXVec3d instance).
|
|
113
112
|
#
|
|
114
113
|
# ==== Parameters:
|
|
115
114
|
#
|
|
116
115
|
# +vec+:: the vector to be rotated [FXVec3d]
|
|
117
116
|
#
|
|
118
117
|
def *(vec); end
|
|
119
118
|
|
|
120
119
|
#
|
|
121
120
|
# Construct a quaternion from arc a->b on unit sphere.
|
|
122
121
|
#
|
|
123
122
|
# ==== Parameters:
|
|
124
123
|
#
|
|
125
124
|
# +a+:: [FXVec3d]
|
|
126
125
|
# +b+:: [FXVec3d]
|
|
127
126
|
#
|
|
128
127
|
def FXQuatd.arc(a, b); end
|
|
129
128
|
|
|
130
129
|
#
|
|
131
130
|
# Spherical lerp.
|
|
132
131
|
#
|
|
133
132
|
# ==== Parameters:
|
|
134
133
|
#
|
|
135
134
|
# +u+:: [FXQuatd]
|
|
136
135
|
# +v+:: [FXQuatd]
|
|
137
136
|
# +f+:: [Float]
|
|
138
137
|
#
|
|
139
138
|
def FXQuatd.lerp(u, v, f); end
|
|
140
139
|
end
|
|
140
|
+
module Fox
|
|
141
141
|
class FXQuatd < FXVec4d
|
|
142
142
|
# Return an initialized FXQuatd instance.
|
|
143
143
|
def initialize; end
|
|
144
144
|
|
|
145
145
|
#
|
|
146
146
|
# Construct an FXQuatd instance from a rotation axis and angle.
|
|
147
147
|
#
|
|
148
148
|
# ==== Parameters:
|
|
149
149
|
#
|
|
150
150
|
# +axis+:: the rotation axis [FXVec3d]
|
|
151
151
|
# +angle+:: the rotation angle (in radians) [Float]
|
|
152
152
|
#
|
|
153
153
|
def initialize(axis, phi=0.0); end
|
|
154
154
|
|
|
155
155
|
#
|
|
156
156
|
# Construct an FXQuatd from components.
|
|
157
157
|
#
|
|
158
158
|
# ==== Parameters:
|
|
159
159
|
#
|
|
160
160
|
# +x+:: x [Float]
|
|
161
161
|
# +y+:: y [Float]
|
|
162
162
|
# +z+:: z [Float]
|
|
163
163
|
# +w+:: w [Float]
|
|
164
164
|
#
|
|
165
165
|
def initialize(x, y, z, w); end
|
|
166
166
|
|
|
167
167
|
# Construct an FXQuatd from an array of Floats.
|
|
168
168
|
def initialize(floats); end
|
|
169
169
|
#
|
|
170
170
|
# Construct from Euler angles yaw (z), pitch (y) and roll (x).
|
|
171
171
|
#
|
|
172
172
|
# ==== Parameters:
|
|
173
173
|
#
|
|
174
174
|
# +roll+:: roll angle in radians [Float]
|
|
175
175
|
# +pitch+:: pitch angle in radians [Float]
|
|
176
176
|
# +yaw+:: yaw angle in radians [Float]
|
|
177
177
|
#
|
|
178
178
|
def initialize(roll, pitch, yaw); end
|
|
179
179
|
|
|
180
180
|
# Construct quaternion from axes; _ex_, _ey_ and _ez_ are all FXVec3d
|
|
181
181
|
# instances.
|
|
182
182
|
def initialize(ex, ey, ez); end
|
|
183
183
|
#
|
|
184
184
|
# Construct quaternion from 3x3 matrix; _mat_ is an FXMat3d instance.
|
|
185
185
|
#
|
|
186
186
|
def FXQuatd.fromMatrix(mat); end
|
|
187
187
|
# Adjust quaternion length; returns a reference to self.
|
|
188
188
|
def adjust!; end
|
|
189
189
|
|
|
190
190
|
#
|
|
191
191
|
# Set quaternion from rotation axis and angle.
|
|
192
192
|
#
|
|
193
193
|
# ==== Parameters:
|
|
194
194
|
#
|
|
195
195
|
# +axis+:: the rotation axis [FXVec3d]
|
|
196
196
|
# +angle+:: the rotation angle (in radians) [Float]
|
|
197
197
|
#
|
|
198
198
|
def setAxisAngle(axis, phi=0.0); end
|
|
199
199
|
|
|
200
200
|
#
|
|
201
201
|
# Return the rotation axis and angle for this quaternion, i.e.
|
|
202
202
|
#
|
|
203
203
|
# axis, angle = aQuaternion.getAxisAngle()
|
|
204
204
|
#
|
|
205
205
|
# where _axis_ is an FXVec3d instance and _angle_ is the angle
|
|
206
206
|
# of rotation in radians.
|
|
207
207
|
#
|
|
208
208
|
def getAxisAngle(); end
|
|
209
209
|
|
|
210
210
|
#
|
|
211
211
|
# Set quaternion from yaw (z), pitch (y) and roll (x).
|
|
212
212
|
#
|
|
213
213
|
# ==== Parameters:
|
|
214
214
|
#
|
|
215
215
|
# +roll+:: roll angle in radians [Float]
|
|
216
216
|
# +pitch+:: pitch angle in radians [Float]
|
|
217
217
|
# +yaw+:: yaw angle in radians [Float]
|
|
218
218
|
#
|
|
219
219
|
def setRollPitchYaw(roll, pitch, yaw); end
|
|
220
220
|
|
|
221
221
|
#
|
|
222
222
|
# Obtain roll, pitch and yaw angles (in radians) from quaternion, e.g.
|
|
223
223
|
#
|
|
224
224
|
# roll, pitch, yaw = aQuaternion.getRollPitchYaw()
|
|
225
225
|
#
|
|
226
226
|
def getRollPitchYaw(); end
|
|
227
227
|
|
|
228
228
|
# Set quaternion from axes; _ex_, _ey_ and _ez_ are all FXVec3d instances.
|
|
229
229
|
def setAxes(ex, ey, ez); end
|
|
230
230
|
# Get quaternion axes; returns a 3-element array of FXVec3d instances.
|
|
231
231
|
def getAxes(); end
|
|
232
232
|
# Obtain local x axis (an FXVec3d instance).
|
|
233
233
|
def getXAxis(); end
|
|
234
234
|
# Obtain local y axis (an FXVec3d instance).
|
|
235
235
|
def getYAxis(); end
|
|
236
236
|
# Obtain local z axis (an FXVec3d instance).
|
|
237
237
|
def getZAxis(); end
|
|
238
238
|
#
|
|
239
239
|
# Return the exponentiation of this quaternion (a new FXQuatd instance).
|
|
240
240
|
#
|
|
241
241
|
def exp; end
|
|
242
242
|
|
|
243
243
|
#
|
|
244
244
|
# Return the logarithm of this quaternion (a new FXQuatd instance).
|
|
245
245
|
#
|
|
246
246
|
def log; end
|
|
247
247
|
|
|
248
248
|
#
|
|
249
249
|
# Return the inverse of this quaternion (a new FXQuatd instance).
|
|
250
250
|
#
|
|
251
251
|
def invert; end
|
|
252
252
|
|
|
253
253
|
#
|
|
254
254
|
# Invert unit quaternion (returns a new FXQuatd instance).
|
|
255
255
|
#
|
|
256
256
|
def unitinvert; end
|
|
257
257
|
|
|
258
258
|
#
|
|
259
259
|
# Return the conjugate of this quaternion (a new FXQuatd instance).
|
|
260
260
|
#
|
|
261
261
|
def conj; end
|
|
262
262
|
|
|
263
263
|
#
|
|
264
264
|
# Return the product of this quaternion and _other_ (another FXQuatd instance).
|
|
265
265
|
#
|
|
266
266
|
def *(other); end
|
|
267
267
|
|
|
268
268
|
#
|
|
269
269
|
# Compute the rotation of a vector _vec_ by this quaternion; returns the
|
|
270
270
|
# rotated vector (a new FXVec3d instance).
|
|
271
271
|
#
|
|
272
272
|
# ==== Parameters:
|
|
273
273
|
#
|
|
274
274
|
# +vec+:: the vector to be rotated [FXVec3d]
|
|
275
275
|
#
|
|
276
276
|
def *(vec); end
|
|
277
277
|
|
|
278
278
|
#
|
|
279
279
|
# Construct a quaternion from arc a->b on unit sphere.
|
|
280
280
|
#
|
|
281
281
|
# ==== Parameters:
|
|
282
282
|
#
|
|
283
283
|
# +a+:: [FXVec3d]
|
|
284
284
|
# +b+:: [FXVec3d]
|
|
285
285
|
#
|
|
286
286
|
def FXQuatd.arc(a, b); end
|
|
287
287
|
|
|
288
288
|
#
|
|
289
289
|
# Spherical lerp.
|
|
290
290
|
#
|
|
291
291
|
# ==== Parameters:
|
|
292
292
|
#
|
|
293
293
|
# +u+:: [FXQuatd]
|
|
294
294
|
# +v+:: [FXQuatd]
|
|
295
295
|
# +f+:: [Float]
|
|
296
296
|
#
|
|
297
297
|
def FXQuatd.lerp(u, v, f); end
|
|
298
298
|
|
|
299
299
|
# Convert to matrix (returns an FXMat3d instance).
|
|
300
300
|
def toMatrix; end
|
|
301
301
|
end
|
data/rdoc-sources/FXQuatf.rb
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
module Fox
|
|
2
1
|
class FXQuatf < FXVec4f
|
|
3
2
|
# Return an initialized FXQuatf instance.
|
|
4
3
|
def initialize; end
|
|
5
4
|
|
|
6
5
|
#
|
|
7
6
|
# Construct an FXQuatf instance from a rotation axis and angle.
|
|
8
7
|
#
|
|
9
8
|
# ==== Parameters:
|
|
10
9
|
#
|
|
11
10
|
# +axis+:: the rotation axis [FXVec3f]
|
|
12
11
|
# +angle+:: the rotation angle (in radians) [Float]
|
|
13
12
|
#
|
|
14
13
|
def initialize(axis, phi=0.0); end
|
|
15
14
|
|
|
16
15
|
#
|
|
17
16
|
# Construct from Euler angles yaw (z), pitch (y) and roll (x).
|
|
18
17
|
#
|
|
19
18
|
# ==== Parameters:
|
|
20
19
|
#
|
|
21
20
|
# +roll+:: roll angle in radians [Float]
|
|
22
21
|
# +pitch+:: pitch angle in radians [Float]
|
|
23
22
|
# +yaw+:: yaw angle in radians [Float]
|
|
24
23
|
#
|
|
25
24
|
def initialize(roll, pitch, yaw); end
|
|
26
25
|
#
|
|
27
26
|
# Construct an FXQuatf from components.
|
|
28
27
|
#
|
|
29
28
|
# ==== Parameters:
|
|
30
29
|
#
|
|
31
30
|
# +x+:: x [Float]
|
|
32
31
|
# +y+:: y [Float]
|
|
33
32
|
# +z+:: z [Float]
|
|
34
33
|
# +w+:: w [Float]
|
|
35
34
|
#
|
|
36
35
|
def initialize(x, y, z, w); end
|
|
37
36
|
|
|
38
37
|
# Adjust quaternion length; returns a reference to self.
|
|
39
38
|
def adjust!; end
|
|
40
39
|
|
|
41
40
|
#
|
|
42
41
|
# Set quaternion from rotation axis and angle.
|
|
43
42
|
#
|
|
44
43
|
# ==== Parameters:
|
|
45
44
|
#
|
|
46
45
|
# +axis+:: the rotation axis [FXVec3f]
|
|
47
46
|
# +angle+:: the rotation angle (in radians) [Float]
|
|
48
47
|
#
|
|
49
48
|
def setAxisAngle(axis, phi=0.0); end
|
|
50
49
|
|
|
51
50
|
#
|
|
52
51
|
# Return the rotation axis and angle for this quaternion, i.e.
|
|
53
52
|
#
|
|
54
53
|
# axis, angle = aQuaternion.getAxisAngle()
|
|
55
54
|
#
|
|
56
55
|
# where _axis_ is an FXVec3f instance and _angle_ is the angle
|
|
57
56
|
# of rotation in radians.
|
|
58
57
|
#
|
|
59
58
|
def getAxisAngle(); end
|
|
60
59
|
|
|
61
60
|
#
|
|
62
61
|
# Set quaternion from yaw (z), pitch (y) and roll (x).
|
|
63
62
|
#
|
|
64
63
|
# ==== Parameters:
|
|
65
64
|
#
|
|
66
65
|
# +roll+:: roll angle in radians [Float]
|
|
67
66
|
# +pitch+:: pitch angle in radians [Float]
|
|
68
67
|
# +yaw+:: yaw angle in radians [Float]
|
|
69
68
|
#
|
|
70
69
|
def setRollPitchYaw(roll, pitch, yaw); end
|
|
71
70
|
|
|
72
71
|
#
|
|
73
72
|
# Obtain roll, pitch and yaw angles (in radians) from quaternion, e.g.
|
|
74
73
|
#
|
|
75
74
|
# roll, pitch, yaw = aQuaternion.getRollPitchYaw()
|
|
76
75
|
#
|
|
77
76
|
def getRollPitchYaw(); end
|
|
78
77
|
|
|
79
78
|
#
|
|
80
79
|
# Return the exponentiation of this quaternion (a new FXQuatf instance).
|
|
81
80
|
#
|
|
82
81
|
def exp; end
|
|
83
82
|
|
|
84
83
|
#
|
|
85
84
|
# Return the logarithm of this quaternion (a new FXQuatf instance).
|
|
86
85
|
#
|
|
87
86
|
def log; end
|
|
88
87
|
|
|
89
88
|
#
|
|
90
89
|
# Return the inverse of this quaternion (a new FXQuatf instance).
|
|
91
90
|
#
|
|
92
91
|
def invert; end
|
|
93
92
|
|
|
94
93
|
#
|
|
95
94
|
# Invert unit quaternion (returns a new FXQuatf instance).
|
|
96
95
|
#
|
|
97
96
|
def unitinvert; end
|
|
98
97
|
|
|
99
98
|
#
|
|
100
99
|
# Return the conjugate of this quaternion (a new FXQuatf instance).
|
|
101
100
|
#
|
|
102
101
|
def conj; end
|
|
103
102
|
|
|
104
103
|
#
|
|
105
104
|
# Return the product of this quaternion and _other_ (another FXQuatf instance).
|
|
106
105
|
#
|
|
107
106
|
def *(other); end
|
|
108
107
|
|
|
109
108
|
#
|
|
110
109
|
# Compute the rotation of a vector _vec_ by this quaternion; returns the
|
|
111
110
|
# rotated vector (a new FXVec3f instance).
|
|
112
111
|
#
|
|
113
112
|
# ==== Parameters:
|
|
114
113
|
#
|
|
115
114
|
# +vec+:: the vector to be rotated [FXVec3f]
|
|
116
115
|
#
|
|
117
116
|
def *(vec); end
|
|
118
117
|
|
|
119
118
|
#
|
|
120
119
|
# Construct a quaternion from arc a->b on unit sphere.
|
|
121
120
|
#
|
|
122
121
|
# ==== Parameters:
|
|
123
122
|
#
|
|
124
123
|
# +a+:: [FXVec3f]
|
|
125
124
|
# +b+:: [FXVec3f]
|
|
126
125
|
#
|
|
127
126
|
def FXQuatf.arc(a, b); end
|
|
128
127
|
|
|
129
128
|
#
|
|
130
129
|
# Spherical lerp.
|
|
131
130
|
#
|
|
132
131
|
# ==== Parameters:
|
|
133
132
|
#
|
|
134
133
|
# +u+:: [FXQuatf]
|
|
135
134
|
# +v+:: [FXQuatf]
|
|
136
135
|
# +f+:: [Float]
|
|
137
136
|
#
|
|
138
137
|
def FXQuatf.lerp(u, v, f); end
|
|
139
138
|
end
|
|
139
|
+
module Fox
|
|
140
140
|
class FXQuatf < FXVec4f
|
|
141
141
|
# Return an initialized FXQuatf instance.
|
|
142
142
|
def initialize; end
|
|
143
143
|
|
|
144
144
|
#
|
|
145
145
|
# Construct an FXQuatf instance from a rotation axis and angle.
|
|
146
146
|
#
|
|
147
147
|
# ==== Parameters:
|
|
148
148
|
#
|
|
149
149
|
# +axis+:: the rotation axis [FXVec3f]
|
|
150
150
|
# +angle+:: the rotation angle (in radians) [Float]
|
|
151
151
|
#
|
|
152
152
|
def initialize(axis, phi=0.0); end
|
|
153
153
|
|
|
154
154
|
#
|
|
155
155
|
# Construct from Euler angles yaw (z), pitch (y) and roll (x).
|
|
156
156
|
#
|
|
157
157
|
# ==== Parameters:
|
|
158
158
|
#
|
|
159
159
|
# +roll+:: roll angle in radians [Float]
|
|
160
160
|
# +pitch+:: pitch angle in radians [Float]
|
|
161
161
|
# +yaw+:: yaw angle in radians [Float]
|
|
162
162
|
#
|
|
163
163
|
def initialize(roll, pitch, yaw); end
|
|
164
164
|
#
|
|
165
165
|
# Construct quaternion from axes
|
|
166
166
|
#
|
|
167
167
|
# ==== Parameters:
|
|
168
168
|
#
|
|
169
169
|
# +ex+:: x-axis [FXVec3f]
|
|
170
170
|
# +ey+:: y-axis [FXVec3f]
|
|
171
171
|
# +ez+:: z-axis [FXVec3f]
|
|
172
172
|
#
|
|
173
173
|
def initialize(ex, ey, ez); end
|
|
174
174
|
|
|
175
175
|
#
|
|
176
176
|
# Construct quaternion from 3x3 matrix (where _mat_ is an FXMat3f instance).
|
|
177
177
|
#
|
|
178
178
|
def initialize(mat); end
|
|
179
179
|
#
|
|
180
180
|
# Construct an FXQuatf from components.
|
|
181
181
|
#
|
|
182
182
|
# ==== Parameters:
|
|
183
183
|
#
|
|
184
184
|
# +x+:: x [Float]
|
|
185
185
|
# +y+:: y [Float]
|
|
186
186
|
# +z+:: z [Float]
|
|
187
187
|
# +w+:: w [Float]
|
|
188
188
|
#
|
|
189
189
|
def initialize(x, y, z, w); end
|
|
190
190
|
|
|
191
191
|
# Adjust quaternion length; returns a reference to self.
|
|
192
192
|
def adjust!; end
|
|
193
193
|
|
|
194
194
|
#
|
|
195
195
|
# Set quaternion from rotation axis and angle.
|
|
196
196
|
#
|
|
197
197
|
# ==== Parameters:
|
|
198
198
|
#
|
|
199
199
|
# +axis+:: the rotation axis [FXVec3f]
|
|
200
200
|
# +angle+:: the rotation angle (in radians) [Float]
|
|
201
201
|
#
|
|
202
202
|
def setAxisAngle(axis, phi=0.0); end
|
|
203
203
|
|
|
204
204
|
#
|
|
205
205
|
# Return the rotation axis and angle for this quaternion, i.e.
|
|
206
206
|
#
|
|
207
207
|
# axis, angle = aQuaternion.getAxisAngle()
|
|
208
208
|
#
|
|
209
209
|
# where _axis_ is an FXVec3f instance and _angle_ is the angle
|
|
210
210
|
# of rotation in radians.
|
|
211
211
|
#
|
|
212
212
|
def getAxisAngle(); end
|
|
213
213
|
|
|
214
214
|
#
|
|
215
215
|
# Set quaternion from yaw (z), pitch (y) and roll (x).
|
|
216
216
|
#
|
|
217
217
|
# ==== Parameters:
|
|
218
218
|
#
|
|
219
219
|
# +roll+:: roll angle in radians [Float]
|
|
220
220
|
# +pitch+:: pitch angle in radians [Float]
|
|
221
221
|
# +yaw+:: yaw angle in radians [Float]
|
|
222
222
|
#
|
|
223
223
|
def setRollPitchYaw(roll, pitch, yaw); end
|
|
224
224
|
|
|
225
225
|
#
|
|
226
226
|
# Obtain roll, pitch and yaw angles (in radians) from quaternion, e.g.
|
|
227
227
|
#
|
|
228
228
|
# roll, pitch, yaw = aQuaternion.getRollPitchYaw()
|
|
229
229
|
#
|
|
230
230
|
def getRollPitchYaw(); end
|
|
231
231
|
|
|
232
232
|
# Set quaternion from axes (where _ex_, _ey_ and _ez_ are FXVec3f instances).
|
|
233
233
|
def setAxes(ex, ey, ez); end
|
|
234
234
|
|
|
235
235
|
# Get quaternion axes as a 3-element array of FXVec3f instances.
|
|
236
236
|
def getAxes(); end
|
|
237
237
|
# Return the local x-axis as an FXVec3f instance.
|
|
238
238
|
def getXAxis(); end
|
|
239
239
|
# Return the local y-axis as an FXVec3f instance.
|
|
240
240
|
def getYAxis(); end
|
|
241
241
|
# Return the local z-axis as an FXVec3f instance.
|
|
242
242
|
def getZAxis(); end
|
|
243
243
|
#
|
|
244
244
|
# Return the exponentiation of this quaternion (a new FXQuatf instance).
|
|
245
245
|
#
|
|
246
246
|
def exp; end
|
|
247
247
|
|
|
248
248
|
#
|
|
249
249
|
# Return the logarithm of this quaternion (a new FXQuatf instance).
|
|
250
250
|
#
|
|
251
251
|
def log; end
|
|
252
252
|
|
|
253
253
|
#
|
|
254
254
|
# Return the inverse of this quaternion (a new FXQuatf instance).
|
|
255
255
|
#
|
|
256
256
|
def invert; end
|
|
257
257
|
|
|
258
258
|
#
|
|
259
259
|
# Invert unit quaternion (returns a new FXQuatf instance).
|
|
260
260
|
#
|
|
261
261
|
def unitinvert; end
|
|
262
262
|
|
|
263
263
|
#
|
|
264
264
|
# Return the conjugate of this quaternion (a new FXQuatf instance).
|
|
265
265
|
#
|
|
266
266
|
def conj; end
|
|
267
267
|
|
|
268
268
|
#
|
|
269
269
|
# Return the product of this quaternion and _other_ (another FXQuatf instance).
|
|
270
270
|
#
|
|
271
271
|
def *(other); end
|
|
272
272
|
|
|
273
273
|
#
|
|
274
274
|
# Compute the rotation of a vector _vec_ by this quaternion; returns the
|
|
275
275
|
# rotated vector (a new FXVec3f instance).
|
|
276
276
|
#
|
|
277
277
|
# ==== Parameters:
|
|
278
278
|
#
|
|
279
279
|
# +vec+:: the vector to be rotated [FXVec3f]
|
|
280
280
|
#
|
|
281
281
|
def *(vec); end
|
|
282
282
|
|
|
283
283
|
#
|
|
284
284
|
# Construct a quaternion from arc a->b on unit sphere.
|
|
285
285
|
#
|
|
286
286
|
# ==== Parameters:
|
|
287
287
|
#
|
|
288
288
|
# +a+:: [FXVec3f]
|
|
289
289
|
# +b+:: [FXVec3f]
|
|
290
290
|
#
|
|
291
291
|
def FXQuatf.arc(a, b); end
|
|
292
292
|
|
|
293
293
|
#
|
|
294
294
|
# Spherical lerp.
|
|
295
295
|
#
|
|
296
296
|
# ==== Parameters:
|
|
297
297
|
#
|
|
298
298
|
# +u+:: [FXQuatf]
|
|
299
299
|
# +v+:: [FXQuatf]
|
|
300
300
|
# +f+:: [Float]
|
|
301
301
|
#
|
|
302
302
|
def FXQuatf.lerp(u, v, f); end
|
|
303
303
|
|
|
304
304
|
# Convert to a 3x3 matrix; returns an FXMat3f instance.
|
|
305
305
|
def toMatrix; end
|
|
306
306
|
end
|