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
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
module Fox
|
|
2
|
+
class FXExtentf
|
|
3
|
+
# Lower corner of this extent (an FXVec2f instance).
|
|
4
|
+
attr_reader :lower
|
|
5
|
+
|
|
6
|
+
# Upper corner of this extent (an FXVec2f 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
|
+
# FXVec2f 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 FXVec2f 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 FXVec2f)
|
|
44
|
+
def diagonal; end
|
|
45
|
+
|
|
46
|
+
# Return center of box (as an FXVec2f)
|
|
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 FXVec2f instance)
|
|
56
|
+
def contains?(p); end
|
|
57
|
+
|
|
58
|
+
# Return +true+ if box properly contains another box (where _ext_ is
|
|
59
|
+
# another FXExtentf 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 FXVec2f instance) and return a reference to self.
|
|
66
|
+
def include!(v); end
|
|
67
|
+
|
|
68
|
+
# Include given range into extent (where _ext_ is another FXExtentf 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 FXVec2f instance).
|
|
76
|
+
def corner(c); end
|
|
77
|
+
|
|
78
|
+
# Return a new FXExtentf that is the union of this extent and _other_.
|
|
79
|
+
def unite_with(other); end
|
|
80
|
+
|
|
81
|
+
# Return a new FXExtentf that is the intersection of this extent and _other_.
|
|
82
|
+
def intersect_with(other); end
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
|
|
@@ -107,6 +107,11 @@ module Fox
|
|
|
107
107
|
# Change pattern text for pattern number
|
|
108
108
|
def setPatternText(patno, text); end
|
|
109
109
|
|
|
110
|
+
#
|
|
111
|
+
# Return number of patterns
|
|
112
|
+
#
|
|
113
|
+
def numPatterns; end
|
|
114
|
+
|
|
110
115
|
#
|
|
111
116
|
# Change whether this file dialog allows pattern entry or not.
|
|
112
117
|
#
|
|
@@ -149,6 +154,12 @@ module Fox
|
|
|
149
154
|
# Return +true+ if read-only
|
|
150
155
|
def readOnly?; end
|
|
151
156
|
|
|
157
|
+
# Return +true+ if navigation allowed.
|
|
158
|
+
def navigationAllowed?; end
|
|
159
|
+
|
|
160
|
+
# Set navigation to allowed (+true+) or disallowed (+false+)
|
|
161
|
+
def navigationAllowed=(allowed); end
|
|
162
|
+
|
|
152
163
|
#
|
|
153
164
|
# Display a dialog box that allows the user to select a single existing file name
|
|
154
165
|
# for opening.
|
data/rdoc-sources/FXFileDict.rb
CHANGED
|
@@ -65,6 +65,9 @@ module Fox
|
|
|
65
65
|
#
|
|
66
66
|
class FXFileDict < FXDict
|
|
67
67
|
|
|
68
|
+
# Settings database [FXSettings]
|
|
69
|
+
attr_accessor :settings
|
|
70
|
+
|
|
68
71
|
# Current icon search path [FXIconDict]
|
|
69
72
|
attr_accessor :iconDict
|
|
70
73
|
|
|
@@ -96,6 +99,9 @@ module Fox
|
|
|
96
99
|
# +db+:: Settings database [FXSettings]
|
|
97
100
|
#
|
|
98
101
|
def initialize(app, db); end
|
|
102
|
+
return new FXRbFileDict(a,db);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
99
105
|
|
|
100
106
|
#
|
|
101
107
|
# Replace file association for the specified extension;
|
|
@@ -114,16 +120,10 @@ module Fox
|
|
|
114
120
|
#
|
|
115
121
|
def remove(ext); end
|
|
116
122
|
|
|
117
|
-
#
|
|
118
|
-
# Find file association for the specified extension already in dictionary
|
|
119
|
-
# and return a reference to it.
|
|
120
|
-
#
|
|
121
|
-
def find(ext); end
|
|
122
|
-
|
|
123
123
|
#
|
|
124
124
|
# Find file association from registry for the specified key.
|
|
125
125
|
#
|
|
126
|
-
def
|
|
126
|
+
def find(ext); end
|
|
127
127
|
|
|
128
128
|
# Returns a reference to the FXFileAssoc instance...
|
|
129
129
|
def findFileBinding(pathname); end
|
data/rdoc-sources/FXFileList.rb
CHANGED
|
@@ -53,6 +53,7 @@ module Fox
|
|
|
53
53
|
# settings. A number of messages can be sent to the File List to control the
|
|
54
54
|
# filter pattern, sort category, sorting order, case sensitivity, and hidden file
|
|
55
55
|
# display mode.
|
|
56
|
+
# The File list widget supports drags and drops of files.
|
|
56
57
|
#
|
|
57
58
|
# === File List options
|
|
58
59
|
#
|
|
@@ -61,6 +62,7 @@ module Fox
|
|
|
61
62
|
# +FILELIST_SHOWFILES+:: Show only files
|
|
62
63
|
# +FILELIST_SHOWIMAGES+:: Show preview of images
|
|
63
64
|
# +FILELIST_NO_OWN_ASSOC+:: Do not create associations for files
|
|
65
|
+
# +FILELIST_NO_PARENT+:: Suppress display of '.' and '..'
|
|
64
66
|
#
|
|
65
67
|
# === Message identifiers
|
|
66
68
|
#
|
|
@@ -105,6 +107,16 @@ module Fox
|
|
|
105
107
|
# Construct a file list
|
|
106
108
|
def initialize(p, tgt=nil, sel=0, opts=0, x=0, y=0, w=0, h=0) # :yields: theFileList
|
|
107
109
|
end
|
|
110
|
+
|
|
111
|
+
#
|
|
112
|
+
# Set the current file to _filename_.
|
|
113
|
+
# If _notify_ is +true+, a +SEL_CHANGED+ message is sent to the
|
|
114
|
+
# file list's message target after the current item has changed.
|
|
115
|
+
# If this change causes the selected item(s) to change (because
|
|
116
|
+
# the file list is operating in browse-select mode), +SEL_SELECTED+ and
|
|
117
|
+
# +SEL_DESELECTED+ may be sent to the message target as well.
|
|
118
|
+
#
|
|
119
|
+
def setCurrentFile(filename, notify=false); end
|
|
108
120
|
|
|
109
121
|
#
|
|
110
122
|
# Scan the current directory and update the items if needed, or if _force_ is +true+.
|
|
@@ -181,6 +193,16 @@ module Fox
|
|
|
181
193
|
# Return +true+ if the file list is showing preview images.
|
|
182
194
|
#
|
|
183
195
|
def imagesShown? ; end
|
|
196
|
+
|
|
197
|
+
#
|
|
198
|
+
# Return +true+ if parent directories are shown.
|
|
199
|
+
#
|
|
200
|
+
def parentDirsShown? ; end
|
|
201
|
+
|
|
202
|
+
#
|
|
203
|
+
# Set whether parent directories are shown to +true+ or +false+.
|
|
204
|
+
#
|
|
205
|
+
def parentDirsShown=(shown); end
|
|
184
206
|
end
|
|
185
207
|
end
|
|
186
208
|
|
|
@@ -33,6 +33,7 @@ module Fox
|
|
|
33
33
|
# +ID_HOME+:: x
|
|
34
34
|
# +ID_WORK+:: x
|
|
35
35
|
# +ID_BOOKMARK+:: x
|
|
36
|
+
# +ID_BOOKMENU+:: x
|
|
36
37
|
# +ID_VISIT+:: x
|
|
37
38
|
# +ID_NEW+:: x
|
|
38
39
|
# +ID_DELETE+:: x
|
|
@@ -123,6 +124,9 @@ module Fox
|
|
|
123
124
|
# Change pattern text for pattern number
|
|
124
125
|
def setPatternText(patno, text); end
|
|
125
126
|
|
|
127
|
+
# Return number of patterns.
|
|
128
|
+
def numPatterns; end
|
|
129
|
+
|
|
126
130
|
# Show read-only button.
|
|
127
131
|
def readOnlyShown=(shown); end
|
|
128
132
|
|
|
@@ -155,6 +159,12 @@ module Fox
|
|
|
155
159
|
#
|
|
156
160
|
def imagesShown? ; end
|
|
157
161
|
|
|
162
|
+
# Return +true+ if navigation allowed.
|
|
163
|
+
def navigationAllowed?; end
|
|
164
|
+
|
|
165
|
+
# Set navigation to allowed (+true+) or disallowed (+false+)
|
|
166
|
+
def navigationAllowed=(allowed); end
|
|
167
|
+
|
|
158
168
|
#
|
|
159
169
|
# Given filename pattern of the form "GIF Format (*.gif)",
|
|
160
170
|
# returns the pattern only, i.e. "*.gif" in this case.
|
|
@@ -329,9 +329,20 @@ module Fox
|
|
|
329
329
|
# Move _item_ under _father_ before _other_ item.
|
|
330
330
|
def moveItem(other, father, item); end
|
|
331
331
|
|
|
332
|
+
#
|
|
333
|
+
# Extract item and return a reference to it (without destroying it).
|
|
334
|
+
# If _notify_ is +true+, a +SEL_CHANGED+ message may be sent to the
|
|
335
|
+
# folding list's message target if the current item changes. If the
|
|
336
|
+
# selection changes, +SEL_SELECTED+ and +SEL_DESELECTED+ messages may
|
|
337
|
+
# also be sent to the message target.
|
|
338
|
+
#
|
|
339
|
+
def extractItem(item, notify=false); end
|
|
340
|
+
|
|
341
|
+
#
|
|
332
342
|
# Remove item.
|
|
333
343
|
# If _notify_ is +true+, a +SEL_DELETED+ message is sent to the list's message
|
|
334
344
|
# target before the item is removed.
|
|
345
|
+
#
|
|
335
346
|
def removeItem(item, notify=false);
|
|
336
347
|
|
|
337
348
|
# Remove items in range [_fromItem_, _toItem_] inclusively.
|
|
@@ -458,12 +469,12 @@ module Fox
|
|
|
458
469
|
# Collapse sub-tree rooted at _tree_.
|
|
459
470
|
# If _notify_ is +true+, a +SEL_COLLAPSED+ message is sent to the list's
|
|
460
471
|
# message target after the sub-tree is collapsed.
|
|
461
|
-
def
|
|
472
|
+
def collapseFolding(tree, notify=false); end
|
|
462
473
|
|
|
463
474
|
# Expand sub-tree rooted at _tree_.
|
|
464
475
|
# If _notify_ is +true+, a +SEL_EXPANDED+ message is sent to the list's
|
|
465
476
|
# message target after the sub-tree is expanded.
|
|
466
|
-
def
|
|
477
|
+
def expandFolding(tree, notify=false); end
|
|
467
478
|
|
|
468
479
|
# Change current item.
|
|
469
480
|
# If _notify_ is +true+, a +SEL_CHANGED+ message is sent to the list's
|
data/rdoc-sources/FXFont.rb
CHANGED
|
@@ -38,30 +38,55 @@ module Fox
|
|
|
38
38
|
#
|
|
39
39
|
# Font class
|
|
40
40
|
#
|
|
41
|
-
# === Font
|
|
41
|
+
# === Font pitch hints
|
|
42
42
|
#
|
|
43
|
-
#
|
|
44
|
-
#
|
|
45
|
-
# <tt>FONTPITCH_VARIABLE</tt>:: Variable pitch, proportional spacing
|
|
46
|
-
# <tt>FONTHINT_DONTCARE</tt>:: Don't care which font
|
|
47
|
-
# <tt>FONTHINT_DECORATIVE</tt>:: Fancy fonts
|
|
48
|
-
# <tt>FONTHINT_MODERN</tt>:: Monospace typewriter font
|
|
49
|
-
# <tt>FONTHINT_ROMAN</tt>:: Variable width times-like font, serif
|
|
50
|
-
# <tt>FONTHINT_SCRIPT</tt>:: Script or cursive
|
|
51
|
-
# <tt>FONTHINT_SWISS</tt>:: Helvetica/swiss type font, sans-serif
|
|
52
|
-
# <tt>FONTHINT_SYSTEM</tt>:: System font
|
|
53
|
-
# <tt>FONTHINT_X11</tt>:: X11 Font string
|
|
54
|
-
# <tt>FONTHINT_SCALABLE</tt>:: Scalable fonts
|
|
55
|
-
# <tt>FONTHINT_POLYMORPHIC</tt>:: Polymorphic fonts
|
|
43
|
+
# +Fixed+:: Fixed pitch, mono-spaced
|
|
44
|
+
# +Variable+:: Variable pitch, proportional spacing
|
|
56
45
|
#
|
|
57
|
-
# === Font
|
|
46
|
+
# === Font style hints
|
|
58
47
|
#
|
|
59
|
-
# +
|
|
60
|
-
# +
|
|
61
|
-
# +
|
|
62
|
-
# +
|
|
63
|
-
# +
|
|
64
|
-
# +
|
|
48
|
+
# +Decorative+:: Fancy fonts
|
|
49
|
+
# +Modern+:: Monospace typewriter font
|
|
50
|
+
# +Roman+:: Variable width times-like font, serif
|
|
51
|
+
# +Script+:: Script or cursive
|
|
52
|
+
# +Swiss+:: Helvetica/swiss type font, sans-serif
|
|
53
|
+
# +System+:: System font
|
|
54
|
+
# +X11+:: Raw X11 font string
|
|
55
|
+
# +Scalable+:: Scalable fonts
|
|
56
|
+
# +Polymorphic+:: Polymorphic fonts, e.g. parametric weight, slant, etc.
|
|
57
|
+
# +Rotatable+:: Rotatable fonts
|
|
58
|
+
#
|
|
59
|
+
# === Font slant options
|
|
60
|
+
#
|
|
61
|
+
# +ReverseOblique+:: Reversed oblique
|
|
62
|
+
# +ReverseItalic+:: Reversed italic
|
|
63
|
+
# +Straight+:: Straight, not slanted
|
|
64
|
+
# +Italic+:: Italics
|
|
65
|
+
# +Oblique+:: Oblique slant
|
|
66
|
+
#
|
|
67
|
+
# === Font weight options
|
|
68
|
+
#
|
|
69
|
+
# +Thin+:: Thin
|
|
70
|
+
# +ExtraLight+:: Extra light
|
|
71
|
+
# +Light+:: Light
|
|
72
|
+
# +Normal+:: Normal or regular weight
|
|
73
|
+
# +Medium+:: Medium bold face
|
|
74
|
+
# +DemiBold+:: Demi bold face
|
|
75
|
+
# +Bold+:: Bold face
|
|
76
|
+
# +ExtraBold+:: Extra
|
|
77
|
+
# +Black+:: Black
|
|
78
|
+
#
|
|
79
|
+
# === Condensed or expanded options
|
|
80
|
+
#
|
|
81
|
+
# +UltraCondensed+:: Ultra condensed printing
|
|
82
|
+
# +ExtraCondensed+:: Extra condensed
|
|
83
|
+
# +Condensed+:: Condensed
|
|
84
|
+
# +SemiCondensed+:: Semi-condensed
|
|
85
|
+
# +NonExpanded+:: Regular printing
|
|
86
|
+
# +SemiExpanded+:: Semi expanded
|
|
87
|
+
# +Expanded+:; Expanded
|
|
88
|
+
# +ExtraExpanded+:: Extra expanded
|
|
89
|
+
# +UltraExpanded+:: Ultra expanded
|
|
65
90
|
#
|
|
66
91
|
# === Font character set encoding
|
|
67
92
|
#
|
|
@@ -114,6 +139,8 @@ module Fox
|
|
|
114
139
|
# <tt>FONTENCODING_CP1258</tt>:: Windows Vietnam
|
|
115
140
|
# <tt>FONTENCODING_CP874</tt>:: Windows Thai
|
|
116
141
|
#
|
|
142
|
+
# <tt>FONTENCODING_UNICODE</tt>:: Unicode
|
|
143
|
+
#
|
|
117
144
|
# <tt>FONTENCODING_LATIN1</tt>:: same as <tt>FONTENCODING_ISO_8859_1</tt>, Latin 1 (West European)
|
|
118
145
|
# <tt>FONTENCODING_LATIN2</tt>:: same as <tt>FONTENCODING_ISO_8859_2</tt>, Latin 2 (East European)
|
|
119
146
|
# <tt>FONTENCODING_LATIN3</tt>:: same as <tt>FONTENCODING_ISO_8859_3</tt>, Latin 3 (South European)
|
|
@@ -140,41 +167,14 @@ module Fox
|
|
|
140
167
|
# <tt>FONTENCODING_BALTIC</tt>:: same as <tt>FONTENCODING_ISO_8859_13</tt>, Latin 7 (Baltic Rim)
|
|
141
168
|
# <tt>FONTENCODING_CELTIC</tt>:: same as <tt>FONTENCODING_ISO_8859_14, Latin 8 (Celtic)
|
|
142
169
|
#
|
|
143
|
-
# === Font weight
|
|
144
|
-
#
|
|
145
|
-
# +FONTWEIGHT_DONTCARE+:: Don't care about weight
|
|
146
|
-
# +FONTWEIGHT_THIN+:: Thin
|
|
147
|
-
# +FONTWEIGHT_EXTRALIGHT+:: Extra light
|
|
148
|
-
# +FONTWEIGHT_LIGHT+:: Light
|
|
149
|
-
# +FONTWEIGHT_NORMAL+:: Normal or regular weight
|
|
150
|
-
# +FONTWEIGHT_REGULAR+:: Normal or regular weight
|
|
151
|
-
# +FONTWEIGHT_MEDIUM+:: Medium bold face
|
|
152
|
-
# +FONTWEIGHT_DEMIBOLD+:: Demi bold face
|
|
153
|
-
# +FONTWEIGHT_BOLD+:: Bold face
|
|
154
|
-
# +FONTWEIGHT_EXTRABOLD+:: Extra
|
|
155
|
-
# +FONTWEIGHT_HEAVY+:: Heavy
|
|
156
|
-
# +FONTWEIGHT_BLACK+:: Black
|
|
157
|
-
#
|
|
158
|
-
# === Font relative setwidth
|
|
159
|
-
#
|
|
160
|
-
# +FONTSETWIDTH_DONTCARE+:: Don't care about set width
|
|
161
|
-
# +FONTSETWIDTH_ULTRACONDENSED+:: Ultra condensed printing
|
|
162
|
-
# +FONTSETWIDTH_EXTRACONDENSED+:: Extra condensed
|
|
163
|
-
# +FONTSETWIDTH_CONDENSED+:: Condensed
|
|
164
|
-
# +FONTSETWIDTH_NARROW+:: Narrow
|
|
165
|
-
# +FONTSETWIDTH_COMPRESSED+:: Compressed
|
|
166
|
-
# +FONTSETWIDTH_SEMICONDENSED+:: Semi-condensed
|
|
167
|
-
# +FONTSETWIDTH_MEDIUM+:: Medium printing
|
|
168
|
-
# +FONTSETWIDTH_NORMAL+:: Normal printing
|
|
169
|
-
# +FONTSETWIDTH_REGULAR+:: Regular printing
|
|
170
|
-
# +FONTSETWIDTH_SEMIEXPANDED+:: Semi expanded
|
|
171
|
-
# +FONTSETWIDTH_EXPANDED+:: Expanded
|
|
172
|
-
# +FONTSETWIDTH_WIDE+:: Wide
|
|
173
|
-
# +FONTSETWIDTH_EXTRAEXPANDED+:: Extra expanded
|
|
174
|
-
# +FONTSETWIDTH_ULTRAEXPANDED+:: Ultra expanded
|
|
175
|
-
|
|
176
170
|
class FXFont < FXId
|
|
177
171
|
|
|
172
|
+
# Family part of name [String]
|
|
173
|
+
attr_reader :family
|
|
174
|
+
|
|
175
|
+
# Foundry part of name [String]
|
|
176
|
+
attr_reader :foundry
|
|
177
|
+
|
|
178
178
|
# Font family name [String]
|
|
179
179
|
attr_reader :name
|
|
180
180
|
|
|
@@ -216,6 +216,9 @@ module Fox
|
|
|
216
216
|
|
|
217
217
|
# Font description [FXFontDesc]
|
|
218
218
|
attr_accessor :fontDesc
|
|
219
|
+
|
|
220
|
+
# Font angle [Integer]
|
|
221
|
+
attr_accessor :angle
|
|
219
222
|
|
|
220
223
|
# First character glyph in font [Integer]
|
|
221
224
|
attr_reader :minChar
|
|
@@ -260,7 +263,7 @@ module Fox
|
|
|
260
263
|
#
|
|
261
264
|
# ==== Parameters:
|
|
262
265
|
#
|
|
263
|
-
# +a+::
|
|
266
|
+
# +a+:: an application instance [FXApp]
|
|
264
267
|
# +face+:: font face name [String]
|
|
265
268
|
# +size+:: requested font size, in points [Integer]
|
|
266
269
|
# +weight+:: requested font weight [Integer]
|
|
@@ -268,7 +271,7 @@ module Fox
|
|
|
268
271
|
# +setWidth+:: requested font set width [Integer]
|
|
269
272
|
# +hints+:: font construction hints for font matching algorithm [Integer]
|
|
270
273
|
#
|
|
271
|
-
def initialize(a, face, size, weight=
|
|
274
|
+
def initialize(a, face, size, weight=FXFont::Normal, slant=Font::Straight, encoding=FONTENCODING_DEFAULT, setWidth=FXFont::NonExpanded, hints=0) # :yields: theFont
|
|
272
275
|
end
|
|
273
276
|
|
|
274
277
|
#
|
|
@@ -278,7 +281,7 @@ module Fox
|
|
|
278
281
|
#
|
|
279
282
|
# For example:
|
|
280
283
|
#
|
|
281
|
-
# "helvetica [bitstream],120,bold,
|
|
284
|
+
# "helvetica [bitstream],120,bold,italic,normal,iso8859-1,0"
|
|
282
285
|
#
|
|
283
286
|
# Typically, at least the font name, and size must be given for
|
|
284
287
|
# normal font matching. As a special case, raw X11 fonts can also be
|
|
@@ -286,10 +289,8 @@ module Fox
|
|
|
286
289
|
#
|
|
287
290
|
# "9x15bold"
|
|
288
291
|
#
|
|
289
|
-
#
|
|
290
|
-
#
|
|
291
|
-
# "[helvetica] 90 700 1 1 0 0"
|
|
292
|
-
#
|
|
292
|
+
# Note: use of the raw X11 fonts is stronly discouraged.
|
|
293
|
+
#
|
|
293
294
|
def initialize(a, string) # :yields: theFont
|
|
294
295
|
end
|
|
295
296
|
|
|
@@ -332,6 +333,11 @@ module Fox
|
|
|
332
333
|
#
|
|
333
334
|
def rightBearing(ch) ; end
|
|
334
335
|
|
|
336
|
+
#
|
|
337
|
+
# Calculate width of single wide character _ch_ in this font
|
|
338
|
+
#
|
|
339
|
+
def getCharWidth(ch); end
|
|
340
|
+
|
|
335
341
|
#
|
|
336
342
|
# Returns the width of given _text_ in this font.
|
|
337
343
|
#
|
|
@@ -345,7 +351,7 @@ module Fox
|
|
|
345
351
|
#
|
|
346
352
|
# List all fonts matching hints. Returns an array of FXFontDesc objects.
|
|
347
353
|
#
|
|
348
|
-
def FXFont.listFonts(face, weight=
|
|
354
|
+
def FXFont.listFonts(face, weight=0, slant=0, setWidth=0, encoding=0, hints=0)
|
|
349
355
|
end
|
|
350
356
|
end
|
|
351
357
|
end
|