fxruby 1.6.44-x64-mingw32 → 1.6.46-x64-mingw32
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.
- checksums.yaml +4 -4
- data/.github/workflows/binary.yml +89 -0
- data/.github/workflows/ci.yml +68 -0
- data/History.md +11 -0
- data/{README.rdoc → README.md} +18 -14
- data/Rakefile +27 -8
- data/appveyor.yml +8 -14
- data/doap.rdf +2 -2
- data/docs/Fox/Canvas/CanvasError.html +3 -3
- data/docs/Fox/Canvas/CircleShape.html +3 -3
- data/docs/Fox/Canvas/ImageShape.html +3 -3
- data/docs/Fox/Canvas/LineShape.html +3 -3
- data/docs/Fox/Canvas/PolygonShape.html +3 -3
- data/docs/Fox/Canvas/RectangleShape.html +3 -3
- data/docs/Fox/Canvas/SelectionPolicy.html +3 -3
- data/docs/Fox/Canvas/Shape.html +5 -5
- data/docs/Fox/Canvas/ShapeCanvas.html +6 -6
- data/docs/Fox/Canvas/ShapeGroup.html +3 -3
- data/docs/Fox/Canvas/SingleSelectionPolicy.html +3 -3
- data/docs/Fox/Canvas/TextShape.html +3 -3
- data/docs/Fox/Canvas.html +6 -6
- data/docs/Fox/FTNonModal.html +3 -3
- data/docs/Fox/FX4Splitter.html +3 -3
- data/docs/Fox/FX7Segment.html +3 -3
- data/docs/Fox/FXAccelTable.html +7 -7
- data/docs/Fox/FXApp.html +24 -24
- data/docs/Fox/FXArc.html +7 -7
- data/docs/Fox/FXArrowButton.html +3 -3
- data/docs/Fox/FXBMPIcon.html +3 -3
- data/docs/Fox/FXBMPImage.html +3 -3
- data/docs/Fox/FXBitmap.html +3 -3
- data/docs/Fox/FXBitmapFrame.html +3 -3
- data/docs/Fox/FXBitmapView.html +3 -3
- data/docs/Fox/FXButton.html +3 -3
- data/docs/Fox/FXCURCursor.html +3 -3
- data/docs/Fox/FXCalendar.html +3 -3
- data/docs/Fox/FXCanvas.html +3 -3
- data/docs/Fox/FXCheckButton.html +3 -3
- data/docs/Fox/FXChoiceBox.html +4 -4
- data/docs/Fox/FXColor.html +3 -3
- data/docs/Fox/FXColorBar.html +3 -3
- data/docs/Fox/FXColorDialog.html +4 -4
- data/docs/Fox/FXColorItem.html +3 -3
- data/docs/Fox/FXColorList.html +3 -3
- data/docs/Fox/FXColorRing.html +3 -3
- data/docs/Fox/FXColorSelector.html +3 -3
- data/docs/Fox/FXColorWell.html +5 -5
- data/docs/Fox/FXColorWheel.html +3 -3
- data/docs/Fox/FXComboBox.html +6 -6
- data/docs/Fox/FXComboTableItem.html +3 -3
- data/docs/Fox/FXCommand.html +4 -4
- data/docs/Fox/FXComposite.html +5 -5
- data/docs/Fox/FXCursor.html +3 -3
- data/docs/Fox/FXDC.html +9 -9
- data/docs/Fox/FXDCPrint.html +3 -3
- data/docs/Fox/FXDCWindow.html +3 -3
- data/docs/Fox/FXDataTarget.html +10 -10
- data/docs/Fox/FXDebugTarget.html +3 -3
- data/docs/Fox/FXDelegator.html +3 -3
- data/docs/Fox/FXDial.html +8 -8
- data/docs/Fox/FXDialogBox.html +4 -4
- data/docs/Fox/FXDict.html +3 -3
- data/docs/Fox/FXDirBox.html +3 -3
- data/docs/Fox/FXDirDialog.html +5 -5
- data/docs/Fox/FXDirItem.html +3 -3
- data/docs/Fox/FXDirList.html +7 -7
- data/docs/Fox/FXDirSelector.html +5 -5
- data/docs/Fox/FXDockBar.html +6 -6
- data/docs/Fox/FXDockHandler.html +3 -3
- data/docs/Fox/FXDockSite.html +6 -6
- data/docs/Fox/FXDockTitle.html +3 -3
- data/docs/Fox/FXDocument.html +3 -3
- data/docs/Fox/FXDragCorner.html +3 -3
- data/docs/Fox/FXDrawable.html +3 -3
- data/docs/Fox/FXDriveBox.html +3 -3
- data/docs/Fox/FXEvent.html +3 -3
- data/docs/Fox/FXExtentd.html +5 -5
- data/docs/Fox/FXExtentf.html +5 -5
- data/docs/Fox/FXFileAssoc.html +3 -3
- data/docs/Fox/FXFileDialog.html +8 -8
- data/docs/Fox/FXFileDict.html +3 -3
- data/docs/Fox/FXFileItem.html +3 -3
- data/docs/Fox/FXFileList.html +7 -7
- data/docs/Fox/FXFileSelector.html +11 -11
- data/docs/Fox/FXFileStream.html +3 -3
- data/docs/Fox/FXFoldingItem.html +5 -5
- data/docs/Fox/FXFoldingList.html +38 -38
- data/docs/Fox/FXFont.html +4 -4
- data/docs/Fox/FXFontDesc.html +3 -3
- data/docs/Fox/FXFontDialog.html +3 -3
- data/docs/Fox/FXFontSelector.html +3 -3
- data/docs/Fox/FXFrame.html +3 -3
- data/docs/Fox/FXGIFCursor.html +3 -3
- data/docs/Fox/FXGIFIcon.html +3 -3
- data/docs/Fox/FXGIFImage.html +3 -3
- data/docs/Fox/FXGLCanvas.html +5 -5
- data/docs/Fox/FXGLCone.html +3 -3
- data/docs/Fox/FXGLContext.html +3 -3
- data/docs/Fox/FXGLCube.html +3 -3
- data/docs/Fox/FXGLCylinder.html +3 -3
- data/docs/Fox/FXGLGroup.html +3 -3
- data/docs/Fox/FXGLLine.html +3 -3
- data/docs/Fox/FXGLObject.html +10 -10
- data/docs/Fox/FXGLPoint.html +3 -3
- data/docs/Fox/FXGLShape.html +3 -3
- data/docs/Fox/FXGLSphere.html +3 -3
- data/docs/Fox/FXGLViewer.html +3 -3
- data/docs/Fox/FXGLVisual.html +3 -3
- data/docs/Fox/FXGradient.html +3 -3
- data/docs/Fox/FXGradientBar.html +17 -17
- data/docs/Fox/FXGroupBox.html +5 -5
- data/docs/Fox/FXHeader.html +17 -17
- data/docs/Fox/FXHeaderItem.html +15 -15
- data/docs/Fox/FXHiliteStyle.html +3 -3
- data/docs/Fox/FXHorizontalFrame.html +4 -4
- data/docs/Fox/FXHorizontalSeparator.html +3 -3
- data/docs/Fox/FXICOIcon.html +3 -3
- data/docs/Fox/FXICOImage.html +3 -3
- data/docs/Fox/FXIcon.html +3 -3
- data/docs/Fox/FXIconDict.html +3 -3
- data/docs/Fox/FXIconItem.html +5 -5
- data/docs/Fox/FXIconList.html +19 -19
- data/docs/Fox/FXIconSource.html +7 -7
- data/docs/Fox/FXId.html +3 -3
- data/docs/Fox/FXImage.html +6 -6
- data/docs/Fox/FXImageFrame.html +3 -3
- data/docs/Fox/FXImageView.html +3 -3
- data/docs/Fox/FXInputDialog.html +5 -5
- data/docs/Fox/FXIrb.html +6 -6
- data/docs/Fox/FXJPGIcon.html +3 -3
- data/docs/Fox/FXJPGImage.html +3 -3
- data/docs/Fox/FXKnob.html +7 -7
- data/docs/Fox/FXLabel.html +5 -5
- data/docs/Fox/FXLight.html +3 -3
- data/docs/Fox/FXList.html +24 -24
- data/docs/Fox/FXListBox.html +7 -7
- data/docs/Fox/FXListItem.html +5 -5
- data/docs/Fox/FXMDIChild.html +6 -6
- data/docs/Fox/FXMDIClient.html +4 -4
- data/docs/Fox/FXMDIDeleteButton.html +3 -3
- data/docs/Fox/FXMDIMaximizeButton.html +3 -3
- data/docs/Fox/FXMDIMenu.html +3 -3
- data/docs/Fox/FXMDIMinimizeButton.html +3 -3
- data/docs/Fox/FXMDIRestoreButton.html +3 -3
- data/docs/Fox/FXMDIWindowButton.html +3 -3
- data/docs/Fox/FXMainWindow.html +3 -3
- data/docs/Fox/FXMaterial.html +3 -3
- data/docs/Fox/FXMatrix.html +3 -3
- data/docs/Fox/FXMemoryBuffer.html +3 -3
- data/docs/Fox/FXMemoryStream.html +3 -3
- data/docs/Fox/FXMenuBar.html +3 -3
- data/docs/Fox/FXMenuButton.html +6 -6
- data/docs/Fox/FXMenuCaption.html +5 -5
- data/docs/Fox/FXMenuCascade.html +3 -3
- data/docs/Fox/FXMenuCheck.html +3 -3
- data/docs/Fox/FXMenuCommand.html +3 -3
- data/docs/Fox/FXMenuPane.html +3 -3
- data/docs/Fox/FXMenuRadio.html +3 -3
- data/docs/Fox/FXMenuSeparator.html +3 -3
- data/docs/Fox/FXMenuTitle.html +3 -3
- data/docs/Fox/FXMessageBox.html +5 -5
- data/docs/Fox/FXObject.html +4 -4
- data/docs/Fox/FXOption.html +3 -3
- data/docs/Fox/FXOptionMenu.html +3 -3
- data/docs/Fox/FXPCXIcon.html +3 -3
- data/docs/Fox/FXPCXImage.html +3 -3
- data/docs/Fox/FXPNGIcon.html +3 -3
- data/docs/Fox/FXPNGImage.html +3 -3
- data/docs/Fox/FXPPMIcon.html +3 -3
- data/docs/Fox/FXPPMImage.html +3 -3
- data/docs/Fox/FXPSBounds.html +3 -3
- data/docs/Fox/FXPacker.html +3 -3
- data/docs/Fox/FXPicker.html +3 -3
- data/docs/Fox/FXPopup.html +3 -3
- data/docs/Fox/FXPrintDialog.html +3 -3
- data/docs/Fox/FXPrinter.html +3 -3
- data/docs/Fox/FXProgressBar.html +3 -3
- data/docs/Fox/FXProgressDialog.html +3 -3
- data/docs/Fox/FXPseudoKeyboard.html +3 -3
- data/docs/Fox/FXPseudoMouse.html +3 -3
- data/docs/Fox/FXPseudoTarget.html +3 -3
- data/docs/Fox/FXQuatd.html +3 -3
- data/docs/Fox/FXQuatf.html +3 -3
- data/docs/Fox/FXRGBIcon.html +3 -3
- data/docs/Fox/FXRGBImage.html +3 -3
- data/docs/Fox/FXRadioButton.html +3 -3
- data/docs/Fox/FXRanged.html +3 -3
- data/docs/Fox/FXRangef.html +3 -3
- data/docs/Fox/FXRealSlider.html +3 -3
- data/docs/Fox/FXRealSpinner.html +16 -16
- data/docs/Fox/FXRecentFiles.html +3 -3
- data/docs/Fox/FXRectangle.html +11 -11
- data/docs/Fox/FXRegion.html +3 -3
- data/docs/Fox/FXRegistry.html +5 -5
- data/docs/Fox/FXReplaceDialog.html +3 -3
- data/docs/Fox/FXRootWindow.html +3 -3
- data/docs/Fox/FXRuler.html +3 -3
- data/docs/Fox/FXRulerView.html +26 -26
- data/docs/Fox/FXScintilla.html +21 -21
- data/docs/Fox/FXScrollArea.html +5 -5
- data/docs/Fox/FXScrollBar.html +3 -3
- data/docs/Fox/FXScrollCorner.html +3 -3
- data/docs/Fox/FXScrollPane.html +3 -3
- data/docs/Fox/FXScrollWindow.html +4 -4
- data/docs/Fox/FXSearchDialog.html +3 -3
- data/docs/Fox/FXSegment.html +3 -3
- data/docs/Fox/FXSeparator.html +4 -4
- data/docs/Fox/FXSettings.html +3 -3
- data/docs/Fox/FXShell.html +3 -3
- data/docs/Fox/FXShutter.html +4 -4
- data/docs/Fox/FXShutterItem.html +3 -3
- data/docs/Fox/FXSize.html +3 -3
- data/docs/Fox/FXSlider.html +3 -3
- data/docs/Fox/FXSphered.html +3 -3
- data/docs/Fox/FXSpheref.html +3 -3
- data/docs/Fox/FXSpinner.html +16 -16
- data/docs/Fox/FXSplashScreen.html +3 -3
- data/docs/Fox/FXSplashWindow.html +5 -5
- data/docs/Fox/FXSplitter.html +3 -3
- data/docs/Fox/FXSpring.html +3 -3
- data/docs/Fox/FXStatusBar.html +3 -3
- data/docs/Fox/FXStatusLine.html +4 -4
- data/docs/Fox/FXStream.html +4 -4
- data/docs/Fox/FXStreamAllocError.html +3 -3
- data/docs/Fox/FXStreamEndError.html +3 -3
- data/docs/Fox/FXStreamError.html +3 -3
- data/docs/Fox/FXStreamFailureError.html +3 -3
- data/docs/Fox/FXStreamFormatError.html +3 -3
- data/docs/Fox/FXStreamFullError.html +4 -4
- data/docs/Fox/FXStreamNoReadError.html +3 -3
- data/docs/Fox/FXStreamNoWriteError.html +3 -3
- data/docs/Fox/FXStreamUnknownError.html +3 -3
- data/docs/Fox/FXStringDict.html +4 -4
- data/docs/Fox/FXSwitcher.html +8 -8
- data/docs/Fox/FXTGAIcon.html +3 -3
- data/docs/Fox/FXTGAImage.html +3 -3
- data/docs/Fox/FXTIFIcon.html +3 -3
- data/docs/Fox/FXTIFImage.html +3 -3
- data/docs/Fox/FXTabBar.html +8 -8
- data/docs/Fox/FXTabBook.html +4 -4
- data/docs/Fox/FXTabItem.html +3 -3
- data/docs/Fox/FXTable.html +27 -27
- data/docs/Fox/FXTableItem.html +5 -5
- data/docs/Fox/FXTablePos.html +3 -3
- data/docs/Fox/FXTableRange.html +3 -3
- data/docs/Fox/FXText.html +25 -25
- data/docs/Fox/FXTextChange.html +3 -3
- data/docs/Fox/FXTextField.html +5 -5
- data/docs/Fox/FXToggleButton.html +7 -7
- data/docs/Fox/FXToolBar.html +3 -3
- data/docs/Fox/FXToolBarGrip.html +3 -3
- data/docs/Fox/FXToolBarShell.html +3 -3
- data/docs/Fox/FXToolBarTab.html +5 -5
- data/docs/Fox/FXToolTip.html +5 -5
- data/docs/Fox/FXTopWindow.html +4 -4
- data/docs/Fox/FXTranslator.html +3 -3
- data/docs/Fox/FXTreeItem.html +19 -19
- data/docs/Fox/FXTreeList.html +40 -40
- data/docs/Fox/FXTreeListBox.html +27 -27
- data/docs/Fox/FXTriStateButton.html +9 -9
- data/docs/Fox/FXUndoList.html +8 -8
- data/docs/Fox/FXVec2d.html +7 -7
- data/docs/Fox/FXVec2f.html +7 -7
- data/docs/Fox/FXVec3d.html +7 -7
- data/docs/Fox/FXVec3f.html +7 -7
- data/docs/Fox/FXVec4d.html +7 -7
- data/docs/Fox/FXVec4f.html +7 -7
- data/docs/Fox/FXVerticalFrame.html +4 -4
- data/docs/Fox/FXVerticalSeparator.html +3 -3
- data/docs/Fox/FXViewport.html +3 -3
- data/docs/Fox/FXVisual.html +3 -3
- data/docs/Fox/FXWindow.html +36 -36
- data/docs/Fox/FXWizard.html +3 -3
- data/docs/Fox/FXXBMIcon.html +3 -3
- data/docs/Fox/FXXBMImage.html +3 -3
- data/docs/Fox/FXXPMIcon.html +3 -3
- data/docs/Fox/FXXPMImage.html +3 -3
- data/docs/Fox/NotifyHeader.html +3 -3
- data/docs/Fox/SCNotification.html +3 -3
- data/docs/Fox/TextRange.html +3 -3
- data/docs/Fox.html +7 -7
- data/docs/IRB.html +3 -3
- data/docs/Responder.html +4 -4
- data/docs/Responder2.html +3 -3
- data/docs/_index.html +3 -3
- data/docs/css/style.css +1 -0
- data/docs/file.History.html +66 -52
- data/docs/file.README.html +7 -7
- data/docs/index.html +13 -7
- data/docs/top-level-namespace.html +3 -3
- data/ext/fox16_c/core_wrap.cpp +5 -3
- data/ext/fox16_c/dc_wrap.cpp +5 -3
- data/ext/fox16_c/dialogs_wrap.cpp +5 -3
- data/ext/fox16_c/extconf.rb +10 -10
- data/ext/fox16_c/frames_wrap.cpp +5 -3
- data/ext/fox16_c/fx3d_wrap.cpp +5 -3
- data/ext/fox16_c/iconlist_wrap.cpp +5 -3
- data/ext/fox16_c/icons_wrap.cpp +5 -3
- data/ext/fox16_c/image_wrap.cpp +5 -3
- data/ext/fox16_c/label_wrap.cpp +5 -3
- data/ext/fox16_c/layout_wrap.cpp +5 -3
- data/ext/fox16_c/list_wrap.cpp +5 -3
- data/ext/fox16_c/mdi_wrap.cpp +5 -3
- data/ext/fox16_c/menu_wrap.cpp +5 -3
- data/ext/fox16_c/scintilla_wrap.cpp +5 -3
- data/ext/fox16_c/swigruby.h +4 -2
- data/ext/fox16_c/table_wrap.cpp +5 -3
- data/ext/fox16_c/text_wrap.cpp +5 -3
- data/ext/fox16_c/treelist_wrap.cpp +5 -3
- data/ext/fox16_c/ui_wrap.cpp +5 -3
- data/fxruby.gemspec +9 -1
- data/lib/2.5/fox16_c.so +0 -0
- data/lib/2.6/fox16_c.so +0 -0
- data/lib/2.7/fox16_c.so +0 -0
- data/lib/3.0/fox16_c.so +0 -0
- data/lib/fox16/kwargs.rb +891 -891
- data/lib/fox16/version.rb +1 -1
- data/lib/fox16.rb +2 -4
- data/ports/{x86_64-w64-mingw32 → x64-mingw32}/bin/libFOX-1.6-0.dll +0 -0
- data/ports/{x86_64-w64-mingw32 → x64-mingw32}/bin/libfxscintilla-20.dll +0 -0
- data/ports/{x86_64-w64-mingw32 → x64-mingw32}/bin/libgcc_s_seh-1.dll +0 -0
- data/ports/{x86_64-w64-mingw32 → x64-mingw32}/bin/libjpeg-62.dll +0 -0
- data/ports/{x86_64-w64-mingw32 → x64-mingw32}/bin/libpng16-16.dll +0 -0
- data/ports/{x86_64-w64-mingw32 → x64-mingw32}/bin/libstdc++-6.dll +0 -0
- data/ports/x64-mingw32/bin/libtiff-6.dll +0 -0
- data/ports/{x86_64-w64-mingw32 → x64-mingw32}/bin/libwinpthread-1.dll +0 -0
- data/ports/x64-mingw32/bin/zlib1.dll +0 -0
- data/test/TC_FXDCPrint.rb +1 -1
- metadata +254 -19
- data/lib/2.3/fox16_c.so +0 -0
- data/lib/2.4/fox16_c.so +0 -0
- data/ports/x86_64-w64-mingw32/bin/libtiff-5.dll +0 -0
- data/ports/x86_64-w64-mingw32/bin/zlib1.dll +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77ff9b9841b7084127af311a51733b405f6c0571f90bdc5301b290067acb761c
|
4
|
+
data.tar.gz: dc607610181692d9fa098da7a1068ec4e26a27470518bcdd098652bdb44548bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15ddf86b9073c017936d17e63bbc03da4d93789e25026c331a939e6534aff3a49557e6d3aeb29595f79f457b90bc160faf692ed21a69e00a9400ffa5bf4ed32e
|
7
|
+
data.tar.gz: 77ef2c257181e30c99cc827d58d3bf0b500c6bf2c6740b57a26961d5d3561ea1265d5c8aff7b30bf8f4ad72096901dbe0ca05a5ec937f975300e56d7903fab4c
|
@@ -0,0 +1,89 @@
|
|
1
|
+
name: Binary gems
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
pull_request:
|
6
|
+
workflow_dispatch:
|
7
|
+
schedule:
|
8
|
+
- cron: "0 5 * * 3" # At 05:00 on Wednesday # https://crontab.guru/#0_5_*_*_3
|
9
|
+
|
10
|
+
jobs:
|
11
|
+
job_build_x64:
|
12
|
+
name: build
|
13
|
+
runs-on: ubuntu-latest
|
14
|
+
strategy:
|
15
|
+
fail-fast: false
|
16
|
+
matrix:
|
17
|
+
include:
|
18
|
+
- platform: "x64-mingw-ucrt"
|
19
|
+
- platform: "x64-mingw32"
|
20
|
+
- platform: "x86-mingw32"
|
21
|
+
steps:
|
22
|
+
- uses: actions/checkout@v3
|
23
|
+
- name: Set up Ruby
|
24
|
+
uses: ruby/setup-ruby@v1
|
25
|
+
with:
|
26
|
+
ruby-version: "3.2"
|
27
|
+
- run: bundle install
|
28
|
+
|
29
|
+
- name: Build binary gem
|
30
|
+
run: bundle exec rake gem:${{ matrix.platform }}
|
31
|
+
|
32
|
+
- name: Upload binary gem
|
33
|
+
uses: actions/upload-artifact@v3
|
34
|
+
with:
|
35
|
+
name: binary-gem
|
36
|
+
path: pkg/*.gem
|
37
|
+
|
38
|
+
job_test_binary:
|
39
|
+
name: Test on Windows
|
40
|
+
needs: job_build_x64
|
41
|
+
strategy:
|
42
|
+
fail-fast: false
|
43
|
+
matrix:
|
44
|
+
include:
|
45
|
+
- os: windows-latest
|
46
|
+
ruby: "3.2"
|
47
|
+
platform: "x64-mingw-ucrt"
|
48
|
+
- os: windows-latest
|
49
|
+
ruby: "3.1.3-1"
|
50
|
+
platform: "x86-mingw32"
|
51
|
+
- os: windows-latest
|
52
|
+
ruby: "2.5"
|
53
|
+
platform: "x64-mingw32"
|
54
|
+
|
55
|
+
runs-on: ${{ matrix.os }}
|
56
|
+
env:
|
57
|
+
PGVERSION: ${{ matrix.PGVERSION }}
|
58
|
+
steps:
|
59
|
+
- uses: actions/checkout@v3
|
60
|
+
- name: Set up Ruby
|
61
|
+
if: matrix.platform != 'x86-mingw32'
|
62
|
+
uses: ruby/setup-ruby@v1
|
63
|
+
with:
|
64
|
+
ruby-version: ${{ matrix.ruby }}
|
65
|
+
|
66
|
+
- name: Set up 32 bit x86 Ruby
|
67
|
+
if: matrix.platform == 'x86-mingw32'
|
68
|
+
run: |
|
69
|
+
$(new-object net.webclient).DownloadFile("https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-${{ matrix.ruby }}/rubyinstaller-${{ matrix.ruby }}-x86.exe", "$pwd/ruby-setup.exe")
|
70
|
+
cmd /c ruby-setup.exe /currentuser /verysilent /dir=C:/Ruby-${{ matrix.ruby }}
|
71
|
+
echo "c:/ruby-${{ matrix.ruby }}/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
|
72
|
+
|
73
|
+
- name: Download gem from build job
|
74
|
+
uses: actions/download-artifact@v3
|
75
|
+
with:
|
76
|
+
name: binary-gem
|
77
|
+
|
78
|
+
- run: echo $env:PATH
|
79
|
+
- run: gem update --system 3.3.26
|
80
|
+
- run: bundle install
|
81
|
+
- run: gem install --local fxruby-*${{ matrix.platform }}.gem --verbose
|
82
|
+
- name: Run specs
|
83
|
+
run: ruby -w -W2 -rfox16 test/TS_All.rb -v
|
84
|
+
|
85
|
+
- name: Print logs if job failed
|
86
|
+
if: ${{ failure() && matrix.os == 'windows-latest' }}
|
87
|
+
run: |
|
88
|
+
ridk enable
|
89
|
+
find "$(ruby -e"puts RbConfig::CONFIG[%q[libdir]]")" -name mkmf.log -print0 | xargs -0 cat
|
@@ -0,0 +1,68 @@
|
|
1
|
+
name: CI
|
2
|
+
|
3
|
+
on: [push, pull_request]
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
job_test_gem:
|
7
|
+
name: Test in source tree
|
8
|
+
strategy:
|
9
|
+
fail-fast: false
|
10
|
+
matrix:
|
11
|
+
include:
|
12
|
+
- os: windows
|
13
|
+
ruby: "head"
|
14
|
+
- os: windows
|
15
|
+
ruby: "2.5"
|
16
|
+
- os: ubuntu
|
17
|
+
ruby: "head"
|
18
|
+
- os: ubuntu
|
19
|
+
ruby: "3.2"
|
20
|
+
- os: ubuntu
|
21
|
+
ruby: "2.5"
|
22
|
+
- os: macos
|
23
|
+
ruby: "head"
|
24
|
+
|
25
|
+
runs-on: ${{ matrix.os }}-latest
|
26
|
+
|
27
|
+
steps:
|
28
|
+
- uses: actions/checkout@v3
|
29
|
+
|
30
|
+
- uses: ruby/setup-ruby-pkgs@v1
|
31
|
+
with:
|
32
|
+
ruby-version: ${{ matrix.ruby }} # passed to ruby/setup-ruby
|
33
|
+
apt-get: "xpra xserver-xorg-video-dummy libxrandr-dev libfox-1.6-dev libfxscintilla-dev swig" # Ubuntu
|
34
|
+
brew: "fox swig xquartz" # macOS
|
35
|
+
mingw: "fox swig gcc" # Windows mingw / mswin /ucrt
|
36
|
+
|
37
|
+
- name: Print tool versions
|
38
|
+
run: |
|
39
|
+
ruby -v
|
40
|
+
gcc -v
|
41
|
+
swig -version
|
42
|
+
gem env
|
43
|
+
|
44
|
+
- name: Bundle install
|
45
|
+
run: bundle install
|
46
|
+
|
47
|
+
- name: Compile extension
|
48
|
+
run: bundle exec rake compile
|
49
|
+
|
50
|
+
- name: Linux Start xpra to enable GLX
|
51
|
+
if: matrix.os == 'ubuntu'
|
52
|
+
run: |
|
53
|
+
xpra --xvfb="Xorg +extension GLX -config `pwd`/test/dummy.xorg.conf -logfile ${HOME}/.xpra/xorg.log" start :9
|
54
|
+
echo "DISPLAY=:9" >> $GITHUB_ENV
|
55
|
+
|
56
|
+
- name: MacOS Start XQuartz
|
57
|
+
if: matrix.os == 'macos'
|
58
|
+
run: |
|
59
|
+
open -a /Applications/Utilities/XQuartz.app
|
60
|
+
# wait some seconds until XQuartz has started
|
61
|
+
sleep 10
|
62
|
+
|
63
|
+
- name: Run tests
|
64
|
+
run: bundle exec rake test
|
65
|
+
|
66
|
+
- name: Linux Print logs if job failed
|
67
|
+
if: ${{ failure() && matrix.os == 'ubuntu' }}
|
68
|
+
run: cat ~/.xpra/*
|
data/History.md
CHANGED
@@ -1,3 +1,14 @@
|
|
1
|
+
## 1.6.46 / 2023-02-19
|
2
|
+
|
3
|
+
* Add binary gem support for ruby-3.2 on platform x64-mingw-ucrt and drop ruby-2.4.
|
4
|
+
* Update to libz-1.2.13, libpng-1.6.39, libjpeg-turbo-2.1.5.1, libtiff-4.5.0 for Windows binary gems.
|
5
|
+
* Add documentation options to gemspec, so that "gem install fxruby" generates suitable documentation.
|
6
|
+
|
7
|
+
## 1.6.45 / 2022-01-14
|
8
|
+
|
9
|
+
* Add binary gem support for ruby-3.1 on platform x64-mingw-ucrt and drop ruby-2.3.
|
10
|
+
* Update to libz-1.2.11, libjpeg-turbo-2.1.2, libtiff-4.3.0 for Windows binary gems.
|
11
|
+
|
1
12
|
## 1.6.44 / 2020-12-31
|
2
13
|
|
3
14
|
* Add binary gem support for ruby-3.0. #66
|
data/{README.rdoc → README.md}
RENAMED
@@ -1,14 +1,11 @@
|
|
1
|
-
|
1
|
+
# FXRuby
|
2
2
|
|
3
3
|
* http://github.com/larskanis/fxruby
|
4
4
|
* Full API-description: http://rubydoc.info/gems/fxruby/frames or https://larskanis.github.io/fxruby/
|
5
|
-
* Latest fxruby
|
6
|
-
* Status
|
7
|
-
on Windows: {<img src="https://ci.appveyor.com/api/projects/status/too7sj4gq643ts8w/branch/1.6?svg=true" alt="Build Status on Windows" />}[https://ci.appveyor.com/project/larskanis/fxruby/branch/1.6]
|
5
|
+
* Latest fxruby [](http://badge.fury.io/rb/fxruby)
|
6
|
+
* CI-Status: [](https://github.com/larskanis/fxruby/actions/workflows/ci.yml) and on Windows: [](https://ci.appveyor.com/project/larskanis/fxruby/branch/1.6)
|
8
7
|
|
9
|
-
|
10
|
-
|
11
|
-
== DESCRIPTION:
|
8
|
+
## DESCRIPTION:
|
12
9
|
|
13
10
|
FXRuby is a library for developing powerful and sophisticated
|
14
11
|
cross-platform graphical user interfaces (GUIs) for your Ruby
|
@@ -19,28 +16,33 @@ Ruby programming language that you already know and love, while at the
|
|
19
16
|
same time taking advantage of the performance and functionality of a
|
20
17
|
featureful, highly optimized C++ toolkit.
|
21
18
|
|
22
|
-
|
19
|
+
## FEATURES:
|
23
20
|
|
24
21
|
FXRuby supportes everything of FOX, that is useful in Ruby:
|
25
22
|
* MDI/SDI application window layouts, floating toolbars
|
26
23
|
* Rich set of controls (tables, imagelists, menus, canvas, ...)
|
27
24
|
* Flexible layout management
|
28
25
|
* Image read/write support in many formats
|
29
|
-
* Embedded OpenGL graphics through the
|
26
|
+
* Embedded OpenGL graphics through the [opengl-bindings](https://github.com/vaiorabbit/ruby-opengl) gem
|
30
27
|
* Thread support
|
31
28
|
|
32
|
-
|
29
|
+
## INSTALL:
|
33
30
|
|
34
31
|
FXRuby runs on Linux, Windows and OS-X with Ruby-2.2 or newer. Installation on Unix requires
|
35
32
|
FOX development headers and libraries installed:
|
36
33
|
* on Debian/Ubuntu: <tt>sudo apt-get install g++ libxrandr-dev libfox-1.6-dev</tt>
|
37
|
-
*
|
38
|
-
* on Windows: the binary fxruby gems already contain all required
|
34
|
+
* on Mac: <tt>sudo port install rb-fxruby</tt> OR <tt>brew install fox && brew install xquartz</tt>
|
35
|
+
* on Windows: the binary fxruby gems already contain all required libraries
|
36
|
+
* see also detailed installation instructions in the [Wiki](https://github.com/lylejohnson/fxruby/wiki)
|
39
37
|
|
40
38
|
Then, install the gem:
|
41
39
|
* gem install fxruby
|
42
40
|
|
43
|
-
|
41
|
+
On Mac, before running applications, you must also run: <tt>open -a /Applications/Utilities/XQuartz.app</tt>
|
42
|
+
|
43
|
+
(otherwise, you end up getting this message when running applications on Mac: <tt>FXRbApp::openDisplay: unable to open display :0.0</tt>)
|
44
|
+
|
45
|
+
## DIRECTORIES
|
44
46
|
The directory structure is:
|
45
47
|
|
46
48
|
* examples/
|
@@ -83,8 +85,9 @@ you might see some additional directories of interest:
|
|
83
85
|
the code found in the ext/fox directory).
|
84
86
|
|
85
87
|
|
86
|
-
|
88
|
+
## LICENSE
|
87
89
|
|
90
|
+
```
|
88
91
|
GNU LESSER GENERAL PUBLIC LICENSE
|
89
92
|
Version 2.1, February 1999
|
90
93
|
|
@@ -541,3 +544,4 @@ you might see some additional directories of interest:
|
|
541
544
|
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
542
545
|
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
543
546
|
DAMAGES.
|
547
|
+
```
|
data/Rakefile
CHANGED
@@ -80,8 +80,8 @@ CLEAN.include( ".config", "ext/fox16_c/Makefile", "ext/fox16_c/*.o", "ext/fox16_
|
|
80
80
|
|
81
81
|
CLOBBER.include( "pkg" )
|
82
82
|
|
83
|
-
#
|
84
|
-
task :test
|
83
|
+
# Tests need to run with binary gems, so that the task doesn't depend on compile
|
84
|
+
task :test do
|
85
85
|
sh "ruby -w -W2 -Ilib test/TS_All.rb -v"
|
86
86
|
end
|
87
87
|
|
@@ -92,7 +92,7 @@ gem_spec = Bundler.load_gemspec('fxruby.gemspec')
|
|
92
92
|
|
93
93
|
ext_task = Rake::ExtensionTask.new("fox16_c", gem_spec) do |ext|
|
94
94
|
ext.cross_compile = true
|
95
|
-
ext.cross_platform = ['x86-mingw32', 'x64-mingw32']
|
95
|
+
ext.cross_platform = ['x86-mingw32', 'x64-mingw-ucrt', 'x64-mingw32']
|
96
96
|
# Enable FXTRACE and FXASSERT for 'rake compile'
|
97
97
|
ext.config_options << "--enable-debug"
|
98
98
|
|
@@ -109,6 +109,7 @@ ext_task = Rake::ExtensionTask.new("fox16_c", gem_spec) do |ext|
|
|
109
109
|
|
110
110
|
platform_host_map = {
|
111
111
|
'x86-mingw32' => ['i686-w64-mingw32'],
|
112
|
+
'x64-mingw-ucrt' => ['x86_64-w64-mingw32'],
|
112
113
|
'x64-mingw32' => ['x86_64-w64-mingw32'],
|
113
114
|
}
|
114
115
|
|
@@ -117,21 +118,21 @@ ext_task = Rake::ExtensionTask.new("fox16_c", gem_spec) do |ext|
|
|
117
118
|
|
118
119
|
gcc_shared_dlls = %w[libwinpthread-1.dll libgcc_s_dw2-1.dll libgcc_s_sjlj-1.dll libgcc_s_seh-1.dll libstdc++-6.dll]
|
119
120
|
|
120
|
-
dlls = gcc_shared_dlls.select{|dll| File.exist?("ports/#{
|
121
|
+
dlls = gcc_shared_dlls.select{|dll| File.exist?("ports/#{gemplat}/bin/#{dll}") }
|
121
122
|
dlls += [
|
122
123
|
"libfxscintilla-20.dll",
|
123
124
|
"libFOX-1.6-0.dll",
|
124
125
|
"libjpeg-62.dll",
|
125
126
|
"libpng16-16.dll",
|
126
|
-
"libtiff-
|
127
|
+
"libtiff-6.dll",
|
127
128
|
"zlib1.dll",
|
128
129
|
]
|
129
130
|
|
130
|
-
spec.files += dlls.map{|dll| "ports/#{
|
131
|
+
spec.files += dlls.map{|dll| "ports/#{gemplat}/bin/#{dll}" }
|
131
132
|
|
132
133
|
unless ENV['FXRUBY_MINGW_DEBUG']
|
133
134
|
dlls.each do |dll|
|
134
|
-
task "ports/#{
|
135
|
+
task "ports/#{gemplat}/bin/#{dll}" do |t|
|
135
136
|
sh "#{host}-strip", t.name
|
136
137
|
end
|
137
138
|
end
|
@@ -153,13 +154,14 @@ namespace :gem do
|
|
153
154
|
sh "bundle package"
|
154
155
|
end
|
155
156
|
|
157
|
+
desc "Build a binary gem for platform #{plat}"
|
156
158
|
task plat => ['gem', 'prepare'] do
|
157
159
|
debug = "FXRUBY_MINGW_DEBUG=#{ENV['FXRUBY_MINGW_DEBUG'].inspect}" if ENV['FXRUBY_MINGW_DEBUG']
|
158
160
|
RakeCompilerDock.sh <<-EOT, platform: plat
|
159
161
|
sudo apt update &&
|
160
162
|
sudo apt install yasm &&
|
161
163
|
bundle --local --without=test &&
|
162
|
-
rake native:#{plat} pkg/#{ext_task.gem_spec.full_name}-#{plat}.gem MAKE=\"nice make V=1 VERBOSE=1 -j `nproc`\" #{debug}
|
164
|
+
rake native:#{plat} pkg/#{ext_task.gem_spec.full_name}-#{plat}.gem MAKE=\"nice make V=1 VERBOSE=1 -j `nproc`\" #{debug} RUBY_CC_VERSION=${RUBY_CC_VERSION/:2.4.0/}
|
163
165
|
EOT
|
164
166
|
end
|
165
167
|
end
|
@@ -204,6 +206,23 @@ namespace :swig do
|
|
204
206
|
line.gsub! /rb_ensure\(VALUEFUNC\((.*)\), self, VALUEFUNC\((.*)\), self\);/, 'rb_ensure(RUBY_VALUE_METHOD_FUNC(\\1), self, RUBY_VALUE_METHOD_FUNC(\\2), self);'
|
205
207
|
line.gsub! /rb_rescue\(RUBY_METHOD_FUNC\((.*)\), \(VALUE\)a, RUBY_METHOD_FUNC\((.*)\), 0\)/, 'rb_rescue(RUBY_VALUE_METHOD_FUNC(\\1), (VALUE)a, RUBY_VALUE_METHOD_FUNC(\\2), 0)'
|
206
208
|
|
209
|
+
line.gsub!('VALUE cl = rb_define_class("swig_runtime_data", rb_cObject);', 'VALUE cl = rb_define_class("SWIG_RUNTIME_DATA", rb_cObject);rb_undef_alloc_func(cl);')
|
210
|
+
|
211
|
+
# Allow Truffleruby-22.1.0 to compile the sources without fxscintilla.
|
212
|
+
# Unfortunately Truffleruby still fails with various runtime errors.
|
213
|
+
if RUBY_ENGINE == "truffleruby"
|
214
|
+
line.gsub! '#include <ruby.h>', <<-EOT
|
215
|
+
#include <ruby.h>
|
216
|
+
#define rb_define_virtual_variable(x,y,z)
|
217
|
+
EOT
|
218
|
+
|
219
|
+
line.gsub! 'rb_define_readonly_variable("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, &swig_runtime_data_type_pointer);', <<-EOT
|
220
|
+
if (rb_gv_get("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME) == RUBY_Qnil) {
|
221
|
+
rb_gv_set("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, swig_runtime_data_type_pointer);
|
222
|
+
}
|
223
|
+
EOT
|
224
|
+
end
|
225
|
+
|
207
226
|
line
|
208
227
|
end
|
209
228
|
|
data/appveyor.yml
CHANGED
@@ -1,24 +1,22 @@
|
|
1
|
-
image: Visual Studio
|
1
|
+
image: Visual Studio 2022
|
2
2
|
|
3
3
|
clone_depth: 1
|
4
4
|
|
5
5
|
init:
|
6
|
-
- SET PATH=c:/Ruby%ruby_version%/bin
|
7
|
-
- SET RAKEOPT=-rdevkit
|
6
|
+
- SET PATH=c:/Ruby%ruby_version%/bin;%PATH%
|
8
7
|
install:
|
9
8
|
- ps: |
|
10
9
|
if ($env:ruby_version -like "*head*") {
|
11
10
|
$(new-object net.webclient).DownloadFile("https://github.com/oneclick/rubyinstaller2/releases/download/rubyinstaller-head/rubyinstaller-$env:ruby_version.exe", "$pwd/ruby-setup.exe")
|
12
|
-
cmd /c ruby-setup.exe /verysilent /dir=C:/Ruby$env:ruby_version
|
11
|
+
cmd /c ruby-setup.exe /currentuser /verysilent /dir=C:/Ruby$env:ruby_version
|
13
12
|
}
|
14
13
|
- ruby --version
|
15
14
|
- gem --version
|
16
15
|
- ridk version
|
17
|
-
|
18
|
-
|
19
|
-
- c:/msys64/usr/bin/bash -lc "pacman -
|
20
|
-
-
|
21
|
-
- c:/msys64/usr/bin/bash -lc "pacman -S --noconfirm --needed ${MINGW_PACKAGE_PREFIX}-fox ${MINGW_PACKAGE_PREFIX}-swig"
|
16
|
+
- ridk enable
|
17
|
+
# Install required packages
|
18
|
+
- c:/msys64/usr/bin/bash -lc "pacman -S --noconfirm --needed ${MINGW_PACKAGE_PREFIX}-pkgconf ${MINGW_PACKAGE_PREFIX}-fox ${MINGW_PACKAGE_PREFIX}-swig ${MINGW_PACKAGE_PREFIX}-gcc"
|
19
|
+
- gcc -v
|
22
20
|
- swig -version
|
23
21
|
- gem install bundler --conservative
|
24
22
|
- bundle config set force_ruby_platform true
|
@@ -30,8 +28,4 @@ test_script:
|
|
30
28
|
environment:
|
31
29
|
matrix:
|
32
30
|
- ruby_version: "head-x64"
|
33
|
-
|
34
|
-
MSYSTEM: "MINGW64"
|
35
|
-
- ruby_version: "24"
|
36
|
-
MINGW_PACKAGE_PREFIX: "mingw-w64-i686"
|
37
|
-
MSYSTEM: "MINGW32"
|
31
|
+
- ruby_version: "25"
|
data/doap.rdf
CHANGED
@@ -77,8 +77,8 @@
|
|
77
77
|
<doap:release>
|
78
78
|
<doap:Version>
|
79
79
|
<doap:branch>fox16</doap:branch>
|
80
|
-
<doap:created>
|
81
|
-
<doap:revision>1.6.
|
80
|
+
<doap:created>2023-02-18</doap:created>
|
81
|
+
<doap:revision>1.6.45</doap:revision>
|
82
82
|
</doap:Version>
|
83
83
|
</doap:release>
|
84
84
|
|
@@ -114,9 +114,9 @@
|
|
114
114
|
</div>
|
115
115
|
|
116
116
|
<div id="footer">
|
117
|
-
Generated on
|
118
|
-
<a href="
|
119
|
-
0.9.
|
117
|
+
Generated on Mon Jan 2 11:48:19 2023 by
|
118
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
119
|
+
0.9.28 (ruby-3.1.2).
|
120
120
|
</div>
|
121
121
|
|
122
122
|
</div>
|
@@ -467,9 +467,9 @@
|
|
467
467
|
</div>
|
468
468
|
|
469
469
|
<div id="footer">
|
470
|
-
Generated on
|
471
|
-
<a href="
|
472
|
-
0.9.
|
470
|
+
Generated on Mon Jan 2 11:48:19 2023 by
|
471
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
472
|
+
0.9.28 (ruby-3.1.2).
|
473
473
|
</div>
|
474
474
|
|
475
475
|
</div>
|
@@ -467,9 +467,9 @@
|
|
467
467
|
</div>
|
468
468
|
|
469
469
|
<div id="footer">
|
470
|
-
Generated on
|
471
|
-
<a href="
|
472
|
-
0.9.
|
470
|
+
Generated on Mon Jan 2 11:48:19 2023 by
|
471
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
472
|
+
0.9.28 (ruby-3.1.2).
|
473
473
|
</div>
|
474
474
|
|
475
475
|
</div>
|
@@ -995,9 +995,9 @@
|
|
995
995
|
</div>
|
996
996
|
|
997
997
|
<div id="footer">
|
998
|
-
Generated on
|
999
|
-
<a href="
|
1000
|
-
0.9.
|
998
|
+
Generated on Mon Jan 2 11:48:19 2023 by
|
999
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1000
|
+
0.9.28 (ruby-3.1.2).
|
1001
1001
|
</div>
|
1002
1002
|
|
1003
1003
|
</div>
|
@@ -135,9 +135,9 @@
|
|
135
135
|
</div>
|
136
136
|
|
137
137
|
<div id="footer">
|
138
|
-
Generated on
|
139
|
-
<a href="
|
140
|
-
0.9.
|
138
|
+
Generated on Mon Jan 2 11:48:19 2023 by
|
139
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
140
|
+
0.9.28 (ruby-3.1.2).
|
141
141
|
</div>
|
142
142
|
|
143
143
|
</div>
|
@@ -429,9 +429,9 @@
|
|
429
429
|
</div>
|
430
430
|
|
431
431
|
<div id="footer">
|
432
|
-
Generated on
|
433
|
-
<a href="
|
434
|
-
0.9.
|
432
|
+
Generated on Mon Jan 2 11:48:19 2023 by
|
433
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
434
|
+
0.9.28 (ruby-3.1.2).
|
435
435
|
</div>
|
436
436
|
|
437
437
|
</div>
|
@@ -342,9 +342,9 @@
|
|
342
342
|
</div>
|
343
343
|
|
344
344
|
<div id="footer">
|
345
|
-
Generated on
|
346
|
-
<a href="
|
347
|
-
0.9.
|
345
|
+
Generated on Mon Jan 2 11:48:20 2023 by
|
346
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
347
|
+
0.9.28 (ruby-3.1.2).
|
348
348
|
</div>
|
349
349
|
|
350
350
|
</div>
|
data/docs/Fox/Canvas/Shape.html
CHANGED
@@ -370,7 +370,7 @@
|
|
370
370
|
|
371
371
|
|
372
372
|
<span class="summary_desc"><div class='inline'>
|
373
|
-
<p>Set this shape
|
373
|
+
<p>Set this shape’s draggability.</p>
|
374
374
|
</div></span>
|
375
375
|
|
376
376
|
</li>
|
@@ -1223,7 +1223,7 @@
|
|
1223
1223
|
</h3><div class="docstring">
|
1224
1224
|
<div class="discussion">
|
1225
1225
|
|
1226
|
-
<p>Set this shape
|
1226
|
+
<p>Set this shape’s draggability</p>
|
1227
1227
|
|
1228
1228
|
|
1229
1229
|
</div>
|
@@ -1945,9 +1945,9 @@
|
|
1945
1945
|
</div>
|
1946
1946
|
|
1947
1947
|
<div id="footer">
|
1948
|
-
Generated on
|
1949
|
-
<a href="
|
1950
|
-
0.9.
|
1948
|
+
Generated on Mon Jan 2 11:48:19 2023 by
|
1949
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1950
|
+
0.9.28 (ruby-3.1.2).
|
1951
1951
|
</div>
|
1952
1952
|
|
1953
1953
|
</div>
|
@@ -1722,9 +1722,9 @@
|
|
1722
1722
|
<span class='kw'>end</span>
|
1723
1723
|
|
1724
1724
|
<span class='comment'># Must have pressed
|
1725
|
-
</span> <span class='kw'>if</span> <span class='lparen'>(</span><span class='id identifier rubyid_flg'>flg</span> <span class='op'>&</span> <span class='const'><span class='object_link'><a href="#FLAG_PRESSED-constant" title="Fox::Canvas::ShapeCanvas::FLAG_PRESSED (constant)">FLAG_PRESSED</a></span></span><span class='rparen'>)</span> <span class='op'>!=</span> <span class='int'>0</span>
|
1726
|
-
|
1727
|
-
<span class='kw'>if</span> <span class='ivar'>@currentShape</span> <span class='op'>&&</span> <span class='ivar'>@currentShape</span><span class='period'>.</span><span class='id identifier rubyid_enabled?'>enabled?</span>
|
1725
|
+
</span> <span class='kw'>if</span> <span class='lparen'>(</span><span class='id identifier rubyid_flg'>flg</span> <span class='op'>&</span> <span class='const'><span class='object_link'><a href="#FLAG_PRESSED-constant" title="Fox::Canvas::ShapeCanvas::FLAG_PRESSED (constant)">FLAG_PRESSED</a></span></span><span class='rparen'>)</span> <span class='op'>!=</span> <span class='int'>0</span>
|
1726
|
+
<span class='comment'># Change selection
|
1727
|
+
</span> <span class='kw'>if</span> <span class='ivar'>@currentShape</span> <span class='op'>&&</span> <span class='ivar'>@currentShape</span><span class='period'>.</span><span class='id identifier rubyid_enabled?'>enabled?</span>
|
1728
1728
|
<span class='id identifier rubyid_deselectShape'>deselectShape</span><span class='lparen'>(</span><span class='ivar'>@currentShape</span><span class='comma'>,</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
1729
1729
|
<span class='kw'>end</span>
|
1730
1730
|
|
@@ -2021,9 +2021,9 @@
|
|
2021
2021
|
</div>
|
2022
2022
|
|
2023
2023
|
<div id="footer">
|
2024
|
-
Generated on
|
2025
|
-
<a href="
|
2026
|
-
0.9.
|
2024
|
+
Generated on Mon Jan 2 11:48:20 2023 by
|
2025
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2026
|
+
0.9.28 (ruby-3.1.2).
|
2027
2027
|
</div>
|
2028
2028
|
|
2029
2029
|
</div>
|
@@ -517,9 +517,9 @@
|
|
517
517
|
</div>
|
518
518
|
|
519
519
|
<div id="footer">
|
520
|
-
Generated on
|
521
|
-
<a href="
|
522
|
-
0.9.
|
520
|
+
Generated on Mon Jan 2 11:48:19 2023 by
|
521
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
522
|
+
0.9.28 (ruby-3.1.2).
|
523
523
|
</div>
|
524
524
|
|
525
525
|
</div>
|
@@ -281,9 +281,9 @@
|
|
281
281
|
</div>
|
282
282
|
|
283
283
|
<div id="footer">
|
284
|
-
Generated on
|
285
|
-
<a href="
|
286
|
-
0.9.
|
284
|
+
Generated on Mon Jan 2 11:48:20 2023 by
|
285
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
286
|
+
0.9.28 (ruby-3.1.2).
|
287
287
|
</div>
|
288
288
|
|
289
289
|
</div>
|
@@ -599,9 +599,9 @@
|
|
599
599
|
</div>
|
600
600
|
|
601
601
|
<div id="footer">
|
602
|
-
Generated on
|
603
|
-
<a href="
|
604
|
-
0.9.
|
602
|
+
Generated on Mon Jan 2 11:48:19 2023 by
|
603
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
604
|
+
0.9.28 (ruby-3.1.2).
|
605
605
|
</div>
|
606
606
|
|
607
607
|
</div>
|