fxruby 1.2.6 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +0 -90
- data/doc/apes02.html +2 -2
- data/doc/apes03.html +1 -1
- data/doc/book.html +1 -1
- data/doc/build.html +26 -26
- data/doc/ch03s02.html +1 -2
- data/doc/ch03s03.html +1 -2
- data/doc/ch03s04.html +1 -2
- data/doc/ch03s05.html +1 -2
- data/doc/changes.html +12 -7
- data/doc/cvs.html +2 -2
- data/doc/differences.html +3 -3
- data/doc/gems.html +44 -44
- data/doc/implementation.html +1 -1
- data/doc/library.html +5 -5
- data/doc/opengl.html +5 -5
- data/doc/pt02.html +1 -1
- data/doc/scintilla.html +6 -6
- data/doc/tutorial1.html +8 -15
- data/examples/babelfish.rb +6 -16
- data/examples/bounce.rb +1 -1
- data/examples/browser.rb +1 -1
- data/examples/button.rb +1 -1
- data/examples/datatarget.rb +2 -2
- data/examples/dctest.rb +1 -1
- data/examples/dialog.rb +1 -1
- data/examples/dilbert.rb +2 -2
- data/examples/dirlist.rb +1 -1
- data/examples/dragdrop.rb +1 -1
- data/examples/dragsource.rb +1 -1
- data/examples/dropsite.rb +1 -1
- data/examples/foursplit.rb +1 -1
- data/examples/gltest.rb +2 -2
- data/examples/glviewer.rb +4 -4
- data/examples/groupbox.rb +2 -2
- data/examples/header.rb +3 -3
- data/examples/hello.rb +1 -1
- data/examples/hello2.rb +1 -1
- data/examples/iconlist.rb +16 -1
- data/examples/image.rb +2 -2
- data/examples/imageviewer.rb +1 -1
- data/examples/inputs.rb +1 -1
- data/examples/mditest.rb +2 -2
- data/examples/pig.rb +1 -1
- data/examples/raabrowser.rb +2 -2
- data/examples/ratio.rb +2 -2
- data/examples/scintilla-test.rb +2 -2
- data/examples/scribble-orig.rb +3 -3
- data/examples/scribble.rb +1 -1
- data/examples/shutter.rb +1 -1
- data/examples/splitter.rb +1 -1
- data/examples/styledtext.rb +2 -2
- data/examples/tabbook.rb +1 -1
- data/examples/table.rb +1 -1
- data/ext/{fox12 → fox14}/FXRbApp.cpp +7 -13
- data/ext/{fox12 → fox14}/FXRbDataTarget.cpp +5 -1
- data/ext/{fox12 → fox14}/FXRbGLViewer.cpp +1 -1
- data/ext/{fox12 → fox14}/FXRuby.cpp +49 -14
- data/ext/{fox12 → fox14}/MANIFEST +0 -0
- data/ext/{fox12 → fox14}/core_wrap.cpp +1098 -390
- data/ext/{fox12 → fox14}/dc_wrap.cpp +61 -1
- data/ext/{fox12 → fox14}/dialogs_wrap.cpp +2293 -939
- data/ext/{fox12 → fox14}/extconf.rb +8 -8
- data/ext/{fox12 → fox14}/frames_wrap.cpp +1396 -395
- data/ext/{fox12 → fox14}/fx3d_wrap.cpp +884 -363
- data/ext/{fox12 → fox14}/iconlist_wrap.cpp +338 -117
- data/ext/{fox12 → fox14}/icons_wrap.cpp +668 -61
- data/ext/{fox12 → fox14}/image_wrap.cpp +245 -164
- data/ext/{fox12 → fox14}/impl.cpp +58 -2
- data/ext/{fox12 → fox14}/include/FXMemoryBuffer.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRb4Splitter.h +1 -1
- data/ext/fox14/include/FXRb7Segment.h +51 -0
- data/ext/{fox12 → fox14}/include/FXRbAccelTable.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbApp.h +1 -2
- data/ext/{fox12 → fox14}/include/FXRbAppVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbArrowButton.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbBMPIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbBMPImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbBitmap.h +5 -5
- data/ext/{fox12 → fox14}/include/FXRbBitmapFrame.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbBitmapView.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbBitmapVirtuals.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbButton.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbCURCursor.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbCanvas.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbCheckButton.h +1 -1
- data/ext/fox14/include/FXRbChoiceBox.h +56 -0
- data/ext/{fox12 → fox14}/include/FXRbColorBar.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbColorDialog.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbColorSelector.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbColorWell.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbColorWheel.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbComboBox.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbCommon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbComposite.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbCursor.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbCursorVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbDC.h +25 -1
- data/ext/{fox12 → fox14}/include/FXRbDCPrint.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDCVirtuals.h +12 -0
- data/ext/{fox12 → fox14}/include/FXRbDCWindow.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDataTarget.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDebugTarget.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDelegator.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDial.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDialogBox.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDialogBoxVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbDict.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDirBox.h +2 -1
- data/ext/{fox12 → fox14}/include/FXRbDirDialog.h +4 -1
- data/ext/{fox12 → fox14}/include/FXRbDirList.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDirSelector.h +1 -1
- data/ext/fox14/include/FXRbDockBar.h +86 -0
- data/ext/fox14/include/FXRbDockBarVirtuals.h +10 -0
- data/ext/fox14/include/FXRbDockHandler.h +51 -0
- data/ext/fox14/include/FXRbDockSite.h +85 -0
- data/ext/fox14/include/FXRbDockSiteVirtuals.h +13 -0
- data/ext/fox14/include/FXRbDockTitle.h +51 -0
- data/ext/{fox12 → fox14}/include/FXRbDocument.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDragCorner.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDrawable.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDrawableVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbDriveBox.h +2 -1
- data/ext/{fox12 → fox14}/include/FXRbFileDialog.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbFileDict.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbFileDictVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbFileList.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbFileSelector.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbFoldingItemVirtuals.h +2 -5
- data/ext/{fox12 → fox14}/include/FXRbFoldingList.h +98 -15
- data/ext/fox14/include/FXRbFoldingListVirtuals.h +43 -0
- data/ext/{fox12 → fox14}/include/FXRbFont.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbFontDialog.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbFontSelector.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbFrame.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGIFCursor.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGIFIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGIFImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGLCanvas.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGLCanvasVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbGLContext.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGLObject.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGLObjectVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbGLShape.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGLShapeVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbGLViewer.h +7 -1
- data/ext/{fox12 → fox14}/include/FXRbGLViewerVirtuals.h +4 -0
- data/ext/{fox12 → fox14}/include/FXRbGLVisual.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGradientBar.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGroupBox.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbHeader.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbHeaderItemVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbHorizontalFrame.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbICOIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbICOImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbIconItemVirtuals.h +2 -5
- data/ext/{fox12 → fox14}/include/FXRbIconList.h +33 -15
- data/ext/{fox12 → fox14}/include/FXRbIconListVirtuals.h +14 -0
- data/ext/fox14/include/FXRbIconSource.h +127 -0
- data/ext/fox14/include/FXRbIconSourceVirtuals.h +37 -0
- data/ext/{fox12 → fox14}/include/FXRbId.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbIdVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbImage.h +5 -5
- data/ext/{fox12 → fox14}/include/FXRbImageFrame.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbImageView.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbImageVirtuals.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbInputDialog.h +4 -1
- data/ext/{fox12 → fox14}/include/FXRbJPGIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbJPGImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbLabel.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbList.h +29 -11
- data/ext/{fox12 → fox14}/include/FXRbListBox.h +12 -1
- data/ext/fox14/include/FXRbListBoxVirtuals.h +4 -0
- data/ext/{fox12 → fox14}/include/FXRbListItemVirtuals.h +1 -4
- data/ext/{fox12 → fox14}/include/FXRbListVirtuals.h +12 -0
- data/ext/{fox12 → fox14}/include/FXRbMDIButton.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMDIChild.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMDIChildVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbMDIClient.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMDIClientVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbMainWindow.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMatrix.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuBar.h +2 -2
- data/ext/{fox12 → fox14}/include/FXRbMenuButton.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuCaption.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuCascade.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuCheck.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuCommand.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuPane.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuRadio.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuSeparator.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuTitle.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMessageBox.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbObject.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbObjectVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbOptionMenu.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPCXIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPCXImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPNGIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPNGImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPPMIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPPMImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPacker.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPicker.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPopup.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPopupVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbPrintDialog.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbProgressBar.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbProgressDialog.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRGBIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRGBImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRadioButton.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRealSlider.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRealSpinner.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRealSpinnerVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbRecentFiles.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRegistry.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbReplaceDialog.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRootWindow.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRuler.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbScintilla.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbScrollArea.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbScrollAreaVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbScrollBar.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbScrollPane.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbScrollWindow.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbSearchDialog.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbSeparator.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbSettings.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbShell.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbShutter.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbShutterVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbSlider.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbSpinner.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbSpinnerVirtuals.h +0 -0
- data/ext/fox14/include/FXRbSplashWindow.h +57 -0
- data/ext/{fox12 → fox14}/include/FXRbSplitter.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbSpring.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbStatusBar.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbStatusLine.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbStream.h +3 -3
- data/ext/{fox12 → fox14}/include/FXRbStreamVirtuals.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbStringDict.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbSwitcher.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTGAIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTGAImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTIFIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTIFImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTabBar.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTabBarVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbTabBook.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTabItem.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTable.h +96 -36
- data/ext/{fox12 → fox14}/include/FXRbTableItemVirtuals.h +24 -3
- data/ext/{fox12 → fox14}/include/FXRbTableVirtuals.h +19 -6
- data/ext/{fox12 → fox14}/include/FXRbText.h +2 -2
- data/ext/{fox12 → fox14}/include/FXRbTextField.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTextVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbToggleButton.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbToolBar.h +2 -19
- data/ext/{fox12 → fox14}/include/FXRbToolBarGrip.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbToolBarShell.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbToolBarTab.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbToolTip.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTopWindow.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTopWindowVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbTreeItemVirtuals.h +2 -2
- data/ext/{fox12 → fox14}/include/FXRbTreeList.h +33 -9
- data/ext/{fox12 → fox14}/include/FXRbTreeListBox.h +12 -1
- data/ext/fox14/include/FXRbTreeListBoxVirtuals.h +4 -0
- data/ext/{fox12 → fox14}/include/FXRbTreeListVirtuals.h +12 -0
- data/ext/{fox12 → fox14}/include/FXRbTriStateButton.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbVerticalFrame.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbVisual.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbWindow.h +35 -5
- data/ext/{fox12 → fox14}/include/FXRbWindowVirtuals.h +17 -1
- data/ext/{fox12 → fox14}/include/FXRbWizard.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbXBMIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbXBMImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbXPMIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbXPMImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRuby.h +78 -7
- data/ext/{fox12 → fox14}/include/impl.h +7 -0
- data/ext/{fox12 → fox14}/include/inlinestubs.h +58 -2
- data/ext/{fox12 → fox14}/label_wrap.cpp +524 -68
- data/ext/{fox12 → fox14}/layout_wrap.cpp +1025 -90
- data/ext/{fox12 → fox14}/librb.c +0 -0
- data/ext/{fox12 → fox14}/list_wrap.cpp +328 -234
- data/ext/{fox12 → fox14}/markfuncs.cpp +29 -4
- data/ext/{fox12 → fox14}/mdi_wrap.cpp +553 -99
- data/ext/{fox12 → fox14}/menu_wrap.cpp +967 -404
- data/ext/{fox12 → fox14}/scintilla_wrap.cpp +754 -635
- data/ext/{fox12 → fox14}/table_wrap.cpp +501 -284
- data/ext/{fox12 → fox14}/text_wrap.cpp +765 -629
- data/ext/{fox12 → fox14}/treelist_wrap.cpp +859 -661
- data/ext/{fox12 → fox14}/ui_wrap.cpp +3025 -627
- data/ext/{fox12 → fox14}/unregisterOwnedObjects.cpp +1 -1
- data/lib/{fox12 → fox14}/aliases.rb +252 -45
- data/lib/{fox12 → fox14}/calendar.rb +2 -2
- data/lib/{fox12 → fox14}/chore.rb +1 -1
- data/lib/{fox12 → fox14}/colors.rb +1 -1
- data/lib/{fox12 → fox14}/core.rb +126 -52
- data/lib/{fox12 → fox14}/dict.rb +0 -0
- data/lib/{fox12 → fox14}/execute_nonmodal.rb +0 -0
- data/lib/{fox12 → fox14}/glgroup.rb +1 -1
- data/lib/{fox12 → fox14}/glshapes.rb +1 -1
- data/lib/{fox12 → fox14}/input.rb +1 -1
- data/lib/{fox12 → fox14}/irb.rb +1 -1
- data/lib/{fox12 → fox14}/iterators.rb +1 -1
- data/lib/{fox12 → fox14}/keys.rb +1 -1
- data/lib/{fox12 → fox14}/missingdep.rb +1 -1
- data/lib/{fox12 → fox14}/pseudokeyboard.rb +1 -1
- data/lib/{fox12 → fox14}/pseudomouse.rb +1 -1
- data/lib/{fox12 → fox14}/responder.rb +1 -1
- data/lib/{fox12 → fox14}/responder2.rb +5 -5
- data/lib/{fox12 → fox14}/scintilla.rb +0 -0
- data/lib/{fox12 → fox14}/settings.rb +0 -0
- data/lib/{fox12 → fox14}/signal.rb +1 -1
- data/lib/{fox12 → fox14}/splashscreen.rb +2 -2
- data/lib/{fox12 → fox14}/timeout.rb +1 -1
- data/lib/{fox12 → fox14}/undolist.rb +2 -2
- data/lib/{fox12 → fox14}/version.rb +2 -2
- data/rdoc-sources/FX7Segment.rb +48 -0
- data/rdoc-sources/FXApp.rb +51 -31
- data/rdoc-sources/FXBMPIcon.rb +18 -1
- data/rdoc-sources/FXBMPImage.rb +5 -0
- data/rdoc-sources/FXBitmap.rb +18 -3
- data/rdoc-sources/FXBitmapFrame.rb +3 -1
- data/rdoc-sources/FXBitmapView.rb +4 -1
- data/rdoc-sources/FXButton.rb +16 -0
- data/rdoc-sources/FXCheckButton.rb +25 -1
- data/rdoc-sources/FXChoiceBox.rb +82 -0
- data/rdoc-sources/FXColorBar.rb +6 -1
- data/rdoc-sources/FXColorDialog.rb +1 -0
- data/rdoc-sources/FXColorWell.rb +14 -6
- data/rdoc-sources/FXColorWheel.rb +6 -4
- data/rdoc-sources/FXComboBox.rb +53 -5
- data/rdoc-sources/FXCursor.rb +2 -2
- data/rdoc-sources/FXDC.rb +36 -2
- data/rdoc-sources/FXDial.rb +10 -4
- data/rdoc-sources/FXDirBox.rb +7 -1
- data/rdoc-sources/FXDirDialog.rb +33 -0
- data/rdoc-sources/FXDirList.rb +8 -3
- data/rdoc-sources/FXDirSelector.rb +36 -2
- data/rdoc-sources/FXDockBar.rb +136 -0
- data/rdoc-sources/FXDockHandler.rb +19 -0
- data/rdoc-sources/FXDockSite.rb +86 -0
- data/rdoc-sources/FXDockTitle.rb +26 -0
- data/rdoc-sources/FXFileDialog.rb +33 -0
- data/rdoc-sources/FXFileDict.rb +29 -56
- data/rdoc-sources/FXFileList.rb +39 -16
- data/rdoc-sources/FXFileSelector.rb +28 -2
- data/rdoc-sources/FXFileStream.rb +3 -0
- data/rdoc-sources/FXFoldingList.rb +104 -62
- data/rdoc-sources/FXFont.rb +2 -9
- data/rdoc-sources/FXFrame.rb +7 -1
- data/rdoc-sources/FXGIFCursor.rb +17 -5
- data/rdoc-sources/FXGIFIcon.rb +5 -0
- data/rdoc-sources/FXGIFImage.rb +5 -0
- data/rdoc-sources/FXHeader.rb +24 -4
- data/rdoc-sources/FXICOIcon.rb +10 -0
- data/rdoc-sources/FXICOImage.rb +5 -0
- data/rdoc-sources/FXIconList.rb +37 -13
- data/rdoc-sources/FXIconSource.rb +100 -0
- data/rdoc-sources/FXImage.rb +8 -2
- data/rdoc-sources/FXInputDialog.rb +6 -0
- data/rdoc-sources/FXJPGIcon.rb +13 -0
- data/rdoc-sources/FXJPGImage.rb +8 -0
- data/rdoc-sources/FXLabel.rb +4 -1
- data/rdoc-sources/FXList.rb +19 -9
- data/rdoc-sources/FXListBox.rb +22 -4
- data/rdoc-sources/FXMDIChild.rb +21 -2
- data/rdoc-sources/FXMDIClient.rb +15 -11
- data/rdoc-sources/FXMainWindow.rb +7 -1
- data/rdoc-sources/FXMemoryStream.rb +2 -0
- data/rdoc-sources/FXMenuBar.rb +1 -1
- data/rdoc-sources/FXMessageBox.rb +17 -7
- data/rdoc-sources/FXObject.rb +7 -1
- data/rdoc-sources/FXPCXIcon.rb +10 -0
- data/rdoc-sources/FXPCXImage.rb +5 -0
- data/rdoc-sources/FXPNGIcon.rb +15 -2
- data/rdoc-sources/FXPNGImage.rb +8 -0
- data/rdoc-sources/FXPPMIcon.rb +10 -0
- data/rdoc-sources/FXPPMImage.rb +5 -0
- data/rdoc-sources/FXQuatd.rb +1 -1
- data/rdoc-sources/FXQuatf.rb +1 -1
- data/rdoc-sources/FXRGBIcon.rb +12 -2
- data/rdoc-sources/FXRGBImage.rb +5 -0
- data/rdoc-sources/FXRegistry.rb +19 -2
- data/rdoc-sources/FXRuler.rb +47 -5
- data/rdoc-sources/FXScrollArea.rb +4 -4
- data/rdoc-sources/FXScrollPane.rb +3 -1
- data/rdoc-sources/FXSeparator.rb +20 -10
- data/rdoc-sources/FXSettings.rb +3 -3
- data/rdoc-sources/FXShell.rb +2 -1
- data/rdoc-sources/FXShutter.rb +7 -2
- data/rdoc-sources/FXSphered.rb +5 -2
- data/rdoc-sources/FXSpheref.rb +5 -2
- data/rdoc-sources/FXSplashWindow.rb +31 -0
- data/rdoc-sources/FXSplitter.rb +2 -1
- data/rdoc-sources/FXStream.rb +11 -2
- data/rdoc-sources/FXTGAIcon.rb +12 -2
- data/rdoc-sources/FXTGAImage.rb +5 -0
- data/rdoc-sources/FXTIFIcon.rb +15 -2
- data/rdoc-sources/FXTIFImage.rb +8 -0
- data/rdoc-sources/FXTable.rb +92 -15
- data/rdoc-sources/FXText.rb +11 -2
- data/rdoc-sources/FXTextField.rb +6 -2
- data/rdoc-sources/FXToolBar.rb +5 -65
- data/rdoc-sources/FXToolBarGrip.rb +5 -10
- data/rdoc-sources/FXToolBarTab.rb +8 -3
- data/rdoc-sources/FXTopWindow.rb +4 -0
- data/rdoc-sources/FXTreeList.rb +56 -50
- data/rdoc-sources/FXTreeListBox.rb +49 -30
- data/rdoc-sources/FXWindow.rb +30 -11
- data/rdoc-sources/FXXBMIcon.rb +10 -0
- data/rdoc-sources/FXXBMImage.rb +5 -0
- data/rdoc-sources/FXXPMIcon.rb +11 -1
- data/rdoc-sources/FXXPMImage.rb +5 -0
- data/rdoc-sources/README.rdoc +1 -1
- data/tests/TC_FXBMPIcon.rb +15 -0
- data/tests/TC_FXBMPImage.rb +15 -0
- data/tests/TC_FXFont.rb +0 -10
- data/tests/TC_FXXBMIcon.rb +15 -0
- data/tests/TC_FXXBMImage.rb +15 -0
- data/tests/TC_FXXPMIcon.rb +15 -0
- data/tests/TC_FXXPMImage.rb +15 -0
- data/web/downloads.html +3 -1
- data/web/home.html +3 -1
- metadata +290 -268
- data/ANNOUNCE +0 -25
- data/examples/mditest2.rb +0 -195
- data/ext/fox12/include/FXRbToolBarVirtuals.h +0 -6
- data/lib/fox12/dialogs.rb +0 -72
- data/tests/TC_FXSettings.rb +0 -34
- data/tests/doit.rb +0 -5
data/rdoc-sources/FXFont.rb
CHANGED
@@ -278,7 +278,7 @@ module Fox
|
|
278
278
|
#
|
279
279
|
# For example:
|
280
280
|
#
|
281
|
-
# "helvetica [bitstream],
|
281
|
+
# "helvetica [bitstream],120,bold,i,normal,iso8859-1,0"
|
282
282
|
#
|
283
283
|
# Typically, at least the font name, and size must be given for
|
284
284
|
# normal font matching. As a special case, raw X11 fonts can also be
|
@@ -311,14 +311,7 @@ module Fox
|
|
311
311
|
def fontMono? ; end
|
312
312
|
|
313
313
|
#
|
314
|
-
# Return +true+ if font has glyph for _ch_.
|
315
|
-
# ordinal value, e.g.
|
316
|
-
#
|
317
|
-
# aFont.hasChar?(?a)
|
318
|
-
#
|
319
|
-
# or a string of length one (i.e. a single character), e.g.
|
320
|
-
#
|
321
|
-
# aFont.hasChar?('a')
|
314
|
+
# Return +true+ if font has glyph for _ch_.
|
322
315
|
#
|
323
316
|
def hasChar?(ch) ; end
|
324
317
|
|
data/rdoc-sources/FXFrame.rb
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
module Fox
|
2
2
|
#
|
3
|
-
#
|
3
|
+
# The Frame widget provides borders around some contents. Borders may be raised, sunken,
|
4
|
+
# thick, ridged or etched. They can also be turned off completely.
|
5
|
+
# In addition, a certain amount of padding may be specified between the contents of
|
6
|
+
# the widget and the borders. The contents may be justified inside the widget using the
|
7
|
+
# justification options.
|
8
|
+
# The Frame widget is sometimes used by itself as a place holder, but most often is used
|
9
|
+
# as a convenient base class for simple controls.
|
4
10
|
#
|
5
11
|
# === Constants
|
6
12
|
#
|
data/rdoc-sources/FXGIFCursor.rb
CHANGED
@@ -3,6 +3,11 @@ module Fox
|
|
3
3
|
# GIF Cursor class.
|
4
4
|
#
|
5
5
|
class FXGIFCursor < FXCursor
|
6
|
+
#
|
7
|
+
# Return the suggested file extension for this image type ("gif").
|
8
|
+
#
|
9
|
+
def FXGIFCursor.fileExt; end
|
10
|
+
|
6
11
|
#
|
7
12
|
# Return an initialized FXGIFCursor instance.
|
8
13
|
#
|
@@ -11,18 +16,20 @@ module Fox
|
|
11
16
|
end
|
12
17
|
|
13
18
|
#
|
14
|
-
# Save a GIF image to a stream.
|
19
|
+
# Save a GIF (Graphics Interchange Format) image to a stream.
|
20
|
+
# If _fast_ is +true+, the faster Floyd-Steinberg dither method will be used
|
21
|
+
# instead of the slower Wu quantization algorithm.
|
15
22
|
# Returns +true+ on success, +false+ on failure.
|
16
23
|
#
|
17
24
|
# ==== Parameters:
|
18
25
|
#
|
19
26
|
# +store+:: stream to which to write the image data [FXStream]
|
20
|
-
# +data+:: the image pixel data [
|
21
|
-
# +transp+:: transparency color [FXColor]
|
27
|
+
# +data+:: the image pixel data [Array of FXColor]
|
22
28
|
# +width+:: width [Integer]
|
23
29
|
# +height+:: height [Integer]
|
30
|
+
# +fast+:: if +true+, use faster Floyd-Steinberg algorithm [Boolean]
|
24
31
|
#
|
25
|
-
def fxsaveGIF(store, data,
|
32
|
+
def Fox.fxsaveGIF(store, data, width, height, fast=true); end
|
26
33
|
|
27
34
|
#
|
28
35
|
# Load a GIF file from a stream.
|
@@ -34,5 +41,10 @@ module Fox
|
|
34
41
|
#
|
35
42
|
# +store+:: stream from which to read the file data [FXStream]
|
36
43
|
#
|
37
|
-
def fxloadGIF(store); end
|
44
|
+
def Fox.fxloadGIF(store); end
|
45
|
+
|
46
|
+
#
|
47
|
+
# Return +true+ if _store_ (an FXStream instance) contains a GIF image.
|
48
|
+
#
|
49
|
+
def Fox.fxcheckGIF(store); end
|
38
50
|
end
|
data/rdoc-sources/FXGIFIcon.rb
CHANGED
data/rdoc-sources/FXGIFImage.rb
CHANGED
data/rdoc-sources/FXHeader.rb
CHANGED
@@ -18,6 +18,13 @@ module Fox
|
|
18
18
|
# +ABOVE+:: Icon above the text
|
19
19
|
# +BELOW+:: Icon below the text
|
20
20
|
#
|
21
|
+
# === Arrow
|
22
|
+
#
|
23
|
+
# +ARROW_NONE+:: No arrow
|
24
|
+
# +ARROW_UP+:: Arrow pointing up
|
25
|
+
# +ARROW_DOWN+:: Arrow pointing down
|
26
|
+
# +PRESSED+:: Pressed down
|
27
|
+
#
|
21
28
|
class FXHeaderItem < FXObject
|
22
29
|
|
23
30
|
# Item's text label [String]
|
@@ -115,6 +122,7 @@ module Fox
|
|
115
122
|
# +HEADER_HORIZONTAL+:: Horizontal header control (default)
|
116
123
|
# +HEADER_VERTICAL+:: Vertical header control
|
117
124
|
# +HEADER_TRACKING+:: Tracks continuously while moving
|
125
|
+
# +HEADER_RESIZE+:: Allow resizing sections
|
118
126
|
# +HEADER_NORMAL+:: Normal options, same as <tt>HEADER_HORIZONTAL|FRAME_NORMAL</tt>
|
119
127
|
#
|
120
128
|
# === Message identifiers
|
@@ -183,6 +191,12 @@ module Fox
|
|
183
191
|
#
|
184
192
|
def setItem(index, text, icon=nil, size=0, data=nil, notify=false); end
|
185
193
|
|
194
|
+
#
|
195
|
+
# Fill the header by appending items from an array of strings.
|
196
|
+
# Returns the number of items appended.
|
197
|
+
#
|
198
|
+
def fillItems(strings, icon=nil, size=0, data=nil, notify=false); end
|
199
|
+
|
186
200
|
#
|
187
201
|
# Insert a new (possibly subclassed) item at the specified _index_ and return the
|
188
202
|
# index of the inserted item.
|
@@ -325,8 +339,11 @@ module Fox
|
|
325
339
|
def getArrowDir(index); end
|
326
340
|
|
327
341
|
#
|
328
|
-
# Change item justification
|
329
|
-
#
|
342
|
+
# Change item justification. Horizontal justification is controlled by passing
|
343
|
+
# FXHeaderItem::RIGHT, FXHeaderItem::LEFT, or FXHeaderItem::CENTER_X.
|
344
|
+
# Vertical justification is controlled by FXHeaderItem::TOP, FXHeaderItem::BOTTOM,
|
345
|
+
# or FXHeaderItem::CENTER_Y.
|
346
|
+
# The default is a combination of FXHeaderItem::LEFT and FXHeaderItem::CENTER_Y.
|
330
347
|
# Raises IndexError if _index_ is out of bounds.
|
331
348
|
#
|
332
349
|
def setItemJustify(index, justify); end
|
@@ -339,8 +356,11 @@ module Fox
|
|
339
356
|
def getItemJustify(index); end
|
340
357
|
|
341
358
|
#
|
342
|
-
# Change relative position of icon and text of
|
343
|
-
#
|
359
|
+
# Change relative position of icon and text of item.
|
360
|
+
# Passing FXHeaderItem::BEFORE or FXHeaderItem::AFTER places the icon
|
361
|
+
# before or after the text, and passing FXHeaderItem::ABOVE or
|
362
|
+
# FXHeaderItem::BELOW places it above or below the text, respectively.
|
363
|
+
# The default of FXHeaderItem::BEFORE places the icon in front of the text.
|
344
364
|
# Raises IndexError if _index_ is out of bounds.
|
345
365
|
#
|
346
366
|
def setItemIconPosition(index, mode); end
|
data/rdoc-sources/FXICOIcon.rb
CHANGED
@@ -3,6 +3,11 @@ module Fox
|
|
3
3
|
# ICO icon
|
4
4
|
#
|
5
5
|
class FXICOIcon < FXIcon
|
6
|
+
#
|
7
|
+
# Return the suggested file extension for this image type ("ico").
|
8
|
+
#
|
9
|
+
def FXICOIcon.fileExt; end
|
10
|
+
|
6
11
|
#
|
7
12
|
# Return an initialized FXICOIcon instance.
|
8
13
|
#
|
@@ -46,5 +51,10 @@ module Fox
|
|
46
51
|
# +yspot+:: hotspot y-coordinate [Integer]
|
47
52
|
#
|
48
53
|
def Fox.fxsaveICO(store, pixels, transp, width, height, xspot=-1, yspot=-1); end
|
54
|
+
|
55
|
+
#
|
56
|
+
# Return +true+ if _store_ (an FXStream instance) contains a ICO image.
|
57
|
+
#
|
58
|
+
def Fox.fxcheckICO(store); end
|
49
59
|
end
|
50
60
|
|
data/rdoc-sources/FXICOImage.rb
CHANGED
data/rdoc-sources/FXIconList.rb
CHANGED
@@ -25,8 +25,6 @@ module Fox
|
|
25
25
|
# Indicates whether this item is draggable or not [Boolean]
|
26
26
|
attr_writer :draggable
|
27
27
|
|
28
|
-
attr_writer :iconOwned
|
29
|
-
|
30
28
|
# Constructor
|
31
29
|
def initialize(text, bigIcon=nil, miniIcon=nil, data=nil) # :yields: theIconItem
|
32
30
|
end
|
@@ -46,9 +44,6 @@ module Fox
|
|
46
44
|
# Return +true+ if this item is draggable
|
47
45
|
def draggable? ; end
|
48
46
|
|
49
|
-
# Return +true+ if this item owns its icons
|
50
|
-
def iconOwned? ; end
|
51
|
-
|
52
47
|
# Return the width of this item
|
53
48
|
def getWidth(iconList); end
|
54
49
|
|
@@ -191,6 +186,9 @@ module Fox
|
|
191
186
|
def initialize(p, tgt=nil, sel=0, opts=ICONLIST_NORMAL, x=0, y=0, w=0, h=0) # :yields: theIconList
|
192
187
|
end
|
193
188
|
|
189
|
+
# Set headers from an array of strings.
|
190
|
+
def setHeaders(strings, size=1); end
|
191
|
+
|
194
192
|
# Append header with given _text_ and optional _icon_.
|
195
193
|
def appendHeader(text, icon=nil, size=1); end
|
196
194
|
|
@@ -224,20 +222,26 @@ module Fox
|
|
224
222
|
|
225
223
|
# Return the item at the given _index_.
|
226
224
|
# Raises IndexError if _index_ is out of bounds.
|
227
|
-
def
|
225
|
+
def getItem(itemIndex); end
|
228
226
|
|
229
227
|
# Replace the item at _index_ with a (possibly subclassed) _item_.
|
230
228
|
# If _notify_ is +true+, a +SEL_REPLACED+ message is sent to the list's message target
|
231
229
|
# before the item is replaced.
|
232
230
|
# Raises IndexError if _index_ is out of bounds.
|
233
|
-
def
|
231
|
+
def setItem(index, item, notify=false); end
|
234
232
|
|
235
233
|
# Replace item _text_, _bigIcon_, _miniIcon_ and user _data_ for the item at _index_.
|
236
234
|
# If _notify_ is +true+, a +SEL_REPLACED+ message is sent to the list's message target
|
237
235
|
# before the item is replaced.
|
238
236
|
# Raises IndexError if _index_ is out of bounds.
|
239
|
-
def
|
237
|
+
def setItem(index, text, bigIcon=nil, miniIcon=nil, data=nil, notify=false); end
|
240
238
|
|
239
|
+
#
|
240
|
+
# Fill list by appending items from array of strings, and return the number
|
241
|
+
# of items appended.
|
242
|
+
#
|
243
|
+
def fillItems(strings, big=nil, mini=nil, data=nil, notify=false); end
|
244
|
+
|
241
245
|
# Insert a new (possibly subclassed) _item_ at the given _index_.
|
242
246
|
# If _notify_ is +true+, a +SEL_INSERTED+ message is sent to the list's message target
|
243
247
|
# after the item is inserted.
|
@@ -292,12 +296,32 @@ module Fox
|
|
292
296
|
def clearItems(notify=false); end
|
293
297
|
|
294
298
|
# Return index of item at (_x_, _y_), or -1 if none
|
295
|
-
def
|
299
|
+
def getItemAt(x, y); end
|
296
300
|
|
297
|
-
#
|
298
|
-
#
|
301
|
+
#
|
302
|
+
# Search items by _text_, beginning from item _start_. If the start
|
303
|
+
# item is -1 the search will start at the first item in the list.
|
304
|
+
# Flags may be SEARCH_FORWARD or SEARCH_BACKWARD to control the
|
305
|
+
# search direction; this can be combined with SEARCH_NOWRAP or SEARCH_WRAP
|
306
|
+
# to control whether the search wraps at the start or end of the list.
|
307
|
+
# The option SEARCH_IGNORECASE causes a case-insensitive match. Finally,
|
308
|
+
# passing SEARCH_PREFIX causes searching for a prefix of the item name.
|
309
|
+
# Return -1 if no matching item is found.
|
310
|
+
#
|
299
311
|
def findItem(text, start=-1, flags=SEARCH_FORWARD|SEARCH_WRAP); end
|
300
312
|
|
313
|
+
#
|
314
|
+
# Search items by associated user _data_, beginning from item _start_. If the
|
315
|
+
# start item is -1 the search will start at the first item in the list.
|
316
|
+
# Flags may be SEARCH_FORWARD or SEARCH_BACKWARD to control the
|
317
|
+
# search direction; this can be combined with SEARCH_NOWRAP or SEARCH_WRAP
|
318
|
+
# to control whether the search wraps at the start or end of the list.
|
319
|
+
# The option SEARCH_IGNORECASE causes a case-insensitive match. Finally,
|
320
|
+
# passing SEARCH_PREFIX causes searching for a prefix of the item name.
|
321
|
+
# Return -1 if no matching item is found.
|
322
|
+
#
|
323
|
+
def findItemByData(data, start=-1, flags=SEARCH_FORWARD|SEARCH_WRAP); end
|
324
|
+
|
301
325
|
#
|
302
326
|
# Scroll to bring item into view. The argument is either a reference to
|
303
327
|
# an FXIconItem instance, or the integer index of an item in the list.
|
@@ -316,7 +340,7 @@ module Fox
|
|
316
340
|
|
317
341
|
# Change big icon for item at _index_.
|
318
342
|
# Raises IndexError if _index_ is out of bounds.
|
319
|
-
def setItemBigIcon(index, bigIcon); end
|
343
|
+
def setItemBigIcon(index, bigIcon, owned=false); end
|
320
344
|
|
321
345
|
# Return big icon for item at _index_.
|
322
346
|
# Raises IndexError if _index_ is out of bounds.
|
@@ -324,7 +348,7 @@ module Fox
|
|
324
348
|
|
325
349
|
# Change mini icon for item at _index_.
|
326
350
|
# Raises IndexError if _index_ is out of bounds.
|
327
|
-
def setItemMiniIcon(index, miniIcon); end
|
351
|
+
def setItemMiniIcon(index, miniIcon, owned=false); end
|
328
352
|
|
329
353
|
# Return mini icon for item at _index_.
|
330
354
|
# Raises IndexError if _index_ is out of bounds.
|
@@ -0,0 +1,100 @@
|
|
1
|
+
module Fox
|
2
|
+
#
|
3
|
+
# An icon source is an object that loads an icon of any type.
|
4
|
+
# It exists purely for convenience, to make loading icons
|
5
|
+
# simpler by concentrating the knowledge of the supported
|
6
|
+
# icon formats in a single place.
|
7
|
+
# Needless to say, this class is subclassable, allowing users
|
8
|
+
# to add additional icon types and make them available to
|
9
|
+
# all widgets which deal with icons.
|
10
|
+
# Note, the icons are loaded, but _not_ created (realized) yet;
|
11
|
+
# this allows users to manipulate the pixel data prior to
|
12
|
+
# realizing the icons.
|
13
|
+
#
|
14
|
+
class FXIconSource < FXObject
|
15
|
+
#
|
16
|
+
# Construct an icon source, given a reference to the application object.
|
17
|
+
#
|
18
|
+
def initialize(app) # :yields: theIconSource
|
19
|
+
end
|
20
|
+
|
21
|
+
#
|
22
|
+
# Load an icon from the file _filename_. By default, the file extension is
|
23
|
+
# stripped and used as the icon _type_; if an explicit icon type is forced,
|
24
|
+
# then that type is used and the extension is ignored.
|
25
|
+
# For example, loadIcon("icon", "gif") will try to load a CompuServe GIF
|
26
|
+
# file, since the filename does not give any clue as to the type of the
|
27
|
+
# icon.
|
28
|
+
# Returns a reference to the icon.
|
29
|
+
#
|
30
|
+
def loadIcon(filename, type=nil); end
|
31
|
+
|
32
|
+
#
|
33
|
+
# Load an icon of a given type (e.g. "gif") from reswrapped data.
|
34
|
+
# Returns +nil+ if there's some error loading the icon. (The optional
|
35
|
+
# _type_ parameter is actually mandatory at the time of this writing; future
|
36
|
+
# versions will attempt to inspect the first few bytes of the stream
|
37
|
+
# to divine the icon format if the parameter is omitted).
|
38
|
+
# Returns a reference to the icon.
|
39
|
+
#
|
40
|
+
def loadIcon(pixels, type=nil); end
|
41
|
+
|
42
|
+
#
|
43
|
+
# Load an icon of a given type (e.g. "gif") from an already open stream.
|
44
|
+
# Returns +nil+ if there's some error loading the icon. (The optional
|
45
|
+
# _type_ parameter is actually mandatory at the time of this writing; future
|
46
|
+
# versions will attempt to inspect the first few bytes of the stream
|
47
|
+
# to divine the icon format if the parameter is omitted).
|
48
|
+
# Returns a reference to the icon.
|
49
|
+
#
|
50
|
+
def loadIcon(store, type=nil); end
|
51
|
+
|
52
|
+
#
|
53
|
+
# Load an image from the file filename. By default, the file extension is
|
54
|
+
# stripped and used as the image type; if an explicit image type is forced,
|
55
|
+
# then that type is used and the extension is ignored.
|
56
|
+
# For example, loadImage("image","gif") will try to load a CompuServe GIF
|
57
|
+
# file, since the filename does not give any clue as to the type of the
|
58
|
+
# image.
|
59
|
+
#
|
60
|
+
def loadImage(filename, type=nil); end
|
61
|
+
|
62
|
+
#
|
63
|
+
# Load an image of a given type (e.g. "gif") from reswrapped data.
|
64
|
+
# Returns +nil+ if there's some error loading the icon. (The optional
|
65
|
+
# parameter is actually mandatory at the time of this writing; future
|
66
|
+
# versions will attempt to inspect the first few bytes of the stream
|
67
|
+
# to divine the icon format if the parameter is omitted).
|
68
|
+
#
|
69
|
+
def loadImage(pixels, type=nil); end
|
70
|
+
|
71
|
+
#
|
72
|
+
# Load an image of a given type (e.g. "gif") from an already open stream.
|
73
|
+
# Returns +nil+ if there's some error loading the image. (The optional
|
74
|
+
# parameter is actually mandatory at the time of this writing; future
|
75
|
+
# versions will attempt to inspect the first few bytes of the stream
|
76
|
+
# to divine the image format if the parameter is omitted).
|
77
|
+
#
|
78
|
+
def loadImage(store, type=nil); end
|
79
|
+
|
80
|
+
# Load icon and scale it such that its dimensions do not exceed given size
|
81
|
+
def loadScaledIcon(filename, size=32, qual=0, type=nil); end
|
82
|
+
|
83
|
+
# Load icon and scale it such that its dimensions do not exceed given size
|
84
|
+
def loadScaledIcon(pixels, size=32, qual=0, type=nil); end
|
85
|
+
|
86
|
+
# Load icon and scale it such that its dimensions do not exceed given size
|
87
|
+
def loadScaledIcon(store, size=32, qual=0, type=nil); end
|
88
|
+
|
89
|
+
# Load image and scale it such that its dimensions do not exceed given size
|
90
|
+
def loadScaledImage(filename, size=32, qual=0, type=nil); end
|
91
|
+
|
92
|
+
# Load image and scale it such that its dimensions do not exceed given size
|
93
|
+
def loadScaledImage(pixels, size=32, qual=0, type=nil); end
|
94
|
+
|
95
|
+
# Load image and scale it such that its dimensions do not exceed given size
|
96
|
+
def loadScaledImage(store, size=32, qual=0, type=nil); end
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
|
data/rdoc-sources/FXImage.rb
CHANGED
@@ -23,6 +23,8 @@ module Fox
|
|
23
23
|
# Dither image to look better
|
24
24
|
# +IMAGE_NEAREST+::
|
25
25
|
# Turn off dithering and map to nearest color
|
26
|
+
# +IMAGE_ALPHA+::
|
27
|
+
# Data has alpha channel
|
26
28
|
# +IMAGE_OPAQUE+::
|
27
29
|
# Force opaque background
|
28
30
|
# +IMAGE_ALPHACOLOR+::
|
@@ -151,7 +153,10 @@ module Fox
|
|
151
153
|
def rotate(degrees) ; end
|
152
154
|
|
153
155
|
#
|
154
|
-
# Crop image to given rectangle
|
156
|
+
# Crop image to given rectangle; this calls resize() to adjust the client
|
157
|
+
# and server side representations. The new image may be smaller or larger
|
158
|
+
# than the old one; blank areas are filled with color. There must be at
|
159
|
+
# least one pixel of overlap between the old and the new image.
|
155
160
|
#
|
156
161
|
# ==== Parameters:
|
157
162
|
#
|
@@ -159,8 +164,9 @@ module Fox
|
|
159
164
|
# +y+:: y-coordinate for top left corner of the clip rectangle [Integer]
|
160
165
|
# +w+:: width of the clip rectangle [Integer]
|
161
166
|
# +h+:: height of the clip rectangle [Integer]
|
167
|
+
# +color+:: fill color for blank areas after crop [FXColor]
|
162
168
|
#
|
163
|
-
def crop(x, y, w, h) ; end
|
169
|
+
def crop(x, y, w, h, color=0) ; end
|
164
170
|
|
165
171
|
#
|
166
172
|
# Save pixel data to a stream.
|