fxruby 1.6.22.pre2 → 1.6.22.pre3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +1 -1
- data/README.txt +10 -10
- data/Rakefile +3 -2
- data/doap.rdf +2 -2
- data/examples/babelfish.rb +2 -2
- data/examples/bounce.rb +20 -20
- data/examples/charts.rb +2 -2
- data/examples/custom_table_item.rb +3 -3
- data/examples/datatarget.rb +2 -2
- data/examples/dctest.rb +51 -51
- data/examples/dialog.rb +14 -14
- data/examples/dilbert.rb +4 -4
- data/examples/dirlist.rb +6 -6
- data/examples/dragdrop.rb +7 -7
- data/examples/dragsource.rb +6 -6
- data/examples/dropsite.rb +5 -5
- data/examples/foursplit.rb +6 -6
- data/examples/gltest.rb +40 -40
- data/examples/glviewer.rb +16 -16
- data/examples/groupbox.rb +41 -41
- data/examples/header.rb +6 -6
- data/examples/hello2.rb +2 -2
- data/examples/iconlist.rb +10 -10
- data/examples/image.rb +26 -26
- data/examples/imageviewer.rb +31 -31
- data/examples/inputs.rb +2 -2
- data/examples/mditest.rb +12 -12
- data/examples/pig.rb +8 -8
- data/examples/raabrowser.rb +5 -5
- data/examples/ratio.rb +9 -9
- data/examples/rulerview.rb +2 -2
- data/examples/scintilla-test.rb +6 -6
- data/examples/scribble-orig.rb +3 -3
- data/examples/scribble.rb +3 -3
- data/examples/shutter.rb +6 -6
- data/examples/splitter.rb +15 -15
- data/examples/styledtext.rb +10 -10
- data/examples/tabbook.rb +14 -14
- data/examples/table.rb +21 -21
- data/examples/textedit/helpwindow.rb +6 -6
- data/examples/textedit/textedit.rb +72 -72
- data/ext/fox16/FXRuby.cpp +48 -5
- data/ext/fox16/core_wrap.cpp +1 -1
- data/ext/fox16/iconlist_wrap.cpp +1 -1
- data/ext/fox16/icons_wrap.cpp +1 -1
- data/ext/fox16/include/FXMemoryBuffer.h +3 -3
- data/ext/fox16/include/FXRbApp.h +1 -1
- data/ext/fox16/include/FXRbBitmap.h +1 -1
- data/ext/fox16/include/FXRbBitmapFrame.h +2 -2
- data/ext/fox16/include/FXRbBitmapVirtuals.h +2 -2
- data/ext/fox16/include/FXRbDCPrint.h +1 -1
- data/ext/fox16/include/FXRbDCVirtuals.h +24 -24
- data/ext/fox16/include/FXRbDCWindow.h +1 -1
- data/ext/fox16/include/FXRbDockBar.h +1 -1
- data/ext/fox16/include/FXRbFileDict.h +2 -2
- data/ext/fox16/include/FXRbFoldingList.h +1 -1
- data/ext/fox16/include/FXRbFontVirtuals.h +9 -9
- data/ext/fox16/include/FXRbGLViewerVirtuals.h +2 -2
- data/ext/fox16/include/FXRbIconItemVirtuals.h +8 -8
- data/ext/fox16/include/FXRbIconListVirtuals.h +7 -7
- data/ext/fox16/include/FXRbIconSourceVirtuals.h +1 -1
- data/ext/fox16/include/FXRbImageFrame.h +2 -2
- data/ext/fox16/include/FXRbImageVirtuals.h +1 -1
- data/ext/fox16/include/FXRbListVirtuals.h +4 -4
- data/ext/fox16/include/FXRbMenuBar.h +1 -1
- data/ext/fox16/include/FXRbPopupVirtuals.h +1 -1
- data/ext/fox16/include/FXRbRecentFiles.h +1 -1
- data/ext/fox16/include/FXRbRuler.h +3 -3
- data/ext/fox16/include/FXRbRulerView.h +3 -3
- data/ext/fox16/include/FXRbScintilla.h +1 -1
- data/ext/fox16/include/FXRbSeparator.h +2 -2
- data/ext/fox16/include/FXRbTableItemVirtuals.h +8 -8
- data/ext/fox16/include/FXRbTableVirtuals.h +13 -13
- data/ext/fox16/include/FXRbText.h +2 -2
- data/ext/fox16/include/FXRbTextVirtuals.h +3 -3
- data/ext/fox16/include/FXRbToolBar.h +1 -1
- data/ext/fox16/include/FXRbToolBarGrip.h +1 -1
- data/ext/fox16/include/FXRbToolBarTab.h +1 -1
- data/ext/fox16/include/FXRbTreeList.h +1 -1
- data/ext/fox16/include/FXRbTreeListVirtuals.h +4 -4
- data/ext/fox16/include/FXRbWindow.h +3 -3
- data/ext/fox16/include/FXRbWizard.h +2 -2
- data/ext/fox16/include/FXRuby.h +8 -4
- data/ext/fox16/librb.c +12 -12
- data/ext/fox16/list_wrap.cpp +1 -1
- data/ext/fox16/make_impl.rb +5 -5
- data/ext/fox16/markfuncs.cpp +228 -220
- data/ext/fox16/scintilla_wrap.cpp +1 -1
- data/ext/fox16/treelist_wrap.cpp +4 -4
- data/ext/fox16/ui_wrap.cpp +2 -2
- data/ext/fox16/unregisterOwnedObjects.cpp +3 -3
- data/lib/fox16/accel_table.rb +1 -1
- data/lib/fox16/aliases.rb +3 -3
- data/lib/fox16/calendar.rb +21 -21
- data/lib/fox16/chore.rb +2 -2
- data/lib/fox16/core.rb +70 -70
- data/lib/fox16/dict.rb +1 -1
- data/lib/fox16/execute_nonmodal.rb +1 -1
- data/lib/fox16/glgroup.rb +16 -16
- data/lib/fox16/glshapes.rb +26 -26
- data/lib/fox16/input.rb +4 -4
- data/lib/fox16/irb.rb +2 -2
- data/lib/fox16/iterators.rb +2 -2
- data/lib/fox16/keys.rb +34 -34
- data/lib/fox16/kwargs.rb +927 -927
- data/lib/fox16/pseudokeyboard.rb +1 -1
- data/lib/fox16/pseudomouse.rb +1 -1
- data/lib/fox16/responder2.rb +4 -4
- data/lib/fox16/scintilla.rb +2 -2
- data/lib/fox16/signal.rb +4 -4
- data/lib/fox16/splashscreen.rb +3 -3
- data/lib/fox16/timeout.rb +3 -3
- data/lib/fox16/undolist.rb +9 -9
- data/lib/fox16/version.rb +1 -1
- data/rdoc-sources/FX4Splitter.rb +9 -9
- data/rdoc-sources/FX7Segment.rb +9 -9
- data/rdoc-sources/FXAccelTable.rb +1 -1
- data/rdoc-sources/FXApp.rb +50 -50
- data/rdoc-sources/FXBMPIcon.rb +3 -3
- data/rdoc-sources/FXBMPImage.rb +2 -2
- data/rdoc-sources/FXBitmap.rb +11 -11
- data/rdoc-sources/FXBitmapFrame.rb +5 -5
- data/rdoc-sources/FXBitmapView.rb +2 -2
- data/rdoc-sources/FXButton.rb +2 -2
- data/rdoc-sources/FXCheckButton.rb +5 -5
- data/rdoc-sources/FXColorBar.rb +5 -5
- data/rdoc-sources/FXColorDialog.rb +2 -2
- data/rdoc-sources/FXColorList.rb +2 -2
- data/rdoc-sources/FXColorRing.rb +8 -8
- data/rdoc-sources/FXColorSelector.rb +4 -4
- data/rdoc-sources/FXColorWell.rb +4 -4
- data/rdoc-sources/FXColorWheel.rb +6 -6
- data/rdoc-sources/FXComboBox.rb +17 -17
- data/rdoc-sources/FXComposite.rb +2 -2
- data/rdoc-sources/FXCursor.rb +7 -7
- data/rdoc-sources/FXDC.rb +67 -67
- data/rdoc-sources/FXDCPrint.rb +22 -22
- data/rdoc-sources/FXDCWindow.rb +1 -1
- data/rdoc-sources/FXDataTarget.rb +2 -2
- data/rdoc-sources/FXDebugTarget.rb +1 -1
- data/rdoc-sources/FXDelegator.rb +1 -1
- data/rdoc-sources/FXDial.rb +8 -8
- data/rdoc-sources/FXDict.rb +7 -7
- data/rdoc-sources/FXDirBox.rb +3 -3
- data/rdoc-sources/FXDirDialog.rb +7 -7
- data/rdoc-sources/FXDirList.rb +21 -21
- data/rdoc-sources/FXDirSelector.rb +8 -8
- data/rdoc-sources/FXDockBar.rb +5 -5
- data/rdoc-sources/FXDockHandler.rb +3 -3
- data/rdoc-sources/FXDockSite.rb +2 -2
- data/rdoc-sources/FXDockTitle.rb +3 -3
- data/rdoc-sources/FXDocument.rb +3 -3
- data/rdoc-sources/FXDragCorner.rb +3 -3
- data/rdoc-sources/FXDrawable.rb +3 -3
- data/rdoc-sources/FXDriveBox.rb +4 -4
- data/rdoc-sources/FXExtentd.rb +2 -2
- data/rdoc-sources/FXExtentf.rb +2 -2
- data/rdoc-sources/FXFileDialog.rb +21 -21
- data/rdoc-sources/FXFileDict.rb +17 -17
- data/rdoc-sources/FXFileList.rb +32 -32
- data/rdoc-sources/FXFileSelector.rb +20 -20
- data/rdoc-sources/FXFileStream.rb +1 -1
- data/rdoc-sources/FXFoldingList.rb +53 -53
- data/rdoc-sources/FXFont.rb +38 -38
- data/rdoc-sources/FXFrame.rb +11 -11
- data/rdoc-sources/FXGIFCursor.rb +3 -3
- data/rdoc-sources/FXGLCanvas.rb +2 -2
- data/rdoc-sources/FXGLContext.rb +6 -6
- data/rdoc-sources/FXGLObject.rb +6 -6
- data/rdoc-sources/FXGLShape.rb +3 -3
- data/rdoc-sources/FXGLViewer.rb +54 -54
- data/rdoc-sources/FXGLVisual.rb +13 -13
- data/rdoc-sources/FXGradientBar.rb +15 -15
- data/rdoc-sources/FXGroupBox.rb +4 -4
- data/rdoc-sources/FXHeader.rb +44 -44
- data/rdoc-sources/FXICOIcon.rb +1 -1
- data/rdoc-sources/FXICOImage.rb +1 -1
- data/rdoc-sources/FXIconDict.rb +1 -1
- data/rdoc-sources/FXIconList.rb +69 -69
- data/rdoc-sources/FXIconSource.rb +2 -2
- data/rdoc-sources/FXId.rb +1 -1
- data/rdoc-sources/FXImage.rb +11 -11
- data/rdoc-sources/FXImageFrame.rb +3 -3
- data/rdoc-sources/FXImageView.rb +2 -2
- data/rdoc-sources/FXInputDialog.rb +6 -6
- data/rdoc-sources/FXJPGIcon.rb +3 -3
- data/rdoc-sources/FXJPGImage.rb +2 -2
- data/rdoc-sources/FXKnob.rb +9 -9
- data/rdoc-sources/FXLabel.rb +8 -8
- data/rdoc-sources/FXList.rb +28 -28
- data/rdoc-sources/FXListBox.rb +21 -21
- data/rdoc-sources/FXMDIChild.rb +11 -11
- data/rdoc-sources/FXMDIClient.rb +5 -5
- data/rdoc-sources/FXMatrix.rb +6 -6
- data/rdoc-sources/FXMemoryBuffer.rb +1 -1
- data/rdoc-sources/FXMemoryStream.rb +3 -3
- data/rdoc-sources/FXMenuBar.rb +1 -1
- data/rdoc-sources/FXMenuButton.rb +7 -7
- data/rdoc-sources/FXMenuCaption.rb +10 -10
- data/rdoc-sources/FXMenuCheck.rb +1 -1
- data/rdoc-sources/FXMenuRadio.rb +1 -1
- data/rdoc-sources/FXMenuSeparator.rb +1 -1
- data/rdoc-sources/FXMessageBox.rb +3 -3
- data/rdoc-sources/FXOptionMenu.rb +9 -9
- data/rdoc-sources/FXPCXIcon.rb +2 -2
- data/rdoc-sources/FXPCXImage.rb +1 -1
- data/rdoc-sources/FXPNGIcon.rb +3 -3
- data/rdoc-sources/FXPNGImage.rb +1 -1
- data/rdoc-sources/FXPPMIcon.rb +2 -2
- data/rdoc-sources/FXPPMImage.rb +1 -1
- data/rdoc-sources/FXPacker.rb +13 -13
- data/rdoc-sources/FXPopup.rb +11 -11
- data/rdoc-sources/FXProgressBar.rb +7 -7
- data/rdoc-sources/FXProgressDialog.rb +3 -3
- data/rdoc-sources/FXQuatd.rb +17 -17
- data/rdoc-sources/FXQuatf.rb +18 -18
- data/rdoc-sources/FXRGBIcon.rb +3 -3
- data/rdoc-sources/FXRGBImage.rb +1 -1
- data/rdoc-sources/FXRadioButton.rb +4 -4
- data/rdoc-sources/FXRanged.rb +1 -1
- data/rdoc-sources/FXRangef.rb +1 -1
- data/rdoc-sources/FXRealSlider.rb +7 -7
- data/rdoc-sources/FXRealSpinner.rb +11 -11
- data/rdoc-sources/FXRecentFiles.rb +8 -8
- data/rdoc-sources/FXRectangle.rb +12 -12
- data/rdoc-sources/FXRegion.rb +15 -15
- data/rdoc-sources/FXRegistry.rb +4 -4
- data/rdoc-sources/FXReplaceDialog.rb +3 -3
- data/rdoc-sources/FXRuler.rb +18 -18
- data/rdoc-sources/FXRulerView.rb +38 -38
- data/rdoc-sources/FXScintilla.rb +16 -16
- data/rdoc-sources/FXScrollArea.rb +9 -9
- data/rdoc-sources/FXScrollBar.rb +8 -8
- data/rdoc-sources/FXScrollPane.rb +1 -1
- data/rdoc-sources/FXScrollWindow.rb +5 -5
- data/rdoc-sources/FXSeparator.rb +1 -1
- data/rdoc-sources/FXSettings.rb +1 -1
- data/rdoc-sources/FXShutter.rb +3 -3
- data/rdoc-sources/FXSize.rb +4 -4
- data/rdoc-sources/FXSlider.rb +7 -7
- data/rdoc-sources/FXSphered.rb +21 -21
- data/rdoc-sources/FXSpheref.rb +20 -20
- data/rdoc-sources/FXSpinner.rb +12 -12
- data/rdoc-sources/FXSplashWindow.rb +1 -1
- data/rdoc-sources/FXSplitter.rb +6 -6
- data/rdoc-sources/FXSpring.rb +2 -2
- data/rdoc-sources/FXStatusBar.rb +4 -4
- data/rdoc-sources/FXStatusLine.rb +5 -5
- data/rdoc-sources/FXStream.rb +8 -8
- data/rdoc-sources/FXStringDict.rb +5 -5
- data/rdoc-sources/FXSwitcher.rb +2 -2
- data/rdoc-sources/FXTGAIcon.rb +3 -3
- data/rdoc-sources/FXTGAImage.rb +1 -1
- data/rdoc-sources/FXTIFIcon.rb +2 -2
- data/rdoc-sources/FXTIFImage.rb +2 -2
- data/rdoc-sources/FXTabBar.rb +2 -2
- data/rdoc-sources/FXTable.rb +131 -131
- data/rdoc-sources/FXText.rb +48 -48
- data/rdoc-sources/FXTextField.rb +9 -9
- data/rdoc-sources/FXToolBar.rb +1 -1
- data/rdoc-sources/FXToolBarGrip.rb +1 -1
- data/rdoc-sources/FXToolBarShell.rb +7 -7
- data/rdoc-sources/FXToolBarTab.rb +3 -3
- data/rdoc-sources/FXToolTip.rb +1 -1
- data/rdoc-sources/FXTopWindow.rb +17 -17
- data/rdoc-sources/FXTranslator.rb +5 -5
- data/rdoc-sources/FXTreeList.rb +50 -50
- data/rdoc-sources/FXTreeListBox.rb +16 -16
- data/rdoc-sources/FXVec2d.rb +5 -5
- data/rdoc-sources/FXVec2f.rb +5 -5
- data/rdoc-sources/FXVec3d.rb +8 -8
- data/rdoc-sources/FXVec3f.rb +8 -8
- data/rdoc-sources/FXVec4d.rb +8 -8
- data/rdoc-sources/FXVec4f.rb +8 -8
- data/rdoc-sources/FXVisual.rb +3 -3
- data/rdoc-sources/FXWindow.rb +99 -99
- data/rdoc-sources/FXWizard.rb +8 -8
- data/rdoc-sources/FXXBMIcon.rb +2 -2
- data/rdoc-sources/FXXBMImage.rb +1 -1
- data/rdoc-sources/FXXPMIcon.rb +2 -2
- data/rdoc-sources/FXXPMImage.rb +1 -1
- data/rdoc-sources/fxdefs.rb +17 -17
- data/scripts/generate_kwargs_lib.rb +22 -22
- data/scripts/iface.rb +1 -1
- data/swig-interfaces/FX4Splitter.i +5 -5
- data/swig-interfaces/FX7Segment.i +5 -5
- data/swig-interfaces/FXApp.i +10 -10
- data/swig-interfaces/FXBMPIcon.i +2 -2
- data/swig-interfaces/FXBitmap.i +3 -3
- data/swig-interfaces/FXBitmapFrame.i +1 -1
- data/swig-interfaces/FXBitmapView.i +1 -1
- data/swig-interfaces/FXCanvas.i +1 -1
- data/swig-interfaces/FXCheckButton.i +2 -2
- data/swig-interfaces/FXChoiceBox.i +2 -2
- data/swig-interfaces/FXColorBar.i +7 -7
- data/swig-interfaces/FXColorList.i +5 -5
- data/swig-interfaces/FXColorWell.i +1 -1
- data/swig-interfaces/FXColorWheel.i +6 -6
- data/swig-interfaces/FXComboBox.i +4 -4
- data/swig-interfaces/FXCursor.i +4 -4
- data/swig-interfaces/FXDC.i +23 -23
- data/swig-interfaces/FXDCPrint.i +5 -5
- data/swig-interfaces/FXDCWindow.i +8 -8
- data/swig-interfaces/FXDataTarget.i +5 -5
- data/swig-interfaces/FXDebugTarget.i +1 -1
- data/swig-interfaces/FXDelegator.i +3 -3
- data/swig-interfaces/FXDial.i +8 -8
- data/swig-interfaces/FXDialogBox.i +3 -3
- data/swig-interfaces/FXDict.i +14 -14
- data/swig-interfaces/FXDirBox.i +1 -1
- data/swig-interfaces/FXDirDialog.i +2 -2
- data/swig-interfaces/FXDirList.i +16 -16
- data/swig-interfaces/FXDirSelector.i +2 -2
- data/swig-interfaces/FXDockBar.i +1 -1
- data/swig-interfaces/FXDockHandler.i +1 -1
- data/swig-interfaces/FXDockSite.i +1 -1
- data/swig-interfaces/FXDockTitle.i +1 -1
- data/swig-interfaces/FXDocument.i +1 -1
- data/swig-interfaces/FXDragCorner.i +3 -3
- data/swig-interfaces/FXDriveBox.i +1 -1
- data/swig-interfaces/FXFileDialog.i +8 -8
- data/swig-interfaces/FXFileDict.i +2 -2
- data/swig-interfaces/FXFileList.i +11 -11
- data/swig-interfaces/FXFileSelector.i +4 -4
- data/swig-interfaces/FXFoldingList.i +7 -7
- data/swig-interfaces/FXFont.i +20 -20
- data/swig-interfaces/FXFrame.i +3 -3
- data/swig-interfaces/FXGLCanvas.i +3 -3
- data/swig-interfaces/FXGLContext.i +7 -7
- data/swig-interfaces/FXGLObject.i +1 -1
- data/swig-interfaces/FXGLShape.i +6 -6
- data/swig-interfaces/FXGLViewer.i +40 -40
- data/swig-interfaces/FXGLVisual.i +2 -2
- data/swig-interfaces/FXGradientBar.i +4 -4
- data/swig-interfaces/FXGroupBox.i +3 -3
- data/swig-interfaces/FXHeader.i +7 -7
- data/swig-interfaces/FXIcon.i +4 -4
- data/swig-interfaces/FXIconDict.i +1 -1
- data/swig-interfaces/FXIconList.i +46 -46
- data/swig-interfaces/FXImage.i +2 -2
- data/swig-interfaces/FXImageView.i +1 -1
- data/swig-interfaces/FXInputDialog.i +3 -3
- data/swig-interfaces/FXJPGIcon.i +3 -3
- data/swig-interfaces/FXJPGImage.i +2 -2
- data/swig-interfaces/FXKnob.i +2 -2
- data/swig-interfaces/FXLabel.i +2 -2
- data/swig-interfaces/FXList.i +35 -35
- data/swig-interfaces/FXListBox.i +5 -5
- data/swig-interfaces/FXMDIButton.i +5 -5
- data/swig-interfaces/FXMDIChild.i +12 -12
- data/swig-interfaces/FXMDIClient.i +2 -2
- data/swig-interfaces/FXMat4d.i +2 -2
- data/swig-interfaces/FXMat4f.i +5 -5
- data/swig-interfaces/FXMatrix.i +12 -12
- data/swig-interfaces/FXMemoryBuffer.i +4 -4
- data/swig-interfaces/FXMenuBar.i +3 -3
- data/swig-interfaces/FXMenuButton.i +7 -7
- data/swig-interfaces/FXMenuCaption.i +4 -4
- data/swig-interfaces/FXMenuCommand.i +1 -1
- data/swig-interfaces/FXMenuPane.i +1 -1
- data/swig-interfaces/FXMenuRadio.i +1 -1
- data/swig-interfaces/FXMenuSeparator.i +1 -1
- data/swig-interfaces/FXMessageBox.i +1 -1
- data/swig-interfaces/FXOptionMenu.i +6 -6
- data/swig-interfaces/FXPNGIcon.i +2 -2
- data/swig-interfaces/FXPPMIcon.i +2 -2
- data/swig-interfaces/FXPacker.i +6 -6
- data/swig-interfaces/FXPopup.i +13 -13
- data/swig-interfaces/FXProgressBar.i +12 -12
- data/swig-interfaces/FXProgressDialog.i +5 -5
- data/swig-interfaces/FXQuatd.i +7 -7
- data/swig-interfaces/FXQuatf.i +1 -1
- data/swig-interfaces/FXRadioButton.i +4 -4
- data/swig-interfaces/FXRanged.i +4 -4
- data/swig-interfaces/FXRangef.i +5 -5
- data/swig-interfaces/FXRealSlider.i +10 -10
- data/swig-interfaces/FXRealSpinner.i +17 -17
- data/swig-interfaces/FXRecentFiles.i +1 -1
- data/swig-interfaces/FXRegion.i +4 -4
- data/swig-interfaces/FXRegistry.i +3 -3
- data/swig-interfaces/FXReplaceDialog.i +1 -1
- data/swig-interfaces/FXScintilla.i +3 -3
- data/swig-interfaces/FXScrollArea.i +7 -7
- data/swig-interfaces/FXScrollBar.i +3 -3
- data/swig-interfaces/FXScrollWindow.i +6 -6
- data/swig-interfaces/FXSearchDialog.i +1 -1
- data/swig-interfaces/FXSeparator.i +3 -3
- data/swig-interfaces/FXSettings.i +3 -3
- data/swig-interfaces/FXShell.i +1 -1
- data/swig-interfaces/FXSlider.i +11 -11
- data/swig-interfaces/FXSphered.i +1 -1
- data/swig-interfaces/FXSpheref.i +1 -1
- data/swig-interfaces/FXSpinner.i +15 -15
- data/swig-interfaces/FXSplitter.i +6 -6
- data/swig-interfaces/FXStatusBar.i +4 -4
- data/swig-interfaces/FXStatusLine.i +5 -5
- data/swig-interfaces/FXStream.i +1 -1
- data/swig-interfaces/FXSwitcher.i +5 -5
- data/swig-interfaces/FXTabBar.i +2 -2
- data/swig-interfaces/FXTabBook.i +1 -1
- data/swig-interfaces/FXTabItem.i +4 -4
- data/swig-interfaces/FXTable.i +37 -37
- data/swig-interfaces/FXText.i +13 -13
- data/swig-interfaces/FXTextField.i +1 -1
- data/swig-interfaces/FXToggleButton.i +6 -6
- data/swig-interfaces/FXToolBar.i +4 -4
- data/swig-interfaces/FXToolBarGrip.i +3 -3
- data/swig-interfaces/FXToolBarShell.i +3 -3
- data/swig-interfaces/FXToolBarTab.i +5 -5
- data/swig-interfaces/FXToolTip.i +1 -1
- data/swig-interfaces/FXTopWindow.i +10 -10
- data/swig-interfaces/FXTreeList.i +28 -28
- data/swig-interfaces/FXTreeListBox.i +36 -36
- data/swig-interfaces/FXVec3d.i +2 -2
- data/swig-interfaces/FXVec3f.i +2 -2
- data/swig-interfaces/FXVec4d.i +1 -1
- data/swig-interfaces/FXVec4f.i +9 -9
- data/swig-interfaces/FXVerticalFrame.i +1 -1
- data/swig-interfaces/FXVisual.i +1 -1
- data/swig-interfaces/FXWindow.i +46 -46
- data/swig-interfaces/FXXPMIcon.i +1 -1
- data/swig-interfaces/FXXPMImage.i +1 -1
- data/swig-interfaces/exceptions.i +1 -1
- data/swig-interfaces/freefuncs.i +1 -1
- data/swig-interfaces/fxdefs.i +13 -13
- data/swig-interfaces/macros.i +79 -79
- data/test/TC_FXAccelTable.rb +3 -3
- data/test/TC_FXButton.rb +9 -9
- data/test/TC_FXCheckButton.rb +4 -4
- data/test/TC_FXComboBox.rb +1 -1
- data/test/TC_FXDC.rb +42 -42
- data/test/TC_FXDialogBox.rb +1 -1
- data/test/TC_FXExtentd.rb +2 -2
- data/test/TC_FXExtentf.rb +2 -2
- data/test/TC_FXFileAssoc.rb +5 -5
- data/test/TC_FXFileStream.rb +5 -5
- data/test/TC_FXFoldingList.rb +3 -3
- data/test/TC_FXFont.rb +3 -3
- data/test/TC_FXGLGroup.rb +1 -1
- data/test/TC_FXHeader.rb +3 -3
- data/test/TC_FXIconDict.rb +5 -5
- data/test/TC_FXIconList.rb +12 -12
- data/test/TC_FXImage.rb +16 -16
- data/test/TC_FXList.rb +5 -5
- data/test/TC_FXListBox.rb +1 -1
- data/test/TC_FXMainWindow.rb +2 -2
- data/test/TC_FXMat4f.rb +33 -33
- data/test/TC_FXMaterial.rb +5 -5
- data/test/TC_FXMemoryStream.rb +2 -2
- data/test/TC_FXMenuCheck.rb +5 -5
- data/test/TC_FXMessageBox.rb +3 -3
- data/test/TC_FXPoint.rb +1 -1
- data/test/TC_FXRadioButton.rb +4 -4
- data/test/TC_FXRanged.rb +3 -3
- data/test/TC_FXRangef.rb +3 -3
- data/test/TC_FXRegion.rb +1 -1
- data/test/TC_FXScrollArea.rb +1 -1
- data/test/TC_FXScrollWindow.rb +1 -1
- data/test/TC_FXSettings.rb +2 -2
- data/test/TC_FXShell.rb +2 -2
- data/test/TC_FXTopWindow.rb +2 -2
- data/test/TC_FXTreeList.rb +4 -4
- data/test/TC_FXTreeListBox.rb +3 -3
- data/test/TC_FXVec2d.rb +3 -3
- data/test/TC_FXVec2f.rb +3 -3
- data/test/TC_FXVec3d.rb +5 -5
- data/test/TC_FXVec3f.rb +5 -5
- data/test/TC_FXVec4f.rb +6 -6
- data/test/TC_Misc.rb +6 -2
- data/test/TS_All.rb +1 -17
- data/test/stress1.rb +5 -5
- data/test/stress2.rb +3 -3
- data/test/stress3.rb +12 -12
- data/test/testcase.rb +4 -4
- metadata +76 -76
data/rdoc-sources/fxdefs.rb
CHANGED
@@ -1,22 +1,22 @@
|
|
1
1
|
module Fox
|
2
2
|
# Make an unsigned int out of two unsigned shorts
|
3
3
|
def Fox.MKUINT(lo, hi); end
|
4
|
-
|
4
|
+
|
5
5
|
# Return the message type for a selector
|
6
6
|
def Fox.FXSELTYPE(sel); end
|
7
|
-
|
7
|
+
|
8
8
|
# Return the message identifier for a selector
|
9
9
|
def Fox.FXSELID(sel); end
|
10
|
-
|
10
|
+
|
11
11
|
# Construct an FXColor value from its red, green and blue components
|
12
12
|
def Fox.FXRGB(r, g, b); end
|
13
|
-
|
13
|
+
|
14
14
|
# Construct an FXColor value from its red, green, blue and alpha (transparency) components
|
15
15
|
def Fox.FXRGBA(r, g, b, a); end
|
16
|
-
|
16
|
+
|
17
17
|
# Return the red value from an FXColor value
|
18
18
|
def Fox.FXREDVAL(color); end
|
19
|
-
|
19
|
+
|
20
20
|
# Return the red value from an FXColor value
|
21
21
|
def Fox.FXGREENVAL(color); end
|
22
22
|
|
@@ -41,7 +41,7 @@ module Fox
|
|
41
41
|
# hotKey = fxparseAccel("Ctrl+Alt+F7")
|
42
42
|
#
|
43
43
|
def Fox.fxparseAccel(str); end
|
44
|
-
|
44
|
+
|
45
45
|
#
|
46
46
|
# Return a hot key value that represents the hot key described in
|
47
47
|
# the string _str_. This method is less flexible than the similar
|
@@ -55,35 +55,35 @@ module Fox
|
|
55
55
|
# fxparseAccel("Alt+F")
|
56
56
|
#
|
57
57
|
def Fox.fxparseHotKey(s); end
|
58
|
-
|
58
|
+
|
59
59
|
# Locate hot key underline offset from begin of string
|
60
60
|
def Fox.fxfindhotkeyoffset(s); end
|
61
|
-
|
61
|
+
|
62
62
|
# Get highlight color
|
63
63
|
def Fox.makeHiliteColor(clr); end
|
64
|
-
|
64
|
+
|
65
65
|
# Get shadow color
|
66
66
|
def Fox.makeShadowColor(clr); end
|
67
|
-
|
67
|
+
|
68
68
|
#
|
69
69
|
# Return the RGB value for this color name.
|
70
70
|
#
|
71
71
|
def Fox.fxcolorfromname(colorName); end
|
72
|
-
|
72
|
+
|
73
73
|
#
|
74
74
|
# Return the name of the closest color to the input RGB value.
|
75
75
|
#
|
76
76
|
def Fox.fxnamefromcolor(color); end
|
77
|
-
|
77
|
+
|
78
78
|
# Convert RGB to HSV
|
79
79
|
def Fox.fxrgb_to_hsv(r, g, b); end
|
80
|
-
|
80
|
+
|
81
81
|
# Convert HSV to RGB
|
82
82
|
def Fox.fxhsv_to_rgb(h, s, v); end
|
83
|
-
|
84
|
-
# Return the version number that the FOX library has been compiled with, as a String (e.g. "1.0.34").
|
83
|
+
|
84
|
+
# Return the version number that the FOX library has been compiled with, as a String (e.g. "1.0.34").
|
85
85
|
def Fox.fxversion(); end
|
86
|
-
|
86
|
+
|
87
87
|
# Controls tracing level
|
88
88
|
def Fox.fxTraceLevel; end
|
89
89
|
end
|
@@ -35,11 +35,11 @@ class MethodDescription
|
|
35
35
|
@required_args = []
|
36
36
|
@optional_args = []
|
37
37
|
end
|
38
|
-
|
38
|
+
|
39
39
|
def generate_alias
|
40
40
|
" alias old_#{method_name} #{method_name}\n"
|
41
41
|
end
|
42
|
-
|
42
|
+
|
43
43
|
def generate_body
|
44
44
|
argument_names = optional_args.map { |arg| arg.name }
|
45
45
|
defaults_hash = optional_args.map { |arg| ":#{arg.name} => #{arg.value}"}
|
@@ -66,21 +66,21 @@ class MethodDescription
|
|
66
66
|
buffer << " end\n"
|
67
67
|
buffer
|
68
68
|
end
|
69
|
-
|
69
|
+
|
70
70
|
def expects_block?
|
71
71
|
method_name == "initialize"
|
72
72
|
end
|
73
73
|
end
|
74
74
|
|
75
|
-
class ClassDescription
|
75
|
+
class ClassDescription
|
76
76
|
attr_accessor :class_name
|
77
77
|
attr_accessor :method_descriptions
|
78
|
-
|
78
|
+
|
79
79
|
def initialize
|
80
80
|
@class_name = nil
|
81
81
|
@method_descriptions = []
|
82
82
|
end
|
83
|
-
|
83
|
+
|
84
84
|
def generate_class_initializer
|
85
85
|
buffer = ""
|
86
86
|
buffer << " class #{class_name}\n"
|
@@ -91,7 +91,7 @@ class ClassDescription
|
|
91
91
|
buffer << " end\n\n"
|
92
92
|
buffer
|
93
93
|
end
|
94
|
-
|
94
|
+
|
95
95
|
def has_methods_with_optional_arguments?
|
96
96
|
method_descriptions.each do |m|
|
97
97
|
return true if m.optional_args.length > 0
|
@@ -126,13 +126,13 @@ END
|
|
126
126
|
end
|
127
127
|
generate_closing(out)
|
128
128
|
end
|
129
|
-
|
129
|
+
|
130
130
|
def generate_closing(out)
|
131
131
|
out.puts "end"
|
132
132
|
out.puts ""
|
133
133
|
out.puts "$VERBOSE = old_verbose"
|
134
134
|
end
|
135
|
-
|
135
|
+
|
136
136
|
def scan_for_descriptions(filename)
|
137
137
|
class_description = nil
|
138
138
|
class_descriptions = []
|
@@ -164,7 +164,7 @@ END
|
|
164
164
|
end
|
165
165
|
class_descriptions
|
166
166
|
end
|
167
|
-
|
167
|
+
|
168
168
|
def skip?(name)
|
169
169
|
CLASSES_TO_SKIP.include? name
|
170
170
|
end
|
@@ -181,7 +181,7 @@ __END__
|
|
181
181
|
alias old_initialize initialize
|
182
182
|
def initialize(p, *args, &blk)
|
183
183
|
argument_names = %w{opts x y width height}
|
184
|
-
default_params = { :opts => FOURSPLITTER_NORMAL, :x => 0, :y => 0, :width => 0, :height => 0 }
|
184
|
+
default_params = { :opts => FOURSPLITTER_NORMAL, :x => 0, :y => 0, :width => 0, :height => 0 }
|
185
185
|
params = {}
|
186
186
|
params = args.pop if args.last.is_a? Hash
|
187
187
|
if args.length > 0 && (args.first.nil? || args.first.is_a?(FXObject))
|
@@ -203,7 +203,7 @@ __END__
|
|
203
203
|
alias old_initialize initialize
|
204
204
|
def initialize(p, *args, &blk)
|
205
205
|
argument_names = %w{opts x y width height padLeft padRight padTop padBottom hSpacing vSpacing}
|
206
|
-
default_params = { :opts => LAYOUT_TOP|LAYOUT_LEFT|LAYOUT_FILL_X, :x => 0, :y => 0, :width => 0, :height => 0, :padLeft => 3, :padRight => 3, :padTop => 2, :padBottom => 2, :hSpacing => DEFAULT_SPACING, :vSpacing => DEFAULT_SPACING }
|
206
|
+
default_params = { :opts => LAYOUT_TOP|LAYOUT_LEFT|LAYOUT_FILL_X, :x => 0, :y => 0, :width => 0, :height => 0, :padLeft => 3, :padRight => 3, :padTop => 2, :padBottom => 2, :hSpacing => DEFAULT_SPACING, :vSpacing => DEFAULT_SPACING }
|
207
207
|
params = {}
|
208
208
|
params = args.pop if args.last.is_a? Hash
|
209
209
|
if args.length > 0 && (args.first.nil? || args.first.is_a?(FXComposite))
|
@@ -228,16 +228,16 @@ __END__
|
|
228
228
|
end
|
229
229
|
end
|
230
230
|
end
|
231
|
-
|
231
|
+
|
232
232
|
class FXFont
|
233
233
|
|
234
234
|
alias old_initialize initialize
|
235
|
-
|
235
|
+
|
236
236
|
def initialize(a, arg1, *args, &blk)
|
237
237
|
if args.length > 0
|
238
238
|
face, size = arg1, args[0]
|
239
239
|
argument_names = %w{weight slant encoding setWidth hints}
|
240
|
-
default_params = { :weight => FXFont::Normal, :slant => FXFont::Straight, :encoding => FONTENCODING_DEFAULT, :setWidth => FXFont::NonExpanded, :hints => 0 }
|
240
|
+
default_params = { :weight => FXFont::Normal, :slant => FXFont::Straight, :encoding => FONTENCODING_DEFAULT, :setWidth => FXFont::NonExpanded, :hints => 0 }
|
241
241
|
params = {}
|
242
242
|
params = args.pop if args.last.is_a? Hash
|
243
243
|
args.each_with_index { |e, i| params[argument_names[i-1].intern] = e if i >= 1 }
|
@@ -252,10 +252,10 @@ __END__
|
|
252
252
|
class << self
|
253
253
|
alias old_listFonts listFonts
|
254
254
|
end
|
255
|
-
|
255
|
+
|
256
256
|
def FXFont.listFonts(face, *args)
|
257
257
|
argument_names = %w{weight slant setWidth encoding hints}
|
258
|
-
default_params = { :weight => 0, :slant => 0, :setWidth => 0, :encoding => 0, :hints => 0 }
|
258
|
+
default_params = { :weight => 0, :slant => 0, :setWidth => 0, :encoding => 0, :hints => 0 }
|
259
259
|
params = {}
|
260
260
|
params = args.pop if args.last.is_a? Hash
|
261
261
|
args.each_with_index { |e, i| params[argument_names[i].intern] = e }
|
@@ -265,7 +265,7 @@ __END__
|
|
265
265
|
end
|
266
266
|
|
267
267
|
end
|
268
|
-
|
268
|
+
|
269
269
|
class FXGLCanvas
|
270
270
|
alias old_initialize initialize
|
271
271
|
def initialize(parent, vis, *args, &blk)
|
@@ -309,7 +309,7 @@ __END__
|
|
309
309
|
end
|
310
310
|
end
|
311
311
|
end
|
312
|
-
|
312
|
+
|
313
313
|
class FXMenuBar
|
314
314
|
alias old_initialize initialize
|
315
315
|
def initialize(p, *args, &blk)
|
@@ -344,7 +344,7 @@ __END__
|
|
344
344
|
alias old_initialize initialize
|
345
345
|
def initialize(p, *args, &blk)
|
346
346
|
argument_names = %w{opts x y width height}
|
347
|
-
default_params = { :opts => SPLITTER_NORMAL, :x => 0, :y => 0, :width => 0, :height => 0 }
|
347
|
+
default_params = { :opts => SPLITTER_NORMAL, :x => 0, :y => 0, :width => 0, :height => 0 }
|
348
348
|
params = {}
|
349
349
|
params = args.pop if args.last.is_a? Hash
|
350
350
|
if args.length > 0 && (args.first.nil? || args.first.is_a?(FXObject))
|
@@ -366,7 +366,7 @@ __END__
|
|
366
366
|
alias old_initialize initialize
|
367
367
|
def initialize(p, *args, &blk)
|
368
368
|
argument_names = %w{opts x y width height padLeft padRight padTop padBottom hSpacing vSpacing}
|
369
|
-
default_params = { :opts => LAYOUT_TOP|LAYOUT_LEFT|LAYOUT_FILL_X, :x => 0, :y => 0, :width => 0, :height => 0, :padLeft => 3, :padRight => 3, :padTop => 2, :padBottom => 2, :hSpacing => DEFAULT_SPACING, :vSpacing => DEFAULT_SPACING }
|
369
|
+
default_params = { :opts => LAYOUT_TOP|LAYOUT_LEFT|LAYOUT_FILL_X, :x => 0, :y => 0, :width => 0, :height => 0, :padLeft => 3, :padRight => 3, :padTop => 2, :padBottom => 2, :hSpacing => DEFAULT_SPACING, :vSpacing => DEFAULT_SPACING }
|
370
370
|
params = {}
|
371
371
|
params = args.pop if args.last.is_a? Hash
|
372
372
|
if args.length > 0 && (args[0].nil? || args[0].is_a?(FXComposite))
|
@@ -391,7 +391,7 @@ __END__
|
|
391
391
|
end
|
392
392
|
end
|
393
393
|
end
|
394
|
-
|
394
|
+
|
395
395
|
class FXWindow
|
396
396
|
alias old_initialize initialize
|
397
397
|
def initialize(p, *args, &blk)
|
data/scripts/iface.rb
CHANGED
@@ -89,7 +89,7 @@ public:
|
|
89
89
|
FX4Splitter(FXComposite* p,FXuint opts=FOURSPLITTER_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0){
|
90
90
|
return new FXRb4Splitter(p,opts,x,y,w,h);
|
91
91
|
}
|
92
|
-
|
92
|
+
|
93
93
|
/// Create 4-way splitter, initially shown as four unexpanded panes; notifies target about size changes
|
94
94
|
FX4Splitter(FXComposite* p,FXObject* tgt,FXSelector sel,FXuint opts=FOURSPLITTER_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0){
|
95
95
|
return new FXRb4Splitter(p,tgt,sel,opts,x,y,w,h);
|
@@ -122,13 +122,13 @@ public:
|
|
122
122
|
|
123
123
|
/// Return current splitter style
|
124
124
|
FXuint getSplitterStyle() const;
|
125
|
-
|
125
|
+
|
126
126
|
/// Change splitter style
|
127
127
|
void setSplitterStyle(FXuint style);
|
128
|
-
|
128
|
+
|
129
129
|
/// Change splitter bar width
|
130
130
|
void setBarSize(FXint bs);
|
131
|
-
|
131
|
+
|
132
132
|
/// Get splitter bar width
|
133
133
|
FXint getBarSize() const;
|
134
134
|
|
@@ -137,7 +137,7 @@ public:
|
|
137
137
|
|
138
138
|
/// Get expanded child, or -1 if not expanded
|
139
139
|
FXuint getExpanded() const;
|
140
|
-
|
140
|
+
|
141
141
|
/// Destructor
|
142
142
|
virtual ~FX4Splitter();
|
143
143
|
};
|
@@ -117,17 +117,17 @@ public:
|
|
117
117
|
|
118
118
|
/// Get the current text-justification mode.
|
119
119
|
FXuint getJustify() const;
|
120
|
-
|
121
|
-
/// Set the status line help text
|
120
|
+
|
121
|
+
/// Set the status line help text
|
122
122
|
void setHelpText(const FXString& text);
|
123
123
|
|
124
|
-
/// Get the status line help text
|
124
|
+
/// Get the status line help text
|
125
125
|
const FXString& getHelpText() const;
|
126
126
|
|
127
|
-
/// Set the tool tip message
|
127
|
+
/// Set the tool tip message
|
128
128
|
void setTipText(const FXString& text);
|
129
129
|
|
130
|
-
/// Get the tool tip message
|
130
|
+
/// Get the tool tip message
|
131
131
|
const FXString& getTipText() const;
|
132
132
|
|
133
133
|
/// Destroy
|
data/swig-interfaces/FXApp.i
CHANGED
@@ -85,7 +85,7 @@ enum FXDefaultCursor {
|
|
85
85
|
};
|
86
86
|
|
87
87
|
|
88
|
-
/// FOX Event
|
88
|
+
/// FOX Event
|
89
89
|
struct FXEvent {
|
90
90
|
FXEvent();
|
91
91
|
FXuint type; /// Event type
|
@@ -191,7 +191,7 @@ public:
|
|
191
191
|
|
192
192
|
/// Connection to display; this is called by init()
|
193
193
|
bool openDisplay(const FXchar* dpyname=NULL);
|
194
|
-
|
194
|
+
|
195
195
|
/// Close connection to the display
|
196
196
|
bool closeDisplay();
|
197
197
|
|
@@ -243,7 +243,7 @@ public:
|
|
243
243
|
/// Return window at the end of the focus chain
|
244
244
|
FXWindow *getFocusWindow() const;
|
245
245
|
|
246
|
-
/// Get the window under the cursor, if any
|
246
|
+
/// Get the window under the cursor, if any
|
247
247
|
FXWindow *getCursorWindow() const;
|
248
248
|
|
249
249
|
/// Get the active toplevel window, if any
|
@@ -310,7 +310,7 @@ public:
|
|
310
310
|
|
311
311
|
%extend {
|
312
312
|
/**
|
313
|
-
* Add signal processing message to be sent to target object when
|
313
|
+
* Add signal processing message to be sent to target object when
|
314
314
|
* the signal sig is raised; flags are to be set as per POSIX definitions.
|
315
315
|
* When immediate is TRUE, the message will be sent to the target right away;
|
316
316
|
* this should be used with extreme care as the application is interrupted
|
@@ -360,7 +360,7 @@ public:
|
|
360
360
|
/**
|
361
361
|
* Add a file descriptor fd to be watched for activity as determined
|
362
362
|
* by mode, where mode is a bitwise OR (INPUT_READ, INPUT_WRITE, INPUT_EXCEPT).
|
363
|
-
* A message of type SEL_IO_READ, SEL_IO_WRITE, or SEL_IO_EXCEPT will be sent
|
363
|
+
* A message of type SEL_IO_READ, SEL_IO_WRITE, or SEL_IO_EXCEPT will be sent
|
364
364
|
* to the target when the specified activity is detected on the file descriptor.
|
365
365
|
*/
|
366
366
|
bool addInput(VALUE obj,FXuint mode,FXObject *tgt,FXSelector sel){
|
@@ -435,7 +435,7 @@ public:
|
|
435
435
|
* Run event loop while there are events are available in the queue.
|
436
436
|
* Returns 1 when all events in the queue have been handled, and 0 when
|
437
437
|
* the event loop was terminated due to stop() or stopModal().
|
438
|
-
* Except for the modal window and its children, user input to all windows
|
438
|
+
* Except for the modal window and its children, user input to all windows
|
439
439
|
* is blocked; if the modal window is NULL, all user input is blocked.
|
440
440
|
*/
|
441
441
|
FXint runModalWhileEvents(FXWindow* window=NULL);
|
@@ -447,14 +447,14 @@ public:
|
|
447
447
|
FXint runModal();
|
448
448
|
|
449
449
|
/**
|
450
|
-
* Run a modal event loop for the given window, until stop() or stopModal() is
|
450
|
+
* Run a modal event loop for the given window, until stop() or stopModal() is
|
451
451
|
* called. Except for the modal window and its children, user input to all
|
452
452
|
* windows is blocked; if the modal window is NULL all user input is blocked.
|
453
453
|
*/
|
454
454
|
FXint runModalFor(FXWindow* window);
|
455
455
|
|
456
456
|
/**
|
457
|
-
* Run modal while window is shown, or until stop() or stopModal() is called.
|
457
|
+
* Run modal while window is shown, or until stop() or stopModal() is called.
|
458
458
|
* Except for the modal window and its children, user input to all windows
|
459
459
|
* is blocked; if the modal window is NULL all user input is blocked.
|
460
460
|
*/
|
@@ -488,7 +488,7 @@ public:
|
|
488
488
|
*/
|
489
489
|
void stopModal(FXWindow* window,FXint value=0);
|
490
490
|
|
491
|
-
/**
|
491
|
+
/**
|
492
492
|
* Break out of the innermost modal loop, returning code equal to value.
|
493
493
|
*/
|
494
494
|
void stopModal(FXint value=0);
|
@@ -568,7 +568,7 @@ public:
|
|
568
568
|
}
|
569
569
|
}
|
570
570
|
|
571
|
-
/// Return current wait cursor
|
571
|
+
/// Return current wait cursor
|
572
572
|
FXCursor* getWaitCursor() const;
|
573
573
|
|
574
574
|
/// Obtain a default cursor
|
data/swig-interfaces/FXBMPIcon.i
CHANGED
data/swig-interfaces/FXBitmap.i
CHANGED
@@ -27,13 +27,13 @@ enum {
|
|
27
27
|
BITMAP_SHMI = 0x00000020, // Using shared memory image
|
28
28
|
BITMAP_SHMP = 0x00000040 // Using shared memory pixmap
|
29
29
|
};
|
30
|
-
|
30
|
+
|
31
31
|
|
32
32
|
|
33
33
|
/**
|
34
34
|
* A Bitmap is a rectangular array of pixels. It supports two representations
|
35
|
-
* of these pixels: a client-side pixel buffer, and a server-side pixmap which
|
36
|
-
* is stored in an organization directly compatible with the screen, for fast
|
35
|
+
* of these pixels: a client-side pixel buffer, and a server-side pixmap which
|
36
|
+
* is stored in an organization directly compatible with the screen, for fast
|
37
37
|
* drawing onto the device.
|
38
38
|
* The server-side representation is not directly accessible from the current
|
39
39
|
* process as it lives in the process of the X Server or GDI.
|
data/swig-interfaces/FXCanvas.i
CHANGED
@@ -80,7 +80,7 @@ public:
|
|
80
80
|
|
81
81
|
/// Change check button style
|
82
82
|
void setCheckButtonStyle(FXuint style);
|
83
|
-
|
83
|
+
|
84
84
|
/// Return current check button style
|
85
85
|
FXuint getCheckButtonStyle() const;
|
86
86
|
|
@@ -89,7 +89,7 @@ public:
|
|
89
89
|
|
90
90
|
/// Set the box background color
|
91
91
|
void setBoxColor(FXColor clr);
|
92
|
-
|
92
|
+
|
93
93
|
/// Get the box check color
|
94
94
|
FXColor getCheckColor() const;
|
95
95
|
|
@@ -21,7 +21,7 @@
|
|
21
21
|
***********************************************************************/
|
22
22
|
|
23
23
|
%apply const FXchar **strings { const FXchar** choices };
|
24
|
-
|
24
|
+
|
25
25
|
/**
|
26
26
|
* The Choice Box provides a dialog panel to select one item out of a list
|
27
27
|
* of choices. The choices are provided as a list of text strings.
|
@@ -74,7 +74,7 @@ public:
|
|
74
74
|
* The return value is -1 if cancelled, or the given choice
|
75
75
|
*/
|
76
76
|
static FXint ask(FXApp* app,FXuint opts,const FXString& caption,const FXString& text,FXIcon* icon,const FXchar** choices);
|
77
|
-
|
77
|
+
|
78
78
|
// Destructor
|
79
79
|
virtual ~FXChoiceBox();
|
80
80
|
};
|
@@ -31,7 +31,7 @@ class FXImage;
|
|
31
31
|
|
32
32
|
|
33
33
|
/**
|
34
|
-
* A color bar is a widget which controls the brightness (value) of a
|
34
|
+
* A color bar is a widget which controls the brightness (value) of a
|
35
35
|
* color by means of the hue, saturation, value specification system.
|
36
36
|
*/
|
37
37
|
class FXColorBar : public FXFrame {
|
@@ -64,20 +64,20 @@ public:
|
|
64
64
|
|
65
65
|
/// Change hue
|
66
66
|
void setHue(FXfloat h);
|
67
|
-
|
68
|
-
/// Return hue
|
67
|
+
|
68
|
+
/// Return hue
|
69
69
|
FXfloat getHue() const;
|
70
70
|
|
71
71
|
/// Change saturation
|
72
72
|
void setSat(FXfloat s);
|
73
|
-
|
74
|
-
/// Return saturation
|
73
|
+
|
74
|
+
/// Return saturation
|
75
75
|
FXfloat getSat() const;
|
76
76
|
|
77
77
|
/// Change value
|
78
78
|
void setVal(FXfloat v);
|
79
|
-
|
80
|
-
/// Return value
|
79
|
+
|
80
|
+
/// Return value
|
81
81
|
FXfloat getVal() const;
|
82
82
|
|
83
83
|
/// Change the color bar style
|
@@ -38,13 +38,13 @@ public:
|
|
38
38
|
return new FXRbColorItem(text,clr,ITEMDATA);
|
39
39
|
}
|
40
40
|
}
|
41
|
-
|
41
|
+
|
42
42
|
/// Change item's color
|
43
43
|
void setColor(FXColor clr);
|
44
44
|
|
45
45
|
/// Return item's color
|
46
46
|
FXColor getColor() const;
|
47
|
-
|
47
|
+
|
48
48
|
// Destructor
|
49
49
|
virtual ~FXColorItem();
|
50
50
|
};
|
@@ -66,7 +66,7 @@ public:
|
|
66
66
|
return new FXRbColorList(p,tgt,sel,opts,x,y,w,h);
|
67
67
|
}
|
68
68
|
}
|
69
|
-
|
69
|
+
|
70
70
|
/// Fill list by appending color items from array of strings and array of colors
|
71
71
|
FXint fillItems(const FXchar** strings,FXColor *colors=NULL,void* ITEMDATA=NULL,FXbool notify=FALSE);
|
72
72
|
|
@@ -84,11 +84,11 @@ public:
|
|
84
84
|
|
85
85
|
/// Return item color
|
86
86
|
FXColor getItemColor(FXint index) const;
|
87
|
-
|
87
|
+
|
88
88
|
// Destructor
|
89
89
|
virtual ~FXColorList();
|
90
90
|
};
|
91
|
-
|
91
|
+
|
92
92
|
DECLARE_FXOBJECT_VIRTUALS(FXColorList)
|
93
93
|
DECLARE_FXID_VIRTUALS(FXColorList)
|
94
94
|
DECLARE_FXDRAWABLE_VIRTUALS(FXColorList)
|
@@ -31,7 +31,7 @@ enum {
|
|
31
31
|
/**
|
32
32
|
* A color well is a widget which controls color settings.
|
33
33
|
* Colors may be dragged and dropped from one color well to another.
|
34
|
-
* A double-click inside a color well will bring up the standard
|
34
|
+
* A double-click inside a color well will bring up the standard
|
35
35
|
* color dialog panel to edit the color well's color.
|
36
36
|
* Colors may be also pasted by name using middle-mouse click into/out of
|
37
37
|
* color wells from/to other selection-capable applications; for example,
|
@@ -65,20 +65,20 @@ public:
|
|
65
65
|
|
66
66
|
/// Change hue
|
67
67
|
void setHue(FXfloat h);
|
68
|
-
|
69
|
-
/// Return hue
|
68
|
+
|
69
|
+
/// Return hue
|
70
70
|
FXfloat getHue() const;
|
71
71
|
|
72
72
|
/// Change saturation
|
73
73
|
void setSat(FXfloat s);
|
74
|
-
|
75
|
-
/// Return saturation
|
74
|
+
|
75
|
+
/// Return saturation
|
76
76
|
FXfloat getSat() const;
|
77
77
|
|
78
78
|
/// Change value
|
79
79
|
void setVal(FXfloat v);
|
80
|
-
|
81
|
-
/// Return value
|
80
|
+
|
81
|
+
/// Return value
|
82
82
|
FXfloat getVal() const;
|
83
83
|
|
84
84
|
/// Set hue, saturation, value
|
@@ -32,7 +32,7 @@ enum {
|
|
32
32
|
COMBOBOX_NORMAL = 0
|
33
33
|
};
|
34
34
|
|
35
|
-
|
35
|
+
|
36
36
|
class FXTextField;
|
37
37
|
class FXMenuButton;
|
38
38
|
class FXList;
|
@@ -236,19 +236,19 @@ public:
|
|
236
236
|
|
237
237
|
/// Change text color
|
238
238
|
void setTextColor(FXColor clr);
|
239
|
-
|
239
|
+
|
240
240
|
/// Return text color
|
241
241
|
FXColor getTextColor() const;
|
242
242
|
|
243
243
|
/// Change selected background color
|
244
244
|
void setSelBackColor(FXColor clr);
|
245
|
-
|
245
|
+
|
246
246
|
/// Return selected background color
|
247
247
|
FXColor getSelBackColor() const;
|
248
248
|
|
249
249
|
/// Change selected text color
|
250
250
|
void setSelTextColor(FXColor clr);
|
251
|
-
|
251
|
+
|
252
252
|
/// Return selected text color
|
253
253
|
FXColor getSelTextColor() const;
|
254
254
|
|
data/swig-interfaces/FXCursor.i
CHANGED
@@ -57,7 +57,7 @@ public:
|
|
57
57
|
FXCursor(FXApp* a,FXStockCursor curid=CURSOR_ARROW){
|
58
58
|
return new FXRbCursor(a,curid);
|
59
59
|
}
|
60
|
-
|
60
|
+
|
61
61
|
/// Make cursor from source and mask; cursor size should at most 32x32 for portability!
|
62
62
|
FXCursor(FXApp* a,const FXuchar* src,const FXuchar* msk,FXint w=32,FXint h=32,FXint hx=0,FXint hy=0){
|
63
63
|
return new FXRbCursor(a,src,msk,w,h,hx,hy);
|
@@ -77,16 +77,16 @@ public:
|
|
77
77
|
|
78
78
|
/// Set hotspot x
|
79
79
|
void setHotX(FXint x);
|
80
|
-
|
80
|
+
|
81
81
|
/// Get hotspot x
|
82
82
|
FXint getHotX() const;
|
83
83
|
|
84
84
|
/// Set hotspot y
|
85
85
|
void setHotY(FXint y);
|
86
|
-
|
86
|
+
|
87
87
|
/// Get hotspot y
|
88
88
|
FXint getHotY() const;
|
89
|
-
|
89
|
+
|
90
90
|
/// Check if there is color in the cursor
|
91
91
|
bool isColor() const;
|
92
92
|
|