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
|
@@ -47,5 +47,12 @@ module Fox
|
|
|
47
47
|
# Construct new check button
|
|
48
48
|
def initialize(parent, text, target=nil, selector=0, opts=CHECKBUTTON_NORMAL, x=0, y=0, width=0, height=0, padLeft=DEFAULT_PAD, padRight=DEFAULT_PAD, padTop=DEFAULT_PAD, padBottom=DEFAULT_PAD) # :yields: theCheckButton
|
|
49
49
|
end
|
|
50
|
+
|
|
51
|
+
#
|
|
52
|
+
# Set the check button state to one of +TRUE+, +FALSE+ or +MAYBE+.
|
|
53
|
+
# If _notify_ is +true+, send a +SEL_COMMAND+ message to the message target
|
|
54
|
+
# after the state has been updated.
|
|
55
|
+
#
|
|
56
|
+
def setCheck(state, notify=false); end
|
|
50
57
|
end
|
|
51
58
|
end
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
module Fox
|
|
2
|
+
# Color item
|
|
3
|
+
class FXColorItem < FXListItem
|
|
4
|
+
# Item color [FXColor]
|
|
5
|
+
attr_accessor :color
|
|
6
|
+
|
|
7
|
+
# Return a new color item, initialized with the given text, color and
|
|
8
|
+
# user data.
|
|
9
|
+
def initialize(text, clr, data=nil) # :yields: theColorItem
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
# Displays a list of colors
|
|
14
|
+
class FXColorList < FXList
|
|
15
|
+
|
|
16
|
+
#
|
|
17
|
+
# Return an initially empty list of colors.
|
|
18
|
+
#
|
|
19
|
+
def initialize(p, tgt=nil, sel=0, opts=LIST_BROWSESELECT, x=0, y=0, w=0, h=0) # :yields: theColorList
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
#
|
|
23
|
+
# Fill list by appending color items from array of strings and array of colors.
|
|
24
|
+
#
|
|
25
|
+
def fillItems(strings, colors=nil, ptr=nil, notify=false); end
|
|
26
|
+
|
|
27
|
+
#
|
|
28
|
+
# Insert item at index with given text, color, and user-data pointer
|
|
29
|
+
#
|
|
30
|
+
def insertItem(index, text, color=0, ptr=nil, notify=false); end
|
|
31
|
+
|
|
32
|
+
#
|
|
33
|
+
# Append new item with given text, color, and user-data pointer
|
|
34
|
+
#
|
|
35
|
+
def appendItem(text, color=0, ptr=nil, notify=false); end
|
|
36
|
+
|
|
37
|
+
#
|
|
38
|
+
# Prepend new item with given text, color, and user-data pointer
|
|
39
|
+
#
|
|
40
|
+
def prependItem(text, color=0, ptr=nil, notify=false); end
|
|
41
|
+
|
|
42
|
+
#
|
|
43
|
+
# Change item color for the item at _index_.
|
|
44
|
+
# Raises IndexError if _index_ is out of bounds.
|
|
45
|
+
#
|
|
46
|
+
def setItemColor(index, color); end
|
|
47
|
+
|
|
48
|
+
#
|
|
49
|
+
# Return item color for the item at _index_.
|
|
50
|
+
# Raises IndexError if _index_ is out of bounds.
|
|
51
|
+
#
|
|
52
|
+
def getItemColor(index); end
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
module Fox
|
|
2
|
+
#
|
|
3
|
+
# A Color Ring widget provides an intuitive way to specify a color.
|
|
4
|
+
# The outer ring of the widget is rotated to control the hue of the color
|
|
5
|
+
# being specified, while the inner triangle varies the color saturation
|
|
6
|
+
# and the brightness of the color. The color saturation axis of the
|
|
7
|
+
# triangle goes from a fully saturated "pure" color to "pastel" color;
|
|
8
|
+
# the brightness goes from black to a bright color.
|
|
9
|
+
#
|
|
10
|
+
# === Events
|
|
11
|
+
#
|
|
12
|
+
# The following messages are sent by FXColorRing to its target:
|
|
13
|
+
#
|
|
14
|
+
# +SEL_CHANGED+:: sent continuously while the user is dragging the spot around; the message data is a three-element array containing the hue, saturation and value values.
|
|
15
|
+
# +SEL_COMMAND+:: sent when the user releases the mouse button and "drops" the spot at its new location; the message data is a three-element array containing the hue, saturation and value values.
|
|
16
|
+
# +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
|
|
17
|
+
# +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
|
|
18
|
+
#
|
|
19
|
+
class FXColorRing < FXFrame
|
|
20
|
+
|
|
21
|
+
# Hue [Float]
|
|
22
|
+
attr_accessor :hue
|
|
23
|
+
|
|
24
|
+
# Saturation [Float]
|
|
25
|
+
attr_accessor :sat
|
|
26
|
+
|
|
27
|
+
# Value [Float]
|
|
28
|
+
attr_accessor :val
|
|
29
|
+
|
|
30
|
+
# Width of hue ring in pixels [Integer]
|
|
31
|
+
attr_accessor :ringWidth
|
|
32
|
+
|
|
33
|
+
# Status line help text [String]
|
|
34
|
+
attr_accessor :helpText
|
|
35
|
+
|
|
36
|
+
# Tool tip message [String]
|
|
37
|
+
attr_accessor :tipText
|
|
38
|
+
|
|
39
|
+
#
|
|
40
|
+
# Return an initialized FXColorRing instance.
|
|
41
|
+
#
|
|
42
|
+
def initialize(p, tgt=nil, sel=0, opts=FRAME_NORMAL, x=0, y=0, w=0, h=0, pl=DEFAULT_PAD, pr=DEFAULT_PAD, pt=DEFAULT_PAD, pb=DEFAULT_PAD) # :yields: theColorRing
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# Set the hue, saturation and value (all floating point values)
|
|
46
|
+
def setHueSatVal(h, s, v); end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
|
|
@@ -12,7 +12,7 @@ module Fox
|
|
|
12
12
|
# +SEL_COMMAND+:: sent when the new color is set; the message data is a 3-element array of floats containing the hue, saturation and value.
|
|
13
13
|
# +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
|
|
14
14
|
# +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
|
|
15
|
-
|
|
15
|
+
#
|
|
16
16
|
class FXColorWheel < FXFrame
|
|
17
17
|
|
|
18
18
|
# Hue [Float]
|
|
@@ -30,8 +30,28 @@ module Fox
|
|
|
30
30
|
# Tool tip message [String]
|
|
31
31
|
attr_accessor :tipText
|
|
32
32
|
|
|
33
|
+
#
|
|
33
34
|
# Construct color wheel
|
|
34
|
-
|
|
35
|
+
#
|
|
36
|
+
# ==== Parameters:
|
|
37
|
+
#
|
|
38
|
+
# +p+:: Parent widget [FXComposite]
|
|
39
|
+
# +tgt+:: Message target object [FXObject]
|
|
40
|
+
# +sel+:: Message identifier [Integer]
|
|
41
|
+
# +opts+:: Options [Integer]
|
|
42
|
+
# +x+::
|
|
43
|
+
# +y+::
|
|
44
|
+
# +w+::
|
|
45
|
+
# +h+::
|
|
46
|
+
# +pl+::
|
|
47
|
+
# +pr+::
|
|
48
|
+
# +pt+::
|
|
49
|
+
# +pb+::
|
|
50
|
+
#
|
|
51
|
+
def initialize(p, tgt=nil, sel=0, opts=FRAME_NORMAL, x=0, y=0, w=0, h=0, pl=DEFAULT_PAD, pr=DEFAULT_PAD, pt=DEFAULT_PAD, pb=DEFAULT_PAD) # :yields: theColorWheel
|
|
35
52
|
end
|
|
53
|
+
|
|
54
|
+
# Set hue, saturation and value all in one shot.
|
|
55
|
+
def setHueSatVal(h, s, v); end
|
|
36
56
|
end
|
|
37
57
|
end
|
data/rdoc-sources/FXComboBox.rb
CHANGED
|
@@ -48,6 +48,9 @@ module Fox
|
|
|
48
48
|
# Number of columns [Integer]
|
|
49
49
|
attr_accessor :numColumns
|
|
50
50
|
|
|
51
|
+
# Text justification mode; default is +JUSTIFY_LEFT+ [Integer]
|
|
52
|
+
attr_accessor :justify
|
|
53
|
+
|
|
51
54
|
# Number of items in the list [Integer]
|
|
52
55
|
attr_reader :numItems
|
|
53
56
|
|
|
@@ -197,5 +200,12 @@ module Fox
|
|
|
197
200
|
|
|
198
201
|
# Sort items using current sort function
|
|
199
202
|
def sortItems() ; end
|
|
203
|
+
|
|
204
|
+
#
|
|
205
|
+
# Set current item to _index_, where _index_ is the zero-based index of
|
|
206
|
+
# the item. If _notify_ is +true+, a +SEL_COMMAND+ message is sent
|
|
207
|
+
# to the combo box's message target.
|
|
208
|
+
#
|
|
209
|
+
def setCurrentItem(index, notify=false); end
|
|
200
210
|
end
|
|
201
211
|
end
|
data/rdoc-sources/FXDC.rb
CHANGED
|
@@ -540,6 +540,24 @@ module Fox
|
|
|
540
540
|
#
|
|
541
541
|
def drawArea(source, sx, sy, sw, sh, dx, dy) ; end
|
|
542
542
|
|
|
543
|
+
#
|
|
544
|
+
# Copy some rectangular area from _source_ into the drawable attached to this
|
|
545
|
+
# device context, stretching it to width _dw_ and height _dh_.
|
|
546
|
+
#
|
|
547
|
+
# === Parameters:
|
|
548
|
+
#
|
|
549
|
+
# +source+:: the source drawable from which to copy [FXDrawable]
|
|
550
|
+
# +sx+:: x-coordinate of the upper left corner of the source rectangle [Integer]
|
|
551
|
+
# +sy+:: y-coordinate of the upper left corner of the source rectangle [Integer]
|
|
552
|
+
# +sw+:: width of the source rectangle, in pixels [Integer]
|
|
553
|
+
# +sh+:: height of the source rectangle, in pixels [Integer]
|
|
554
|
+
# +dx+:: x-coordinate of the the destination point in this drawable [Integer]
|
|
555
|
+
# +dy+:: y-coordinate of the the destination point in this drawable [Integer]
|
|
556
|
+
# +dw+:: destination width, in pixels [Integer]
|
|
557
|
+
# +dh+:: destination height, in pixels [Integer]
|
|
558
|
+
#
|
|
559
|
+
def drawArea(source, sx, sy, sw, sh, dx, dy, dw, dh) ; end
|
|
560
|
+
|
|
543
561
|
#
|
|
544
562
|
# Draw _image_ into the drawable attached to this device context.
|
|
545
563
|
#
|
data/rdoc-sources/FXDial.rb
CHANGED
|
@@ -13,6 +13,8 @@ module Fox
|
|
|
13
13
|
#
|
|
14
14
|
# The following messages are sent by FXDial to its target:
|
|
15
15
|
#
|
|
16
|
+
# +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
|
|
17
|
+
# +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
|
|
16
18
|
# +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
|
|
17
19
|
# +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
|
|
18
20
|
# +SEL_CHANGED+:: sent when the dial's value changes; the message data is the new value (an integer).
|
|
@@ -37,7 +39,8 @@ module Fox
|
|
|
37
39
|
#
|
|
38
40
|
# The revolution increment is the amount of change in the position
|
|
39
41
|
# for revolution of the dial; the dial may go through multiple revolutions
|
|
40
|
-
# to go through its whole range.
|
|
42
|
+
# to go through its whole range. By default it takes one 360 degree turn of
|
|
43
|
+
# the dial to go from the lower to the upper range. [Integer]
|
|
41
44
|
#
|
|
42
45
|
attr_accessor :revolutionIncrement
|
|
43
46
|
|
|
@@ -66,9 +69,39 @@ module Fox
|
|
|
66
69
|
# Tool tip message for this dial
|
|
67
70
|
attr_accessor :tipText
|
|
68
71
|
|
|
72
|
+
#
|
|
69
73
|
# Construct a dial widget
|
|
74
|
+
#
|
|
75
|
+
# ==== Parameters:
|
|
76
|
+
#
|
|
77
|
+
# +p+:: parent widget for this dial [FXComposite]
|
|
78
|
+
# +tgt+:: message target object for this dial [FXObject]
|
|
79
|
+
# +sel+:: message identifier [Integer]
|
|
80
|
+
# +opts+::
|
|
81
|
+
# +x+::
|
|
82
|
+
# +y+::
|
|
83
|
+
# +w+::
|
|
84
|
+
# +h+::
|
|
85
|
+
# +pl+::
|
|
86
|
+
# +pr+::
|
|
87
|
+
# +pt+::
|
|
88
|
+
# +pb+::
|
|
89
|
+
#
|
|
70
90
|
def initialize(p, tgt=nil, sel=0, opts=DIAL_NORMAL, x=0, y=0, w=0, h=0, pl=DEFAULT_PAD, pr=DEFAULT_PAD, pt=DEFAULT_PAD, pb=DEFAULT_PAD) # :yields: theDial
|
|
71
91
|
end
|
|
92
|
+
|
|
93
|
+
#
|
|
94
|
+
# Set the dial value. If _notify_ is +true+, a +SEL_COMMAND+ message is
|
|
95
|
+
# sent to the dial's message target after the value is changed.
|
|
96
|
+
#
|
|
97
|
+
def setValue(value, notify=false); end
|
|
98
|
+
|
|
99
|
+
#
|
|
100
|
+
# Set the dial's range. If _notify_ is +true+, and the range modification
|
|
101
|
+
# causes the dial's value to change, a +SEL_COMMAND+ message is sent
|
|
102
|
+
# to the dial's message target after the value is changed.
|
|
103
|
+
#
|
|
104
|
+
def setRange(range, notify=false); end
|
|
72
105
|
end
|
|
73
106
|
end
|
|
74
107
|
|
data/rdoc-sources/FXDirList.rb
CHANGED
|
@@ -45,6 +45,7 @@ module Fox
|
|
|
45
45
|
# determines the icons to be displayed by consulting the file-associations registry
|
|
46
46
|
# settings. A number of messages can be sent to the FXDirList to control the
|
|
47
47
|
# filter pattern, sorting order, case sensitivity, and hidden file display mode.
|
|
48
|
+
# The Directory list widget supports drags and drops of files.
|
|
48
49
|
#
|
|
49
50
|
# === Events
|
|
50
51
|
#
|
data/rdoc-sources/FXDockBar.rb
CHANGED
|
@@ -2,7 +2,17 @@ module Fox
|
|
|
2
2
|
#
|
|
3
3
|
# A dock bar widget can be docked inside a dock site widget, or floated
|
|
4
4
|
# around freely. Users can move, undock, and dock the dock bar widget
|
|
5
|
-
# by means of a handle such as a tool bar grip.
|
|
5
|
+
# by means of a handle such as a tool bar grip. When docking, the dock
|
|
6
|
+
# bar sends a +SEL_DOCKED+ message to its target; when undocking, it sends
|
|
7
|
+
# a +SEL_FLOATED+ message. In either case the dock site involved is passed
|
|
8
|
+
# as the message data.
|
|
9
|
+
#
|
|
10
|
+
# === Events
|
|
11
|
+
#
|
|
12
|
+
# The following messages are sent by FXDockBar to its target:
|
|
13
|
+
#
|
|
14
|
+
# +SEL_DOCKED+:: sent when the dock bar is docked; the message data is a reference to the new dock site (an FXDockSite instance).
|
|
15
|
+
# +SEL_FLOATED+:: sent when the dock bar is undocked; the message data is a reference to the previous dock site.
|
|
6
16
|
#
|
|
7
17
|
# === Dock Bar Options
|
|
8
18
|
#
|
|
@@ -73,6 +83,11 @@ module Fox
|
|
|
73
83
|
# Return +true+ if docked
|
|
74
84
|
def docked? ; end
|
|
75
85
|
|
|
86
|
+
#
|
|
87
|
+
# Return +true+ if the dock bar would dock or undock if at locaton (_barx_, _bary_).
|
|
88
|
+
#
|
|
89
|
+
def insideDock?(docksite, barx, bary); end
|
|
90
|
+
|
|
76
91
|
#
|
|
77
92
|
# Set parent when docked.
|
|
78
93
|
# If it was docked, reparent under the new docking window.
|
|
@@ -106,24 +121,24 @@ module Fox
|
|
|
106
121
|
# However, if after is -1, it will be docked as the innermost bar just before
|
|
107
122
|
# the work-area, while if after is 0, if will be docked as the outermost bar.
|
|
108
123
|
#
|
|
109
|
-
def dock(docksite, before=nil); end
|
|
124
|
+
def dock(docksite, before=nil, notify=false); end
|
|
110
125
|
|
|
111
126
|
#
|
|
112
127
|
# Dock the bar against the given side, near the given position relative
|
|
113
128
|
# to the toolbar dock's origin.
|
|
114
129
|
#
|
|
115
|
-
def dock(docksite, local_x, local_y); end
|
|
130
|
+
def dock(docksite, local_x, local_y, notify); end
|
|
116
131
|
|
|
117
132
|
#
|
|
118
133
|
# Undock or float the bar.
|
|
119
134
|
# The initial position of the wet dock is a few pixels
|
|
120
135
|
# below and to the right of the original docked position.
|
|
121
136
|
#
|
|
122
|
-
def undock(root_x, root_y); end
|
|
137
|
+
def undock(root_x, root_y, notify=false); end
|
|
123
138
|
|
|
124
139
|
#
|
|
125
|
-
# Change set of sides
|
|
126
|
-
# The default is to allow docking on all sides.
|
|
140
|
+
# Change set of sides (a combination of +ALLOW_TOP+, +ALLOW_LEFT+, etc.),
|
|
141
|
+
# where docking is allowed. The default is to allow docking on all sides.
|
|
127
142
|
#
|
|
128
143
|
def allowedSides=(allowed); end
|
|
129
144
|
|
|
@@ -3,6 +3,13 @@ module Fox
|
|
|
3
3
|
# The dock handler exists as a common base class for tool bar grip
|
|
4
4
|
# and dock title.
|
|
5
5
|
#
|
|
6
|
+
# === Events
|
|
7
|
+
#
|
|
8
|
+
# The following messages are sent by FXDockHandler to its target:
|
|
9
|
+
#
|
|
10
|
+
# +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
|
|
11
|
+
# +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
|
|
12
|
+
#
|
|
6
13
|
class FXDockHandler < FXFrame
|
|
7
14
|
# Status line help text [String]
|
|
8
15
|
attr_accessor :helpText
|
data/rdoc-sources/FXDockSite.rb
CHANGED
|
@@ -21,6 +21,11 @@ module Fox
|
|
|
21
21
|
# a top level window using +LAYOUT_SIDE_TOP+ or +LAYOUT_SIDE_BOTTOM+, and
|
|
22
22
|
# vertically oriented if placed with +LAYOUT_SIDE_LEFT+ or +LAYOUT_SIDE_RIGHT+.
|
|
23
23
|
#
|
|
24
|
+
# === Dock Site Options
|
|
25
|
+
#
|
|
26
|
+
# +DOCKSITE_WRAP+:: Dockbars are wrapped to another galley when not enough space on current galley
|
|
27
|
+
# +DOCKSITE_NO_WRAP+:: Never wrap dockbars to another galley even if not enough space
|
|
28
|
+
#
|
|
24
29
|
class FXDockSite < FXPacker
|
|
25
30
|
#
|
|
26
31
|
# Construct a toolbar dock layout manager. Passing +LAYOUT_SIDE_TOP+ or +LAYOUT_SIDE_BOTTOM+
|
|
@@ -81,6 +86,19 @@ module Fox
|
|
|
81
86
|
# +bar+:: a reference to the removed dockbar [FXDockBar]
|
|
82
87
|
#
|
|
83
88
|
def undockToolBar(bar); end
|
|
89
|
+
|
|
90
|
+
#
|
|
91
|
+
# If _wrap_ is +true+, allow the wrapping of dockbars (i.e. set the
|
|
92
|
+
# +DOCKSITE_WRAP+ option.)
|
|
93
|
+
#
|
|
94
|
+
def wrapGalleys=(wrap); end
|
|
95
|
+
|
|
96
|
+
#
|
|
97
|
+
# Return +true+ if the +DOCKSITE_WRAP+ option is set, indicating that
|
|
98
|
+
# dockbars will be wrapped to another galley if there's not enough space on
|
|
99
|
+
# current galley.
|
|
100
|
+
#
|
|
101
|
+
def wrapGalleys?; end
|
|
84
102
|
end
|
|
85
103
|
end
|
|
86
104
|
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
module Fox
|
|
2
|
+
class FXExtentd
|
|
3
|
+
# Lower corner of this extent (an FXVec2d instance).
|
|
4
|
+
attr_reader :lower
|
|
5
|
+
|
|
6
|
+
# Upper corner of this extent (an FXVec2d instance).
|
|
7
|
+
attr_reader :upper
|
|
8
|
+
|
|
9
|
+
# Default constructor
|
|
10
|
+
def initialize; end
|
|
11
|
+
|
|
12
|
+
# Copy constructor
|
|
13
|
+
def initialize(ext); end
|
|
14
|
+
|
|
15
|
+
# Initialize from two vectors (where _lo_ and _hi_ are two
|
|
16
|
+
# FXVec2d instances).
|
|
17
|
+
def initialize(lo, hi); end
|
|
18
|
+
|
|
19
|
+
# Initialize from four numbers
|
|
20
|
+
def initialize(xlo, xhi, ylo, yhi); end
|
|
21
|
+
|
|
22
|
+
# Indexing with 0..1 (returns an FXVec2d instance).
|
|
23
|
+
def [](i); end
|
|
24
|
+
|
|
25
|
+
# Return width of box
|
|
26
|
+
def width; end
|
|
27
|
+
|
|
28
|
+
# Return height of box
|
|
29
|
+
def height; end
|
|
30
|
+
|
|
31
|
+
# Return length of longest side
|
|
32
|
+
def longest; end
|
|
33
|
+
|
|
34
|
+
# Return length of shortest side
|
|
35
|
+
def shortest; end
|
|
36
|
+
|
|
37
|
+
# Return length of diagonal
|
|
38
|
+
def diameter; end
|
|
39
|
+
|
|
40
|
+
# Return radius of box
|
|
41
|
+
def radius; end
|
|
42
|
+
|
|
43
|
+
# Compute diagonal vector (returns an FXVec2d)
|
|
44
|
+
def diagonal; end
|
|
45
|
+
|
|
46
|
+
# Return center of box (as an FXVec2d)
|
|
47
|
+
def center; end
|
|
48
|
+
|
|
49
|
+
# Return +true+ if empty
|
|
50
|
+
def empty?; end
|
|
51
|
+
|
|
52
|
+
# Return +true+ if box contains point (_x_, _y_)
|
|
53
|
+
def contains?(x, y); end
|
|
54
|
+
|
|
55
|
+
# Return +true+ if box contains point _p_ (an FXVec2d instance)
|
|
56
|
+
def contains?(p); end
|
|
57
|
+
|
|
58
|
+
# Return +true+ if box properly contains another box (where _ext_ is
|
|
59
|
+
# another FXExtentd instance).
|
|
60
|
+
def contains?(ext); end
|
|
61
|
+
|
|
62
|
+
# Include point (_x_, _y_) and return a reference to self.
|
|
63
|
+
def include!(x, y); end
|
|
64
|
+
|
|
65
|
+
# Include point _v_ (an FXVec2d instance) and return a reference to self.
|
|
66
|
+
def include!(v); end
|
|
67
|
+
|
|
68
|
+
# Include given range into extent (where _ext_ is another FXExtentd instance)
|
|
69
|
+
# and return a reference to self.
|
|
70
|
+
def include!(ext); end
|
|
71
|
+
|
|
72
|
+
# Return +true+ if this extent's bounds overlap with _other_ extent's bounds.
|
|
73
|
+
def overlap?(other); end
|
|
74
|
+
|
|
75
|
+
# Return corner number 0, 1, 2 or 3 (as a FXVec2d instance).
|
|
76
|
+
def corner(c); end
|
|
77
|
+
|
|
78
|
+
# Return a new FXExtentd that is the union of this extent and _other_.
|
|
79
|
+
def unite_with(other); end
|
|
80
|
+
|
|
81
|
+
# Return a new FXExtentd that is the intersection of this extent and _other_.
|
|
82
|
+
def intersect_with(other); end
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
|