fxruby 1.4.7 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/apes02.html +6 -6
- data/doc/apes03.html +11 -11
- data/doc/book.html +1 -1
- data/doc/build.html +65 -67
- data/doc/ch03s02.html +7 -7
- data/doc/ch03s03.html +18 -18
- data/doc/ch03s04.html +11 -11
- data/doc/ch03s05.html +14 -14
- data/doc/ch04s02.html +14 -14
- data/doc/ch04s03.html +15 -15
- data/doc/ch04s04.html +28 -28
- data/doc/ch05s02.html +49 -49
- data/doc/ch05s03.html +8 -8
- data/doc/clipboardtut.html +45 -57
- data/doc/cvs.html +10 -10
- data/doc/differences.html +4 -4
- data/doc/dragdroptut.html +50 -50
- data/doc/events.html +11 -11
- data/doc/examples.html +48 -48
- data/doc/gems.html +38 -38
- data/doc/goals.html +4 -4
- data/doc/implementation.html +4 -4
- data/doc/infosources.html +9 -9
- data/doc/library.html +19 -19
- data/doc/opengl.html +31 -31
- data/doc/pt01.html +1 -1
- data/doc/pt02.html +1 -1
- data/doc/scintilla.html +15 -15
- data/doc/todo.html +6 -6
- data/doc/tutorial1.html +34 -34
- data/examples/babelfish.rb +1 -1
- data/examples/bounce.rb +1 -1
- data/examples/browser.rb +2 -2
- data/examples/button.rb +1 -1
- data/examples/datatarget.rb +2 -2
- data/examples/dctest.rb +12 -12
- data/examples/dialog.rb +1 -1
- data/examples/dilbert.rb +2 -2
- data/examples/dirlist.rb +1 -1
- data/examples/dragdrop.rb +1 -1
- data/examples/dragsource.rb +1 -1
- data/examples/dropsite.rb +1 -1
- data/examples/foursplit.rb +1 -1
- data/examples/gltest.rb +2 -2
- data/examples/glviewer.rb +4 -4
- data/examples/groupbox.rb +22 -22
- data/examples/header.rb +1 -1
- data/examples/hello.rb +1 -1
- data/examples/hello2.rb +1 -1
- data/examples/iconlist.rb +1 -1
- data/examples/image.rb +2 -2
- data/examples/imageviewer.rb +1 -1
- data/examples/inputs.rb +1 -1
- data/examples/mditest.rb +2 -2
- data/examples/pig.rb +1 -1
- data/examples/raabrowser.rb +2 -2
- data/examples/ratio.rb +2 -2
- data/examples/scintilla-test.rb +2 -2
- data/examples/scribble-orig.rb +3 -3
- data/examples/scribble.rb +1 -1
- data/examples/shutter.rb +1 -1
- data/examples/splitter.rb +36 -36
- data/examples/styledtext.rb +2 -2
- data/examples/tabbook.rb +1 -1
- data/examples/table.rb +1 -1
- data/examples/textedit/commands.rb +2 -2
- data/examples/textedit/helpwindow.rb +1 -1
- data/examples/textedit/prefdialog.rb +1 -1
- data/examples/textedit/textedit.rb +5 -3
- data/ext/{fox14 → fox16}/FXRbApp.cpp +1 -1
- data/ext/{fox14 → fox16}/FXRbDataTarget.cpp +1 -1
- data/ext/{fox14 → fox16}/FXRbGLViewer.cpp +1 -1
- data/ext/{fox14 → fox16}/FXRuby.cpp +137 -39
- data/ext/{fox14 → fox16}/MANIFEST +0 -0
- data/ext/{fox14 → fox16}/core_wrap.cpp +1177 -659
- data/ext/{fox14 → fox16}/dc_wrap.cpp +110 -3
- data/ext/{fox14 → fox16}/dialogs_wrap.cpp +381 -153
- data/ext/{fox14 → fox16}/extconf.rb +8 -8
- data/ext/{fox14 → fox16}/frames_wrap.cpp +1590 -1219
- data/ext/{fox14 → fox16}/fx3d_wrap.cpp +1060 -403
- data/ext/{fox14 → fox16}/iconlist_wrap.cpp +80 -25
- data/ext/{fox14 → fox16}/icons_wrap.cpp +296 -316
- data/ext/{fox14 → fox16}/image_wrap.cpp +267 -153
- data/ext/{fox14 → fox16}/impl.cpp +29 -0
- data/ext/{fox14 → fox16}/include/FXMemoryBuffer.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRb4Splitter.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRb7Segment.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbAccelTable.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbApp.h +3 -3
- data/ext/{fox14 → fox16}/include/FXRbAppVirtuals.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbArrowButton.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbBMPIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbBMPImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbBitmap.h +23 -5
- data/ext/{fox14 → fox16}/include/FXRbBitmapFrame.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbBitmapView.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbBitmapVirtuals.h +12 -2
- data/ext/{fox14 → fox16}/include/FXRbButton.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbCURCursor.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbCanvas.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbCheckButton.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbChoiceBox.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbColorBar.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbColorDialog.h +1 -1
- data/ext/fox16/include/FXRbColorList.h +84 -0
- data/ext/fox16/include/FXRbColorRing.h +51 -0
- data/ext/{fox14 → fox16}/include/FXRbColorSelector.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbColorWell.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbColorWheel.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbComboBox.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbCommon.h +4 -1
- data/ext/{fox14 → fox16}/include/FXRbComposite.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbCursor.h +5 -5
- data/ext/{fox14 → fox16}/include/FXRbCursorVirtuals.h +2 -2
- data/ext/{fox14 → fox16}/include/FXRbDC.h +18 -0
- data/ext/{fox14 → fox16}/include/FXRbDCPrint.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbDCVirtuals.h +9 -0
- data/ext/{fox14 → fox16}/include/FXRbDCWindow.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbDataTarget.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDebugTarget.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDelegator.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDial.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDialogBox.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDialogBoxVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbDict.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDirBox.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDirDialog.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDirList.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDirSelector.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDockBar.h +13 -13
- data/ext/{fox14 → fox16}/include/FXRbDockBarVirtuals.h +3 -3
- data/ext/{fox14 → fox16}/include/FXRbDockHandler.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDockSite.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDockSiteVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbDockTitle.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDocument.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDragCorner.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDrawable.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDrawableVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbDriveBox.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbFileDialog.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbFileDict.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbFileDictVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbFileList.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbFileSelector.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbFoldingItemVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbFoldingList.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbFoldingListVirtuals.h +0 -0
- data/ext/fox16/include/FXRbFont.h +183 -0
- data/ext/{fox14 → fox16}/include/FXRbFontDialog.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbFontSelector.h +1 -1
- data/ext/fox16/include/FXRbFontVirtuals.h +55 -0
- data/ext/{fox14 → fox16}/include/FXRbFrame.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGIFCursor.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGIFIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGIFImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGLCanvas.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGLCanvasVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbGLContext.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGLObject.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGLObjectVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbGLShape.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGLShapeVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbGLViewer.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGLViewerVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbGLVisual.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGradientBar.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGroupBox.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbHeader.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbHeaderItemVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbHorizontalFrame.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbICOIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbICOImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbIconItemVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbIconList.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbIconListVirtuals.h +0 -0
- data/ext/fox16/include/FXRbIconSource.h +127 -0
- data/ext/fox16/include/FXRbIconSourceVirtuals.h +37 -0
- data/ext/{fox14 → fox16}/include/FXRbId.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbIdVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbImage.h +7 -7
- data/ext/{fox14 → fox16}/include/FXRbImageFrame.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbImageView.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbImageVirtuals.h +3 -3
- data/ext/{fox14 → fox16}/include/FXRbInputDialog.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbJPGIcon.h +2 -2
- data/ext/{fox14 → fox16}/include/FXRbJPGImage.h +2 -2
- data/ext/fox16/include/FXRbKnob.h +51 -0
- data/ext/{fox14 → fox16}/include/FXRbLabel.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbList.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbListBox.h +5 -5
- data/ext/{fox14 → fox16}/include/FXRbListBoxVirtuals.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbListItemVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbListVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbMDIButton.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMDIChild.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMDIChildVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbMDIClient.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMDIClientVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbMainWindow.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMatrix.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuBar.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuButton.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuCaption.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuCascade.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuCheck.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuCommand.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuPane.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuRadio.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuSeparator.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuTitle.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMessageBox.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbObject.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbObjectVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbOptionMenu.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPCXIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPCXImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPNGIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPNGImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPPMIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPPMImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPacker.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPicker.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPopup.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPopupVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbPrintDialog.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbProgressBar.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbProgressDialog.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbRGBIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbRGBImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbRadioButton.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbRealSlider.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbRealSpinner.h +5 -5
- data/ext/fox16/include/FXRbRealSpinnerVirtuals.h +3 -0
- data/ext/{fox14 → fox16}/include/FXRbRecentFiles.h +6 -3
- data/ext/{fox14 → fox16}/include/FXRbRegistry.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbReplaceDialog.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbRootWindow.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbRuler.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbScintilla.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbScrollArea.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbScrollAreaVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbScrollBar.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbScrollPane.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbScrollWindow.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbSearchDialog.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbSeparator.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbSettings.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbShell.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbShutter.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbShutterVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbSlider.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbSpinner.h +5 -5
- data/ext/{fox14 → fox16}/include/FXRbSpinnerVirtuals.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbSplashWindow.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbSplitter.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbSpring.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbStatusBar.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbStatusLine.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbStream.h +7 -7
- data/ext/{fox14 → fox16}/include/FXRbStreamVirtuals.h +3 -3
- data/ext/{fox14 → fox16}/include/FXRbStringDict.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbSwitcher.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTGAIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTGAImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTIFIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTIFImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTabBar.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTabBarVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbTabBook.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTabItem.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTable.h +9 -3
- data/ext/{fox14 → fox16}/include/FXRbTableItemVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbTableVirtuals.h +3 -0
- data/ext/fox16/include/FXRbText.h +187 -0
- data/ext/{fox14 → fox16}/include/FXRbTextField.h +1 -1
- data/ext/fox16/include/FXRbTextVirtuals.h +52 -0
- data/ext/{fox14 → fox16}/include/FXRbToggleButton.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbToolBar.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbToolBarGrip.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbToolBarShell.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbToolBarTab.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbToolTip.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTopWindow.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTopWindowVirtuals.h +0 -0
- data/ext/fox16/include/FXRbTranslator.h +61 -0
- data/ext/fox16/include/FXRbTranslatorVirtuals.h +4 -0
- data/ext/{fox14 → fox16}/include/FXRbTreeItemVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbTreeList.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTreeListBox.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTreeListBoxVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbTreeListVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbTriStateButton.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbVerticalFrame.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbVisual.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbWindow.h +27 -9
- data/ext/{fox14 → fox16}/include/FXRbWindowVirtuals.h +13 -4
- data/ext/{fox14 → fox16}/include/FXRbWizard.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbXBMIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbXBMImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbXPMIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbXPMImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRuby.h +43 -18
- data/ext/{fox14 → fox16}/include/impl.h +5 -0
- data/ext/{fox14 → fox16}/include/inlinestubs.h +29 -0
- data/ext/{fox14 → fox16}/label_wrap.cpp +319 -122
- data/ext/{fox14 → fox16}/layout_wrap.cpp +443 -153
- data/ext/{fox14 → fox16}/librb.c +0 -0
- data/ext/{fox14 → fox16}/list_wrap.cpp +660 -44
- data/ext/{fox14 → fox16}/markfuncs.cpp +38 -8
- data/ext/{fox14 → fox16}/mdi_wrap.cpp +253 -109
- data/ext/{fox14 → fox16}/menu_wrap.cpp +342 -146
- data/ext/{fox14 → fox16}/scintilla_wrap.cpp +58 -39
- data/ext/{fox14 → fox16}/table_wrap.cpp +294 -82
- data/ext/{fox14 → fox16}/text_wrap.cpp +203 -193
- data/ext/{fox14 → fox16}/treelist_wrap.cpp +125 -60
- data/ext/{fox14 → fox16}/ui_wrap.cpp +993 -714
- data/ext/{fox14 → fox16}/unregisterOwnedObjects.cpp +6 -1
- data/lib/{fox14 → fox16}/aliases.rb +119 -46
- data/lib/{fox14 → fox16}/calendar.rb +2 -2
- data/lib/{fox14 → fox16}/chore.rb +6 -22
- data/lib/{fox14 → fox16}/colors.rb +1 -1
- data/lib/{fox14 → fox16}/core.rb +122 -4
- data/lib/{fox14 → fox16}/dict.rb +0 -0
- data/lib/{fox14 → fox16}/execute_nonmodal.rb +0 -0
- data/lib/{fox14 → fox16}/glgroup.rb +4 -2
- data/lib/{fox14 → fox16}/glshapes.rb +1 -1
- data/lib/{fox14 → fox16}/input.rb +1 -1
- data/lib/{fox14 → fox16}/irb.rb +1 -1
- data/lib/{fox14 → fox16}/iterators.rb +1 -1
- data/lib/{fox14 → fox16}/keys.rb +2 -2
- data/lib/{fox14 → fox16}/missingdep.rb +1 -1
- data/lib/{fox14 → fox16}/pseudokeyboard.rb +1 -1
- data/lib/{fox14 → fox16}/pseudomouse.rb +1 -1
- data/lib/{fox14 → fox16}/responder.rb +1 -1
- data/lib/{fox14 → fox16}/responder2.rb +5 -5
- data/lib/{fox14 → fox16}/scintilla.rb +249 -12
- data/lib/{fox14 → fox16}/settings.rb +0 -0
- data/lib/{fox14 → fox16}/signal.rb +1 -1
- data/lib/{fox14 → fox16}/splashscreen.rb +2 -2
- data/lib/{fox14 → fox16}/timeout.rb +10 -37
- data/lib/{fox14 → fox16}/undolist.rb +2 -2
- data/lib/{fox14 → fox16}/version.rb +2 -2
- data/rdoc-sources/FX4Splitter.rb +24 -6
- data/rdoc-sources/FX7Segment.rb +6 -0
- data/rdoc-sources/FXAccelTable.rb +35 -0
- data/rdoc-sources/FXApp.rb +113 -1
- data/rdoc-sources/FXBMPIcon.rb +5 -0
- data/rdoc-sources/FXBMPImage.rb +5 -0
- data/rdoc-sources/FXBitmap.rb +23 -1
- data/rdoc-sources/FXCheckButton.rb +7 -0
- data/rdoc-sources/FXColorList.rb +55 -0
- data/rdoc-sources/FXColorRing.rb +49 -0
- data/rdoc-sources/FXColorWheel.rb +22 -2
- data/rdoc-sources/FXComboBox.rb +10 -0
- data/rdoc-sources/FXDC.rb +18 -0
- data/rdoc-sources/FXDial.rb +34 -1
- data/rdoc-sources/FXDirList.rb +1 -0
- data/rdoc-sources/FXDockBar.rb +21 -6
- data/rdoc-sources/FXDockHandler.rb +7 -0
- data/rdoc-sources/FXDockSite.rb +18 -0
- data/rdoc-sources/FXExtentd.rb +85 -0
- data/rdoc-sources/FXExtentf.rb +85 -0
- data/rdoc-sources/FXFileDialog.rb +11 -0
- data/rdoc-sources/FXFileDict.rb +7 -7
- data/rdoc-sources/FXFileList.rb +22 -0
- data/rdoc-sources/FXFileSelector.rb +10 -0
- data/rdoc-sources/FXFoldingList.rb +13 -2
- data/rdoc-sources/FXFont.rb +68 -62
- data/rdoc-sources/FXGIFIcon.rb +5 -0
- data/rdoc-sources/FXGIFImage.rb +5 -0
- data/rdoc-sources/FXGLViewer.rb +23 -0
- data/rdoc-sources/FXGradientBar.rb +10 -0
- data/rdoc-sources/FXHeader.rb +11 -0
- data/rdoc-sources/FXICOIcon.rb +5 -0
- data/rdoc-sources/FXICOImage.rb +5 -0
- data/rdoc-sources/FXIconList.rb +8 -0
- data/rdoc-sources/FXIconSource.rb +12 -12
- data/rdoc-sources/FXImage.rb +0 -4
- data/rdoc-sources/FXInputDialog.rb +19 -6
- data/rdoc-sources/FXJPGIcon.rb +5 -0
- data/rdoc-sources/FXJPGImage.rb +5 -0
- data/rdoc-sources/FXKnob.rb +76 -0
- data/rdoc-sources/FXList.rb +8 -0
- data/rdoc-sources/FXListBox.rb +7 -1
- data/rdoc-sources/FXMenuCaption.rb +3 -0
- data/rdoc-sources/FXMenuCheck.rb +2 -2
- data/rdoc-sources/FXMenuCommand.rb +1 -2
- data/rdoc-sources/FXMenuRadio.rb +5 -2
- data/rdoc-sources/FXOptionMenu.rb +7 -0
- data/rdoc-sources/FXPCXIcon.rb +5 -0
- data/rdoc-sources/FXPCXImage.rb +5 -0
- data/rdoc-sources/FXPNGIcon.rb +5 -0
- data/rdoc-sources/FXPNGImage.rb +5 -0
- data/rdoc-sources/FXPPMIcon.rb +5 -0
- data/rdoc-sources/FXPPMImage.rb +5 -0
- data/rdoc-sources/FXQuatd.rb +5 -12
- data/rdoc-sources/FXQuatf.rb +5 -7
- data/rdoc-sources/FXRGBIcon.rb +5 -0
- data/rdoc-sources/FXRGBImage.rb +5 -0
- data/rdoc-sources/FXRadioButton.rb +6 -0
- data/rdoc-sources/FXRanged.rb +3 -0
- data/rdoc-sources/FXRangef.rb +3 -0
- data/rdoc-sources/FXRealSlider.rb +3 -1
- data/rdoc-sources/FXRealSpinner.rb +11 -4
- data/rdoc-sources/FXRecentFiles.rb +10 -6
- data/rdoc-sources/FXRectangle.rb +12 -0
- data/rdoc-sources/FXRuler.rb +28 -0
- data/rdoc-sources/FXScrollBar.rb +9 -3
- data/rdoc-sources/FXScrollPane.rb +3 -0
- data/rdoc-sources/FXSettings.rb +26 -0
- data/rdoc-sources/FXSize.rb +65 -0
- data/rdoc-sources/FXSlider.rb +2 -0
- data/rdoc-sources/FXSphered.rb +12 -0
- data/rdoc-sources/FXSpheref.rb +12 -0
- data/rdoc-sources/FXSpinner.rb +8 -4
- data/rdoc-sources/FXTGAIcon.rb +5 -0
- data/rdoc-sources/FXTGAImage.rb +5 -0
- data/rdoc-sources/FXTIFIcon.rb +5 -0
- data/rdoc-sources/FXTIFImage.rb +5 -0
- data/rdoc-sources/FXTabBar.rb +5 -1
- data/rdoc-sources/FXTabBook.rb +3 -0
- data/rdoc-sources/FXTabItem.rb +7 -0
- data/rdoc-sources/FXTable.rb +96 -18
- data/rdoc-sources/FXText.rb +47 -12
- data/rdoc-sources/FXTextField.rb +6 -0
- data/rdoc-sources/FXToggleButton.rb +0 -1
- data/rdoc-sources/FXTopWindow.rb +44 -2
- data/rdoc-sources/FXTranslator.rb +32 -0
- data/rdoc-sources/FXTreeList.rb +8 -0
- data/rdoc-sources/FXTreeListBox.rb +20 -0
- data/rdoc-sources/{FXVec.rb → FXVec2d.rb} +28 -29
- data/rdoc-sources/FXVec2f.rb +96 -0
- data/rdoc-sources/FXVec3d.rb +113 -0
- data/rdoc-sources/FXVec3f.rb +113 -0
- data/rdoc-sources/FXVec4d.rb +129 -0
- data/rdoc-sources/FXVec4f.rb +129 -0
- data/rdoc-sources/FXWindow.rb +89 -14
- data/rdoc-sources/FXXBMIcon.rb +5 -0
- data/rdoc-sources/FXXBMImage.rb +5 -0
- data/rdoc-sources/FXXPMIcon.rb +5 -0
- data/rdoc-sources/FXXPMImage.rb +5 -0
- data/rdoc-sources/README.rdoc +1 -1
- data/tests/TC_FXAccelTable.rb +1 -1
- data/tests/TC_FXApp.rb +1 -1
- data/tests/TC_FXArc.rb +1 -1
- data/tests/TC_FXBMPIcon.rb +1 -1
- data/tests/TC_FXBMPImage.rb +1 -1
- data/tests/TC_FXButton.rb +1 -1
- data/tests/TC_FXCheckButton.rb +1 -1
- data/tests/TC_FXComboBox.rb +2 -1
- data/tests/TC_FXDC.rb +1 -1
- data/tests/TC_FXDCPrint.rb +1 -1
- data/tests/TC_FXDCWindow.rb +1 -1
- data/tests/TC_FXDataTarget.rb +1 -1
- data/tests/TC_FXDirList.rb +2 -2
- data/tests/TC_FXFileAssoc.rb +1 -1
- data/tests/TC_FXFileStream.rb +1 -1
- data/tests/TC_FXFont.rb +2 -2
- data/tests/TC_FXFontDesc.rb +15 -19
- data/tests/TC_FXGLGroup.rb +1 -1
- data/tests/TC_FXGLShape.rb +1 -1
- data/tests/TC_FXGLViewer.rb +1 -3
- data/tests/TC_FXGradientBar.rb +1 -1
- data/tests/TC_FXHeader.rb +2 -2
- data/tests/TC_FXIconDict.rb +1 -1
- data/tests/TC_FXIconList.rb +2 -2
- data/tests/TC_FXId.rb +2 -2
- data/tests/TC_FXImage.rb +1 -1
- data/tests/TC_FXLight.rb +1 -1
- data/tests/TC_FXList.rb +2 -12
- data/tests/TC_FXListBox.rb +2 -2
- data/tests/TC_FXMat4f.rb +1 -1
- data/tests/TC_FXMaterial.rb +2 -2
- data/tests/TC_FXMemoryStream.rb +1 -1
- data/tests/TC_FXMenuCheck.rb +1 -1
- data/tests/TC_FXMenuCommand.rb +15 -1
- data/tests/TC_FXMenuRadio.rb +1 -1
- data/tests/TC_FXPoint.rb +1 -1
- data/tests/TC_FXQuatf.rb +1 -1
- data/tests/TC_FXRadioButton.rb +1 -1
- data/tests/TC_FXRangef.rb +1 -1
- data/tests/TC_FXRectangle.rb +1 -1
- data/tests/TC_FXRegion.rb +1 -1
- data/tests/TC_FXRegistry.rb +1 -1
- data/tests/TC_FXScrollArea.rb +1 -1
- data/tests/TC_FXScrollWindow.rb +1 -1
- data/tests/TC_FXSegment.rb +1 -1
- data/tests/TC_FXSettings.rb +1 -1
- data/tests/TC_FXShell.rb +1 -1
- data/tests/TC_FXSize.rb +1 -1
- data/tests/TC_FXStream.rb +1 -1
- data/tests/TC_FXTable.rb +33 -1
- data/tests/TC_FXTableItem.rb +2 -2
- data/tests/TC_FXText.rb +2 -2
- data/tests/TC_FXTopWindow.rb +1 -1
- data/tests/TC_FXTreeList.rb +2 -2
- data/tests/TC_FXTreeListBox.rb +2 -2
- data/tests/TC_FXUndoList.rb +2 -2
- data/tests/TC_FXVec2d.rb +6 -6
- data/tests/TC_FXVec2f.rb +5 -5
- data/tests/TC_FXVec3d.rb +5 -5
- data/tests/TC_FXVec3f.rb +5 -5
- data/tests/TC_FXVec4f.rb +3 -3
- data/tests/TC_FXViewport.rb +1 -1
- data/tests/TC_FXXBMIcon.rb +1 -1
- data/tests/TC_FXXBMImage.rb +1 -1
- data/tests/TC_FXXPMIcon.rb +1 -1
- data/tests/TC_FXXPMImage.rb +1 -1
- data/tests/TC_Misc.rb +1 -1
- data/tests/TC_downcast.rb +1 -1
- data/tests/TS_All.rb +1 -2
- data/tests/stress1.rb +5 -5
- data/tests/stress2.rb +1 -1
- data/tests/stress3.rb +1 -1
- data/tests/testcase.rb +1 -1
- metadata +294 -280
- data/doc/changes.html +0 -433
- data/ext/fox14/include/FXRbFont.h +0 -70
- data/ext/fox14/include/FXRbIconSource.h +0 -127
- data/ext/fox14/include/FXRbIconSourceVirtuals.h +0 -37
- data/ext/fox14/include/FXRbRealSpinnerVirtuals.h +0 -3
- data/ext/fox14/include/FXRbText.h +0 -94
- data/ext/fox14/include/FXRbTextVirtuals.h +0 -9
- data/rdoc-sources/FXMat4.rb +0 -171
- data/rdoc-sources/FXVec4.rb +0 -91
@@ -1,5 +1,5 @@
|
|
1
1
|
/***********************************************************************
|
2
|
-
* $Id: unregisterOwnedObjects.cpp
|
2
|
+
* $Id: unregisterOwnedObjects.cpp 2305 2005-12-09 14:38:22Z lyle $
|
3
3
|
***********************************************************************/
|
4
4
|
|
5
5
|
/**
|
@@ -76,6 +76,11 @@ void FXRbList::unregisterOwnedObjects(FXList *self)
|
|
76
76
|
for (FXint i = 0; i < self->getNumItems(); i++) FXRbUnregisterRubyObj(self->getItem(i));
|
77
77
|
}
|
78
78
|
|
79
|
+
void FXRbColorList::unregisterOwnedObjects(FXColorList *self)
|
80
|
+
{
|
81
|
+
FXRbList::unregisterOwnedObjects(self);
|
82
|
+
}
|
83
|
+
|
79
84
|
void FXRbScrollWindow::unregisterOwnedObjects(FXScrollWindow *self)
|
80
85
|
{
|
81
86
|
FXRbScrollArea::unregisterOwnedObjects(self);
|
@@ -1,6 +1,63 @@
|
|
1
|
-
require '
|
1
|
+
require 'fox16'
|
2
2
|
|
3
3
|
module Fox
|
4
|
+
# Module methods
|
5
|
+
alias fxparseHotKey parseHotKey
|
6
|
+
alias fxparseAccel parseAccel
|
7
|
+
|
8
|
+
# Constants
|
9
|
+
FONTPITCH_DEFAULT = 0
|
10
|
+
FONTPITCH_FIXED = FXFont::Fixed
|
11
|
+
FONTPITCH_VARIABLE = FXFont::Variable
|
12
|
+
|
13
|
+
FONTHINT_DONTCARE = 0
|
14
|
+
FONTHINT_DECORATIVE = FXFont::Decorative
|
15
|
+
FONTHINT_MODERN = FXFont::Modern
|
16
|
+
FONTHINT_ROMAN = FXFont::Roman
|
17
|
+
FONTHINT_SCRIPT = FXFont::Script
|
18
|
+
FONTHINT_SWISS = FXFont::Swiss
|
19
|
+
FONTHINT_SYSTEM = FXFont::System
|
20
|
+
FONTHINT_X11 = FXFont::X11
|
21
|
+
FONTHINT_SCALABLE = FXFont::Scalable
|
22
|
+
FONTHINT_POLYMORPHIC = FXFont::Polymorphic
|
23
|
+
|
24
|
+
FONTSLANT_DONTCARE = 0
|
25
|
+
FONTSLANT_REVERSE_OBLIQUE = FXFont::ReverseOblique
|
26
|
+
FONTSLANT_REVERSE_ITALIC = FXFont::ReverseItalic
|
27
|
+
FONTSLANT_REGULAR = FXFont::Straight
|
28
|
+
FONTSLANT_ITALIC = FXFont::Italic
|
29
|
+
FONTSLANT_OBLIQUE = FXFont::Oblique
|
30
|
+
|
31
|
+
FONTWEIGHT_DONTCARE = 0
|
32
|
+
FONTWEIGHT_THIN = FXFont::Thin
|
33
|
+
FONTWEIGHT_EXTRALIGHT = FXFont::ExtraLight
|
34
|
+
FONTWEIGHT_LIGHT = FXFont::Light
|
35
|
+
FONTWEIGHT_NORMAL = FXFont::Normal
|
36
|
+
FONTWEIGHT_REGULAR = FXFont::Normal
|
37
|
+
FONTWEIGHT_MEDIUM = FXFont::Medium
|
38
|
+
FONTWEIGHT_DEMIBOLD = FXFont::DemiBold
|
39
|
+
FONTWEIGHT_BOLD = FXFont::Bold
|
40
|
+
FONTWEIGHT_EXTRABOLD = FXFont::ExtraBold
|
41
|
+
FONTWEIGHT_HEAVY = FXFont::Black
|
42
|
+
FONTWEIGHT_BLACK = FXFont::Black
|
43
|
+
|
44
|
+
FONTSETWIDTH_DONTCARE = 0
|
45
|
+
FONTSETWIDTH_ULTRACONDENSED = FXFont::UltraCondensed
|
46
|
+
FONTSETWIDTH_EXTRACONDENSED = FXFont::ExtraCondensed
|
47
|
+
FONTSETWIDTH_CONDENSED = FXFont::Condensed
|
48
|
+
FONTSETWIDTH_NARROW = FXFont::Condensed
|
49
|
+
FONTSETWIDTH_COMPRESSED = FXFont::Condensed
|
50
|
+
FONTSETWIDTH_SEMICONDENSED = FXFont::SemiCondensed
|
51
|
+
FONTSETWIDTH_MEDIUM = FXFont::NonExpanded
|
52
|
+
FONTSETWIDTH_NORMAL = FXFont::NonExpanded
|
53
|
+
FONTSETWIDTH_REGULAR = FXFont::NonExpanded
|
54
|
+
FONTSETWIDTH_SEMIEXPANDED = FXFont::SemiExpanded
|
55
|
+
FONTSETWIDTH_EXPANDED = FXFont::Expanded
|
56
|
+
FONTSETWIDTH_WIDE = FXFont::ExtraExpanded
|
57
|
+
FONTSETWIDTH_EXTRAEXPANDED = FXFont::ExtraExpanded
|
58
|
+
FONTSETWIDTH_ULTRAEXPANDED = FXFont::UltraExpanded
|
59
|
+
|
60
|
+
# Instance methods
|
4
61
|
class FX4Splitter
|
5
62
|
def topLeft # :nodoc:
|
6
63
|
getTopLeft()
|
@@ -46,45 +103,6 @@ module Fox
|
|
46
103
|
end
|
47
104
|
end
|
48
105
|
|
49
|
-
class FX7Segment
|
50
|
-
def text=(*args) # :nodoc:
|
51
|
-
setText(*args)
|
52
|
-
end
|
53
|
-
def text # :nodoc:
|
54
|
-
getText()
|
55
|
-
end
|
56
|
-
def textColor=(*args) # :nodoc:
|
57
|
-
setTextColor(*args)
|
58
|
-
end
|
59
|
-
def textColor # :nodoc:
|
60
|
-
getTextColor()
|
61
|
-
end
|
62
|
-
def cellWidth=(*args) # :nodoc:
|
63
|
-
setCellWidth(*args)
|
64
|
-
end
|
65
|
-
def cellWidth # :nodoc:
|
66
|
-
getCellWidth()
|
67
|
-
end
|
68
|
-
def cellHeight=(*args) # :nodoc:
|
69
|
-
setCellHeight(*args)
|
70
|
-
end
|
71
|
-
def cellHeight # :nodoc:
|
72
|
-
getCellHeight()
|
73
|
-
end
|
74
|
-
def thickness=(*args) # :nodoc:
|
75
|
-
setThickness(*args)
|
76
|
-
end
|
77
|
-
def thickness # :nodoc:
|
78
|
-
getThickness()
|
79
|
-
end
|
80
|
-
def justify=(*args) # :nodoc:
|
81
|
-
setJustify(*args)
|
82
|
-
end
|
83
|
-
def justify # :nodoc:
|
84
|
-
getJustify()
|
85
|
-
end
|
86
|
-
end
|
87
|
-
|
88
106
|
class FXAccelTable
|
89
107
|
def hasAccel?(*args) # :nodoc:
|
90
108
|
hasAccel(*args)
|
@@ -131,9 +149,6 @@ module Fox
|
|
131
149
|
def cursorWindow(*args) # :nodoc:
|
132
150
|
getCursorWindow(*args)
|
133
151
|
end
|
134
|
-
def focusWindow(*args) # :nodoc:
|
135
|
-
getFocusWindow(*args)
|
136
|
-
end
|
137
152
|
def modal?(*args) # :nodoc:
|
138
153
|
isModal(*args)
|
139
154
|
end
|
@@ -302,6 +317,15 @@ module Fox
|
|
302
317
|
def disableThreads # :nodoc:
|
303
318
|
self.threadsEnabled = false
|
304
319
|
end
|
320
|
+
def translator=(*args) # :nodoc:
|
321
|
+
setTranslator(*args)
|
322
|
+
end
|
323
|
+
def translator # :nodoc:
|
324
|
+
getTranslator()
|
325
|
+
end
|
326
|
+
def windowCount # :nodoc:
|
327
|
+
getWindowCount()
|
328
|
+
end
|
305
329
|
end
|
306
330
|
class FXArrowButton
|
307
331
|
def state(*args) # :nodoc:
|
@@ -1791,9 +1815,6 @@ module Fox
|
|
1791
1815
|
def current? # :nodoc:
|
1792
1816
|
isCurrent()
|
1793
1817
|
end
|
1794
|
-
def isShared # :nodoc:
|
1795
|
-
shared?
|
1796
|
-
end
|
1797
1818
|
end
|
1798
1819
|
|
1799
1820
|
class FXGLContext
|
@@ -3276,6 +3297,22 @@ module Fox
|
|
3276
3297
|
isCancelled(*args)
|
3277
3298
|
end
|
3278
3299
|
end
|
3300
|
+
class FXQuatd
|
3301
|
+
def FXQuatd.arc(*args)
|
3302
|
+
FXQuatd.new.arc!(*args)
|
3303
|
+
end
|
3304
|
+
def FXQuatd.lerp(*args)
|
3305
|
+
FXQuatd.new.lerp!(*args)
|
3306
|
+
end
|
3307
|
+
end
|
3308
|
+
class FXQuatf
|
3309
|
+
def FXQuatf.arc(*args)
|
3310
|
+
FXQuatf.new.arc!(*args)
|
3311
|
+
end
|
3312
|
+
def FXQuatf.lerp(*args)
|
3313
|
+
FXQuatf.new.lerp!(*args)
|
3314
|
+
end
|
3315
|
+
end
|
3279
3316
|
class FXRadioButton
|
3280
3317
|
def checkState # :nodoc:
|
3281
3318
|
getCheckState
|
@@ -3536,6 +3573,12 @@ module Fox
|
|
3536
3573
|
def position # :nodoc:
|
3537
3574
|
getPosition
|
3538
3575
|
end
|
3576
|
+
def contentSize=(*args) # :nodoc:
|
3577
|
+
setContentSize(*args)
|
3578
|
+
end
|
3579
|
+
def contentSize # :nodoc:
|
3580
|
+
getContentSize
|
3581
|
+
end
|
3539
3582
|
def documentSize=(*args) # :nodoc:
|
3540
3583
|
setDocumentSize(*args)
|
3541
3584
|
end
|
@@ -3626,6 +3669,12 @@ module Fox
|
|
3626
3669
|
def rulerStyle # :nodoc:
|
3627
3670
|
getRulerStyle
|
3628
3671
|
end
|
3672
|
+
def rulerAlignment=(*args) # :nodoc:
|
3673
|
+
setRulerAlignment(*args)
|
3674
|
+
end
|
3675
|
+
def rulerAlignment # :nodoc:
|
3676
|
+
getRulerAlignment
|
3677
|
+
end
|
3629
3678
|
def textColor=(*args) # :nodoc:
|
3630
3679
|
setTextColor(*args)
|
3631
3680
|
end
|
@@ -5202,6 +5251,30 @@ module Fox
|
|
5202
5251
|
getTipText(*args)
|
5203
5252
|
end
|
5204
5253
|
end
|
5254
|
+
class FXVec2d
|
5255
|
+
alias len length
|
5256
|
+
alias len2 length2
|
5257
|
+
end
|
5258
|
+
class FXVec2f
|
5259
|
+
alias len length
|
5260
|
+
alias len2 length2
|
5261
|
+
end
|
5262
|
+
class FXVec3d
|
5263
|
+
alias len length
|
5264
|
+
alias len2 length2
|
5265
|
+
end
|
5266
|
+
class FXVec3f
|
5267
|
+
alias len length
|
5268
|
+
alias len2 length2
|
5269
|
+
end
|
5270
|
+
class FXVec4d
|
5271
|
+
alias len length
|
5272
|
+
alias len2 length2
|
5273
|
+
end
|
5274
|
+
class FXVec4f
|
5275
|
+
alias len length
|
5276
|
+
alias len2 length2
|
5277
|
+
end
|
5205
5278
|
class FXVisual
|
5206
5279
|
def flags(*args) # :nodoc:
|
5207
5280
|
getFlags(*args)
|
@@ -1,11 +1,9 @@
|
|
1
|
-
require '
|
2
|
-
require 'ostruct'
|
1
|
+
require 'fox16'
|
3
2
|
|
4
3
|
module Fox
|
5
4
|
class FXApp
|
6
5
|
|
7
6
|
alias addChoreOrig addChore # :nodoc:
|
8
|
-
alias removeChoreOrig removeChore # :nodoc:
|
9
7
|
|
10
8
|
#
|
11
9
|
# Add a idle processing message to be sent to a target object when
|
@@ -30,11 +28,12 @@ module Fox
|
|
30
28
|
# ... handle the chore ...
|
31
29
|
# }
|
32
30
|
#
|
33
|
-
# All of these return a reference to an
|
34
|
-
# #removeChore if it is necessary to remove the chore
|
31
|
+
# All of these return a reference to an opaque FXChore instance that
|
32
|
+
# can be passed to #removeChore if it is necessary to remove the chore
|
33
|
+
# before it fires.
|
35
34
|
#
|
36
35
|
def addChore(*args, &block)
|
37
|
-
tgt, sel
|
36
|
+
tgt, sel = nil, 0
|
38
37
|
if args.length > 0
|
39
38
|
if args[0].respond_to? :call
|
40
39
|
tgt = FXPseudoTarget.new
|
@@ -46,22 +45,7 @@ module Fox
|
|
46
45
|
tgt = FXPseudoTarget.new
|
47
46
|
tgt.pconnect(SEL_CHORE, nil, block)
|
48
47
|
end
|
49
|
-
addChoreOrig(tgt, sel
|
50
|
-
OpenStruct.new({ "tgt" => tgt, "sel" => sel })
|
51
|
-
end
|
52
|
-
|
53
|
-
#
|
54
|
-
# Remove idle processing chore.
|
55
|
-
#
|
56
|
-
def removeChore(chore)
|
57
|
-
removeChoreOrig(chore.tgt, chore.sel)
|
58
|
-
end
|
59
|
-
|
60
|
-
#
|
61
|
-
# Return +true+ if given chore has been set, otherwise return +false+.
|
62
|
-
#
|
63
|
-
def hasChore?(chore)
|
64
|
-
hasChore(chore.tgt, chore.sel)
|
48
|
+
addChoreOrig(tgt, sel)
|
65
49
|
end
|
66
50
|
end
|
67
51
|
end
|
data/lib/{fox14 → fox16}/core.rb
RENAMED
@@ -84,6 +84,67 @@ module Fox
|
|
84
84
|
end
|
85
85
|
end
|
86
86
|
|
87
|
+
class FXDockBar
|
88
|
+
# Allow docking on the specified side, where _side_ is one of the +ALLOW+
|
89
|
+
# constants listed above.
|
90
|
+
def allowSide(side)
|
91
|
+
self.allowedSides = self.allowedSides | side
|
92
|
+
end
|
93
|
+
|
94
|
+
# Disallow docking on the specified side, where _side_ is one of the
|
95
|
+
# +ALLOW+ constants listed above.
|
96
|
+
def disallowSide(side)
|
97
|
+
self.allowedSides = self.allowedSides & ~side
|
98
|
+
end
|
99
|
+
|
100
|
+
# Return +true+ if docking is allowed on the specified side, where _side_
|
101
|
+
# is one of the +ALLOW+ constants listed above.
|
102
|
+
#
|
103
|
+
def allowedSide?(side)
|
104
|
+
(allowedSides & side) != 0
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
class FXFileDialog
|
109
|
+
# Allow navigation for this file dialog
|
110
|
+
def allowNavigation
|
111
|
+
self.navigationAllowed = true
|
112
|
+
end
|
113
|
+
|
114
|
+
# Disallow navigation for this file dialog
|
115
|
+
def disallowNavigation
|
116
|
+
self.navigationAllowed = false
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
120
|
+
class FXFileList
|
121
|
+
#
|
122
|
+
# Show parent directories.
|
123
|
+
#
|
124
|
+
def showParentDirs
|
125
|
+
self.parentDirsShown = true
|
126
|
+
end
|
127
|
+
|
128
|
+
#
|
129
|
+
# Hide parent directories
|
130
|
+
#
|
131
|
+
def hideParentDirs
|
132
|
+
self.parentDirsShown = false
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
class FXFileSelector
|
137
|
+
# Allow navigation for this file selector
|
138
|
+
def allowNavigation
|
139
|
+
self.navigationAllowed = true
|
140
|
+
end
|
141
|
+
|
142
|
+
# Disallow navigation for this file selector
|
143
|
+
def disallowNavigation
|
144
|
+
self.navigationAllowed = false
|
145
|
+
end
|
146
|
+
end
|
147
|
+
|
87
148
|
class FXHeader
|
88
149
|
#
|
89
150
|
# Returns true if the specified header item's arrow points
|
@@ -212,13 +273,13 @@ module Fox
|
|
212
273
|
end
|
213
274
|
end
|
214
275
|
|
215
|
-
#
|
276
|
+
# Returns an array containing all child windows of this window
|
216
277
|
def children
|
217
278
|
kids = []
|
218
279
|
each_child { |kid| kids << kid }
|
219
280
|
kids
|
220
281
|
end
|
221
|
-
|
282
|
+
|
222
283
|
# Return +true+ if this window (self) comes before sibling window _other_.
|
223
284
|
def before?(other)
|
224
285
|
FXWindow.before?(other)
|
@@ -238,6 +299,15 @@ module Fox
|
|
238
299
|
def linkAfter(other)
|
239
300
|
reparent(self.parent, other.next)
|
240
301
|
end
|
302
|
+
|
303
|
+
# Setting visible to +true+ calls #show, setting it to +false+ calls #hide.
|
304
|
+
def visible=(vis)
|
305
|
+
if vis
|
306
|
+
show
|
307
|
+
else
|
308
|
+
hide
|
309
|
+
end
|
310
|
+
end
|
241
311
|
end
|
242
312
|
|
243
313
|
#
|
@@ -366,6 +436,54 @@ module Fox
|
|
366
436
|
end
|
367
437
|
end
|
368
438
|
|
439
|
+
class FXComboTableItem < FXTableItem
|
440
|
+
#
|
441
|
+
# Construct new combobox table item
|
442
|
+
#
|
443
|
+
def initialize(text, ic=nil, ptr=nil)
|
444
|
+
super(nil, ic, ptr)
|
445
|
+
self.selections = text
|
446
|
+
end
|
447
|
+
|
448
|
+
# Create input control for editing this item
|
449
|
+
def getControlFor(table)
|
450
|
+
combo = FXComboBox.new(table, 1, nil, 0, COMBOBOX_STATIC, 0, 0, 0, 0,
|
451
|
+
table.marginLeft, table.marginRight,
|
452
|
+
table.marginTop, table.marginBottom)
|
453
|
+
combo.create
|
454
|
+
combo.justify = justify
|
455
|
+
combo.font = table.font
|
456
|
+
combo.backColor = table.backColor
|
457
|
+
combo.textColor = table.textColor
|
458
|
+
combo.selBackColor = table.selBackColor
|
459
|
+
combo.selTextColor = table.selTextColor
|
460
|
+
combo.fillItems(selections)
|
461
|
+
combo.text = label
|
462
|
+
combo.numVisible = [20, combo.numItems].min
|
463
|
+
combo
|
464
|
+
end
|
465
|
+
|
466
|
+
# Set value from input control
|
467
|
+
def setFromControl(comboBox)
|
468
|
+
self.text = comboBox.text
|
469
|
+
end
|
470
|
+
|
471
|
+
# Set selections as an array of strings
|
472
|
+
def selections=(strings)
|
473
|
+
@selections = strings
|
474
|
+
if @selections.empty?
|
475
|
+
self.text = nil
|
476
|
+
else
|
477
|
+
self.text = @selections[0]
|
478
|
+
end
|
479
|
+
end
|
480
|
+
|
481
|
+
# Return selections
|
482
|
+
def selections
|
483
|
+
@selections
|
484
|
+
end
|
485
|
+
end
|
486
|
+
|
369
487
|
class FXMenuCheck
|
370
488
|
# Return +true+ if this menu check button is in the checked state.
|
371
489
|
def checked?
|
@@ -477,7 +595,7 @@ module Fox
|
|
477
595
|
#
|
478
596
|
# Append _numColumns_ columns to the right of the table..
|
479
597
|
# If _notify_ is +true+, a <tt>SEL_INSERTED</tt> message is sent to the
|
480
|
-
# table�s message target for each cell that is inserted.
|
598
|
+
# table�s message target for each cell that is inserted.
|
481
599
|
#
|
482
600
|
def appendColumns(numColumns=1, notify=false)
|
483
601
|
insertColumns(self.numColumns, numColumns, notify)
|
@@ -486,7 +604,7 @@ module Fox
|
|
486
604
|
#
|
487
605
|
# Append _numRows_ rows to the bottom of the table..
|
488
606
|
# If _notify_ is +true+, a <tt>SEL_INSERTED</tt> message is sent to the
|
489
|
-
# table�s message target for each cell that is inserted.
|
607
|
+
# table�s message target for each cell that is inserted.
|
490
608
|
#
|
491
609
|
def appendRows(numRows=1, notify=false)
|
492
610
|
insertRows(self.numRows, numRows, notify)
|