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
data/rdoc-sources/FXBMPIcon.rb
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
module Fox
|
|
2
|
-
#
|
|
2
|
+
#
|
|
3
|
+
# The BMP Icon class is a convenience class for working with icons in the
|
|
4
|
+
# Microsoft Bitmap (.bmp) graphics file format. This makes it possible to
|
|
5
|
+
# use resources created with Windows development tools inside FOX without
|
|
6
|
+
# need for graphics file format translators. The bitmap loaded handles
|
|
7
|
+
# 1, 4, and 8 bit paletted bitmaps, 16 and 24 bit RGB bitmaps, and
|
|
8
|
+
# 32 bit RGBA bitmaps.
|
|
9
|
+
#
|
|
3
10
|
class FXBMPIcon < FXIcon
|
|
11
|
+
#
|
|
12
|
+
# Return the suggested file extension for this image type ("bmp").
|
|
13
|
+
#
|
|
14
|
+
def FXBMPIcon.fileExt; end
|
|
15
|
+
|
|
4
16
|
#
|
|
5
17
|
# Return an initialized FXBMPIcon instance.
|
|
6
18
|
#
|
|
@@ -42,4 +54,9 @@ module Fox
|
|
|
42
54
|
# +height+:: height [Integer]
|
|
43
55
|
#
|
|
44
56
|
def Fox.fxsaveBMP(store, data, transp, width, height); end
|
|
57
|
+
|
|
58
|
+
#
|
|
59
|
+
# Return +true+ if _store_ (an FXStream instance) contains a BMP image.
|
|
60
|
+
#
|
|
61
|
+
def Fox.fxcheckBMP(store); end
|
|
45
62
|
end
|
data/rdoc-sources/FXBMPImage.rb
CHANGED
data/rdoc-sources/FXBitmap.rb
CHANGED
|
@@ -48,6 +48,13 @@ module Fox
|
|
|
48
48
|
#
|
|
49
49
|
def release(); end
|
|
50
50
|
|
|
51
|
+
#
|
|
52
|
+
# Resize both client-side and server-side representations (if any) to the
|
|
53
|
+
# given width and height. The new representations typically contain garbage
|
|
54
|
+
# after this operation and need to be re-filled.
|
|
55
|
+
#
|
|
56
|
+
def resize(w, h); end
|
|
57
|
+
|
|
51
58
|
# Save pixel data only
|
|
52
59
|
def savePixels(stream); end
|
|
53
60
|
|
|
@@ -60,7 +67,10 @@ module Fox
|
|
|
60
67
|
# Change pixel at (_x_, _y_), where _color_ is either +true+ or +false+.
|
|
61
68
|
def setPixel(x, y, color) ; end
|
|
62
69
|
|
|
63
|
-
#
|
|
70
|
+
#
|
|
71
|
+
# Rescale pixels image to the specified width and height; this calls
|
|
72
|
+
# #resize to adjust the client and server side representations.
|
|
73
|
+
#
|
|
64
74
|
def scale(w, h); end
|
|
65
75
|
|
|
66
76
|
# Mirror the bitmap horizontally and/or vertically
|
|
@@ -69,8 +79,13 @@ module Fox
|
|
|
69
79
|
# Rotate bitmap by _degrees_ degrees (counter-clockwise)
|
|
70
80
|
def rotate(degrees); end
|
|
71
81
|
|
|
72
|
-
#
|
|
73
|
-
|
|
82
|
+
#
|
|
83
|
+
# Crop bitmap to given rectangle; this calls #resize to adjust the client
|
|
84
|
+
# and server side representations. The new bitmap may be smaller or larger
|
|
85
|
+
# than the old one; blank areas are filled with _color_. There must be at
|
|
86
|
+
# least one pixel of overlap between the old and the new bitmap.
|
|
87
|
+
#
|
|
88
|
+
def crop(x, y, w, h, color=false); end
|
|
74
89
|
|
|
75
90
|
# Fill bitmap with uniform value
|
|
76
91
|
def fill(color); end
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
module Fox
|
|
2
2
|
#
|
|
3
|
-
#
|
|
3
|
+
# The bitmap frame is a simple frame widget displaying an monochrome bitmap
|
|
4
|
+
# image; the bitmap is not owned by the bitmap frame so it must be explicitly
|
|
5
|
+
# deleted elsewhere.
|
|
4
6
|
#
|
|
5
7
|
class FXBitmapFrame < FXFrame
|
|
6
8
|
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
module Fox
|
|
2
2
|
#
|
|
3
|
-
# The
|
|
3
|
+
# The Bitmap View widget display a scrollable view of a monochrome bitmap image;
|
|
4
|
+
# the bitmap is not owned by the bitmap frame so it must be explicitly deleted
|
|
5
|
+
# elsewhere. Thus, a single bitmap image can be displayed inside multiple bitmap
|
|
6
|
+
# view widgets.
|
|
4
7
|
#
|
|
5
8
|
# === Bitmap alignment styles
|
|
6
9
|
#
|
data/rdoc-sources/FXButton.rb
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
module Fox
|
|
2
|
+
#
|
|
2
3
|
# A button provides a push button, with optional icon and/or text label.
|
|
4
|
+
# When pressed, the button widget sends a <tt>SEL_COMMAND</tt> to its target.
|
|
5
|
+
# Passing the <tt>BUTTON_TOOLBAR</tt> style option gives buttons a "flat" look, and
|
|
6
|
+
# causes the edge of the button to be raised when the cursor moves over it.
|
|
7
|
+
# Passing <tt>BUTTON_DEFAULT</tt> allows the button to become the default button in
|
|
8
|
+
# a dialog, when the focus moves to it. The default widget in a dialog
|
|
9
|
+
# is the widget which will accept the _Return_ key when it is pressed.
|
|
10
|
+
# The <tt>BUTTON_INITIAL</tt> flag makes the button the default widget when the
|
|
11
|
+
# focus moves to a widget which can not itself be a default widget.
|
|
12
|
+
# There should be only a single button in the dialog which is the
|
|
13
|
+
# initial default; typically this is the _OK_ or _Close_ button.
|
|
14
|
+
# The option <tt>BUTTON_AUTOGRAY</tt> (<tt>BUTTON_AUTOHIDE</tt>) causes the button to be grayed
|
|
15
|
+
# out (hidden) if its handler does not respond to the <tt>SEL_UPDATE</tt> message.
|
|
16
|
+
# This is useful when messages are delegated, for example when using a
|
|
17
|
+
# multiple document interface, where the ultimaye destination of a message
|
|
18
|
+
# can be changed.
|
|
3
19
|
#
|
|
4
20
|
# === Events
|
|
5
21
|
#
|
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
module Fox
|
|
2
|
-
#
|
|
2
|
+
#
|
|
3
|
+
# A Check button is a tri-state button. Normally, it is either
|
|
3
4
|
# +TRUE+ or +FALSE+, and toggles between +TRUE+ or +FALSE+ whenever it is pressed.
|
|
4
5
|
# A third state +MAYBE+ may be set to indicate that no selection has been made yet
|
|
5
6
|
# by the user, or that the state is ambiguous.
|
|
7
|
+
# When pressed, the Check Button sends a <tt>SEL_COMMAND</tt> to its target, and the
|
|
8
|
+
# message data represents the state of the check button.
|
|
9
|
+
# The option <tt>CHECKBUTTON_AUTOGRAY</tt> (<tt>CHECKBUTTON_AUTOHIDE</tt>) causes the button to be
|
|
10
|
+
# grayed out (hidden) if its handler does not respond to the <tt>SEL_UPDATE</tt> message.
|
|
11
|
+
# With the <tt>CHECKBUTTON_PLUS</tt> option, the Check Button will draw a + or - sign instead
|
|
12
|
+
# of a check. You can use this to make collapsible panels, by hooking up a Check
|
|
13
|
+
# Button to a layout manager via the <tt>ID_TOGGLE_SHOWN</tt> message. This will give a
|
|
14
|
+
# similar visual element as collapsing folders in a Tree List.
|
|
6
15
|
#
|
|
7
16
|
# === Events
|
|
8
17
|
#
|
|
@@ -38,5 +47,20 @@ module Fox
|
|
|
38
47
|
# Construct new check button
|
|
39
48
|
def initialize(parent, text, target=nil, selector=0, opts=CHECKBUTTON_NORMAL, x=0, y=0, width=0, height=0, padLeft=DEFAULT_PAD, padRight=DEFAULT_PAD, padTop=DEFAULT_PAD, padBottom=DEFAULT_PAD) # :yields: theCheckButton
|
|
40
49
|
end
|
|
50
|
+
|
|
51
|
+
# Return +true+ if the check button state is +TRUE+
|
|
52
|
+
def checked?
|
|
53
|
+
self.check == TRUE
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
# Return +true+ if the check button state is +FALSE+
|
|
57
|
+
def unchecked?
|
|
58
|
+
self.check == FALSE
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
# Return +true+ if the check button state is +MAYBE+
|
|
62
|
+
def maybe?
|
|
63
|
+
self.check == MAYBE
|
|
64
|
+
end
|
|
41
65
|
end
|
|
42
66
|
end
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
module Fox
|
|
2
|
+
#
|
|
3
|
+
# The Choice Box provides a dialog panel to select one item out of a list
|
|
4
|
+
# of choices. The choices are provided as a list of text strings.
|
|
5
|
+
# When the dialog closes, the index of the selected choice is returned,
|
|
6
|
+
# while a -1 is returned if the dialog was canceled,
|
|
7
|
+
#
|
|
8
|
+
class FXChoiceBox < FXDialogBox
|
|
9
|
+
#
|
|
10
|
+
# Construct choice box with given caption, icon, message text, and with choices from array of strings.
|
|
11
|
+
#
|
|
12
|
+
# ==== Parameters:
|
|
13
|
+
#
|
|
14
|
+
# +owner+:: Owner window for this dialog box [FXWindow]
|
|
15
|
+
# +caption+:: Caption for this dialog box [String]
|
|
16
|
+
# +text+:: Message text for this dialog box [String]
|
|
17
|
+
# +icon+:: Icon for this dialog box [FXIcon]
|
|
18
|
+
# +choices+:: Array of strings containing choices [Array]
|
|
19
|
+
# +opts+:: Dialog box options [Integer]
|
|
20
|
+
# +x+:: x-coordinate
|
|
21
|
+
# +y+:: y-coordinate
|
|
22
|
+
# +w+:: width
|
|
23
|
+
# +h+:: height
|
|
24
|
+
#
|
|
25
|
+
def initialize(owner, caption, text, icon, choices, opts=0, x=0, y=0, w=0, h=0) # :yields: theChoiceBox
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
#
|
|
29
|
+
# Construct free floating choice box with given caption, icon, message text, and with choices from array of strings.
|
|
30
|
+
#
|
|
31
|
+
# ==== Parameters:
|
|
32
|
+
#
|
|
33
|
+
# +app+:: Reference to the application object [FXApp]
|
|
34
|
+
# +caption+:: Caption for this dialog box [String]
|
|
35
|
+
# +text+:: Message text for this dialog box [String]
|
|
36
|
+
# +icon+:: Icon for this dialog box [FXIcon]
|
|
37
|
+
# +choices+:: Array of strings containing choices [Array]
|
|
38
|
+
# +opts+:: Dialog box options [Integer]
|
|
39
|
+
# +x+:: x-coordinate
|
|
40
|
+
# +y+:: y-coordinate
|
|
41
|
+
# +w+:: width
|
|
42
|
+
# +h+:: height
|
|
43
|
+
#
|
|
44
|
+
def initialize(app, caption, text, icon, choices, opts=0, x=0, y=0, w=0, h=0) # :yields: theChoiceBox
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
#
|
|
48
|
+
# Show a modal choice dialog.
|
|
49
|
+
# Prompt the user using a dialog with given caption, icon,
|
|
50
|
+
# message text, and choices from array of strings.
|
|
51
|
+
# Returns -1 if the dialog box is cancelled, otherwise returns the index of the selected choice
|
|
52
|
+
#
|
|
53
|
+
# ==== Parameters:
|
|
54
|
+
#
|
|
55
|
+
# +owner+:: Owner window for this dialog box [FXWindow]
|
|
56
|
+
# +opts+:: Dialog box options [Integer]
|
|
57
|
+
# +caption+:: Caption for this dialog box [String]
|
|
58
|
+
# +text+:: Message text for this dialog box [String]
|
|
59
|
+
# +icon+:: Icon for this dialog box [FXIcon]
|
|
60
|
+
# +choices+:: Array of strings containing choices [Array]
|
|
61
|
+
#
|
|
62
|
+
def FXChoiceBox.ask(owner, opts, caption, text, icon, choices); end
|
|
63
|
+
|
|
64
|
+
#
|
|
65
|
+
# Show modal choice message, in free floating window.
|
|
66
|
+
# Prompt the user using a dialog with given caption, icon,
|
|
67
|
+
# message text, and with choices from array of strings.
|
|
68
|
+
# Returns -1 if the dialog box is cancelled, otherwise returns the index of the selected choice
|
|
69
|
+
#
|
|
70
|
+
# ==== Parameters:
|
|
71
|
+
#
|
|
72
|
+
# +app+:: Reference to the application object [FXApp]
|
|
73
|
+
# +opts+:: Dialog box options [Integer]
|
|
74
|
+
# +caption+:: Caption for this dialog box [String]
|
|
75
|
+
# +text+:: Message text for this dialog box [String]
|
|
76
|
+
# +icon+:: Icon for this dialog box [FXIcon]
|
|
77
|
+
# +choices+:: Array of strings containing choices [Array]
|
|
78
|
+
#
|
|
79
|
+
def FXChoiceBox.ask(app, opts, caption, text, icon, choices); end
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
|
data/rdoc-sources/FXColorBar.rb
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
module Fox
|
|
2
|
-
#
|
|
2
|
+
#
|
|
3
|
+
# A Color Bar is a widget which controls the brightness (value) of a
|
|
3
4
|
# color by means of the hue, saturation, value specification system.
|
|
5
|
+
# It is most useful when used together with the Color Wheel which controls
|
|
6
|
+
# the hue and saturation.
|
|
7
|
+
# The options <tt>COLORBAR_HORIZONTAL</tt> and <tt>COLORBAR_VERTICAL</tt> control the orientation
|
|
8
|
+
# of the bar.
|
|
4
9
|
#
|
|
5
10
|
# === Events
|
|
6
11
|
#
|
data/rdoc-sources/FXColorWell.rb
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
module Fox
|
|
2
|
-
#
|
|
2
|
+
#
|
|
3
|
+
# A Color Well is a widget which controls color settings.
|
|
3
4
|
# Colors may be dragged and dropped from one color well to another.
|
|
4
5
|
# A double-click inside a color well will bring up the standard
|
|
5
6
|
# color dialog panel to edit the color well's color.
|
|
@@ -11,17 +12,16 @@ module Fox
|
|
|
11
12
|
#
|
|
12
13
|
# The following messages are sent from FXColorWell to its target:
|
|
13
14
|
#
|
|
14
|
-
# +SEL_COMMAND+:: sent when a new color is applied
|
|
15
|
-
# +SEL_CHANGED+:: sent when the color changes
|
|
15
|
+
# +SEL_COMMAND+:: sent when a new color is applied; the message data is the color value.
|
|
16
|
+
# +SEL_CHANGED+:: sent when the color changes; the message data is the color value.
|
|
16
17
|
# +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
|
|
17
18
|
# +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
|
|
18
19
|
# +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
|
|
19
20
|
# +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
|
|
20
21
|
# +SEL_MIDDLEBUTTONPRESS+:: sent when the middle mouse button goes down; the message data is an FXEvent instance.
|
|
21
22
|
# +SEL_MIDDLEBUTTONRELEASE+:: sent when the middle mouse button goes up; the message data is an FXEvent instance.
|
|
22
|
-
# +SEL_CLICKED+:: sent when the color well is single-clicked
|
|
23
|
-
# +SEL_DOUBLECLICKED+:: sent when the color well is double-clicked
|
|
24
|
-
# +SEL_TRIPLECLICKED+:: sent when the color well is triple-clicked
|
|
23
|
+
# +SEL_CLICKED+:: sent when the color well is single-clicked; the message data is the color value.
|
|
24
|
+
# +SEL_DOUBLECLICKED+:: sent when the color well is double-clicked; the message data is the color value.
|
|
25
25
|
#
|
|
26
26
|
# === Color Well Styles
|
|
27
27
|
#
|
|
@@ -51,6 +51,14 @@ module Fox
|
|
|
51
51
|
def initialize(parent, color=0, target=nil, selector=0, opts=COLORWELL_NORMAL, x=0, y=0, width=0, height=0, padLeft=DEFAULT_PAD, padRight=DEFAULT_PAD, padTop=DEFAULT_PAD, padBottom=DEFAULT_PAD) # :yields: theColorWell
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
+
# Set the color for this color well to _clr_.
|
|
55
|
+
# If _notify_ is +true+, a <tt>SEL_COMMAND</tt> message is sent to the color
|
|
56
|
+
# well's message target after the color is changed.
|
|
57
|
+
def setRGBA(clr, notify=false); end
|
|
58
|
+
|
|
59
|
+
# Return the color for this color well.
|
|
60
|
+
def getRGBA; end
|
|
61
|
+
|
|
54
62
|
# Return +true+ if only opaque colors allowed
|
|
55
63
|
def opaqueOnly?() ; end
|
|
56
64
|
end
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
module Fox
|
|
2
|
-
#
|
|
3
|
-
#
|
|
2
|
+
#
|
|
3
|
+
# A Color Wheel is a widget which controls the hue and saturation values of a
|
|
4
|
+
# color. It is most often used together with a Color Bar which controls the
|
|
5
|
+
# brightness.
|
|
4
6
|
#
|
|
5
7
|
# === Events
|
|
6
8
|
#
|
|
7
9
|
# The following messages are sent by FXColorWheel to its target:
|
|
8
10
|
#
|
|
9
|
-
# +SEL_CHANGED+:: sent continuously, while the color is changing
|
|
10
|
-
# +SEL_COMMAND+:: sent when the new color is set
|
|
11
|
+
# +SEL_CHANGED+:: sent continuously, while the color is changing; the message data is a 3-element array of floats containing the hue, saturation and value.
|
|
12
|
+
# +SEL_COMMAND+:: sent when the new color is set; the message data is a 3-element array of floats containing the hue, saturation and value.
|
|
11
13
|
# +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
|
|
12
14
|
# +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
|
|
13
15
|
|
data/rdoc-sources/FXComboBox.rb
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
module Fox
|
|
2
|
-
#
|
|
2
|
+
#
|
|
3
|
+
# An FXComboBox provides a way to select a string from a list of strings.
|
|
4
|
+
# Unless +COMBOBOX_STATIC+ is passed, it also allows the user to enter a new
|
|
5
|
+
# string into the text field, for example if the desired entry is not in the
|
|
6
|
+
# list of strings. Passing +COMBOBOX_REPLACE+, +COMBOBOX_INSERT_BEFORE+, +COMBOBOX_INSERT_AFTER+,
|
|
7
|
+
# +COMBOBOX_INSERT_FIRST+, or +COMBOBOX_INSERT_LAST+ causes a newly entered text to replace the
|
|
8
|
+
# current one in the list, or be added before or after the current entry, or to be added at
|
|
9
|
+
# the beginning or end of the list.
|
|
10
|
+
# FXComboBox is intended to enter text; if you need to enter a choice from a list of
|
|
11
|
+
# options, it is recommended that the FXListBox widget is used instead.
|
|
12
|
+
# When the text in the field is changed, a +SEL_COMMAND+ will be send to the target.
|
|
13
|
+
# The FXComboBox can also receive +ID_GETSTRINGVALUE+ and +ID_SETSTRINGVALUE+ and so
|
|
14
|
+
# on, which will behave similar to FXTextField in that they will retrieve or update
|
|
15
|
+
# the value of the field.
|
|
3
16
|
#
|
|
4
17
|
# === Events
|
|
5
18
|
#
|
|
@@ -38,7 +51,7 @@ module Fox
|
|
|
38
51
|
# Number of items in the list [Integer]
|
|
39
52
|
attr_reader :numItems
|
|
40
53
|
|
|
41
|
-
# Number of visible items [Integer]
|
|
54
|
+
# Number of visible items in the drop-down list [Integer]
|
|
42
55
|
attr_accessor :numVisible
|
|
43
56
|
|
|
44
57
|
# Index of current item, or -1 if no current item [Integer]
|
|
@@ -69,12 +82,12 @@ module Fox
|
|
|
69
82
|
attr_accessor :tipText
|
|
70
83
|
|
|
71
84
|
#
|
|
72
|
-
# Return an initialized FXComboBox instance.
|
|
85
|
+
# Return an initialized FXComboBox instance, with room to display _cols_ columns of text.
|
|
73
86
|
#
|
|
74
87
|
# ==== Parameters:
|
|
75
88
|
#
|
|
76
89
|
# +p+:: the parent widget for this combo-box [FXComposite]
|
|
77
|
-
# +
|
|
90
|
+
# +cols+:: number of columns [Integer]
|
|
78
91
|
# +tgt+:: message target [FXObject]
|
|
79
92
|
# +sel+:: message identifier [Integer]
|
|
80
93
|
# +opts+:: the options [Integer]
|
|
@@ -87,7 +100,7 @@ module Fox
|
|
|
87
100
|
# +pt+:: top-side padding, in pixels [Integer]
|
|
88
101
|
# +pb+:: bottom-side padding, in pixels [Integer]
|
|
89
102
|
#
|
|
90
|
-
def initialize(p,
|
|
103
|
+
def initialize(p, cols, tgt=nil, sel=0, opts=COMBOBOX_NORMAL, x=0, y=0, w=0, h=0, pl=DEFAULT_PAD, pr=DEFAULT_PAD, pt=DEFAULT_PAD, pb=DEFAULT_PAD) # :yields: theComboBox
|
|
91
104
|
end
|
|
92
105
|
|
|
93
106
|
# Return +true+ if combobox is editable
|
|
@@ -105,6 +118,12 @@ module Fox
|
|
|
105
118
|
# Raises IndexError if _index_ is out of bounds.
|
|
106
119
|
def setItem(index, text, data=nil) ; end
|
|
107
120
|
|
|
121
|
+
#
|
|
122
|
+
# Fill combo box by appending items from _strings_, where _strings_ is
|
|
123
|
+
# an array of strings. Return the number of items added.
|
|
124
|
+
#
|
|
125
|
+
def fillItems(strings); end
|
|
126
|
+
|
|
108
127
|
# Insert a new item at _index_, with the specified _text_ and user _data_.
|
|
109
128
|
# Raises IndexError if _index_ is out of bounds.
|
|
110
129
|
def insertItem(index, text, data=nil) ; end
|
|
@@ -128,6 +147,35 @@ module Fox
|
|
|
128
147
|
# Remove all items from the list
|
|
129
148
|
def clearItems() ; end
|
|
130
149
|
|
|
150
|
+
#
|
|
151
|
+
# Search for items by name, beginning from the item with index _start_.
|
|
152
|
+
# If the start item is -1, the search will start at the first item in the
|
|
153
|
+
# list. The search _flags_ may be +SEARCH_FORWARD+ or +SEARCH_BACKWARD+, to
|
|
154
|
+
# control the search direction; this can be combined with +SEARCH_NOWRAP+ or
|
|
155
|
+
# +SEARCH_WRAP+ to control whether the search wraps at the start or end of
|
|
156
|
+
# the list.
|
|
157
|
+
# The option +SEARCH_IGNORECASE+ causes a case-insensitive match.
|
|
158
|
+
# Finally, passing +SEARCH_PREFIX+ causes searching for a prefix of the
|
|
159
|
+
# item name.
|
|
160
|
+
# Returns the index of the first matching item, or -1 if no matching item
|
|
161
|
+
# is found.
|
|
162
|
+
#
|
|
163
|
+
def findItem(text, start=-1, flags=SEARCH_FORWARD|SEARCH_WRAP); end
|
|
164
|
+
|
|
165
|
+
#
|
|
166
|
+
# Search for items by associated user data, beginning from the item with
|
|
167
|
+
# index _start_.
|
|
168
|
+
# If the start item is -1, the search will start at the first item in the
|
|
169
|
+
# list.
|
|
170
|
+
# The search _flags_ may be +SEARCH_FORWARD+ or +SEARCH_BACKWARD+, to
|
|
171
|
+
# control the search direction; this can be combined with +SEARCH_NOWRAP+ or
|
|
172
|
+
# +SEARCH_WRAP+ to control whether the search wraps at the start or end of
|
|
173
|
+
# the list.
|
|
174
|
+
# Returns the index of the first matching item, or -1 if no matching item
|
|
175
|
+
# is found.
|
|
176
|
+
#
|
|
177
|
+
def findItemByData(data, start=-1, flags=SEARCH_FORWARD|SEARCH_WRAP); end
|
|
178
|
+
|
|
131
179
|
# Set text for the item at _index_.
|
|
132
180
|
# Raises IndexError if _index_ is out of bounds.
|
|
133
181
|
def setItemText(index, text) ; end
|
data/rdoc-sources/FXCursor.rb
CHANGED
|
@@ -27,10 +27,10 @@ module Fox
|
|
|
27
27
|
attr_reader :height
|
|
28
28
|
|
|
29
29
|
# Hotspot x-coordinate (returns zero for stock cursors) [Integer]
|
|
30
|
-
|
|
30
|
+
attr_accessor :hotX
|
|
31
31
|
|
|
32
32
|
# Hotspot y-coordinate (returns zero for stock cursors) [Integer]
|
|
33
|
-
|
|
33
|
+
attr_accessor :hotY
|
|
34
34
|
|
|
35
35
|
#
|
|
36
36
|
# Make stock cursor, where _stockCursorId_ is one of the stock cursors
|