fxruby 1.4.7 → 1.6.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/doc/apes02.html +6 -6
- data/doc/apes03.html +11 -11
- data/doc/book.html +1 -1
- data/doc/build.html +65 -67
- data/doc/ch03s02.html +7 -7
- data/doc/ch03s03.html +18 -18
- data/doc/ch03s04.html +11 -11
- data/doc/ch03s05.html +14 -14
- data/doc/ch04s02.html +14 -14
- data/doc/ch04s03.html +15 -15
- data/doc/ch04s04.html +28 -28
- data/doc/ch05s02.html +49 -49
- data/doc/ch05s03.html +8 -8
- data/doc/clipboardtut.html +45 -57
- data/doc/cvs.html +10 -10
- data/doc/differences.html +4 -4
- data/doc/dragdroptut.html +50 -50
- data/doc/events.html +11 -11
- data/doc/examples.html +48 -48
- data/doc/gems.html +38 -38
- data/doc/goals.html +4 -4
- data/doc/implementation.html +4 -4
- data/doc/infosources.html +9 -9
- data/doc/library.html +19 -19
- data/doc/opengl.html +31 -31
- data/doc/pt01.html +1 -1
- data/doc/pt02.html +1 -1
- data/doc/scintilla.html +15 -15
- data/doc/todo.html +6 -6
- data/doc/tutorial1.html +34 -34
- data/examples/babelfish.rb +1 -1
- data/examples/bounce.rb +1 -1
- data/examples/browser.rb +2 -2
- data/examples/button.rb +1 -1
- data/examples/datatarget.rb +2 -2
- data/examples/dctest.rb +12 -12
- data/examples/dialog.rb +1 -1
- data/examples/dilbert.rb +2 -2
- data/examples/dirlist.rb +1 -1
- data/examples/dragdrop.rb +1 -1
- data/examples/dragsource.rb +1 -1
- data/examples/dropsite.rb +1 -1
- data/examples/foursplit.rb +1 -1
- data/examples/gltest.rb +2 -2
- data/examples/glviewer.rb +4 -4
- data/examples/groupbox.rb +22 -22
- data/examples/header.rb +1 -1
- data/examples/hello.rb +1 -1
- data/examples/hello2.rb +1 -1
- data/examples/iconlist.rb +1 -1
- data/examples/image.rb +2 -2
- data/examples/imageviewer.rb +1 -1
- data/examples/inputs.rb +1 -1
- data/examples/mditest.rb +2 -2
- data/examples/pig.rb +1 -1
- data/examples/raabrowser.rb +2 -2
- data/examples/ratio.rb +2 -2
- data/examples/scintilla-test.rb +2 -2
- data/examples/scribble-orig.rb +3 -3
- data/examples/scribble.rb +1 -1
- data/examples/shutter.rb +1 -1
- data/examples/splitter.rb +36 -36
- data/examples/styledtext.rb +2 -2
- data/examples/tabbook.rb +1 -1
- data/examples/table.rb +1 -1
- data/examples/textedit/commands.rb +2 -2
- data/examples/textedit/helpwindow.rb +1 -1
- data/examples/textedit/prefdialog.rb +1 -1
- data/examples/textedit/textedit.rb +5 -3
- data/ext/{fox14 → fox16}/FXRbApp.cpp +1 -1
- data/ext/{fox14 → fox16}/FXRbDataTarget.cpp +1 -1
- data/ext/{fox14 → fox16}/FXRbGLViewer.cpp +1 -1
- data/ext/{fox14 → fox16}/FXRuby.cpp +137 -39
- data/ext/{fox14 → fox16}/MANIFEST +0 -0
- data/ext/{fox14 → fox16}/core_wrap.cpp +1177 -659
- data/ext/{fox14 → fox16}/dc_wrap.cpp +110 -3
- data/ext/{fox14 → fox16}/dialogs_wrap.cpp +381 -153
- data/ext/{fox14 → fox16}/extconf.rb +8 -8
- data/ext/{fox14 → fox16}/frames_wrap.cpp +1590 -1219
- data/ext/{fox14 → fox16}/fx3d_wrap.cpp +1060 -403
- data/ext/{fox14 → fox16}/iconlist_wrap.cpp +80 -25
- data/ext/{fox14 → fox16}/icons_wrap.cpp +296 -316
- data/ext/{fox14 → fox16}/image_wrap.cpp +267 -153
- data/ext/{fox14 → fox16}/impl.cpp +29 -0
- data/ext/{fox14 → fox16}/include/FXMemoryBuffer.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRb4Splitter.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRb7Segment.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbAccelTable.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbApp.h +3 -3
- data/ext/{fox14 → fox16}/include/FXRbAppVirtuals.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbArrowButton.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbBMPIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbBMPImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbBitmap.h +23 -5
- data/ext/{fox14 → fox16}/include/FXRbBitmapFrame.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbBitmapView.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbBitmapVirtuals.h +12 -2
- data/ext/{fox14 → fox16}/include/FXRbButton.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbCURCursor.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbCanvas.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbCheckButton.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbChoiceBox.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbColorBar.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbColorDialog.h +1 -1
- data/ext/fox16/include/FXRbColorList.h +84 -0
- data/ext/fox16/include/FXRbColorRing.h +51 -0
- data/ext/{fox14 → fox16}/include/FXRbColorSelector.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbColorWell.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbColorWheel.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbComboBox.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbCommon.h +4 -1
- data/ext/{fox14 → fox16}/include/FXRbComposite.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbCursor.h +5 -5
- data/ext/{fox14 → fox16}/include/FXRbCursorVirtuals.h +2 -2
- data/ext/{fox14 → fox16}/include/FXRbDC.h +18 -0
- data/ext/{fox14 → fox16}/include/FXRbDCPrint.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbDCVirtuals.h +9 -0
- data/ext/{fox14 → fox16}/include/FXRbDCWindow.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbDataTarget.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDebugTarget.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDelegator.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDial.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDialogBox.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDialogBoxVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbDict.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDirBox.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDirDialog.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDirList.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDirSelector.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDockBar.h +13 -13
- data/ext/{fox14 → fox16}/include/FXRbDockBarVirtuals.h +3 -3
- data/ext/{fox14 → fox16}/include/FXRbDockHandler.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDockSite.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDockSiteVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbDockTitle.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDocument.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDragCorner.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDrawable.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDrawableVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbDriveBox.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbFileDialog.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbFileDict.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbFileDictVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbFileList.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbFileSelector.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbFoldingItemVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbFoldingList.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbFoldingListVirtuals.h +0 -0
- data/ext/fox16/include/FXRbFont.h +183 -0
- data/ext/{fox14 → fox16}/include/FXRbFontDialog.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbFontSelector.h +1 -1
- data/ext/fox16/include/FXRbFontVirtuals.h +55 -0
- data/ext/{fox14 → fox16}/include/FXRbFrame.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGIFCursor.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGIFIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGIFImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGLCanvas.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGLCanvasVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbGLContext.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGLObject.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGLObjectVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbGLShape.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGLShapeVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbGLViewer.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGLViewerVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbGLVisual.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGradientBar.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGroupBox.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbHeader.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbHeaderItemVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbHorizontalFrame.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbICOIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbICOImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbIconItemVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbIconList.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbIconListVirtuals.h +0 -0
- data/ext/fox16/include/FXRbIconSource.h +127 -0
- data/ext/fox16/include/FXRbIconSourceVirtuals.h +37 -0
- data/ext/{fox14 → fox16}/include/FXRbId.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbIdVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbImage.h +7 -7
- data/ext/{fox14 → fox16}/include/FXRbImageFrame.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbImageView.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbImageVirtuals.h +3 -3
- data/ext/{fox14 → fox16}/include/FXRbInputDialog.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbJPGIcon.h +2 -2
- data/ext/{fox14 → fox16}/include/FXRbJPGImage.h +2 -2
- data/ext/fox16/include/FXRbKnob.h +51 -0
- data/ext/{fox14 → fox16}/include/FXRbLabel.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbList.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbListBox.h +5 -5
- data/ext/{fox14 → fox16}/include/FXRbListBoxVirtuals.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbListItemVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbListVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbMDIButton.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMDIChild.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMDIChildVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbMDIClient.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMDIClientVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbMainWindow.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMatrix.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuBar.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuButton.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuCaption.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuCascade.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuCheck.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuCommand.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuPane.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuRadio.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuSeparator.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuTitle.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMessageBox.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbObject.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbObjectVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbOptionMenu.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPCXIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPCXImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPNGIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPNGImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPPMIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPPMImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPacker.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPicker.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPopup.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPopupVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbPrintDialog.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbProgressBar.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbProgressDialog.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbRGBIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbRGBImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbRadioButton.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbRealSlider.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbRealSpinner.h +5 -5
- data/ext/fox16/include/FXRbRealSpinnerVirtuals.h +3 -0
- data/ext/{fox14 → fox16}/include/FXRbRecentFiles.h +6 -3
- data/ext/{fox14 → fox16}/include/FXRbRegistry.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbReplaceDialog.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbRootWindow.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbRuler.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbScintilla.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbScrollArea.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbScrollAreaVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbScrollBar.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbScrollPane.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbScrollWindow.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbSearchDialog.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbSeparator.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbSettings.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbShell.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbShutter.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbShutterVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbSlider.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbSpinner.h +5 -5
- data/ext/{fox14 → fox16}/include/FXRbSpinnerVirtuals.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbSplashWindow.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbSplitter.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbSpring.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbStatusBar.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbStatusLine.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbStream.h +7 -7
- data/ext/{fox14 → fox16}/include/FXRbStreamVirtuals.h +3 -3
- data/ext/{fox14 → fox16}/include/FXRbStringDict.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbSwitcher.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTGAIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTGAImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTIFIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTIFImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTabBar.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTabBarVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbTabBook.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTabItem.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTable.h +9 -3
- data/ext/{fox14 → fox16}/include/FXRbTableItemVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbTableVirtuals.h +3 -0
- data/ext/fox16/include/FXRbText.h +187 -0
- data/ext/{fox14 → fox16}/include/FXRbTextField.h +1 -1
- data/ext/fox16/include/FXRbTextVirtuals.h +52 -0
- data/ext/{fox14 → fox16}/include/FXRbToggleButton.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbToolBar.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbToolBarGrip.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbToolBarShell.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbToolBarTab.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbToolTip.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTopWindow.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTopWindowVirtuals.h +0 -0
- data/ext/fox16/include/FXRbTranslator.h +61 -0
- data/ext/fox16/include/FXRbTranslatorVirtuals.h +4 -0
- data/ext/{fox14 → fox16}/include/FXRbTreeItemVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbTreeList.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTreeListBox.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTreeListBoxVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbTreeListVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbTriStateButton.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbVerticalFrame.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbVisual.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbWindow.h +27 -9
- data/ext/{fox14 → fox16}/include/FXRbWindowVirtuals.h +13 -4
- data/ext/{fox14 → fox16}/include/FXRbWizard.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbXBMIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbXBMImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbXPMIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbXPMImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRuby.h +43 -18
- data/ext/{fox14 → fox16}/include/impl.h +5 -0
- data/ext/{fox14 → fox16}/include/inlinestubs.h +29 -0
- data/ext/{fox14 → fox16}/label_wrap.cpp +319 -122
- data/ext/{fox14 → fox16}/layout_wrap.cpp +443 -153
- data/ext/{fox14 → fox16}/librb.c +0 -0
- data/ext/{fox14 → fox16}/list_wrap.cpp +660 -44
- data/ext/{fox14 → fox16}/markfuncs.cpp +38 -8
- data/ext/{fox14 → fox16}/mdi_wrap.cpp +253 -109
- data/ext/{fox14 → fox16}/menu_wrap.cpp +342 -146
- data/ext/{fox14 → fox16}/scintilla_wrap.cpp +58 -39
- data/ext/{fox14 → fox16}/table_wrap.cpp +294 -82
- data/ext/{fox14 → fox16}/text_wrap.cpp +203 -193
- data/ext/{fox14 → fox16}/treelist_wrap.cpp +125 -60
- data/ext/{fox14 → fox16}/ui_wrap.cpp +993 -714
- data/ext/{fox14 → fox16}/unregisterOwnedObjects.cpp +6 -1
- data/lib/{fox14 → fox16}/aliases.rb +119 -46
- data/lib/{fox14 → fox16}/calendar.rb +2 -2
- data/lib/{fox14 → fox16}/chore.rb +6 -22
- data/lib/{fox14 → fox16}/colors.rb +1 -1
- data/lib/{fox14 → fox16}/core.rb +122 -4
- data/lib/{fox14 → fox16}/dict.rb +0 -0
- data/lib/{fox14 → fox16}/execute_nonmodal.rb +0 -0
- data/lib/{fox14 → fox16}/glgroup.rb +4 -2
- data/lib/{fox14 → fox16}/glshapes.rb +1 -1
- data/lib/{fox14 → fox16}/input.rb +1 -1
- data/lib/{fox14 → fox16}/irb.rb +1 -1
- data/lib/{fox14 → fox16}/iterators.rb +1 -1
- data/lib/{fox14 → fox16}/keys.rb +2 -2
- data/lib/{fox14 → fox16}/missingdep.rb +1 -1
- data/lib/{fox14 → fox16}/pseudokeyboard.rb +1 -1
- data/lib/{fox14 → fox16}/pseudomouse.rb +1 -1
- data/lib/{fox14 → fox16}/responder.rb +1 -1
- data/lib/{fox14 → fox16}/responder2.rb +5 -5
- data/lib/{fox14 → fox16}/scintilla.rb +249 -12
- data/lib/{fox14 → fox16}/settings.rb +0 -0
- data/lib/{fox14 → fox16}/signal.rb +1 -1
- data/lib/{fox14 → fox16}/splashscreen.rb +2 -2
- data/lib/{fox14 → fox16}/timeout.rb +10 -37
- data/lib/{fox14 → fox16}/undolist.rb +2 -2
- data/lib/{fox14 → fox16}/version.rb +2 -2
- data/rdoc-sources/FX4Splitter.rb +24 -6
- data/rdoc-sources/FX7Segment.rb +6 -0
- data/rdoc-sources/FXAccelTable.rb +35 -0
- data/rdoc-sources/FXApp.rb +113 -1
- data/rdoc-sources/FXBMPIcon.rb +5 -0
- data/rdoc-sources/FXBMPImage.rb +5 -0
- data/rdoc-sources/FXBitmap.rb +23 -1
- data/rdoc-sources/FXCheckButton.rb +7 -0
- data/rdoc-sources/FXColorList.rb +55 -0
- data/rdoc-sources/FXColorRing.rb +49 -0
- data/rdoc-sources/FXColorWheel.rb +22 -2
- data/rdoc-sources/FXComboBox.rb +10 -0
- data/rdoc-sources/FXDC.rb +18 -0
- data/rdoc-sources/FXDial.rb +34 -1
- data/rdoc-sources/FXDirList.rb +1 -0
- data/rdoc-sources/FXDockBar.rb +21 -6
- data/rdoc-sources/FXDockHandler.rb +7 -0
- data/rdoc-sources/FXDockSite.rb +18 -0
- data/rdoc-sources/FXExtentd.rb +85 -0
- data/rdoc-sources/FXExtentf.rb +85 -0
- data/rdoc-sources/FXFileDialog.rb +11 -0
- data/rdoc-sources/FXFileDict.rb +7 -7
- data/rdoc-sources/FXFileList.rb +22 -0
- data/rdoc-sources/FXFileSelector.rb +10 -0
- data/rdoc-sources/FXFoldingList.rb +13 -2
- data/rdoc-sources/FXFont.rb +68 -62
- data/rdoc-sources/FXGIFIcon.rb +5 -0
- data/rdoc-sources/FXGIFImage.rb +5 -0
- data/rdoc-sources/FXGLViewer.rb +23 -0
- data/rdoc-sources/FXGradientBar.rb +10 -0
- data/rdoc-sources/FXHeader.rb +11 -0
- data/rdoc-sources/FXICOIcon.rb +5 -0
- data/rdoc-sources/FXICOImage.rb +5 -0
- data/rdoc-sources/FXIconList.rb +8 -0
- data/rdoc-sources/FXIconSource.rb +12 -12
- data/rdoc-sources/FXImage.rb +0 -4
- data/rdoc-sources/FXInputDialog.rb +19 -6
- data/rdoc-sources/FXJPGIcon.rb +5 -0
- data/rdoc-sources/FXJPGImage.rb +5 -0
- data/rdoc-sources/FXKnob.rb +76 -0
- data/rdoc-sources/FXList.rb +8 -0
- data/rdoc-sources/FXListBox.rb +7 -1
- data/rdoc-sources/FXMenuCaption.rb +3 -0
- data/rdoc-sources/FXMenuCheck.rb +2 -2
- data/rdoc-sources/FXMenuCommand.rb +1 -2
- data/rdoc-sources/FXMenuRadio.rb +5 -2
- data/rdoc-sources/FXOptionMenu.rb +7 -0
- data/rdoc-sources/FXPCXIcon.rb +5 -0
- data/rdoc-sources/FXPCXImage.rb +5 -0
- data/rdoc-sources/FXPNGIcon.rb +5 -0
- data/rdoc-sources/FXPNGImage.rb +5 -0
- data/rdoc-sources/FXPPMIcon.rb +5 -0
- data/rdoc-sources/FXPPMImage.rb +5 -0
- data/rdoc-sources/FXQuatd.rb +5 -12
- data/rdoc-sources/FXQuatf.rb +5 -7
- data/rdoc-sources/FXRGBIcon.rb +5 -0
- data/rdoc-sources/FXRGBImage.rb +5 -0
- data/rdoc-sources/FXRadioButton.rb +6 -0
- data/rdoc-sources/FXRanged.rb +3 -0
- data/rdoc-sources/FXRangef.rb +3 -0
- data/rdoc-sources/FXRealSlider.rb +3 -1
- data/rdoc-sources/FXRealSpinner.rb +11 -4
- data/rdoc-sources/FXRecentFiles.rb +10 -6
- data/rdoc-sources/FXRectangle.rb +12 -0
- data/rdoc-sources/FXRuler.rb +28 -0
- data/rdoc-sources/FXScrollBar.rb +9 -3
- data/rdoc-sources/FXScrollPane.rb +3 -0
- data/rdoc-sources/FXSettings.rb +26 -0
- data/rdoc-sources/FXSize.rb +65 -0
- data/rdoc-sources/FXSlider.rb +2 -0
- data/rdoc-sources/FXSphered.rb +12 -0
- data/rdoc-sources/FXSpheref.rb +12 -0
- data/rdoc-sources/FXSpinner.rb +8 -4
- data/rdoc-sources/FXTGAIcon.rb +5 -0
- data/rdoc-sources/FXTGAImage.rb +5 -0
- data/rdoc-sources/FXTIFIcon.rb +5 -0
- data/rdoc-sources/FXTIFImage.rb +5 -0
- data/rdoc-sources/FXTabBar.rb +5 -1
- data/rdoc-sources/FXTabBook.rb +3 -0
- data/rdoc-sources/FXTabItem.rb +7 -0
- data/rdoc-sources/FXTable.rb +96 -18
- data/rdoc-sources/FXText.rb +47 -12
- data/rdoc-sources/FXTextField.rb +6 -0
- data/rdoc-sources/FXToggleButton.rb +0 -1
- data/rdoc-sources/FXTopWindow.rb +44 -2
- data/rdoc-sources/FXTranslator.rb +32 -0
- data/rdoc-sources/FXTreeList.rb +8 -0
- data/rdoc-sources/FXTreeListBox.rb +20 -0
- data/rdoc-sources/{FXVec.rb → FXVec2d.rb} +28 -29
- data/rdoc-sources/FXVec2f.rb +96 -0
- data/rdoc-sources/FXVec3d.rb +113 -0
- data/rdoc-sources/FXVec3f.rb +113 -0
- data/rdoc-sources/FXVec4d.rb +129 -0
- data/rdoc-sources/FXVec4f.rb +129 -0
- data/rdoc-sources/FXWindow.rb +89 -14
- data/rdoc-sources/FXXBMIcon.rb +5 -0
- data/rdoc-sources/FXXBMImage.rb +5 -0
- data/rdoc-sources/FXXPMIcon.rb +5 -0
- data/rdoc-sources/FXXPMImage.rb +5 -0
- data/rdoc-sources/README.rdoc +1 -1
- data/tests/TC_FXAccelTable.rb +1 -1
- data/tests/TC_FXApp.rb +1 -1
- data/tests/TC_FXArc.rb +1 -1
- data/tests/TC_FXBMPIcon.rb +1 -1
- data/tests/TC_FXBMPImage.rb +1 -1
- data/tests/TC_FXButton.rb +1 -1
- data/tests/TC_FXCheckButton.rb +1 -1
- data/tests/TC_FXComboBox.rb +2 -1
- data/tests/TC_FXDC.rb +1 -1
- data/tests/TC_FXDCPrint.rb +1 -1
- data/tests/TC_FXDCWindow.rb +1 -1
- data/tests/TC_FXDataTarget.rb +1 -1
- data/tests/TC_FXDirList.rb +2 -2
- data/tests/TC_FXFileAssoc.rb +1 -1
- data/tests/TC_FXFileStream.rb +1 -1
- data/tests/TC_FXFont.rb +2 -2
- data/tests/TC_FXFontDesc.rb +15 -19
- data/tests/TC_FXGLGroup.rb +1 -1
- data/tests/TC_FXGLShape.rb +1 -1
- data/tests/TC_FXGLViewer.rb +1 -3
- data/tests/TC_FXGradientBar.rb +1 -1
- data/tests/TC_FXHeader.rb +2 -2
- data/tests/TC_FXIconDict.rb +1 -1
- data/tests/TC_FXIconList.rb +2 -2
- data/tests/TC_FXId.rb +2 -2
- data/tests/TC_FXImage.rb +1 -1
- data/tests/TC_FXLight.rb +1 -1
- data/tests/TC_FXList.rb +2 -12
- data/tests/TC_FXListBox.rb +2 -2
- data/tests/TC_FXMat4f.rb +1 -1
- data/tests/TC_FXMaterial.rb +2 -2
- data/tests/TC_FXMemoryStream.rb +1 -1
- data/tests/TC_FXMenuCheck.rb +1 -1
- data/tests/TC_FXMenuCommand.rb +15 -1
- data/tests/TC_FXMenuRadio.rb +1 -1
- data/tests/TC_FXPoint.rb +1 -1
- data/tests/TC_FXQuatf.rb +1 -1
- data/tests/TC_FXRadioButton.rb +1 -1
- data/tests/TC_FXRangef.rb +1 -1
- data/tests/TC_FXRectangle.rb +1 -1
- data/tests/TC_FXRegion.rb +1 -1
- data/tests/TC_FXRegistry.rb +1 -1
- data/tests/TC_FXScrollArea.rb +1 -1
- data/tests/TC_FXScrollWindow.rb +1 -1
- data/tests/TC_FXSegment.rb +1 -1
- data/tests/TC_FXSettings.rb +1 -1
- data/tests/TC_FXShell.rb +1 -1
- data/tests/TC_FXSize.rb +1 -1
- data/tests/TC_FXStream.rb +1 -1
- data/tests/TC_FXTable.rb +33 -1
- data/tests/TC_FXTableItem.rb +2 -2
- data/tests/TC_FXText.rb +2 -2
- data/tests/TC_FXTopWindow.rb +1 -1
- data/tests/TC_FXTreeList.rb +2 -2
- data/tests/TC_FXTreeListBox.rb +2 -2
- data/tests/TC_FXUndoList.rb +2 -2
- data/tests/TC_FXVec2d.rb +6 -6
- data/tests/TC_FXVec2f.rb +5 -5
- data/tests/TC_FXVec3d.rb +5 -5
- data/tests/TC_FXVec3f.rb +5 -5
- data/tests/TC_FXVec4f.rb +3 -3
- data/tests/TC_FXViewport.rb +1 -1
- data/tests/TC_FXXBMIcon.rb +1 -1
- data/tests/TC_FXXBMImage.rb +1 -1
- data/tests/TC_FXXPMIcon.rb +1 -1
- data/tests/TC_FXXPMImage.rb +1 -1
- data/tests/TC_Misc.rb +1 -1
- data/tests/TC_downcast.rb +1 -1
- data/tests/TS_All.rb +1 -2
- data/tests/stress1.rb +5 -5
- data/tests/stress2.rb +1 -1
- data/tests/stress3.rb +1 -1
- data/tests/testcase.rb +1 -1
- metadata +294 -280
- data/doc/changes.html +0 -433
- data/ext/fox14/include/FXRbFont.h +0 -70
- data/ext/fox14/include/FXRbIconSource.h +0 -127
- data/ext/fox14/include/FXRbIconSourceVirtuals.h +0 -37
- data/ext/fox14/include/FXRbRealSpinnerVirtuals.h +0 -3
- data/ext/fox14/include/FXRbText.h +0 -94
- data/ext/fox14/include/FXRbTextVirtuals.h +0 -9
- data/rdoc-sources/FXMat4.rb +0 -171
- data/rdoc-sources/FXVec4.rb +0 -91
|
@@ -1,127 +0,0 @@
|
|
|
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: FXRbIconSource.h 2157 2005-08-20 04:32:36Z lyle $
|
|
25
|
-
***********************************************************************/
|
|
26
|
-
|
|
27
|
-
#ifndef FXRBICONSOURCE_H
|
|
28
|
-
#define FXRBICONSOURCE_H
|
|
29
|
-
|
|
30
|
-
#define DECLARE_FXICONSOURCE_STUBS(cls) \
|
|
31
|
-
inline FXIcon* cls ## _loadIcon(const cls* self,const FXString& filename,const FXString& type){ \
|
|
32
|
-
return self->cls::loadIcon(filename,type); \
|
|
33
|
-
} \
|
|
34
|
-
inline FXIcon* cls ## _loadIcon(const cls* self,const void* pixels,const FXString& type){ \
|
|
35
|
-
return self->cls::loadIcon(pixels,type); \
|
|
36
|
-
} \
|
|
37
|
-
inline FXIcon* cls ## _loadIcon(const cls* self,FXStream& store,const FXString& type){ \
|
|
38
|
-
return self->cls::loadIcon(store,type); \
|
|
39
|
-
} \
|
|
40
|
-
inline FXImage* cls ## _loadImage(const cls* self,const FXString& filename,const FXString& type){ \
|
|
41
|
-
return self->cls::loadImage(filename,type); \
|
|
42
|
-
} \
|
|
43
|
-
inline FXImage* cls ## _loadImage(const cls* self,const void* pixels,const FXString& type){ \
|
|
44
|
-
return self->cls::loadImage(pixels,type); \
|
|
45
|
-
} \
|
|
46
|
-
inline FXImage* cls ## _loadImage(const cls* self,FXStream& store,const FXString& type){ \
|
|
47
|
-
return self->cls::loadImage(store,type); \
|
|
48
|
-
} \
|
|
49
|
-
inline FXIcon* cls ## _loadScaledIcon(const cls* self,const FXString& filename,FXint size,FXint qual,const FXString& type){ \
|
|
50
|
-
return self->cls::loadScaledIcon(filename,size,qual,type); \
|
|
51
|
-
} \
|
|
52
|
-
inline FXIcon* cls ## _loadScaledIcon(const cls* self,const void* pixels,FXint size,FXint qual,const FXString& type){ \
|
|
53
|
-
return self->cls::loadScaledIcon(pixels,size,qual,type); \
|
|
54
|
-
} \
|
|
55
|
-
inline FXIcon* cls ## _loadScaledIcon(const cls* self,FXStream& store,FXint size,FXint qual,const FXString& type){ \
|
|
56
|
-
return self->cls::loadScaledIcon(store,size,qual,type); \
|
|
57
|
-
} \
|
|
58
|
-
inline FXImage* cls ## _loadScaledImage(const cls* self,const FXString& filename,FXint size,FXint qual,const FXString& type){ \
|
|
59
|
-
return self->cls::loadScaledImage(filename,size,qual,type); \
|
|
60
|
-
} \
|
|
61
|
-
inline FXImage* cls ## _loadScaledImage(const cls* self,const void* pixels,FXint size,FXint qual,const FXString& type){ \
|
|
62
|
-
return self->cls::loadScaledImage(pixels,size,qual,type); \
|
|
63
|
-
} \
|
|
64
|
-
inline FXImage* cls ## _loadScaledImage(const cls* self,FXStream& store,FXint size,FXint qual,const FXString& type){ \
|
|
65
|
-
return self->cls::loadScaledImage(store,size,qual,type); \
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
#define IMPLEMENT_FXICONSOURCE_STUBS(cls) \
|
|
70
|
-
FXIcon* cls::loadIcon(const FXString& filename,const FXString& type) const { \
|
|
71
|
-
return FXRbCallIconMethod(this,rb_intern("loadIcon"),filename,type); \
|
|
72
|
-
} \
|
|
73
|
-
FXIcon* cls::loadIcon(const void* pixels,const FXString& type) const { \
|
|
74
|
-
return FXRbCallIconMethod(this,rb_intern("loadIcon"),pixels,type); \
|
|
75
|
-
} \
|
|
76
|
-
FXIcon* cls::loadIcon(FXStream& store,const FXString& type) const { \
|
|
77
|
-
return FXRbCallIconMethod(this,rb_intern("loadIcon"),store,type); \
|
|
78
|
-
} \
|
|
79
|
-
FXImage* cls::loadImage(const FXString& filename,const FXString& type) const { \
|
|
80
|
-
return FXRbCallImageMethod(this,rb_intern("loadImage"),filename,type); \
|
|
81
|
-
} \
|
|
82
|
-
FXImage* cls::loadImage(const void* pixels,const FXString& type) const { \
|
|
83
|
-
return FXRbCallImageMethod(this,rb_intern("loadImage"),pixels,type); \
|
|
84
|
-
} \
|
|
85
|
-
FXImage* cls::loadImage(FXStream& store,const FXString& type) const { \
|
|
86
|
-
return FXRbCallImageMethod(this,rb_intern("loadImage"),store,type); \
|
|
87
|
-
} \
|
|
88
|
-
FXIcon* cls::loadScaledIcon(const FXString& filename,FXint size,FXint qual,const FXString& type) const { \
|
|
89
|
-
return FXRbCallIconMethod(this,rb_intern("loadScaledIcon"),filename,size,qual,type); \
|
|
90
|
-
} \
|
|
91
|
-
FXIcon* cls::loadScaledIcon(const void* pixels,FXint size,FXint qual,const FXString& type) const { \
|
|
92
|
-
return FXRbCallIconMethod(this,rb_intern("loadScaledIcon"),pixels,size,qual,type); \
|
|
93
|
-
} \
|
|
94
|
-
FXIcon* cls::loadScaledIcon(FXStream& store,FXint size,FXint qual,const FXString& type) const { \
|
|
95
|
-
return FXRbCallIconMethod(this,rb_intern("loadScaledIcon"),store,size,qual,type); \
|
|
96
|
-
} \
|
|
97
|
-
FXImage* cls::loadScaledImage(const FXString& filename,FXint size,FXint qual,const FXString& type) const { \
|
|
98
|
-
return FXRbCallImageMethod(this,rb_intern("loadScaledImage"),filename,size,qual,type); \
|
|
99
|
-
} \
|
|
100
|
-
FXImage* cls::loadScaledImage(const void* pixels,FXint size,FXint qual,const FXString& type) const { \
|
|
101
|
-
return FXRbCallImageMethod(this,rb_intern("loadScaledImage"),pixels,size,qual,type); \
|
|
102
|
-
} \
|
|
103
|
-
FXImage* cls::loadScaledImage(FXStream& store,FXint size,FXint qual,const FXString& type) const { \
|
|
104
|
-
return FXRbCallImageMethod(this,rb_intern("loadScaledImage"),store,size,qual,type); \
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
class FXRbIconSource : public FXIconSource {
|
|
109
|
-
FXDECLARE(FXRbIconSource)
|
|
110
|
-
protected:
|
|
111
|
-
FXRbIconSource(){}
|
|
112
|
-
#include "FXRbObjectVirtuals.h"
|
|
113
|
-
#include "FXRbIconSourceVirtuals.h"
|
|
114
|
-
public:
|
|
115
|
-
// Constructor
|
|
116
|
-
FXRbIconSource(FXApp* app) : FXIconSource(app){}
|
|
117
|
-
|
|
118
|
-
// Mark dependencies for the GC
|
|
119
|
-
static void markfunc(FXIconSource* self);
|
|
120
|
-
|
|
121
|
-
// Destructor
|
|
122
|
-
virtual ~FXRbIconSource(){
|
|
123
|
-
FXRbUnregisterRubyObj(this);
|
|
124
|
-
}
|
|
125
|
-
};
|
|
126
|
-
|
|
127
|
-
#endif
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
public:
|
|
2
|
-
// Overrides the base class version of loadIcon()
|
|
3
|
-
virtual FXIcon *loadIcon(const FXString& filename,const FXString& type=FXString::null) const;
|
|
4
|
-
|
|
5
|
-
// Overrides the base class version of loadIcon()
|
|
6
|
-
virtual FXIcon *loadIcon(const void *pixels,const FXString& type=FXString::null) const;
|
|
7
|
-
|
|
8
|
-
// Overrides the base class version of loadIcon()
|
|
9
|
-
virtual FXIcon *loadIcon(FXStream& store,const FXString& type=FXString::null) const;
|
|
10
|
-
|
|
11
|
-
// Overrides the base class version of loadImage()
|
|
12
|
-
virtual FXImage *loadImage(const FXString& filename,const FXString& type=FXString::null) const;
|
|
13
|
-
|
|
14
|
-
// Overrides the base class version of loadImage()
|
|
15
|
-
virtual FXImage *loadImage(const void *pixels,const FXString& type=FXString::null) const;
|
|
16
|
-
|
|
17
|
-
// Overrides the base class version of loadImage()
|
|
18
|
-
virtual FXImage *loadImage(FXStream& store,const FXString& type=FXString::null) const;
|
|
19
|
-
|
|
20
|
-
// Overrides the base class version of loadScaledIcon()
|
|
21
|
-
virtual FXIcon *loadScaledIcon(const FXString& filename,FXint size=32,FXint qual=0,const FXString& type=FXString::null) const;
|
|
22
|
-
|
|
23
|
-
// Overrides the base class version of loadScaledIcon()
|
|
24
|
-
virtual FXIcon *loadScaledIcon(const void *pixels,FXint size=32,FXint qual=0,const FXString& type=FXString::null) const;
|
|
25
|
-
|
|
26
|
-
// Overrides the base class version of loadScaledIcon()
|
|
27
|
-
virtual FXIcon *loadScaledIcon(FXStream& store,FXint size=32,FXint qual=0,const FXString& type=FXString::null) const;
|
|
28
|
-
|
|
29
|
-
// Overrides the base class version of loadScaledImage()
|
|
30
|
-
virtual FXImage *loadScaledImage(const FXString& filename,FXint size=32,FXint qual=0,const FXString& type=FXString::null) const;
|
|
31
|
-
|
|
32
|
-
// Overrides the base class version of loadScaledImage()
|
|
33
|
-
virtual FXImage *loadScaledImage(const void *pixels,FXint size=32,FXint qual=0,const FXString& type=FXString::null) const;
|
|
34
|
-
|
|
35
|
-
// Overrides the base class version of loadScaledImage()
|
|
36
|
-
virtual FXImage *loadScaledImage(FXStream& store,FXint size=32,FXint qual=0,const FXString& type=FXString::null) const;
|
|
37
|
-
|
|
@@ -1,94 +0,0 @@
|
|
|
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: FXRbText.h 2142 2005-08-16 22:12:12Z lyle $
|
|
25
|
-
***********************************************************************/
|
|
26
|
-
|
|
27
|
-
#ifndef FXRBTEXT_H
|
|
28
|
-
#define FXRBTEXT_H
|
|
29
|
-
|
|
30
|
-
#define DECLARE_FXTEXT_STUBS(klass) \
|
|
31
|
-
inline void klass ## _setCursorPos(klass* self,FXint pos,FXbool notify){ \
|
|
32
|
-
self->klass::setCursorPos(pos,notify); \
|
|
33
|
-
} \
|
|
34
|
-
inline FXbool klass ## _extendSelection(klass* self,FXint pos,FXTextSelectionMode mode=SELECT_CHARS,FXbool notify=FALSE){ \
|
|
35
|
-
return self->klass::extendSelection(pos,mode,notify); \
|
|
36
|
-
} \
|
|
37
|
-
inline FXbool klass ## _killSelection(klass* self,FXbool notify=FALSE){ \
|
|
38
|
-
return self->klass::killSelection(notify); \
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
#define IMPLEMENT_FXTEXT_STUBS(cls) \
|
|
43
|
-
void cls::setCursorPos(FXint pos,FXbool notify){ \
|
|
44
|
-
FXRbCallVoidMethod(this,rb_intern("setCursorPos"),pos,notify); \
|
|
45
|
-
} \
|
|
46
|
-
FXbool cls::extendSelection(FXint pos,FXTextSelectionMode mode,FXbool notify){ \
|
|
47
|
-
return FXRbCallBoolMethod(this,rb_intern("extendSelection"),pos,mode,notify); \
|
|
48
|
-
} \
|
|
49
|
-
FXbool cls::killSelection(FXbool notify){ \
|
|
50
|
-
return FXRbCallBoolMethod(this,rb_intern("killSelection"),notify); \
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
class FXRbText : public FXText {
|
|
55
|
-
FXDECLARE(FXRbText)
|
|
56
|
-
protected:
|
|
57
|
-
FXRbText(){}
|
|
58
|
-
#include "FXRbObjectVirtuals.h"
|
|
59
|
-
#include "FXRbIdVirtuals.h"
|
|
60
|
-
#include "FXRbDrawableVirtuals.h"
|
|
61
|
-
#include "FXRbWindowVirtuals.h"
|
|
62
|
-
#include "FXRbScrollAreaVirtuals.h"
|
|
63
|
-
#include "FXRbTextVirtuals.h"
|
|
64
|
-
public:
|
|
65
|
-
/// Construct multi-line text widget
|
|
66
|
-
FXRbText(FXComposite *p,FXObject* tgt=NULL,FXSelector sel=0,FXuint opts=0,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=3,FXint pr=3,FXint pt=2,FXint pb=2) : FXText(p,tgt,sel,opts,x,y,w,h,pl,pr,pt,pb){
|
|
67
|
-
numStyles=0;
|
|
68
|
-
styles=0;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
// Number of styles in style array
|
|
72
|
-
FXint numStyles;
|
|
73
|
-
|
|
74
|
-
// Style array
|
|
75
|
-
FXHiliteStyle *styles;
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
// Mark dependencies for the GC
|
|
79
|
-
static void markfunc(FXText* self);
|
|
80
|
-
|
|
81
|
-
// Unregister objects that this text owns and is about to destroy
|
|
82
|
-
static void unregisterOwnedObjects(FXText *pText);
|
|
83
|
-
|
|
84
|
-
// Destructor
|
|
85
|
-
virtual ~FXRbText(){
|
|
86
|
-
numStyles=0;
|
|
87
|
-
delete [] styles;
|
|
88
|
-
styles=(FXHiliteStyle*)-1;
|
|
89
|
-
FXRbText::unregisterOwnedObjects(this);
|
|
90
|
-
FXRbUnregisterRubyObj(this);
|
|
91
|
-
}
|
|
92
|
-
};
|
|
93
|
-
|
|
94
|
-
#endif
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
public:
|
|
2
|
-
// Overrides the base class version of setCursorPos()
|
|
3
|
-
virtual void setCursorPos(FXint pos,FXbool notify=FALSE);
|
|
4
|
-
|
|
5
|
-
// Overrides the base class version of extendSelection()
|
|
6
|
-
virtual FXbool extendSelection(FXint pos,FXTextSelectionMode mode=SELECT_CHARS,FXbool notify=FALSE);
|
|
7
|
-
|
|
8
|
-
// Overrides the base class version of killSelection()
|
|
9
|
-
virtual FXbool killSelection(FXbool notify=FALSE);
|
data/rdoc-sources/FXMat4.rb
DELETED
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
module Fox
|
|
2
|
-
#
|
|
3
|
-
# FXHMat is a 3-D homogeneous matrix.
|
|
4
|
-
#
|
|
5
|
-
class FXHMat
|
|
6
|
-
#
|
|
7
|
-
# Returns a new FXHMat instance with uninitialized
|
|
8
|
-
# elements.
|
|
9
|
-
#
|
|
10
|
-
def initialize; end
|
|
11
|
-
|
|
12
|
-
#
|
|
13
|
-
# Returns a new FXHMat instance with all elements
|
|
14
|
-
# initialized to _w_.
|
|
15
|
-
#
|
|
16
|
-
def initialize(w); end
|
|
17
|
-
|
|
18
|
-
#
|
|
19
|
-
# Returns a new FXHMat instance with elements initialized
|
|
20
|
-
# by the supplied values (e.g. _a12_ is the initial value
|
|
21
|
-
# for the second row and third column).
|
|
22
|
-
#
|
|
23
|
-
def initialize(a00, a01, a02, a03, a10, a11, a12, a13, a20, a21, a22, a23, a30, a31, a32, a33); end
|
|
24
|
-
|
|
25
|
-
#
|
|
26
|
-
# Returns a new FXHMat instance with each row initialized
|
|
27
|
-
# to the values in each of the input vectors (_a_, _b_, _c_ and _d_).
|
|
28
|
-
#
|
|
29
|
-
def initialize(a, b, c, d); end
|
|
30
|
-
|
|
31
|
-
#
|
|
32
|
-
# Returns a new FXHMat instance initialized from the contents
|
|
33
|
-
# of _otherMatrix_.
|
|
34
|
-
#
|
|
35
|
-
def initialize(otherMatrix); end
|
|
36
|
-
|
|
37
|
-
# Returns sum of this matrix and _other_.
|
|
38
|
-
def +(other); end
|
|
39
|
-
|
|
40
|
-
# Returns _self_ - _other_.
|
|
41
|
-
def -(other); end
|
|
42
|
-
|
|
43
|
-
#
|
|
44
|
-
# Returns the product of this matrix and _x_, where
|
|
45
|
-
# _x_ is either another matrix or a scalar.
|
|
46
|
-
#
|
|
47
|
-
def *(x); end
|
|
48
|
-
|
|
49
|
-
#
|
|
50
|
-
# Returns the result of performing an elementwise division
|
|
51
|
-
# of this matrix by _x_.
|
|
52
|
-
#
|
|
53
|
-
def /(x); end
|
|
54
|
-
|
|
55
|
-
# Returns the <em>i</em>th row of this matrix (an FXHVec)
|
|
56
|
-
def [](i); end
|
|
57
|
-
|
|
58
|
-
# Returns the determinant of this matrix
|
|
59
|
-
def det(); end
|
|
60
|
-
|
|
61
|
-
# Returns the transpose of this matrix
|
|
62
|
-
def transpose; end
|
|
63
|
-
|
|
64
|
-
# Returns the inversion of this matrix
|
|
65
|
-
def invert; end
|
|
66
|
-
|
|
67
|
-
# Returns the stringified version of this matrix
|
|
68
|
-
def to_s; end
|
|
69
|
-
|
|
70
|
-
# Set to identity matrix and return _self_.
|
|
71
|
-
def eye(); end
|
|
72
|
-
|
|
73
|
-
# Set to orthographic projection for specified bounding box and return _self_.
|
|
74
|
-
def ortho(left, right, bottom, top, hither, yon); end
|
|
75
|
-
|
|
76
|
-
# Set to perspective projection for specified bounding box and return _self_.
|
|
77
|
-
def frustum(left, right, bottom, top, hither, yon); end
|
|
78
|
-
|
|
79
|
-
# Multiply by left-hand matrix and return _self_.
|
|
80
|
-
def left(); end
|
|
81
|
-
|
|
82
|
-
# Pre-multiply this matrix by the rotation about unit-quaternion _q_ and return _self_.
|
|
83
|
-
def rot(q); end
|
|
84
|
-
|
|
85
|
-
#
|
|
86
|
-
# Pre-multiply this matrix by the rotation (_c_, _s_) about _axis_ and
|
|
87
|
-
# return _self_. Here, _axis_ is a FXVec instance, _c_ is the cosine of
|
|
88
|
-
# the angle of rotation and _s_ is the sine of the angle of rotation.
|
|
89
|
-
#
|
|
90
|
-
def rot(axis, c, s); end
|
|
91
|
-
|
|
92
|
-
#
|
|
93
|
-
# Pre-multiply by a rotation of _phi_ radians about _axis_ (an FXVec
|
|
94
|
-
# instance) and and return _self_.
|
|
95
|
-
#
|
|
96
|
-
def rot(axis, phi); end
|
|
97
|
-
|
|
98
|
-
#
|
|
99
|
-
# Pre-multiply by rotation about the x-axis and return _self_.
|
|
100
|
-
# Here, _c_ is the cosine of the angle of rotation and _s_
|
|
101
|
-
# is the sine of the angle of rotation.
|
|
102
|
-
#
|
|
103
|
-
def xrot(c, s); end
|
|
104
|
-
|
|
105
|
-
#
|
|
106
|
-
# Pre-multiply by a rotation of _phi_ radians about the x-axis and return
|
|
107
|
-
# _self_.
|
|
108
|
-
#
|
|
109
|
-
def xrot(phi); end
|
|
110
|
-
|
|
111
|
-
#
|
|
112
|
-
# Pre-multiply by rotation about the y-axis and return _self_.
|
|
113
|
-
# Here, _c_ is the cosine of the angle of rotation and _s_
|
|
114
|
-
# is the sine of the angle of rotation.
|
|
115
|
-
#
|
|
116
|
-
def yrot(c, s); end
|
|
117
|
-
|
|
118
|
-
#
|
|
119
|
-
# Pre-multiply by a rotation of _phi_ radians about the y-axis and return
|
|
120
|
-
# _self_.
|
|
121
|
-
#
|
|
122
|
-
def yrot(phi); end
|
|
123
|
-
|
|
124
|
-
#
|
|
125
|
-
# Pre-multiply by rotation about the z-axis and return _self_.
|
|
126
|
-
# Here, _c_ is the cosine of the angle of rotation and _s_
|
|
127
|
-
# is the sine of the angle of rotation.
|
|
128
|
-
#
|
|
129
|
-
def zrot(c, s); end
|
|
130
|
-
|
|
131
|
-
#
|
|
132
|
-
# Pre-multiply by a rotation of _phi_ radians about the z-axis and return
|
|
133
|
-
# _self_.
|
|
134
|
-
#
|
|
135
|
-
def zrot(phi); end
|
|
136
|
-
|
|
137
|
-
#
|
|
138
|
-
# Look at and return _self_.
|
|
139
|
-
#
|
|
140
|
-
def look(eye, cntr, vup); end
|
|
141
|
-
|
|
142
|
-
#
|
|
143
|
-
# Pre-multiply this matrix by the translation tranformation matrix
|
|
144
|
-
# T(_tx_, _ty_, _tz_) and return _self_.
|
|
145
|
-
#
|
|
146
|
-
def trans(tx, ty, tz); end
|
|
147
|
-
|
|
148
|
-
#
|
|
149
|
-
# Pre-multiply this matrix by the translation tranformation matrix
|
|
150
|
-
# T(_vec_[0], _vec_[1], _vec_[2]) and return _self_.
|
|
151
|
-
#
|
|
152
|
-
def trans(vec); end
|
|
153
|
-
|
|
154
|
-
#
|
|
155
|
-
# Pre-multiply by the scaling tranformation matrix S(_sx_, _sy_, _sz_)
|
|
156
|
-
# and return _self_.
|
|
157
|
-
#
|
|
158
|
-
def scale(sx, sy, sz); end
|
|
159
|
-
|
|
160
|
-
#
|
|
161
|
-
# Scale by _s_ and return _self_.
|
|
162
|
-
#
|
|
163
|
-
def scale(s); end
|
|
164
|
-
|
|
165
|
-
#
|
|
166
|
-
# Pre-multiply by the scaling tranformation matrix S(_sx_, _sy_, _sz_)
|
|
167
|
-
# and return _self_.
|
|
168
|
-
#
|
|
169
|
-
def scale(vec); end
|
|
170
|
-
end
|
|
171
|
-
end
|