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
@@ -0,0 +1,85 @@
|
|
1
|
+
/***********************************************************************
|
2
|
+
* FXRuby -- the Ruby language bindings for the FOX GUI toolkit.
|
3
|
+
* Copyright (c) 2001 by J. Lyle Johnson. All Rights Reserved.
|
4
|
+
*
|
5
|
+
* This library is free software; you can redistribute it and/or
|
6
|
+
* modify it under the terms of the GNU Lesser General Public
|
7
|
+
* License as published by the Free Software Foundation; either
|
8
|
+
* version 2.1 of the License, or (at your option) any later version.
|
9
|
+
*
|
10
|
+
* This library is distributed in the hope that it will be useful,
|
11
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
13
|
+
* Lesser General Public License for more details.
|
14
|
+
*
|
15
|
+
* You should have received a copy of the GNU Lesser General Public
|
16
|
+
* License along with this library; if not, write to the Free Software
|
17
|
+
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
18
|
+
*
|
19
|
+
* For further information please contact the author by e-mail
|
20
|
+
* at "lyle@rubyforge.org".
|
21
|
+
***********************************************************************/
|
22
|
+
|
23
|
+
/***********************************************************************
|
24
|
+
* $Id: FXRbDockSite.h,v 1.1 2005/08/18 12:21:36 lyle Exp $
|
25
|
+
***********************************************************************/
|
26
|
+
|
27
|
+
#ifndef FXRBDOCKSITE_H
|
28
|
+
#define FXRBDOCKSITE_H
|
29
|
+
|
30
|
+
#define DECLARE_FXDOCKSITE_STUBS(klass) \
|
31
|
+
inline void klass ## _moveToolBar(klass* self,FXDockBar* bar,FXint barx,FXint bary){ \
|
32
|
+
self->klass::moveToolBar(bar,barx,bary); \
|
33
|
+
} \
|
34
|
+
inline void klass ## _dockToolBar(klass* self,FXDockBar* bar,FXWindow* before){ \
|
35
|
+
self->klass::dockToolBar(bar,before); \
|
36
|
+
} \
|
37
|
+
inline void klass ## _dockToolBar(klass* self,FXDockBar* bar,FXint barx,FXint bary){ \
|
38
|
+
self->klass::dockToolBar(bar,barx,bary); \
|
39
|
+
} \
|
40
|
+
inline void klass ## _undockToolBar(klass* self,FXDockBar* bar){ \
|
41
|
+
self->klass::undockToolBar(bar); \
|
42
|
+
}
|
43
|
+
|
44
|
+
#define IMPLEMENT_FXDOCKSITE_STUBS(cls) \
|
45
|
+
void cls::moveToolBar(FXDockBar* bar,FXint barx,FXint bary){ \
|
46
|
+
FXRbCallVoidMethod(this,rb_intern("moveToolBar"),bar,barx,bary); \
|
47
|
+
} \
|
48
|
+
void cls::dockToolBar(FXDockBar* bar,FXWindow* before){ \
|
49
|
+
FXRbCallVoidMethod(this,rb_intern("dockToolBar"),bar,before); \
|
50
|
+
} \
|
51
|
+
void cls::dockToolBar(FXDockBar* bar,FXint barx,FXint bary){ \
|
52
|
+
FXRbCallVoidMethod(this,rb_intern("dockToolBar"),bar,barx,bary); \
|
53
|
+
} \
|
54
|
+
void cls::undockToolBar(FXDockBar* bar){ \
|
55
|
+
FXRbCallVoidMethod(this,rb_intern("undockToolBar"),bar); \
|
56
|
+
}
|
57
|
+
|
58
|
+
|
59
|
+
class FXRbDockSite : public FXDockSite {
|
60
|
+
FXDECLARE(FXRbDockSite)
|
61
|
+
protected:
|
62
|
+
FXRbDockSite(){}
|
63
|
+
#include "FXRbObjectVirtuals.h"
|
64
|
+
#include "FXRbIdVirtuals.h"
|
65
|
+
#include "FXRbDrawableVirtuals.h"
|
66
|
+
#include "FXRbWindowVirtuals.h"
|
67
|
+
#include "FXRbDockSiteVirtuals.h"
|
68
|
+
public:
|
69
|
+
/**
|
70
|
+
* Construct a toolbar dock layout manager. Passing LAYOUT_SIDE_TOP or LAYOUT_SIDE_BOTTOM
|
71
|
+
* causes the toolbar dock to be oriented horizontally. Passing LAYOUT_SIDE_LEFT or
|
72
|
+
* LAYOUT_SIDE_RIGHT causes it to be oriented vertically.
|
73
|
+
*/
|
74
|
+
FXRbDockSite(FXComposite *p,FXuint opts=0,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=0,FXint pr=0,FXint pt=0,FXint pb=0,FXint hs=0,FXint vs=0) : FXDockSite(p,opts,x,y,w,h,pl,pr,pt,pb,hs,vs){}
|
75
|
+
|
76
|
+
// Mark dependencies for the GC
|
77
|
+
static void markfunc(FXDockSite* self);
|
78
|
+
|
79
|
+
// Destructor
|
80
|
+
virtual ~FXRbDockSite(){
|
81
|
+
FXRbUnregisterRubyObj(this);
|
82
|
+
}
|
83
|
+
};
|
84
|
+
|
85
|
+
#endif
|
@@ -0,0 +1,13 @@
|
|
1
|
+
public:
|
2
|
+
// Overrides the base class version of moveToolBar()
|
3
|
+
virtual void moveToolBar(FXDockBar* bar,FXint barx,FXint bary);
|
4
|
+
|
5
|
+
// Overrides the base class version of dockToolBar()
|
6
|
+
virtual void dockToolBar(FXDockBar* bar,FXWindow* before);
|
7
|
+
|
8
|
+
// Overrides the base class version of dockToolBar()
|
9
|
+
virtual void dockToolBar(FXDockBar* bar,FXint barx,FXint bary);
|
10
|
+
|
11
|
+
// Overrides the base class version of undockToolBar()
|
12
|
+
virtual void undockToolBar(FXDockBar* bar);
|
13
|
+
|
@@ -0,0 +1,51 @@
|
|
1
|
+
/***********************************************************************
|
2
|
+
* FXRuby -- the Ruby language bindings for the FOX GUI toolkit.
|
3
|
+
* Copyright (c) 2001-2003 by J. Lyle Johnson. All Rights Reserved.
|
4
|
+
*
|
5
|
+
* This library is free software; you can redistribute it and/or
|
6
|
+
* modify it under the terms of the GNU Lesser General Public
|
7
|
+
* License as published by the Free Software Foundation; either
|
8
|
+
* version 2.1 of the License, or (at your option) any later version.
|
9
|
+
*
|
10
|
+
* This library is distributed in the hope that it will be useful,
|
11
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
13
|
+
* Lesser General Public License for more details.
|
14
|
+
*
|
15
|
+
* You should have received a copy of the GNU Lesser General Public
|
16
|
+
* License along with this library; if not, write to the Free Software
|
17
|
+
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
18
|
+
*
|
19
|
+
* For further information please contact the author by e-mail
|
20
|
+
* at "lyle@users.sourceforge.net".
|
21
|
+
***********************************************************************/
|
22
|
+
|
23
|
+
/***********************************************************************
|
24
|
+
* $Id: FXRbDockTitle.h,v 1.1 2005/08/14 15:12:43 lyle Exp $
|
25
|
+
***********************************************************************/
|
26
|
+
|
27
|
+
#ifndef FXRBDOCKTITLE_H
|
28
|
+
#define FXRBDOCKTITLE_H
|
29
|
+
|
30
|
+
class FXRbDockTitle : public FXDockTitle {
|
31
|
+
FXDECLARE(FXRbDockTitle)
|
32
|
+
protected:
|
33
|
+
FXRbDockTitle(){}
|
34
|
+
#include "FXRbObjectVirtuals.h"
|
35
|
+
#include "FXRbIdVirtuals.h"
|
36
|
+
#include "FXRbDrawableVirtuals.h"
|
37
|
+
#include "FXRbWindowVirtuals.h"
|
38
|
+
public:
|
39
|
+
/// Construct frame window
|
40
|
+
FXRbDockTitle(FXComposite* p,const FXString& text,FXObject* tgt=NULL,FXSelector sel=0,FXuint opts=FRAME_NORMAL|JUSTIFY_CENTER_X|JUSTIFY_CENTER_Y,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=0,FXint pr=0,FXint pt=0,FXint pb=0) : FXDockTitle(p,text,tgt,sel,opts,x,y,w,h,pl,pr,pt,pb){}
|
41
|
+
|
42
|
+
// Mark dependencies for the GC
|
43
|
+
static void markfunc(FXDockTitle* frame);
|
44
|
+
|
45
|
+
// Destructor
|
46
|
+
virtual ~FXRbDockTitle(){
|
47
|
+
FXRbUnregisterRubyObj(this);
|
48
|
+
}
|
49
|
+
};
|
50
|
+
|
51
|
+
#endif
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id: FXRbDocument.h,v 1.1
|
24
|
+
* $Id: FXRbDocument.h,v 1.1 2005/08/14 15:12:43 lyle Exp $
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBDOCUMENT_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id: FXRbDragCorner.h,v 1.1
|
24
|
+
* $Id: FXRbDragCorner.h,v 1.1 2005/08/14 15:12:43 lyle Exp $
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBDRAGCORNER_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id: FXRbDrawable.h,v 1.1
|
24
|
+
* $Id: FXRbDrawable.h,v 1.1 2005/08/14 15:12:43 lyle Exp $
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBDRAWABLE_H
|
File without changes
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id: FXRbDriveBox.h,v 1.1
|
24
|
+
* $Id: FXRbDriveBox.h,v 1.1 2005/08/14 15:12:43 lyle Exp $
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBDRIVEBOX_H
|
@@ -35,6 +35,7 @@ protected:
|
|
35
35
|
#include "FXRbIdVirtuals.h"
|
36
36
|
#include "FXRbDrawableVirtuals.h"
|
37
37
|
#include "FXRbWindowVirtuals.h"
|
38
|
+
#include "FXRbListBoxVirtuals.h"
|
38
39
|
public:
|
39
40
|
/// Constructor
|
40
41
|
FXRbDriveBox(FXComposite *p,FXObject* tgt=NULL,FXSelector sel=0,FXuint opts=FRAME_SUNKEN|FRAME_THICK|LISTBOX_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=DEFAULT_PAD,FXint pr=DEFAULT_PAD,FXint pt=DEFAULT_PAD,FXint pb=DEFAULT_PAD) : FXDriveBox(p,tgt,sel,opts,x,y,w,h,pl,pr,pt,pb){}
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id: FXRbFileDialog.h,v 1.1
|
24
|
+
* $Id: FXRbFileDialog.h,v 1.1 2005/08/14 15:12:43 lyle Exp $
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBFILEDIALOG_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id: FXRbFileDict.h,v 1.1
|
24
|
+
* $Id: FXRbFileDict.h,v 1.1 2005/08/14 15:12:43 lyle Exp $
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBFILEDICT_H
|
File without changes
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id: FXRbFileList.h,v 1.1
|
24
|
+
* $Id: FXRbFileList.h,v 1.1 2005/08/14 15:12:43 lyle Exp $
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBFILELIST_H
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id: FXRbFileSelector.h,v 1.1
|
24
|
+
* $Id: FXRbFileSelector.h,v 1.1 2005/08/14 15:12:43 lyle Exp $
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBFILESELECTOR_H
|
@@ -3,10 +3,10 @@ public:
|
|
3
3
|
virtual void setText(const FXString& txt);
|
4
4
|
|
5
5
|
// Overrides the base class version of setOpenIcon()
|
6
|
-
virtual void setOpenIcon(FXIcon* icn);
|
6
|
+
virtual void setOpenIcon(FXIcon* icn,FXbool owned);
|
7
7
|
|
8
8
|
// Overrides the base class version of setClosedIcon()
|
9
|
-
virtual void setClosedIcon(FXIcon* icn);
|
9
|
+
virtual void setClosedIcon(FXIcon* icn,FXbool owned);
|
10
10
|
|
11
11
|
// Overrides the base class version of setFocus()
|
12
12
|
virtual void setFocus(FXbool focus);
|
@@ -26,9 +26,6 @@ public:
|
|
26
26
|
// Overrides the base class version of setDraggable()
|
27
27
|
virtual void setDraggable(FXbool draggable);
|
28
28
|
|
29
|
-
// Overrides the base class version of setIconOwned()
|
30
|
-
virtual void setIconOwned(FXuint owned);
|
31
|
-
|
32
29
|
// Overrides the base class version of getWidth()
|
33
30
|
virtual FXint getWidth(const FXFoldingList* list) const;
|
34
31
|
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
/***********************************************************************
|
24
|
-
* $Id: FXRbFoldingList.h,v 1.2 2005/
|
24
|
+
* $Id: FXRbFoldingList.h,v 1.2 2005/08/16 03:27:22 lyle Exp $
|
25
25
|
***********************************************************************/
|
26
26
|
|
27
27
|
#ifndef FXRBFOLDINGLIST_H
|
@@ -31,11 +31,11 @@
|
|
31
31
|
inline void klass ## _setText(klass* self,const FXString& text){ \
|
32
32
|
self->klass::setText(text); \
|
33
33
|
} \
|
34
|
-
inline void klass ## _setOpenIcon(klass* self,FXIcon* icn){ \
|
35
|
-
self->klass::setOpenIcon(icn); \
|
34
|
+
inline void klass ## _setOpenIcon(klass* self,FXIcon* icn,FXbool owned){ \
|
35
|
+
self->klass::setOpenIcon(icn,owned); \
|
36
36
|
} \
|
37
|
-
inline void klass ## _setClosedIcon(klass* self,FXIcon* icn){ \
|
38
|
-
self->klass::setClosedIcon(icn); \
|
37
|
+
inline void klass ## _setClosedIcon(klass* self,FXIcon* icn,FXbool owned){ \
|
38
|
+
self->klass::setClosedIcon(icn,owned); \
|
39
39
|
} \
|
40
40
|
inline void klass ## _setFocus(klass* self,FXbool focus){ \
|
41
41
|
self->klass::setFocus(focus); \
|
@@ -55,9 +55,6 @@ inline void klass ## _setEnabled(klass* self,FXbool enabled){ \
|
|
55
55
|
inline void klass ## _setDraggable(klass* self,FXbool draggable){ \
|
56
56
|
self->klass::setDraggable(draggable); \
|
57
57
|
} \
|
58
|
-
inline void klass ## _setIconOwned(klass* self,FXuint owned){ \
|
59
|
-
self->klass::setIconOwned(owned); \
|
60
|
-
} \
|
61
58
|
inline FXint klass ## _getWidth(const klass* self,const FXFoldingList* list){ \
|
62
59
|
return self->klass::getWidth(list); \
|
63
60
|
} \
|
@@ -79,11 +76,11 @@ inline void klass ## _destroy(klass* self){ \
|
|
79
76
|
void cls::setText(const FXString& txt){ \
|
80
77
|
FXRbCallVoidMethod(this,rb_intern("setText"),txt); \
|
81
78
|
} \
|
82
|
-
void cls::setOpenIcon(FXIcon* icn){ \
|
83
|
-
FXRbCallVoidMethod(this,rb_intern("setOpenIcon"),icn); \
|
79
|
+
void cls::setOpenIcon(FXIcon* icn,FXbool owned){ \
|
80
|
+
FXRbCallVoidMethod(this,rb_intern("setOpenIcon"),icn,owned); \
|
84
81
|
} \
|
85
|
-
void cls::setClosedIcon(FXIcon* icn){ \
|
86
|
-
FXRbCallVoidMethod(this,rb_intern("setClosedIcon"),icn); \
|
82
|
+
void cls::setClosedIcon(FXIcon* icn,FXbool owned){ \
|
83
|
+
FXRbCallVoidMethod(this,rb_intern("setClosedIcon"),icn,owned); \
|
87
84
|
} \
|
88
85
|
void cls::setFocus(FXbool focus){ \
|
89
86
|
FXRbCallVoidMethod(this,rb_intern("setFocus"),focus); \
|
@@ -103,9 +100,6 @@ inline void klass ## _destroy(klass* self){ \
|
|
103
100
|
void cls::setDraggable(FXbool draggable){ \
|
104
101
|
FXRbCallVoidMethod(this,rb_intern("setDraggable"),draggable); \
|
105
102
|
} \
|
106
|
-
void cls::setIconOwned(FXuint owned){ \
|
107
|
-
FXRbCallVoidMethod(this,rb_intern("setIconOwned"),owned); \
|
108
|
-
} \
|
109
103
|
FXint cls::getWidth(const FXFoldingList* list) const { \
|
110
104
|
return FXRbCallIntMethod(this,rb_intern("getWidth"),list); \
|
111
105
|
} \
|
@@ -149,6 +143,94 @@ public:
|
|
149
143
|
};
|
150
144
|
|
151
145
|
|
146
|
+
#define DECLARE_FXFOLDINGLIST_STUBS(klass) \
|
147
|
+
inline FXFoldingItem * klass ## _getItemAt(const klass* self,FXint x,FXint y){ \
|
148
|
+
return self->klass::getItemAt(x,y); \
|
149
|
+
} \
|
150
|
+
inline void klass ## _makeItemVisible(klass *self,FXFoldingItem *item){ \
|
151
|
+
self->klass::makeItemVisible(item); \
|
152
|
+
} \
|
153
|
+
inline FXbool klass ## _enableItem(klass *self,FXFoldingItem *item){ \
|
154
|
+
return self->klass::enableItem(item); \
|
155
|
+
} \
|
156
|
+
inline FXbool klass ## _disableItem(klass *self,FXFoldingItem *item){ \
|
157
|
+
return self->klass::disableItem(item); \
|
158
|
+
} \
|
159
|
+
inline FXbool klass ## _selectItem(klass *self,FXFoldingItem *item,FXbool notify){ \
|
160
|
+
return self->klass::selectItem(item,notify); \
|
161
|
+
} \
|
162
|
+
inline FXbool klass ## _deselectItem(klass *self,FXFoldingItem *item,FXbool notify){ \
|
163
|
+
return self->klass::deselectItem(item,notify); \
|
164
|
+
} \
|
165
|
+
inline FXbool klass ## _toggleItem(klass *self,FXFoldingItem *item,FXbool notify){ \
|
166
|
+
return self->klass::toggleItem(item,notify); \
|
167
|
+
} \
|
168
|
+
inline FXbool klass ## _extendSelection(klass *self,FXFoldingItem *item,FXbool notify){ \
|
169
|
+
return self->klass::extendSelection(item,notify); \
|
170
|
+
} \
|
171
|
+
inline FXbool klass ## _killSelection(klass *self,FXbool notify){ \
|
172
|
+
return self->klass::killSelection(notify); \
|
173
|
+
} \
|
174
|
+
inline FXbool klass ## _openItem(klass *self,FXFoldingItem *item,FXbool notify){ \
|
175
|
+
return self->klass::openItem(item,notify); \
|
176
|
+
} \
|
177
|
+
inline FXbool klass ## _closeItem(klass *self,FXFoldingItem *item,FXbool notify){ \
|
178
|
+
return self->klass::closeItem(item,notify); \
|
179
|
+
} \
|
180
|
+
inline FXbool klass ## _collapseTree(klass *self,FXFoldingItem *item,FXbool notify){ \
|
181
|
+
return self->klass::collapseTree(item,notify); \
|
182
|
+
} \
|
183
|
+
inline FXbool klass ## _expandTree(klass *self,FXFoldingItem *item,FXbool notify){ \
|
184
|
+
return self->klass::expandTree(item,notify); \
|
185
|
+
} \
|
186
|
+
inline void klass ## _setCurrentItem(klass *self,FXFoldingItem *item,FXbool notify){ \
|
187
|
+
self->klass::setCurrentItem(item,notify); \
|
188
|
+
}
|
189
|
+
|
190
|
+
#define IMPLEMENT_FXFOLDINGLIST_STUBS(cls) \
|
191
|
+
FXFoldingItem * cls::getItemAt(FXint x,FXint y) const { \
|
192
|
+
return FXRbCallFoldingItemMethod(this,rb_intern("getItemAt"),x,y); \
|
193
|
+
} \
|
194
|
+
void cls::makeItemVisible(FXFoldingItem *item) { \
|
195
|
+
FXRbCallVoidMethod(this,rb_intern("makeItemVisible"),item); \
|
196
|
+
} \
|
197
|
+
FXbool cls::enableItem(FXFoldingItem *item) { \
|
198
|
+
return FXRbCallBoolMethod(this,rb_intern("enableItem"),item); \
|
199
|
+
} \
|
200
|
+
FXbool cls::disableItem(FXFoldingItem *item) { \
|
201
|
+
return FXRbCallBoolMethod(this,rb_intern("disableItem"),item); \
|
202
|
+
} \
|
203
|
+
FXbool cls::selectItem(FXFoldingItem *item,FXbool notify) { \
|
204
|
+
return FXRbCallBoolMethod(this,rb_intern("selectItem"),item,notify); \
|
205
|
+
} \
|
206
|
+
FXbool cls::deselectItem(FXFoldingItem *item,FXbool notify) { \
|
207
|
+
return FXRbCallBoolMethod(this,rb_intern("deselectItem"),item,notify); \
|
208
|
+
} \
|
209
|
+
FXbool cls::toggleItem(FXFoldingItem *item,FXbool notify) { \
|
210
|
+
return FXRbCallBoolMethod(this,rb_intern("toggleItem"),item,notify); \
|
211
|
+
} \
|
212
|
+
FXbool cls::extendSelection(FXFoldingItem *item,FXbool notify) { \
|
213
|
+
return FXRbCallBoolMethod(this,rb_intern("extendSelection"),item,notify); \
|
214
|
+
} \
|
215
|
+
FXbool cls::killSelection(FXbool notify) { \
|
216
|
+
return FXRbCallBoolMethod(this,rb_intern("killSelection"),notify); \
|
217
|
+
} \
|
218
|
+
FXbool cls::openItem(FXFoldingItem *item,FXbool notify) { \
|
219
|
+
return FXRbCallBoolMethod(this,rb_intern("openItem"),item,notify); \
|
220
|
+
} \
|
221
|
+
FXbool cls::closeItem(FXFoldingItem *item,FXbool notify) { \
|
222
|
+
return FXRbCallBoolMethod(this,rb_intern("closeItem"),item,notify); \
|
223
|
+
} \
|
224
|
+
FXbool cls::collapseTree(FXFoldingItem *item,FXbool notify) { \
|
225
|
+
return FXRbCallBoolMethod(this,rb_intern("collapseTree"),item,notify); \
|
226
|
+
} \
|
227
|
+
FXbool cls::expandTree(FXFoldingItem *item,FXbool notify) { \
|
228
|
+
return FXRbCallBoolMethod(this,rb_intern("expandTree"),item,notify); \
|
229
|
+
} \
|
230
|
+
void cls::setCurrentItem(FXFoldingItem *item,FXbool notify) { \
|
231
|
+
FXRbCallVoidMethod(this,rb_intern("setCurrentItem"),item,notify); \
|
232
|
+
}
|
233
|
+
|
152
234
|
class FXRbFoldingList : public FXFoldingList {
|
153
235
|
FXDECLARE(FXRbFoldingList)
|
154
236
|
protected:
|
@@ -158,6 +240,7 @@ protected:
|
|
158
240
|
#include "FXRbDrawableVirtuals.h"
|
159
241
|
#include "FXRbWindowVirtuals.h"
|
160
242
|
#include "FXRbScrollAreaVirtuals.h"
|
243
|
+
#include "FXRbFoldingListVirtuals.h"
|
161
244
|
public:
|
162
245
|
/// Construct a folding tree list with nvis visible items; the list is initially empty
|
163
246
|
FXRbFoldingList(FXComposite *p,FXObject* tgt=NULL,FXSelector sel=0,FXuint opts=FOLDINGLIST_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0) : FXFoldingList(p,tgt,sel,opts,x,y,w,h){
|
@@ -0,0 +1,43 @@
|
|
1
|
+
public:
|
2
|
+
// Overrides the base class version of getItemAt()
|
3
|
+
virtual FXFoldingItem *getItemAt(FXint x,FXint y) const;
|
4
|
+
|
5
|
+
// Overrides the base class version of makeItemVisible()
|
6
|
+
virtual void makeItemVisible(FXFoldingItem* item);
|
7
|
+
|
8
|
+
/// Overrides the base class version of enableItem()
|
9
|
+
virtual FXbool enableItem(FXFoldingItem* item);
|
10
|
+
|
11
|
+
/// Overrides the base class version of disableItem()
|
12
|
+
virtual FXbool disableItem(FXFoldingItem* item);
|
13
|
+
|
14
|
+
/// Overrides the base class version of selectItem()
|
15
|
+
virtual FXbool selectItem(FXFoldingItem* item,FXbool notify=FALSE);
|
16
|
+
|
17
|
+
/// Overrides the base class version of deselectItem()
|
18
|
+
virtual FXbool deselectItem(FXFoldingItem* item,FXbool notify=FALSE);
|
19
|
+
|
20
|
+
/// Overrides the base class version of toggleItem()
|
21
|
+
virtual FXbool toggleItem(FXFoldingItem* item,FXbool notify=FALSE);
|
22
|
+
|
23
|
+
/// Extend selection from anchor item to item
|
24
|
+
virtual FXbool extendSelection(FXFoldingItem* item,FXbool notify=FALSE);
|
25
|
+
|
26
|
+
/// Deselect all items
|
27
|
+
virtual FXbool killSelection(FXbool notify=FALSE);
|
28
|
+
|
29
|
+
/// Open item
|
30
|
+
virtual FXbool openItem(FXFoldingItem* item,FXbool notify=FALSE);
|
31
|
+
|
32
|
+
/// Close item
|
33
|
+
virtual FXbool closeItem(FXFoldingItem* item,FXbool notify=FALSE);
|
34
|
+
|
35
|
+
/// Collapse tree
|
36
|
+
virtual FXbool collapseTree(FXFoldingItem* tree,FXbool notify=FALSE);
|
37
|
+
|
38
|
+
/// Expand tree
|
39
|
+
virtual FXbool expandTree(FXFoldingItem* tree,FXbool notify=FALSE);
|
40
|
+
|
41
|
+
/// Change current item
|
42
|
+
virtual void setCurrentItem(FXFoldingItem* item,FXbool notify=FALSE);
|
43
|
+
|