fxruby 1.2.6 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ChangeLog +0 -90
- data/doc/apes02.html +2 -2
- data/doc/apes03.html +1 -1
- data/doc/book.html +1 -1
- data/doc/build.html +26 -26
- data/doc/ch03s02.html +1 -2
- data/doc/ch03s03.html +1 -2
- data/doc/ch03s04.html +1 -2
- data/doc/ch03s05.html +1 -2
- data/doc/changes.html +12 -7
- data/doc/cvs.html +2 -2
- data/doc/differences.html +3 -3
- data/doc/gems.html +44 -44
- data/doc/implementation.html +1 -1
- data/doc/library.html +5 -5
- data/doc/opengl.html +5 -5
- data/doc/pt02.html +1 -1
- data/doc/scintilla.html +6 -6
- data/doc/tutorial1.html +8 -15
- data/examples/babelfish.rb +6 -16
- data/examples/bounce.rb +1 -1
- data/examples/browser.rb +1 -1
- data/examples/button.rb +1 -1
- data/examples/datatarget.rb +2 -2
- data/examples/dctest.rb +1 -1
- data/examples/dialog.rb +1 -1
- data/examples/dilbert.rb +2 -2
- data/examples/dirlist.rb +1 -1
- data/examples/dragdrop.rb +1 -1
- data/examples/dragsource.rb +1 -1
- data/examples/dropsite.rb +1 -1
- data/examples/foursplit.rb +1 -1
- data/examples/gltest.rb +2 -2
- data/examples/glviewer.rb +4 -4
- data/examples/groupbox.rb +2 -2
- data/examples/header.rb +3 -3
- data/examples/hello.rb +1 -1
- data/examples/hello2.rb +1 -1
- data/examples/iconlist.rb +16 -1
- data/examples/image.rb +2 -2
- data/examples/imageviewer.rb +1 -1
- data/examples/inputs.rb +1 -1
- data/examples/mditest.rb +2 -2
- data/examples/pig.rb +1 -1
- data/examples/raabrowser.rb +2 -2
- data/examples/ratio.rb +2 -2
- data/examples/scintilla-test.rb +2 -2
- data/examples/scribble-orig.rb +3 -3
- data/examples/scribble.rb +1 -1
- data/examples/shutter.rb +1 -1
- data/examples/splitter.rb +1 -1
- data/examples/styledtext.rb +2 -2
- data/examples/tabbook.rb +1 -1
- data/examples/table.rb +1 -1
- data/ext/{fox12 → fox14}/FXRbApp.cpp +7 -13
- data/ext/{fox12 → fox14}/FXRbDataTarget.cpp +5 -1
- data/ext/{fox12 → fox14}/FXRbGLViewer.cpp +1 -1
- data/ext/{fox12 → fox14}/FXRuby.cpp +49 -14
- data/ext/{fox12 → fox14}/MANIFEST +0 -0
- data/ext/{fox12 → fox14}/core_wrap.cpp +1098 -390
- data/ext/{fox12 → fox14}/dc_wrap.cpp +61 -1
- data/ext/{fox12 → fox14}/dialogs_wrap.cpp +2293 -939
- data/ext/{fox12 → fox14}/extconf.rb +8 -8
- data/ext/{fox12 → fox14}/frames_wrap.cpp +1396 -395
- data/ext/{fox12 → fox14}/fx3d_wrap.cpp +884 -363
- data/ext/{fox12 → fox14}/iconlist_wrap.cpp +338 -117
- data/ext/{fox12 → fox14}/icons_wrap.cpp +668 -61
- data/ext/{fox12 → fox14}/image_wrap.cpp +245 -164
- data/ext/{fox12 → fox14}/impl.cpp +58 -2
- data/ext/{fox12 → fox14}/include/FXMemoryBuffer.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRb4Splitter.h +1 -1
- data/ext/fox14/include/FXRb7Segment.h +51 -0
- data/ext/{fox12 → fox14}/include/FXRbAccelTable.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbApp.h +1 -2
- data/ext/{fox12 → fox14}/include/FXRbAppVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbArrowButton.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbBMPIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbBMPImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbBitmap.h +5 -5
- data/ext/{fox12 → fox14}/include/FXRbBitmapFrame.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbBitmapView.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbBitmapVirtuals.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbButton.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbCURCursor.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbCanvas.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbCheckButton.h +1 -1
- data/ext/fox14/include/FXRbChoiceBox.h +56 -0
- data/ext/{fox12 → fox14}/include/FXRbColorBar.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbColorDialog.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbColorSelector.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbColorWell.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbColorWheel.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbComboBox.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbCommon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbComposite.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbCursor.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbCursorVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbDC.h +25 -1
- data/ext/{fox12 → fox14}/include/FXRbDCPrint.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDCVirtuals.h +12 -0
- data/ext/{fox12 → fox14}/include/FXRbDCWindow.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDataTarget.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDebugTarget.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDelegator.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDial.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDialogBox.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDialogBoxVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbDict.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDirBox.h +2 -1
- data/ext/{fox12 → fox14}/include/FXRbDirDialog.h +4 -1
- data/ext/{fox12 → fox14}/include/FXRbDirList.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDirSelector.h +1 -1
- data/ext/fox14/include/FXRbDockBar.h +86 -0
- data/ext/fox14/include/FXRbDockBarVirtuals.h +10 -0
- data/ext/fox14/include/FXRbDockHandler.h +51 -0
- data/ext/fox14/include/FXRbDockSite.h +85 -0
- data/ext/fox14/include/FXRbDockSiteVirtuals.h +13 -0
- data/ext/fox14/include/FXRbDockTitle.h +51 -0
- data/ext/{fox12 → fox14}/include/FXRbDocument.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDragCorner.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDrawable.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDrawableVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbDriveBox.h +2 -1
- data/ext/{fox12 → fox14}/include/FXRbFileDialog.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbFileDict.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbFileDictVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbFileList.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbFileSelector.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbFoldingItemVirtuals.h +2 -5
- data/ext/{fox12 → fox14}/include/FXRbFoldingList.h +98 -15
- data/ext/fox14/include/FXRbFoldingListVirtuals.h +43 -0
- data/ext/{fox12 → fox14}/include/FXRbFont.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbFontDialog.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbFontSelector.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbFrame.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGIFCursor.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGIFIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGIFImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGLCanvas.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGLCanvasVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbGLContext.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGLObject.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGLObjectVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbGLShape.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGLShapeVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbGLViewer.h +7 -1
- data/ext/{fox12 → fox14}/include/FXRbGLViewerVirtuals.h +4 -0
- data/ext/{fox12 → fox14}/include/FXRbGLVisual.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGradientBar.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGroupBox.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbHeader.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbHeaderItemVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbHorizontalFrame.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbICOIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbICOImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbIconItemVirtuals.h +2 -5
- data/ext/{fox12 → fox14}/include/FXRbIconList.h +33 -15
- data/ext/{fox12 → fox14}/include/FXRbIconListVirtuals.h +14 -0
- data/ext/fox14/include/FXRbIconSource.h +127 -0
- data/ext/fox14/include/FXRbIconSourceVirtuals.h +37 -0
- data/ext/{fox12 → fox14}/include/FXRbId.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbIdVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbImage.h +5 -5
- data/ext/{fox12 → fox14}/include/FXRbImageFrame.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbImageView.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbImageVirtuals.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbInputDialog.h +4 -1
- data/ext/{fox12 → fox14}/include/FXRbJPGIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbJPGImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbLabel.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbList.h +29 -11
- data/ext/{fox12 → fox14}/include/FXRbListBox.h +12 -1
- data/ext/fox14/include/FXRbListBoxVirtuals.h +4 -0
- data/ext/{fox12 → fox14}/include/FXRbListItemVirtuals.h +1 -4
- data/ext/{fox12 → fox14}/include/FXRbListVirtuals.h +12 -0
- data/ext/{fox12 → fox14}/include/FXRbMDIButton.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMDIChild.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMDIChildVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbMDIClient.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMDIClientVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbMainWindow.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMatrix.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuBar.h +2 -2
- data/ext/{fox12 → fox14}/include/FXRbMenuButton.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuCaption.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuCascade.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuCheck.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuCommand.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuPane.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuRadio.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuSeparator.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuTitle.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMessageBox.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbObject.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbObjectVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbOptionMenu.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPCXIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPCXImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPNGIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPNGImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPPMIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPPMImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPacker.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPicker.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPopup.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPopupVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbPrintDialog.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbProgressBar.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbProgressDialog.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRGBIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRGBImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRadioButton.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRealSlider.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRealSpinner.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRealSpinnerVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbRecentFiles.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRegistry.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbReplaceDialog.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRootWindow.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRuler.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbScintilla.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbScrollArea.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbScrollAreaVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbScrollBar.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbScrollPane.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbScrollWindow.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbSearchDialog.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbSeparator.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbSettings.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbShell.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbShutter.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbShutterVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbSlider.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbSpinner.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbSpinnerVirtuals.h +0 -0
- data/ext/fox14/include/FXRbSplashWindow.h +57 -0
- data/ext/{fox12 → fox14}/include/FXRbSplitter.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbSpring.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbStatusBar.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbStatusLine.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbStream.h +3 -3
- data/ext/{fox12 → fox14}/include/FXRbStreamVirtuals.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbStringDict.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbSwitcher.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTGAIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTGAImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTIFIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTIFImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTabBar.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTabBarVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbTabBook.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTabItem.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTable.h +96 -36
- data/ext/{fox12 → fox14}/include/FXRbTableItemVirtuals.h +24 -3
- data/ext/{fox12 → fox14}/include/FXRbTableVirtuals.h +19 -6
- data/ext/{fox12 → fox14}/include/FXRbText.h +2 -2
- data/ext/{fox12 → fox14}/include/FXRbTextField.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTextVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbToggleButton.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbToolBar.h +2 -19
- data/ext/{fox12 → fox14}/include/FXRbToolBarGrip.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbToolBarShell.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbToolBarTab.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbToolTip.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTopWindow.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTopWindowVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbTreeItemVirtuals.h +2 -2
- data/ext/{fox12 → fox14}/include/FXRbTreeList.h +33 -9
- data/ext/{fox12 → fox14}/include/FXRbTreeListBox.h +12 -1
- data/ext/fox14/include/FXRbTreeListBoxVirtuals.h +4 -0
- data/ext/{fox12 → fox14}/include/FXRbTreeListVirtuals.h +12 -0
- data/ext/{fox12 → fox14}/include/FXRbTriStateButton.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbVerticalFrame.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbVisual.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbWindow.h +35 -5
- data/ext/{fox12 → fox14}/include/FXRbWindowVirtuals.h +17 -1
- data/ext/{fox12 → fox14}/include/FXRbWizard.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbXBMIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbXBMImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbXPMIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbXPMImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRuby.h +78 -7
- data/ext/{fox12 → fox14}/include/impl.h +7 -0
- data/ext/{fox12 → fox14}/include/inlinestubs.h +58 -2
- data/ext/{fox12 → fox14}/label_wrap.cpp +524 -68
- data/ext/{fox12 → fox14}/layout_wrap.cpp +1025 -90
- data/ext/{fox12 → fox14}/librb.c +0 -0
- data/ext/{fox12 → fox14}/list_wrap.cpp +328 -234
- data/ext/{fox12 → fox14}/markfuncs.cpp +29 -4
- data/ext/{fox12 → fox14}/mdi_wrap.cpp +553 -99
- data/ext/{fox12 → fox14}/menu_wrap.cpp +967 -404
- data/ext/{fox12 → fox14}/scintilla_wrap.cpp +754 -635
- data/ext/{fox12 → fox14}/table_wrap.cpp +501 -284
- data/ext/{fox12 → fox14}/text_wrap.cpp +765 -629
- data/ext/{fox12 → fox14}/treelist_wrap.cpp +859 -661
- data/ext/{fox12 → fox14}/ui_wrap.cpp +3025 -627
- data/ext/{fox12 → fox14}/unregisterOwnedObjects.cpp +1 -1
- data/lib/{fox12 → fox14}/aliases.rb +252 -45
- data/lib/{fox12 → fox14}/calendar.rb +2 -2
- data/lib/{fox12 → fox14}/chore.rb +1 -1
- data/lib/{fox12 → fox14}/colors.rb +1 -1
- data/lib/{fox12 → fox14}/core.rb +126 -52
- data/lib/{fox12 → fox14}/dict.rb +0 -0
- data/lib/{fox12 → fox14}/execute_nonmodal.rb +0 -0
- data/lib/{fox12 → fox14}/glgroup.rb +1 -1
- data/lib/{fox12 → fox14}/glshapes.rb +1 -1
- data/lib/{fox12 → fox14}/input.rb +1 -1
- data/lib/{fox12 → fox14}/irb.rb +1 -1
- data/lib/{fox12 → fox14}/iterators.rb +1 -1
- data/lib/{fox12 → fox14}/keys.rb +1 -1
- data/lib/{fox12 → fox14}/missingdep.rb +1 -1
- data/lib/{fox12 → fox14}/pseudokeyboard.rb +1 -1
- data/lib/{fox12 → fox14}/pseudomouse.rb +1 -1
- data/lib/{fox12 → fox14}/responder.rb +1 -1
- data/lib/{fox12 → fox14}/responder2.rb +5 -5
- data/lib/{fox12 → fox14}/scintilla.rb +0 -0
- data/lib/{fox12 → fox14}/settings.rb +0 -0
- data/lib/{fox12 → fox14}/signal.rb +1 -1
- data/lib/{fox12 → fox14}/splashscreen.rb +2 -2
- data/lib/{fox12 → fox14}/timeout.rb +1 -1
- data/lib/{fox12 → fox14}/undolist.rb +2 -2
- data/lib/{fox12 → fox14}/version.rb +2 -2
- data/rdoc-sources/FX7Segment.rb +48 -0
- data/rdoc-sources/FXApp.rb +51 -31
- data/rdoc-sources/FXBMPIcon.rb +18 -1
- data/rdoc-sources/FXBMPImage.rb +5 -0
- data/rdoc-sources/FXBitmap.rb +18 -3
- data/rdoc-sources/FXBitmapFrame.rb +3 -1
- data/rdoc-sources/FXBitmapView.rb +4 -1
- data/rdoc-sources/FXButton.rb +16 -0
- data/rdoc-sources/FXCheckButton.rb +25 -1
- data/rdoc-sources/FXChoiceBox.rb +82 -0
- data/rdoc-sources/FXColorBar.rb +6 -1
- data/rdoc-sources/FXColorDialog.rb +1 -0
- data/rdoc-sources/FXColorWell.rb +14 -6
- data/rdoc-sources/FXColorWheel.rb +6 -4
- data/rdoc-sources/FXComboBox.rb +53 -5
- data/rdoc-sources/FXCursor.rb +2 -2
- data/rdoc-sources/FXDC.rb +36 -2
- data/rdoc-sources/FXDial.rb +10 -4
- data/rdoc-sources/FXDirBox.rb +7 -1
- data/rdoc-sources/FXDirDialog.rb +33 -0
- data/rdoc-sources/FXDirList.rb +8 -3
- data/rdoc-sources/FXDirSelector.rb +36 -2
- data/rdoc-sources/FXDockBar.rb +136 -0
- data/rdoc-sources/FXDockHandler.rb +19 -0
- data/rdoc-sources/FXDockSite.rb +86 -0
- data/rdoc-sources/FXDockTitle.rb +26 -0
- data/rdoc-sources/FXFileDialog.rb +33 -0
- data/rdoc-sources/FXFileDict.rb +29 -56
- data/rdoc-sources/FXFileList.rb +39 -16
- data/rdoc-sources/FXFileSelector.rb +28 -2
- data/rdoc-sources/FXFileStream.rb +3 -0
- data/rdoc-sources/FXFoldingList.rb +104 -62
- data/rdoc-sources/FXFont.rb +2 -9
- data/rdoc-sources/FXFrame.rb +7 -1
- data/rdoc-sources/FXGIFCursor.rb +17 -5
- data/rdoc-sources/FXGIFIcon.rb +5 -0
- data/rdoc-sources/FXGIFImage.rb +5 -0
- data/rdoc-sources/FXHeader.rb +24 -4
- data/rdoc-sources/FXICOIcon.rb +10 -0
- data/rdoc-sources/FXICOImage.rb +5 -0
- data/rdoc-sources/FXIconList.rb +37 -13
- data/rdoc-sources/FXIconSource.rb +100 -0
- data/rdoc-sources/FXImage.rb +8 -2
- data/rdoc-sources/FXInputDialog.rb +6 -0
- data/rdoc-sources/FXJPGIcon.rb +13 -0
- data/rdoc-sources/FXJPGImage.rb +8 -0
- data/rdoc-sources/FXLabel.rb +4 -1
- data/rdoc-sources/FXList.rb +19 -9
- data/rdoc-sources/FXListBox.rb +22 -4
- data/rdoc-sources/FXMDIChild.rb +21 -2
- data/rdoc-sources/FXMDIClient.rb +15 -11
- data/rdoc-sources/FXMainWindow.rb +7 -1
- data/rdoc-sources/FXMemoryStream.rb +2 -0
- data/rdoc-sources/FXMenuBar.rb +1 -1
- data/rdoc-sources/FXMessageBox.rb +17 -7
- data/rdoc-sources/FXObject.rb +7 -1
- data/rdoc-sources/FXPCXIcon.rb +10 -0
- data/rdoc-sources/FXPCXImage.rb +5 -0
- data/rdoc-sources/FXPNGIcon.rb +15 -2
- data/rdoc-sources/FXPNGImage.rb +8 -0
- data/rdoc-sources/FXPPMIcon.rb +10 -0
- data/rdoc-sources/FXPPMImage.rb +5 -0
- data/rdoc-sources/FXQuatd.rb +1 -1
- data/rdoc-sources/FXQuatf.rb +1 -1
- data/rdoc-sources/FXRGBIcon.rb +12 -2
- data/rdoc-sources/FXRGBImage.rb +5 -0
- data/rdoc-sources/FXRegistry.rb +19 -2
- data/rdoc-sources/FXRuler.rb +47 -5
- data/rdoc-sources/FXScrollArea.rb +4 -4
- data/rdoc-sources/FXScrollPane.rb +3 -1
- data/rdoc-sources/FXSeparator.rb +20 -10
- data/rdoc-sources/FXSettings.rb +3 -3
- data/rdoc-sources/FXShell.rb +2 -1
- data/rdoc-sources/FXShutter.rb +7 -2
- data/rdoc-sources/FXSphered.rb +5 -2
- data/rdoc-sources/FXSpheref.rb +5 -2
- data/rdoc-sources/FXSplashWindow.rb +31 -0
- data/rdoc-sources/FXSplitter.rb +2 -1
- data/rdoc-sources/FXStream.rb +11 -2
- data/rdoc-sources/FXTGAIcon.rb +12 -2
- data/rdoc-sources/FXTGAImage.rb +5 -0
- data/rdoc-sources/FXTIFIcon.rb +15 -2
- data/rdoc-sources/FXTIFImage.rb +8 -0
- data/rdoc-sources/FXTable.rb +92 -15
- data/rdoc-sources/FXText.rb +11 -2
- data/rdoc-sources/FXTextField.rb +6 -2
- data/rdoc-sources/FXToolBar.rb +5 -65
- data/rdoc-sources/FXToolBarGrip.rb +5 -10
- data/rdoc-sources/FXToolBarTab.rb +8 -3
- data/rdoc-sources/FXTopWindow.rb +4 -0
- data/rdoc-sources/FXTreeList.rb +56 -50
- data/rdoc-sources/FXTreeListBox.rb +49 -30
- data/rdoc-sources/FXWindow.rb +30 -11
- data/rdoc-sources/FXXBMIcon.rb +10 -0
- data/rdoc-sources/FXXBMImage.rb +5 -0
- data/rdoc-sources/FXXPMIcon.rb +11 -1
- data/rdoc-sources/FXXPMImage.rb +5 -0
- data/rdoc-sources/README.rdoc +1 -1
- data/tests/TC_FXBMPIcon.rb +15 -0
- data/tests/TC_FXBMPImage.rb +15 -0
- data/tests/TC_FXFont.rb +0 -10
- data/tests/TC_FXXBMIcon.rb +15 -0
- data/tests/TC_FXXBMImage.rb +15 -0
- data/tests/TC_FXXPMIcon.rb +15 -0
- data/tests/TC_FXXPMImage.rb +15 -0
- data/web/downloads.html +3 -1
- data/web/home.html +3 -1
- metadata +290 -268
- data/ANNOUNCE +0 -25
- data/examples/mditest2.rb +0 -195
- data/ext/fox12/include/FXRbToolBarVirtuals.h +0 -6
- data/lib/fox12/dialogs.rb +0 -72
- data/tests/TC_FXSettings.rb +0 -34
- data/tests/doit.rb +0 -5
|
@@ -25,6 +25,12 @@ module Fox
|
|
|
25
25
|
def initialize(owner, caption, label, ic=nil, opts=INPUTDIALOG_STRING, x=0, y=0, w=0, h=0) # :yields: theInputDialog
|
|
26
26
|
end
|
|
27
27
|
|
|
28
|
+
#
|
|
29
|
+
# Construct free-floating input dialog box with given caption, icon, and prompt text.
|
|
30
|
+
#
|
|
31
|
+
def initialize(anApp, caption, label, ic=nil, opts=INPUTDIALOG_STRING, x=0, y=0, w=0, h=0) # :yields: theInputDialog
|
|
32
|
+
end
|
|
33
|
+
|
|
28
34
|
#
|
|
29
35
|
# Change limits (where _lo_ and _hi_ are numbers).
|
|
30
36
|
#
|
data/rdoc-sources/FXJPGIcon.rb
CHANGED
|
@@ -4,6 +4,14 @@ module Fox
|
|
|
4
4
|
#
|
|
5
5
|
class FXJPGIcon < FXIcon
|
|
6
6
|
|
|
7
|
+
#
|
|
8
|
+
# Return the suggested file extension for this image type ("jpg").
|
|
9
|
+
#
|
|
10
|
+
def FXJPGIcon.fileExt; end
|
|
11
|
+
|
|
12
|
+
# Return +true+ if JPEG image file format is supported.
|
|
13
|
+
def FXJPGIcon.supported? ; end
|
|
14
|
+
|
|
7
15
|
# Image quality setting [Integer]
|
|
8
16
|
attr_accessor :quality
|
|
9
17
|
|
|
@@ -48,5 +56,10 @@ module Fox
|
|
|
48
56
|
# +quality+:: image quality [Integer]
|
|
49
57
|
#
|
|
50
58
|
def Fox.fxsaveJPG(store, data, transp, width, height, quality); end
|
|
59
|
+
|
|
60
|
+
#
|
|
61
|
+
# Return +true+ if _store_ (an FXStream instance) contains a JPEG image.
|
|
62
|
+
#
|
|
63
|
+
def Fox.fxcheckJPG(store); end
|
|
51
64
|
end
|
|
52
65
|
|
data/rdoc-sources/FXJPGImage.rb
CHANGED
|
@@ -4,6 +4,14 @@ module Fox
|
|
|
4
4
|
#
|
|
5
5
|
class FXJPGImage < FXImage
|
|
6
6
|
|
|
7
|
+
#
|
|
8
|
+
# Return the suggested file extension for this image type ("jpg").
|
|
9
|
+
#
|
|
10
|
+
def FXJPGImage.fileExt; end
|
|
11
|
+
|
|
12
|
+
# Return +true+ if JPEG image file format is supported.
|
|
13
|
+
def FXJPGImage.supported? ; end
|
|
14
|
+
|
|
7
15
|
# Image quality
|
|
8
16
|
attr_accessor :quality
|
|
9
17
|
|
data/rdoc-sources/FXLabel.rb
CHANGED
|
@@ -2,7 +2,10 @@ module Fox
|
|
|
2
2
|
#
|
|
3
3
|
# A label widget can be used to place a text and/or icon for
|
|
4
4
|
# explanation purposes. The text label may have an optional tooltip
|
|
5
|
-
# and/or help string.
|
|
5
|
+
# and/or help string. Icon and label are placed relative to the widget
|
|
6
|
+
# using the justfication options, and relative to each other as determined
|
|
7
|
+
# by the icon relationship options. A large number of arrangements is
|
|
8
|
+
# possible.
|
|
6
9
|
#
|
|
7
10
|
# === Justification modes
|
|
8
11
|
#
|
data/rdoc-sources/FXList.rb
CHANGED
|
@@ -25,9 +25,6 @@ module Fox
|
|
|
25
25
|
# Indicates whether this item is draggable [Boolean]
|
|
26
26
|
attr_writer :draggable
|
|
27
27
|
|
|
28
|
-
# Indicates whether this item owns its icons [Boolean]
|
|
29
|
-
attr_writer :iconOwned
|
|
30
|
-
|
|
31
28
|
# Initialize
|
|
32
29
|
def initialize(text, icon=nil, data=nil) # :yields: theListItem
|
|
33
30
|
end
|
|
@@ -44,9 +41,6 @@ module Fox
|
|
|
44
41
|
# Return +true+ if this item is draggable
|
|
45
42
|
def draggable?() ; end
|
|
46
43
|
|
|
47
|
-
# Return +true+ if this icon is owned
|
|
48
|
-
def iconOwned?() ; end
|
|
49
|
-
|
|
50
44
|
# Return the width of this item for a specified list
|
|
51
45
|
def getWidth(list) ; end
|
|
52
46
|
|
|
@@ -174,6 +168,14 @@ module Fox
|
|
|
174
168
|
# Returns the integer index of the replaced item.
|
|
175
169
|
def setItem(index, text, icon=nil, data=nil, notify=false) ; end
|
|
176
170
|
|
|
171
|
+
#
|
|
172
|
+
# Fill list by appending items from array of strings, and return the number
|
|
173
|
+
# items added.
|
|
174
|
+
# If _notify_ is +true+, a +SEL_INSERTED+ message is sent to the list's
|
|
175
|
+
# message target after the item is added.
|
|
176
|
+
#
|
|
177
|
+
def fillItems(strings, icon=nil, ptr=nil, notify=false); end
|
|
178
|
+
|
|
177
179
|
# Insert a new (possibly subclassed) _item_ at the given _index_, e.g.
|
|
178
180
|
#
|
|
179
181
|
# list.insertItem(1, FXListItem.new("blinky"))
|
|
@@ -265,8 +267,16 @@ module Fox
|
|
|
265
267
|
# Return item hit code: 0 no hit; 1 hit the icon; 2 hit the text
|
|
266
268
|
def hitItem(index, x, y) ; end
|
|
267
269
|
|
|
268
|
-
#
|
|
269
|
-
#
|
|
270
|
+
#
|
|
271
|
+
# Search items by name, beginning from item start. If the start
|
|
272
|
+
# item is -1 the search will start at the first item in the list.
|
|
273
|
+
# Flags may be SEARCH_FORWARD or SEARCH_BACKWARD to control the
|
|
274
|
+
# search direction; this can be combined with SEARCH_NOWRAP or SEARCH_WRAP
|
|
275
|
+
# to control whether the search wraps at the start or end of the list.
|
|
276
|
+
# The option SEARCH_IGNORECASE causes a case-insensitive match. Finally,
|
|
277
|
+
# passing SEARCH_PREFIX causes searching for a prefix of the item name.
|
|
278
|
+
# Return -1 if no matching item is found.
|
|
279
|
+
#
|
|
270
280
|
def findItem(text, start=-1, flags=SEARCH_FORWARD|SEARCH_WRAP) ; end
|
|
271
281
|
|
|
272
282
|
#
|
|
@@ -305,7 +315,7 @@ module Fox
|
|
|
305
315
|
#
|
|
306
316
|
# Raises IndexError if _index_ is out of bounds.
|
|
307
317
|
#
|
|
308
|
-
def setItemIcon(index, icon) ; end
|
|
318
|
+
def setItemIcon(index, icon, owned=false) ; end
|
|
309
319
|
|
|
310
320
|
#
|
|
311
321
|
# Return item icon, if any. This is equivalent to:
|
data/rdoc-sources/FXListBox.rb
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
module Fox
|
|
2
2
|
#
|
|
3
|
-
# List Box
|
|
3
|
+
# The List Box is a control to select one of a list of options. It looks
|
|
4
|
+
# similar to a Combo Box except that List Box yields integer numbers only.
|
|
5
|
+
# When an option is selected, List Box will send an SEL_COMMAND with the
|
|
6
|
+
# index of the opton. While manipulating the list, it may send SEL_CHANGED
|
|
7
|
+
# messages to indicate which option the cursor is hovering over.
|
|
8
|
+
# The List Box is able to receive ID_GETINTVALUE and ID_SETINTVALUE which
|
|
9
|
+
# will retrieve the current option or change the selected option.
|
|
4
10
|
#
|
|
5
11
|
# === Events
|
|
6
12
|
#
|
|
@@ -77,6 +83,12 @@ module Fox
|
|
|
77
83
|
#
|
|
78
84
|
def setItem(index, text, icon=nil, ptr=nil); end
|
|
79
85
|
|
|
86
|
+
#
|
|
87
|
+
# Fill list by appending items from array of strings, and return the number
|
|
88
|
+
# items added.
|
|
89
|
+
#
|
|
90
|
+
def fillItems(strings, icon=nil, ptr=nil); end
|
|
91
|
+
|
|
80
92
|
#
|
|
81
93
|
# Insert a new item at index.
|
|
82
94
|
# Raises IndexError if _index_ is out of bounds.
|
|
@@ -106,8 +118,14 @@ module Fox
|
|
|
106
118
|
def clearItems(); end
|
|
107
119
|
|
|
108
120
|
#
|
|
109
|
-
# Search items
|
|
110
|
-
#
|
|
121
|
+
# Search items by name, beginning from item start. If the start
|
|
122
|
+
# item is -1 the search will start at the first item in the list.
|
|
123
|
+
# Flags may be SEARCH_FORWARD or SEARCH_BACKWARD to control the
|
|
124
|
+
# search direction; this can be combined with SEARCH_NOWRAP or SEARCH_WRAP
|
|
125
|
+
# to control whether the search wraps at the start or end of the list.
|
|
126
|
+
# The option SEARCH_IGNORECASE causes a case-insensitive match. Finally,
|
|
127
|
+
# passing SEARCH_PREFIX causes searching for a prefix of the item name.
|
|
128
|
+
# Return -1 if no matching item is found.
|
|
111
129
|
#
|
|
112
130
|
def findItem(text, start=-1, flags=SEARCH_FORWARD|SEARCH_WRAP); end
|
|
113
131
|
|
|
@@ -127,7 +145,7 @@ module Fox
|
|
|
127
145
|
# Set icon for specified item to _icon_.
|
|
128
146
|
# Raises IndexError if _index_ is out of bounds.
|
|
129
147
|
#
|
|
130
|
-
def setItemIcon(index, icon); end
|
|
148
|
+
def setItemIcon(index, icon, owned=false); end
|
|
131
149
|
|
|
132
150
|
#
|
|
133
151
|
# Return icon for specified item.
|
data/rdoc-sources/FXMDIChild.rb
CHANGED
|
@@ -1,7 +1,26 @@
|
|
|
1
1
|
module Fox
|
|
2
2
|
#
|
|
3
|
-
# The MDI child window contains the application
|
|
4
|
-
#
|
|
3
|
+
# The MDI child window contains the application work area in a Multiple Document
|
|
4
|
+
# Interface application. GUI Controls are connected to the MDI child via delegation
|
|
5
|
+
# through the MDI client, which forwards messages it receives to the active MDI child.
|
|
6
|
+
# The MDI child itself tries to further delegate messages to its single content window,
|
|
7
|
+
# and if not handled there, to its target object.
|
|
8
|
+
# When the MDI child is maximized, it sends a SEL_MAXIMIZE message; when the MDI
|
|
9
|
+
# child is minimized, it sends a SEL_MINIMIZE message. When it is restored, it
|
|
10
|
+
# sends a SEL_RESTORE message to its target. The MDI child also notifies its
|
|
11
|
+
# target when it becomes the active MDI child, via the SEL_SELECTED message.
|
|
12
|
+
# The void* in the SEL_SELECTED message refers to the previously active MDI child,
|
|
13
|
+
# if any. When an MDI child ceases to be the active one, a SEL_DESELECTED message
|
|
14
|
+
# is sent. The void* in the SEL_DESELECTED message refers to the newly activated
|
|
15
|
+
# MDI child, if any. Thus, interception of SEL_SELECTED and SEL_DESELECTED allows
|
|
16
|
+
# the target object to determine whether the user switched between MDI windows of
|
|
17
|
+
# the same document (target) or between MDI windows belonging to the same document.
|
|
18
|
+
# When the MDI child is closed, it sends a SEL_CLOSE message to its target.
|
|
19
|
+
# The target has an opportunity to object to the closing; if the MDI child should
|
|
20
|
+
# not be closed, it should return 1 (objection). If the MDI child should be closed,
|
|
21
|
+
# the target can either just return 0 or simply not handle the SEL_CLOSE message.
|
|
22
|
+
# The SEL_UPDATE message can be used to modify the MDI child's title (via
|
|
23
|
+
# ID_SETSTRINGVALUE), and window icon (via ID_SETICONVALUE).
|
|
5
24
|
#
|
|
6
25
|
# === Events
|
|
7
26
|
#
|
data/rdoc-sources/FXMDIClient.rb
CHANGED
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
module Fox
|
|
2
2
|
#
|
|
3
|
-
# The MDI client window manages a number of MDI child windows in
|
|
4
|
-
#
|
|
5
|
-
# MDI
|
|
6
|
-
#
|
|
7
|
-
# the
|
|
8
|
-
#
|
|
9
|
-
#
|
|
10
|
-
#
|
|
11
|
-
#
|
|
12
|
-
#
|
|
13
|
-
#
|
|
3
|
+
# The MDI client window manages a number of MDI child windows in a multiple-document
|
|
4
|
+
# interface (MDI) application. MDI child windows usually receive messages from the GUI controls
|
|
5
|
+
# by delegation via the MDI client. This is accomplished by making the MDI client window
|
|
6
|
+
# the target for most GUI controls. The MDI client filters out messages intented for itself,
|
|
7
|
+
# and delegates the remaining messages to its currently active MDI child, if any.
|
|
8
|
+
# If you use the auto-gray or auto-hide feature available in some GUI controls, these
|
|
9
|
+
# controls can be automatically grayed out or hidden when there is no active MDI child.
|
|
10
|
+
# When delegating messages via MDI client to MDI child windows of different types, care
|
|
11
|
+
# should be taken that message ID's do not overlap, so that all message ID's only map to
|
|
12
|
+
# the intented handlers no matter which MDI child window type is active.
|
|
13
|
+
# The MDI client sends a SEL_CHANGED message to its target when the active MDI child is
|
|
14
|
+
# switched, with the void # pointer refering to the new MDI child.
|
|
15
|
+
# A MDI Window selection dialog can be brought up through the ID_MDI_OVER_X messages;
|
|
16
|
+
# a menu button connected to the MDI client with the ID_MDI_OVER_X message will be
|
|
17
|
+
# automatically grayed out if there are less than X MDI child windows.
|
|
14
18
|
#
|
|
15
19
|
# === Events
|
|
16
20
|
#
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
module Fox
|
|
2
2
|
#
|
|
3
|
-
# Main
|
|
3
|
+
# The Main Window is usually the central window of an application. Applications
|
|
4
|
+
# may have any number of main windows.
|
|
5
|
+
# When a MainWindow is closed, it sends a SEL_CLOSE message to its target; the target
|
|
6
|
+
# should return 0 if there is no objection against proceeding with the close, and
|
|
7
|
+
# return 1 otherwise.
|
|
8
|
+
# After the SEL_CLOSE message has been sent and no objection was raised, the main
|
|
9
|
+
# window will delete itself.
|
|
4
10
|
#
|
|
5
11
|
# === Events
|
|
6
12
|
#
|
data/rdoc-sources/FXMenuBar.rb
CHANGED
|
@@ -16,7 +16,7 @@ module Fox
|
|
|
16
16
|
# Construct a non-floatable menubar.
|
|
17
17
|
# The menubar can not be undocked.
|
|
18
18
|
#
|
|
19
|
-
def initialize(parent, opts
|
|
19
|
+
def initialize(parent, opts, x=0, y=0, width=0, height=0, padLeft=3, padRight=3, padTop=2, padBottom=2, hSpacing=DEFAULT_SPACING, vSpacing=DEFAULT_SPACING) # :yields: theMenuBar
|
|
20
20
|
end
|
|
21
21
|
end
|
|
22
22
|
end
|
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
module Fox
|
|
2
2
|
#
|
|
3
|
-
# Message
|
|
3
|
+
# A Message Box is a convenience class which provides a dialog for
|
|
4
|
+
# very simple common yes/no type interactions with the user.
|
|
5
|
+
# The message box has an optional icon, a title string, and the question
|
|
6
|
+
# which is presented to the user. It also has up to three buttons which
|
|
7
|
+
# furnish standard responses to the question.
|
|
8
|
+
# Message boxes are usually run modally: the question must be answered
|
|
9
|
+
# before the program may continue.
|
|
4
10
|
#
|
|
5
11
|
# === Message box buttons
|
|
6
12
|
#
|
|
7
|
-
# +MBOX_OK+::
|
|
8
|
-
# +MBOX_OK_CANCEL+::
|
|
9
|
-
# +MBOX_YES_NO+::
|
|
10
|
-
# +MBOX_YES_NO_CANCEL+::
|
|
11
|
-
# +MBOX_QUIT_CANCEL+::
|
|
12
|
-
# +MBOX_QUIT_SAVE_CANCEL+::
|
|
13
|
+
# +MBOX_OK+:: Message box has a only an *Ok* button
|
|
14
|
+
# +MBOX_OK_CANCEL+:: Message box has *Ok* and *Cancel* buttons
|
|
15
|
+
# +MBOX_YES_NO+:: Message box has *Yes* and *No* buttons
|
|
16
|
+
# +MBOX_YES_NO_CANCEL+:: Message box has *Yes*, *No*, and *Cancel* buttons
|
|
17
|
+
# +MBOX_QUIT_CANCEL+:: Message box has *Quit* and *Cancel* buttons
|
|
18
|
+
# +MBOX_QUIT_SAVE_CANCEL+:: Message box has *Quit*, *Save*, and *Cancel* buttons
|
|
19
|
+
# +MBOX_SKIP_SKIPALL_CANCEL+:: Message box has *Skip*, *Skip All* and *Cancel* buttons
|
|
20
|
+
# +MBOX_SAVE_CANCEL_DONTSAVE+:: Message box has *Don't Save*, *Cancel* and *Save* buttons
|
|
13
21
|
#
|
|
14
22
|
# === Return values
|
|
15
23
|
#
|
|
@@ -19,6 +27,8 @@ module Fox
|
|
|
19
27
|
# +MBOX_CLICKED_CANCEL+:: The *Cancel* button was clicked
|
|
20
28
|
# +MBOX_CLICKED_QUIT+:: The *Quit* button was clicked
|
|
21
29
|
# +MBOX_CLICKED_SAVE+:: The *Save* button was clicked
|
|
30
|
+
# +MBOX_CLICKED_SKIP+:: The *Skip* button was clicked
|
|
31
|
+
# +MBOX_CLICKED_SKIPALL+:: The *Skip All* button was clicked
|
|
22
32
|
#
|
|
23
33
|
class FXMessageBox < FXDialogBox
|
|
24
34
|
#
|
data/rdoc-sources/FXObject.rb
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
module Fox
|
|
2
2
|
#
|
|
3
|
-
#
|
|
3
|
+
# FXObject is the base class for all objects in FOX; in order to receive
|
|
4
|
+
# messages from the user interface, your class must derive from FXObject.
|
|
5
|
+
# The FXObject class also provides serialization facilities, with which
|
|
6
|
+
# you can save and restore the object's state. If you've subclassed
|
|
7
|
+
# from FXObject, you can save your subclasses' state by overloading the
|
|
8
|
+
# save() and load() functions and use the stream API to serialize its
|
|
9
|
+
# member data.
|
|
4
10
|
#
|
|
5
11
|
class FXObject
|
|
6
12
|
#
|
data/rdoc-sources/FXPCXIcon.rb
CHANGED
|
@@ -3,6 +3,11 @@ module Fox
|
|
|
3
3
|
# PCX icon
|
|
4
4
|
#
|
|
5
5
|
class FXPCXIcon < FXIcon
|
|
6
|
+
#
|
|
7
|
+
# Return the suggested file extension for this image type ("pcx").
|
|
8
|
+
#
|
|
9
|
+
def FXPCXIcon.fileExt; end
|
|
10
|
+
|
|
6
11
|
#
|
|
7
12
|
# Return an initialized FXPCXIcon instance.
|
|
8
13
|
#
|
|
@@ -44,5 +49,10 @@ module Fox
|
|
|
44
49
|
# +height+:: height [Integer]
|
|
45
50
|
#
|
|
46
51
|
def Fox.fxsavePCX(store, data, transp, width, height); end
|
|
52
|
+
|
|
53
|
+
#
|
|
54
|
+
# Return +true+ if _store_ (an FXStream instance) contains a PCX image.
|
|
55
|
+
#
|
|
56
|
+
def Fox.fxcheckPCX(store); end
|
|
47
57
|
end
|
|
48
58
|
|
data/rdoc-sources/FXPCXImage.rb
CHANGED
data/rdoc-sources/FXPNGIcon.rb
CHANGED
|
@@ -3,6 +3,14 @@ module Fox
|
|
|
3
3
|
# Portable Network Graphics (PNG) Icon
|
|
4
4
|
#
|
|
5
5
|
class FXPNGIcon < FXIcon
|
|
6
|
+
#
|
|
7
|
+
# Return the suggested file extension for this image type ("png").
|
|
8
|
+
#
|
|
9
|
+
def FXPNGIcon.fileExt; end
|
|
10
|
+
|
|
11
|
+
# Return +true+ if PNG image file format is supported.
|
|
12
|
+
def FXPNGIcon.supported? ; end
|
|
13
|
+
|
|
6
14
|
#
|
|
7
15
|
# Return an initialized FXPNGIcon instance.
|
|
8
16
|
#
|
|
@@ -29,7 +37,7 @@ module Fox
|
|
|
29
37
|
#
|
|
30
38
|
# +store+:: stream from which to read the file data [FXStream]
|
|
31
39
|
#
|
|
32
|
-
def fxloadPNG(store); end
|
|
40
|
+
def Fox.fxloadPNG(store); end
|
|
33
41
|
|
|
34
42
|
#
|
|
35
43
|
# Save a PNG image to a stream.
|
|
@@ -43,6 +51,11 @@ module Fox
|
|
|
43
51
|
# +width+:: width [Integer]
|
|
44
52
|
# +height+:: height [Integer]
|
|
45
53
|
#
|
|
46
|
-
def fxsavePNG(store, data, transp, width, height); end
|
|
54
|
+
def Fox.fxsavePNG(store, data, transp, width, height); end
|
|
55
|
+
|
|
56
|
+
#
|
|
57
|
+
# Return +true+ if _store_ (an FXStream instance) contains a PNG image.
|
|
58
|
+
#
|
|
59
|
+
def Fox.fxcheckPNG(store); end
|
|
47
60
|
end
|
|
48
61
|
|
data/rdoc-sources/FXPNGImage.rb
CHANGED
|
@@ -3,6 +3,14 @@ module Fox
|
|
|
3
3
|
# Portable Network Graphics (PNG) Image
|
|
4
4
|
#
|
|
5
5
|
class FXPNGImage < FXImage
|
|
6
|
+
#
|
|
7
|
+
# Return the suggested file extension for this image type ("png").
|
|
8
|
+
#
|
|
9
|
+
def FXPNGImage.fileExt; end
|
|
10
|
+
|
|
11
|
+
# Return +true+ if PNG image file format is supported.
|
|
12
|
+
def FXPNGImage.supported? ; end
|
|
13
|
+
|
|
6
14
|
#
|
|
7
15
|
# Return an initialized FXPNGImage instance.
|
|
8
16
|
#
|
data/rdoc-sources/FXPPMIcon.rb
CHANGED
|
@@ -3,6 +3,11 @@ module Fox
|
|
|
3
3
|
# Portable Pixmap (PPM) icon class.
|
|
4
4
|
#
|
|
5
5
|
class FXPPMIcon < FXIcon
|
|
6
|
+
#
|
|
7
|
+
# Return the suggested file extension for this image type ("ppm").
|
|
8
|
+
#
|
|
9
|
+
def FXPPMIcon.fileExt; end
|
|
10
|
+
|
|
6
11
|
#
|
|
7
12
|
# Return an initialized FXPPMIcon instance.
|
|
8
13
|
#
|
|
@@ -18,4 +23,9 @@ module Fox
|
|
|
18
23
|
def initialize(a, pix=nil, clr=0, opts=0, w=1, h=1) # :yields: thePPMIcon
|
|
19
24
|
end
|
|
20
25
|
end
|
|
26
|
+
|
|
27
|
+
#
|
|
28
|
+
# Return +true+ if _store_ (an FXStream instance) contains a PPM image.
|
|
29
|
+
#
|
|
30
|
+
def Fox.fxcheckPPM(store); end
|
|
21
31
|
end
|
data/rdoc-sources/FXPPMImage.rb
CHANGED