fxruby 1.6.38-x86-mingw32 → 1.6.43-x86-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 +5 -5
- data/.travis.yml +3 -14
- data/.yardopts +1 -1
- data/Gemfile +8 -5
- data/History.md +1344 -21
- data/README.rdoc +5 -5
- data/Rakefile +100 -68
- data/appveyor.yml +17 -4
- data/docs/Fox.html +11184 -0
- data/docs/Fox/Canvas.html +141 -0
- data/docs/Fox/Canvas/CanvasError.html +124 -0
- data/docs/Fox/Canvas/CircleShape.html +477 -0
- data/docs/Fox/Canvas/ImageShape.html +477 -0
- data/docs/Fox/Canvas/LineShape.html +1005 -0
- data/docs/Fox/Canvas/PolygonShape.html +145 -0
- data/docs/Fox/Canvas/RectangleShape.html +439 -0
- data/docs/Fox/Canvas/SelectionPolicy.html +352 -0
- data/docs/Fox/Canvas/Shape.html +1955 -0
- data/docs/Fox/Canvas/ShapeCanvas.html +2031 -0
- data/docs/Fox/Canvas/ShapeGroup.html +527 -0
- data/docs/Fox/Canvas/SingleSelectionPolicy.html +291 -0
- data/docs/Fox/Canvas/TextShape.html +609 -0
- data/docs/Fox/FTNonModal.html +550 -0
- data/docs/Fox/FX4Splitter.html +1336 -0
- data/docs/Fox/FX7Segment.html +1010 -0
- data/docs/Fox/FXAccelTable.html +715 -0
- data/docs/Fox/FXApp.html +7998 -0
- data/docs/Fox/FXArc.html +562 -0
- data/docs/Fox/FXArrowButton.html +865 -0
- data/docs/Fox/FXBMPIcon.html +450 -0
- data/docs/Fox/FXBMPImage.html +434 -0
- data/docs/Fox/FXBitmap.html +1362 -0
- data/docs/Fox/FXBitmapFrame.html +595 -0
- data/docs/Fox/FXBitmapView.html +1451 -0
- data/docs/Fox/FXButton.html +534 -0
- data/docs/Fox/FXCURCursor.html +261 -0
- data/docs/Fox/FXCalendar.html +880 -0
- data/docs/Fox/FXCanvas.html +311 -0
- data/docs/Fox/FXCheckButton.html +949 -0
- data/docs/Fox/FXChoiceBox.html +472 -0
- data/docs/Fox/FXColor.html +1519 -0
- data/docs/Fox/FXColorBar.html +759 -0
- data/docs/Fox/FXColorDialog.html +591 -0
- data/docs/Fox/FXColorItem.html +323 -0
- data/docs/Fox/FXColorList.html +712 -0
- data/docs/Fox/FXColorRing.html +817 -0
- data/docs/Fox/FXColorSelector.html +796 -0
- data/docs/Fox/FXColorWell.html +850 -0
- data/docs/Fox/FXColorWheel.html +770 -0
- data/docs/Fox/FXComboBox.html +2939 -0
- data/docs/Fox/FXComboTableItem.html +544 -0
- data/docs/Fox/FXCommand.html +526 -0
- data/docs/Fox/FXComposite.html +433 -0
- data/docs/Fox/FXCursor.html +779 -0
- data/docs/Fox/FXDC.html +5231 -0
- data/docs/Fox/FXDCPrint.html +696 -0
- data/docs/Fox/FXDCWindow.html +358 -0
- data/docs/Fox/FXDataTarget.html +573 -0
- data/docs/Fox/FXDebugTarget.html +305 -0
- data/docs/Fox/FXDelegator.html +305 -0
- data/docs/Fox/FXDial.html +1133 -0
- data/docs/Fox/FXDialogBox.html +413 -0
- data/docs/Fox/FXDict.html +1063 -0
- data/docs/Fox/FXDirBox.html +752 -0
- data/docs/Fox/FXDirDialog.html +914 -0
- data/docs/Fox/FXDirItem.html +989 -0
- data/docs/Fox/FXDirList.html +1554 -0
- data/docs/Fox/FXDirSelector.html +995 -0
- data/docs/Fox/FXDockBar.html +1451 -0
- data/docs/Fox/FXDockHandler.html +468 -0
- data/docs/Fox/FXDockSite.html +678 -0
- data/docs/Fox/FXDockTitle.html +606 -0
- data/docs/Fox/FXDocument.html +536 -0
- data/docs/Fox/FXDragCorner.html +440 -0
- data/docs/Fox/FXDrawable.html +478 -0
- data/docs/Fox/FXDriveBox.html +746 -0
- data/docs/Fox/FXEvent.html +1736 -0
- data/docs/Fox/FXExtentd.html +1374 -0
- data/docs/Fox/FXExtentf.html +1374 -0
- data/docs/Fox/FXFileAssoc.html +850 -0
- data/docs/Fox/FXFileDialog.html +2688 -0
- data/docs/Fox/FXFileDict.html +1058 -0
- data/docs/Fox/FXFileItem.html +1141 -0
- data/docs/Fox/FXFileList.html +2259 -0
- data/docs/Fox/FXFileSelector.html +2529 -0
- data/docs/Fox/FXFileStream.html +503 -0
- data/docs/Fox/FXFoldingItem.html +2822 -0
- data/docs/Fox/FXFoldingList.html +5189 -0
- data/docs/Fox/FXFont.html +2998 -0
- data/docs/Fox/FXFontDesc.html +710 -0
- data/docs/Fox/FXFontDialog.html +420 -0
- data/docs/Fox/FXFontSelector.html +576 -0
- data/docs/Fox/FXFrame.html +1012 -0
- data/docs/Fox/FXGIFCursor.html +337 -0
- data/docs/Fox/FXGIFIcon.html +450 -0
- data/docs/Fox/FXGIFImage.html +434 -0
- data/docs/Fox/FXGLCanvas.html +700 -0
- data/docs/Fox/FXGLCone.html +785 -0
- data/docs/Fox/FXGLContext.html +649 -0
- data/docs/Fox/FXGLCube.html +703 -0
- data/docs/Fox/FXGLCylinder.html +791 -0
- data/docs/Fox/FXGLGroup.html +1385 -0
- data/docs/Fox/FXGLLine.html +653 -0
- data/docs/Fox/FXGLObject.html +759 -0
- data/docs/Fox/FXGLPoint.html +561 -0
- data/docs/Fox/FXGLShape.html +714 -0
- data/docs/Fox/FXGLSphere.html +626 -0
- data/docs/Fox/FXGLViewer.html +3506 -0
- data/docs/Fox/FXGLVisual.html +2147 -0
- data/docs/Fox/FXGradient.html +562 -0
- data/docs/Fox/FXGradientBar.html +2479 -0
- data/docs/Fox/FXGroupBox.html +688 -0
- data/docs/Fox/FXHeader.html +3040 -0
- data/docs/Fox/FXHeaderItem.html +1353 -0
- data/docs/Fox/FXHiliteStyle.html +804 -0
- data/docs/Fox/FXHorizontalFrame.html +359 -0
- data/docs/Fox/FXHorizontalSeparator.html +349 -0
- data/docs/Fox/FXICOIcon.html +450 -0
- data/docs/Fox/FXICOImage.html +434 -0
- data/docs/Fox/FXIcon.html +384 -0
- data/docs/Fox/FXIconDict.html +752 -0
- data/docs/Fox/FXIconItem.html +1518 -0
- data/docs/Fox/FXIconList.html +4676 -0
- data/docs/Fox/FXIconSource.html +963 -0
- data/docs/Fox/FXId.html +712 -0
- data/docs/Fox/FXImage.html +2328 -0
- data/docs/Fox/FXImageFrame.html +489 -0
- data/docs/Fox/FXImageView.html +504 -0
- data/docs/Fox/FXInputDialog.html +894 -0
- data/docs/Fox/FXIrb.html +942 -0
- data/docs/Fox/FXJPGIcon.html +607 -0
- data/docs/Fox/FXJPGImage.html +591 -0
- data/docs/Fox/FXKnob.html +1048 -0
- data/docs/Fox/FXLabel.html +1013 -0
- data/docs/Fox/FXLight.html +920 -0
- data/docs/Fox/FXList.html +3717 -0
- data/docs/Fox/FXListBox.html +2518 -0
- data/docs/Fox/FXListItem.html +1459 -0
- data/docs/Fox/FXMDIChild.html +2175 -0
- data/docs/Fox/FXMDIClient.html +781 -0
- data/docs/Fox/FXMDIDeleteButton.html +334 -0
- data/docs/Fox/FXMDIMaximizeButton.html +334 -0
- data/docs/Fox/FXMDIMenu.html +335 -0
- data/docs/Fox/FXMDIMinimizeButton.html +334 -0
- data/docs/Fox/FXMDIRestoreButton.html +334 -0
- data/docs/Fox/FXMDIWindowButton.html +334 -0
- data/docs/Fox/FXMainWindow.html +337 -0
- data/docs/Fox/FXMaterial.html +570 -0
- data/docs/Fox/FXMatrix.html +734 -0
- data/docs/Fox/FXMemoryBuffer.html +472 -0
- data/docs/Fox/FXMemoryStream.html +632 -0
- data/docs/Fox/FXMenuBar.html +347 -0
- data/docs/Fox/FXMenuButton.html +829 -0
- data/docs/Fox/FXMenuCaption.html +1080 -0
- data/docs/Fox/FXMenuCascade.html +388 -0
- data/docs/Fox/FXMenuCheck.html +721 -0
- data/docs/Fox/FXMenuCommand.html +400 -0
- data/docs/Fox/FXMenuPane.html +333 -0
- data/docs/Fox/FXMenuRadio.html +721 -0
- data/docs/Fox/FXMenuSeparator.html +440 -0
- data/docs/Fox/FXMenuTitle.html +405 -0
- data/docs/Fox/FXMessageBox.html +658 -0
- data/docs/Fox/FXObject.html +545 -0
- data/docs/Fox/FXOption.html +491 -0
- data/docs/Fox/FXOptionMenu.html +885 -0
- data/docs/Fox/FXPCXIcon.html +450 -0
- data/docs/Fox/FXPCXImage.html +434 -0
- data/docs/Fox/FXPNGIcon.html +524 -0
- data/docs/Fox/FXPNGImage.html +508 -0
- data/docs/Fox/FXPPMIcon.html +450 -0
- data/docs/Fox/FXPPMImage.html +373 -0
- data/docs/Fox/FXPSBounds.html +500 -0
- data/docs/Fox/FXPacker.html +1229 -0
- data/docs/Fox/FXPicker.html +345 -0
- data/docs/Fox/FXPopup.html +1099 -0
- data/docs/Fox/FXPrintDialog.html +485 -0
- data/docs/Fox/FXPrinter.html +1330 -0
- data/docs/Fox/FXProgressBar.html +1150 -0
- data/docs/Fox/FXProgressDialog.html +715 -0
- data/docs/Fox/FXPseudoKeyboard.html +428 -0
- data/docs/Fox/FXPseudoMouse.html +800 -0
- data/docs/Fox/FXPseudoTarget.html +472 -0
- data/docs/Fox/FXQuatd.html +1377 -0
- data/docs/Fox/FXQuatf.html +1392 -0
- data/docs/Fox/FXRGBIcon.html +450 -0
- data/docs/Fox/FXRGBImage.html +434 -0
- data/docs/Fox/FXRadioButton.html +885 -0
- data/docs/Fox/FXRanged.html +1522 -0
- data/docs/Fox/FXRangef.html +1522 -0
- data/docs/Fox/FXRealSlider.html +1187 -0
- data/docs/Fox/FXRealSpinner.html +2175 -0
- data/docs/Fox/FXRecentFiles.html +841 -0
- data/docs/Fox/FXRectangle.html +802 -0
- data/docs/Fox/FXRegion.html +841 -0
- data/docs/Fox/FXRegistry.html +682 -0
- data/docs/Fox/FXReplaceDialog.html +648 -0
- data/docs/Fox/FXRootWindow.html +312 -0
- data/docs/Fox/FXRuler.html +2000 -0
- data/docs/Fox/FXRulerView.html +3997 -0
- data/docs/Fox/FXScintilla.html +49117 -0
- data/docs/Fox/FXScrollArea.html +1363 -0
- data/docs/Fox/FXScrollBar.html +1019 -0
- data/docs/Fox/FXScrollCorner.html +290 -0
- data/docs/Fox/FXScrollPane.html +499 -0
- data/docs/Fox/FXScrollWindow.html +409 -0
- data/docs/Fox/FXSearchDialog.html +382 -0
- data/docs/Fox/FXSegment.html +422 -0
- data/docs/Fox/FXSeparator.html +402 -0
- data/docs/Fox/FXSettings.html +1861 -0
- data/docs/Fox/FXShell.html +233 -0
- data/docs/Fox/FXShutter.html +472 -0
- data/docs/Fox/FXShutterItem.html +669 -0
- data/docs/Fox/FXSize.html +592 -0
- data/docs/Fox/FXSlider.html +1129 -0
- data/docs/Fox/FXSphered.html +906 -0
- data/docs/Fox/FXSpheref.html +906 -0
- data/docs/Fox/FXSpinner.html +2102 -0
- data/docs/Fox/FXSplashScreen.html +497 -0
- data/docs/Fox/FXSplashWindow.html +494 -0
- data/docs/Fox/FXSplitter.html +643 -0
- data/docs/Fox/FXSpring.html +517 -0
- data/docs/Fox/FXStatusBar.html +593 -0
- data/docs/Fox/FXStatusLine.html +754 -0
- data/docs/Fox/FXStream.html +1372 -0
- data/docs/Fox/FXStreamAllocError.html +148 -0
- data/docs/Fox/FXStreamEndError.html +148 -0
- data/docs/Fox/FXStreamError.html +259 -0
- data/docs/Fox/FXStreamFailureError.html +148 -0
- data/docs/Fox/FXStreamFormatError.html +148 -0
- data/docs/Fox/FXStreamFullError.html +148 -0
- data/docs/Fox/FXStreamNoReadError.html +148 -0
- data/docs/Fox/FXStreamNoWriteError.html +148 -0
- data/docs/Fox/FXStreamUnknownError.html +148 -0
- data/docs/Fox/FXStringDict.html +552 -0
- data/docs/Fox/FXSwitcher.html +619 -0
- data/docs/Fox/FXTGAIcon.html +450 -0
- data/docs/Fox/FXTGAImage.html +434 -0
- data/docs/Fox/FXTIFIcon.html +604 -0
- data/docs/Fox/FXTIFImage.html +588 -0
- data/docs/Fox/FXTabBar.html +644 -0
- data/docs/Fox/FXTabBook.html +373 -0
- data/docs/Fox/FXTabItem.html +478 -0
- data/docs/Fox/FXTable.html +10107 -0
- data/docs/Fox/FXTableItem.html +2195 -0
- data/docs/Fox/FXTablePos.html +360 -0
- data/docs/Fox/FXTableRange.html +360 -0
- data/docs/Fox/FXText.html +6870 -0
- data/docs/Fox/FXTextChange.html +492 -0
- data/docs/Fox/FXTextField.html +2016 -0
- data/docs/Fox/FXToggleButton.html +844 -0
- data/docs/Fox/FXToolBar.html +452 -0
- data/docs/Fox/FXToolBarGrip.html +584 -0
- data/docs/Fox/FXToolBarShell.html +788 -0
- data/docs/Fox/FXToolBarTab.html +729 -0
- data/docs/Fox/FXToolTip.html +761 -0
- data/docs/Fox/FXTopWindow.html +1716 -0
- data/docs/Fox/FXTranslator.html +481 -0
- data/docs/Fox/FXTreeItem.html +2813 -0
- data/docs/Fox/FXTreeList.html +5095 -0
- data/docs/Fox/FXTreeListBox.html +3080 -0
- data/docs/Fox/FXTriStateButton.html +681 -0
- data/docs/Fox/FXUndoList.html +2560 -0
- data/docs/Fox/FXVec2d.html +1450 -0
- data/docs/Fox/FXVec2f.html +1442 -0
- data/docs/Fox/FXVec3d.html +1649 -0
- data/docs/Fox/FXVec3f.html +1649 -0
- data/docs/Fox/FXVec4d.html +1858 -0
- data/docs/Fox/FXVec4f.html +1858 -0
- data/docs/Fox/FXVerticalFrame.html +359 -0
- data/docs/Fox/FXVerticalSeparator.html +349 -0
- data/docs/Fox/FXViewport.html +780 -0
- data/docs/Fox/FXVisual.html +1023 -0
- data/docs/Fox/FXWindow.html +9948 -0
- data/docs/Fox/FXWizard.html +1052 -0
- data/docs/Fox/FXXBMIcon.html +453 -0
- data/docs/Fox/FXXBMImage.html +437 -0
- data/docs/Fox/FXXPMIcon.html +450 -0
- data/docs/Fox/FXXPMImage.html +434 -0
- data/docs/Fox/NotifyHeader.html +286 -0
- data/docs/Fox/SCNotification.html +1438 -0
- data/docs/Fox/TextRange.html +281 -0
- data/docs/IRB.html +204 -0
- data/docs/Responder.html +693 -0
- data/docs/Responder2.html +225 -0
- data/docs/_index.html +2101 -0
- data/docs/class_list.html +51 -0
- data/docs/css/common.css +1 -0
- data/docs/css/full_list.css +58 -0
- data/docs/css/style.css +496 -0
- data/docs/file.History.html +869 -0
- data/docs/file.README.html +104 -0
- data/docs/file_list.html +66 -0
- data/docs/frames.html +17 -0
- data/docs/index.html +614 -0
- data/docs/js/app.js +314 -0
- data/docs/js/full_list.js +216 -0
- data/docs/js/jquery.js +4 -0
- data/docs/method_list.html +31043 -0
- data/docs/top-level-namespace.html +214 -0
- data/examples/canvasdemo.rb +5 -1
- data/examples/gltest.rb +162 -106
- data/examples/glviewer.rb +12 -8
- data/examples/inputs.rb +9 -4
- data/examples/pig.rb +2 -2
- data/examples/unicode.rb +6 -27
- data/ext/fox16_c/FXRbApp.cpp +3 -17
- data/ext/fox16_c/FXRuby.cpp +36 -46
- data/ext/fox16_c/extconf.rb +50 -34
- data/ext/fox16_c/impl.cpp +1 -1
- data/ext/fox16_c/include/FXRbApp.h +2 -2
- data/ext/fox16_c/include/FXRbCommon.h +0 -2
- data/ext/fox16_c/include/FXRbText.h +82 -2
- data/ext/fox16_c/include/FXRbTextVirtuals.h +22 -0
- data/ext/fox16_c/include/FXRuby.h +21 -3
- data/ext/fox16_c/include/gvl_wrappers.h +29 -11
- data/ext/fox16_c/make_impl.rb +1 -1
- data/fxruby.gemspec +2 -1
- data/lib/fox16/aliases.rb +4 -1
- data/lib/fox16/bitmapview.rb +0 -0
- data/lib/fox16/calendar.rb +6 -8
- data/lib/fox16/canvas.rb +93 -62
- data/lib/fox16/chore.rb +0 -0
- data/lib/fox16/colors.rb +0 -0
- data/lib/fox16/core.rb +18 -18
- data/lib/fox16/dict.rb +0 -0
- data/lib/fox16/glgroup.rb +5 -5
- data/lib/fox16/glshapes.rb +111 -99
- data/lib/fox16/input.rb +9 -7
- data/lib/fox16/irb.rb +0 -0
- data/lib/fox16/iterators.rb +0 -0
- data/lib/fox16/keys.rb +0 -0
- data/lib/fox16/missingdep.rb +0 -0
- data/lib/fox16/pseudokeyboard.rb +0 -0
- data/lib/fox16/pseudomouse.rb +0 -0
- data/lib/fox16/responder.rb +0 -0
- data/lib/fox16/responder2.rb +0 -0
- data/lib/fox16/scintilla.rb +0 -0
- data/lib/fox16/settings.rb +0 -0
- data/lib/fox16/signal.rb +0 -0
- data/lib/fox16/timeout.rb +0 -0
- data/lib/fox16/tkcompat.rb +0 -0
- data/lib/fox16/undolist.rb +8 -8
- data/lib/fox16/version.rb +1 -1
- data/rdoc-sources/FXGLVisual.rb +8 -0
- data/rdoc-sources/FXIconList.rb +2 -0
- data/rdoc-sources/FXImage.rb +5 -0
- data/rdoc-sources/FXList.rb +2 -0
- data/rdoc-sources/FXListBox.rb +1 -1
- data/rdoc-sources/FXText.rb +4 -2
- data/swig-interfaces/FXGLVisual.i +1 -1
- data/swig-interfaces/FXImage.i +9 -4
- data/swig-interfaces/FXMemoryBuffer.i +3 -3
- data/swig-interfaces/FXText.i +10 -8
- data/swig-interfaces/macros.i +9 -0
- data/test/TC_FXGLViewer.rb +8 -1
- data/test/TC_FXImage.rb +8 -0
- data/test/TC_FXList.rb +8 -8
- data/test/TC_FXText.rb +19 -0
- data/test/TC_FXVec4f.rb +26 -12
- metadata +300 -9
@@ -0,0 +1,1451 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<title>
|
7
|
+
Class: Fox::FXBitmapView
|
8
|
+
|
9
|
+
— FXRuby API Documentation
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" />
|
16
|
+
|
17
|
+
<script type="text/javascript">
|
18
|
+
pathId = "Fox::FXBitmapView";
|
19
|
+
relpath = '../';
|
20
|
+
</script>
|
21
|
+
|
22
|
+
|
23
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
24
|
+
|
25
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
26
|
+
|
27
|
+
|
28
|
+
</head>
|
29
|
+
<body>
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
38
|
+
|
39
|
+
<a href="../_index.html">Index (F)</a> »
|
40
|
+
<span class='title'><span class='object_link'><a href="../Fox.html" title="Fox (module)">Fox</a></span></span>
|
41
|
+
»
|
42
|
+
<span class="title">FXBitmapView</span>
|
43
|
+
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<div id="search">
|
47
|
+
|
48
|
+
<a class="full_list_link" id="class_list_link"
|
49
|
+
href="../class_list.html">
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
56
|
+
</a>
|
57
|
+
|
58
|
+
</div>
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<div id="content"><h1>Class: Fox::FXBitmapView
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
</h1>
|
67
|
+
<div class="box_info">
|
68
|
+
|
69
|
+
<dl>
|
70
|
+
<dt>Inherits:</dt>
|
71
|
+
<dd>
|
72
|
+
<span class="inheritName"><span class='object_link'><a href="FXScrollArea.html" title="Fox::FXScrollArea (class)">FXScrollArea</a></span></span>
|
73
|
+
|
74
|
+
<ul class="fullTree">
|
75
|
+
<li>Object</li>
|
76
|
+
|
77
|
+
<li class="next"><span class='object_link'><a href="FXObject.html" title="Fox::FXObject (class)">FXObject</a></span></li>
|
78
|
+
|
79
|
+
<li class="next"><span class='object_link'><a href="FXId.html" title="Fox::FXId (class)">FXId</a></span></li>
|
80
|
+
|
81
|
+
<li class="next"><span class='object_link'><a href="FXDrawable.html" title="Fox::FXDrawable (class)">FXDrawable</a></span></li>
|
82
|
+
|
83
|
+
<li class="next"><span class='object_link'><a href="FXWindow.html" title="Fox::FXWindow (class)">FXWindow</a></span></li>
|
84
|
+
|
85
|
+
<li class="next"><span class='object_link'><a href="FXComposite.html" title="Fox::FXComposite (class)">FXComposite</a></span></li>
|
86
|
+
|
87
|
+
<li class="next"><span class='object_link'><a href="FXScrollArea.html" title="Fox::FXScrollArea (class)">FXScrollArea</a></span></li>
|
88
|
+
|
89
|
+
<li class="next">Fox::FXBitmapView</li>
|
90
|
+
|
91
|
+
</ul>
|
92
|
+
<a href="#" class="inheritanceTree">show all</a>
|
93
|
+
|
94
|
+
</dd>
|
95
|
+
</dl>
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
<dl>
|
108
|
+
<dt>Defined in:</dt>
|
109
|
+
<dd>rdoc-sources/FXBitmapView.rb<span class="defines">,<br />
|
110
|
+
lib/fox16/bitmapview.rb</span>
|
111
|
+
</dd>
|
112
|
+
</dl>
|
113
|
+
|
114
|
+
</div>
|
115
|
+
|
116
|
+
<h2>Overview</h2><div class="docstring">
|
117
|
+
<div class="discussion">
|
118
|
+
|
119
|
+
<p>The FXBitmapView widget displays a scrollable view of a bitmap.</p>
|
120
|
+
|
121
|
+
<h3 id="label-Bitmap+alignment+styles">Bitmap alignment styles</h3>
|
122
|
+
|
123
|
+
<p><code>BITMAPVIEW_NORMAL</code>:: Normal mode is centered <code>BITMAPVIEW_CENTER_X</code>:: Centered horizontally <code>BITMAPVIEW_LEFT</code>:: Left-aligned <code>BITMAPVIEW_RIGHT</code>:: Right-aligned <code>BITMAPVIEW_CENTER_Y</code>:: Centered vertically <code>BITMAPVIEW_TOP</code>:: Top-aligned <code>BITMAPVIEW_BOTTOM</code>:: Bottom-aligned</p>
|
124
|
+
|
125
|
+
<h3 id="label-Events">Events</h3>
|
126
|
+
|
127
|
+
<p><code>SEL_RIGHTBUTTONPRESS</code>:: sent when the right mouse button goes down; the message data is an FXEvent instance. <code>SEL_RIGHTBUTTONRELEASE</code>:: sent when the right mouse button goes up; the message data is an FXEvent instance.</p>
|
128
|
+
|
129
|
+
|
130
|
+
</div>
|
131
|
+
</div>
|
132
|
+
<div class="tags">
|
133
|
+
|
134
|
+
|
135
|
+
</div>
|
136
|
+
|
137
|
+
<h2>
|
138
|
+
Constant Summary
|
139
|
+
<small><a href="#" class="constants_summary_toggle">collapse</a></small>
|
140
|
+
</h2>
|
141
|
+
|
142
|
+
<dl class="constants">
|
143
|
+
|
144
|
+
<dt id="BITMAPVIEW_NORMAL-constant" class="">BITMAPVIEW_NORMAL =
|
145
|
+
<div class="docstring">
|
146
|
+
<div class="discussion">
|
147
|
+
|
148
|
+
<p>Bitmap alignment styles</p>
|
149
|
+
|
150
|
+
|
151
|
+
</div>
|
152
|
+
</div>
|
153
|
+
<div class="tags">
|
154
|
+
|
155
|
+
|
156
|
+
</div>
|
157
|
+
</dt>
|
158
|
+
<dd><pre class="code"><span class='int'>0</span></pre></dd>
|
159
|
+
|
160
|
+
<dt id="BITMAPVIEW_CENTER_X-constant" class="">BITMAPVIEW_CENTER_X =
|
161
|
+
<div class="docstring">
|
162
|
+
<div class="discussion">
|
163
|
+
|
164
|
+
<p>Normal mode is centered</p>
|
165
|
+
|
166
|
+
|
167
|
+
</div>
|
168
|
+
</div>
|
169
|
+
<div class="tags">
|
170
|
+
|
171
|
+
|
172
|
+
</div>
|
173
|
+
</dt>
|
174
|
+
<dd><pre class="code"><span class='int'>0</span></pre></dd>
|
175
|
+
|
176
|
+
<dt id="BITMAPVIEW_LEFT-constant" class="">BITMAPVIEW_LEFT =
|
177
|
+
<div class="docstring">
|
178
|
+
<div class="discussion">
|
179
|
+
|
180
|
+
<p>Centered horizontally</p>
|
181
|
+
|
182
|
+
|
183
|
+
</div>
|
184
|
+
</div>
|
185
|
+
<div class="tags">
|
186
|
+
|
187
|
+
|
188
|
+
</div>
|
189
|
+
</dt>
|
190
|
+
<dd><pre class="code"><span class='int'>0x00100000</span></pre></dd>
|
191
|
+
|
192
|
+
<dt id="BITMAPVIEW_RIGHT-constant" class="">BITMAPVIEW_RIGHT =
|
193
|
+
<div class="docstring">
|
194
|
+
<div class="discussion">
|
195
|
+
|
196
|
+
<p>Left-aligned</p>
|
197
|
+
|
198
|
+
|
199
|
+
</div>
|
200
|
+
</div>
|
201
|
+
<div class="tags">
|
202
|
+
|
203
|
+
|
204
|
+
</div>
|
205
|
+
</dt>
|
206
|
+
<dd><pre class="code"><span class='int'>0x00200000</span></pre></dd>
|
207
|
+
|
208
|
+
<dt id="BITMAPVIEW_CENTER_Y-constant" class="">BITMAPVIEW_CENTER_Y =
|
209
|
+
<div class="docstring">
|
210
|
+
<div class="discussion">
|
211
|
+
|
212
|
+
<p>Right-aligned</p>
|
213
|
+
|
214
|
+
|
215
|
+
</div>
|
216
|
+
</div>
|
217
|
+
<div class="tags">
|
218
|
+
|
219
|
+
|
220
|
+
</div>
|
221
|
+
</dt>
|
222
|
+
<dd><pre class="code">0, # Centered vertically
|
223
|
+
BITMAPVIEW_TOP = 0x00400000</pre></dd>
|
224
|
+
|
225
|
+
<dt id="BITMAPVIEW_BOTTOM-constant" class="">BITMAPVIEW_BOTTOM =
|
226
|
+
<div class="docstring">
|
227
|
+
<div class="discussion">
|
228
|
+
|
229
|
+
<p>Top-aligned</p>
|
230
|
+
|
231
|
+
|
232
|
+
</div>
|
233
|
+
</div>
|
234
|
+
<div class="tags">
|
235
|
+
|
236
|
+
|
237
|
+
</div>
|
238
|
+
</dt>
|
239
|
+
<dd><pre class="code"><span class='int'>0x00800000</span></pre></dd>
|
240
|
+
|
241
|
+
</dl>
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
248
|
+
<ul class="summary">
|
249
|
+
|
250
|
+
<li class="public ">
|
251
|
+
<span class="summary_signature">
|
252
|
+
|
253
|
+
<a href="#alignment-instance_method" title="#alignment (instance method)">#<strong>alignment</strong> ⇒ Object </a>
|
254
|
+
|
255
|
+
|
256
|
+
|
257
|
+
</span>
|
258
|
+
|
259
|
+
|
260
|
+
|
261
|
+
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
|
268
|
+
|
269
|
+
|
270
|
+
<span class="summary_desc"><div class='inline'>
|
271
|
+
<p>Return the current alignment for the bitmap inside the FXBitmapView.</p>
|
272
|
+
</div></span>
|
273
|
+
|
274
|
+
</li>
|
275
|
+
|
276
|
+
|
277
|
+
<li class="public ">
|
278
|
+
<span class="summary_signature">
|
279
|
+
|
280
|
+
<a href="#bitmap-instance_method" title="#bitmap (instance method)">#<strong>bitmap</strong> ⇒ Object </a>
|
281
|
+
|
282
|
+
|
283
|
+
|
284
|
+
</span>
|
285
|
+
|
286
|
+
|
287
|
+
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
+
|
296
|
+
|
297
|
+
<span class="summary_desc"><div class='inline'>
|
298
|
+
<p>Return a reference to the bitmap (an FXBitmap instance) for this FXBitmapView, or <code>nil</code> if no bitmap has been set.</p>
|
299
|
+
</div></span>
|
300
|
+
|
301
|
+
</li>
|
302
|
+
|
303
|
+
|
304
|
+
<li class="public ">
|
305
|
+
<span class="summary_signature">
|
306
|
+
|
307
|
+
<a href="#offColor-instance_method" title="#offColor (instance method)">#<strong>offColor</strong> ⇒ Object </a>
|
308
|
+
|
309
|
+
|
310
|
+
|
311
|
+
</span>
|
312
|
+
|
313
|
+
|
314
|
+
|
315
|
+
|
316
|
+
|
317
|
+
|
318
|
+
|
319
|
+
|
320
|
+
|
321
|
+
|
322
|
+
|
323
|
+
|
324
|
+
<span class="summary_desc"><div class='inline'>
|
325
|
+
<p>Return the color used for the “off” bits in the bitmap.</p>
|
326
|
+
</div></span>
|
327
|
+
|
328
|
+
</li>
|
329
|
+
|
330
|
+
|
331
|
+
<li class="public ">
|
332
|
+
<span class="summary_signature">
|
333
|
+
|
334
|
+
<a href="#onColor-instance_method" title="#onColor (instance method)">#<strong>onColor</strong> ⇒ Object </a>
|
335
|
+
|
336
|
+
|
337
|
+
|
338
|
+
</span>
|
339
|
+
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
|
344
|
+
|
345
|
+
|
346
|
+
|
347
|
+
|
348
|
+
|
349
|
+
|
350
|
+
|
351
|
+
<span class="summary_desc"><div class='inline'>
|
352
|
+
<p>Return the color used for the “on” bits in the bitmap.</p>
|
353
|
+
</div></span>
|
354
|
+
|
355
|
+
</li>
|
356
|
+
|
357
|
+
|
358
|
+
</ul>
|
359
|
+
|
360
|
+
|
361
|
+
|
362
|
+
|
363
|
+
|
364
|
+
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="FXScrollArea.html" title="Fox::FXScrollArea (class)">FXScrollArea</a></span></h3>
|
365
|
+
<p class="inherited"><span class='object_link'><a href="FXScrollArea.html#contentHeight-instance_method" title="Fox::FXScrollArea#contentHeight (method)">#contentHeight</a></span>, <span class='object_link'><a href="FXScrollArea.html#contentWidth-instance_method" title="Fox::FXScrollArea#contentWidth (method)">#contentWidth</a></span>, <span class='object_link'><a href="FXScrollArea.html#horizontalScrollBar-instance_method" title="Fox::FXScrollArea#horizontalScrollBar (method)">#horizontalScrollBar</a></span>, <span class='object_link'><a href="FXScrollArea.html#scrollStyle-instance_method" title="Fox::FXScrollArea#scrollStyle (method)">#scrollStyle</a></span>, <span class='object_link'><a href="FXScrollArea.html#verticalScrollBar-instance_method" title="Fox::FXScrollArea#verticalScrollBar (method)">#verticalScrollBar</a></span>, <span class='object_link'><a href="FXScrollArea.html#viewportHeight-instance_method" title="Fox::FXScrollArea#viewportHeight (method)">#viewportHeight</a></span>, <span class='object_link'><a href="FXScrollArea.html#viewportWidth-instance_method" title="Fox::FXScrollArea#viewportWidth (method)">#viewportWidth</a></span>, <span class='object_link'><a href="FXScrollArea.html#xPosition-instance_method" title="Fox::FXScrollArea#xPosition (method)">#xPosition</a></span>, <span class='object_link'><a href="FXScrollArea.html#yPosition-instance_method" title="Fox::FXScrollArea#yPosition (method)">#yPosition</a></span></p>
|
366
|
+
|
367
|
+
|
368
|
+
|
369
|
+
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="FXWindow.html" title="Fox::FXWindow (class)">FXWindow</a></span></h3>
|
370
|
+
<p class="inherited"><span class='object_link'><a href="FXWindow.html#accelTable-instance_method" title="Fox::FXWindow#accelTable (method)">#accelTable</a></span>, <span class='object_link'><a href="FXWindow.html#backColor-instance_method" title="Fox::FXWindow#backColor (method)">#backColor</a></span>, <span class='object_link'><a href="FXWindow.html#defaultCursor-instance_method" title="Fox::FXWindow#defaultCursor (method)">#defaultCursor</a></span>, <span class='object_link'><a href="FXWindow.html#dragCursor-instance_method" title="Fox::FXWindow#dragCursor (method)">#dragCursor</a></span>, <span class='object_link'><a href="FXWindow.html#first-instance_method" title="Fox::FXWindow#first (method)">#first</a></span>, <span class='object_link'><a href="FXWindow.html#focus-instance_method" title="Fox::FXWindow#focus (method)">#focus</a></span>, <span class='object_link'><a href="FXWindow.html#key-instance_method" title="Fox::FXWindow#key (method)">#key</a></span>, <span class='object_link'><a href="FXWindow.html#last-instance_method" title="Fox::FXWindow#last (method)">#last</a></span>, <span class='object_link'><a href="FXWindow.html#layoutHints-instance_method" title="Fox::FXWindow#layoutHints (method)">#layoutHints</a></span>, <span class='object_link'><a href="FXWindow.html#next-instance_method" title="Fox::FXWindow#next (method)">#next</a></span>, <span class='object_link'><a href="FXWindow.html#numChildren-instance_method" title="Fox::FXWindow#numChildren (method)">#numChildren</a></span>, <span class='object_link'><a href="FXWindow.html#owner-instance_method" title="Fox::FXWindow#owner (method)">#owner</a></span>, <span class='object_link'><a href="FXWindow.html#parent-instance_method" title="Fox::FXWindow#parent (method)">#parent</a></span>, <span class='object_link'><a href="FXWindow.html#prev-instance_method" title="Fox::FXWindow#prev (method)">#prev</a></span>, <span class='object_link'><a href="FXWindow.html#root-instance_method" title="Fox::FXWindow#root (method)">#root</a></span>, <span class='object_link'><a href="FXWindow.html#selector-instance_method" title="Fox::FXWindow#selector (method)">#selector</a></span>, <span class='object_link'><a href="FXWindow.html#shell-instance_method" title="Fox::FXWindow#shell (method)">#shell</a></span>, <span class='object_link'><a href="FXWindow.html#target-instance_method" title="Fox::FXWindow#target (method)">#target</a></span>, <span class='object_link'><a href="FXWindow.html#x-instance_method" title="Fox::FXWindow#x (method)">#x</a></span>, <span class='object_link'><a href="FXWindow.html#y-instance_method" title="Fox::FXWindow#y (method)">#y</a></span></p>
|
371
|
+
|
372
|
+
|
373
|
+
|
374
|
+
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="FXDrawable.html" title="Fox::FXDrawable (class)">FXDrawable</a></span></h3>
|
375
|
+
<p class="inherited"><span class='object_link'><a href="FXDrawable.html#height-instance_method" title="Fox::FXDrawable#height (method)">#height</a></span>, <span class='object_link'><a href="FXDrawable.html#visual-instance_method" title="Fox::FXDrawable#visual (method)">#visual</a></span>, <span class='object_link'><a href="FXDrawable.html#width-instance_method" title="Fox::FXDrawable#width (method)">#width</a></span></p>
|
376
|
+
|
377
|
+
|
378
|
+
|
379
|
+
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="FXId.html" title="Fox::FXId (class)">FXId</a></span></h3>
|
380
|
+
<p class="inherited"><span class='object_link'><a href="FXId.html#app-instance_method" title="Fox::FXId#app (method)">#app</a></span>, <span class='object_link'><a href="FXId.html#userData-instance_method" title="Fox::FXId#userData (method)">#userData</a></span>, <span class='object_link'><a href="FXId.html#xid-instance_method" title="Fox::FXId#xid (method)">#xid</a></span></p>
|
381
|
+
|
382
|
+
|
383
|
+
|
384
|
+
<h2>
|
385
|
+
Instance Method Summary
|
386
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
387
|
+
</h2>
|
388
|
+
|
389
|
+
<ul class="summary">
|
390
|
+
|
391
|
+
<li class="public ">
|
392
|
+
<span class="summary_signature">
|
393
|
+
|
394
|
+
<a href="#canFocus-instance_method" title="#canFocus (instance method)">#<strong>canFocus</strong> ⇒ Object </a>
|
395
|
+
|
396
|
+
|
397
|
+
|
398
|
+
</span>
|
399
|
+
|
400
|
+
|
401
|
+
|
402
|
+
|
403
|
+
|
404
|
+
|
405
|
+
|
406
|
+
|
407
|
+
|
408
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
409
|
+
|
410
|
+
</li>
|
411
|
+
|
412
|
+
|
413
|
+
<li class="public ">
|
414
|
+
<span class="summary_signature">
|
415
|
+
|
416
|
+
<a href="#create-instance_method" title="#create (instance method)">#<strong>create</strong> ⇒ Object </a>
|
417
|
+
|
418
|
+
|
419
|
+
|
420
|
+
</span>
|
421
|
+
|
422
|
+
|
423
|
+
|
424
|
+
|
425
|
+
|
426
|
+
|
427
|
+
|
428
|
+
|
429
|
+
|
430
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
431
|
+
|
432
|
+
</li>
|
433
|
+
|
434
|
+
|
435
|
+
<li class="public ">
|
436
|
+
<span class="summary_signature">
|
437
|
+
|
438
|
+
<a href="#detach-instance_method" title="#detach (instance method)">#<strong>detach</strong> ⇒ Object </a>
|
439
|
+
|
440
|
+
|
441
|
+
|
442
|
+
</span>
|
443
|
+
|
444
|
+
|
445
|
+
|
446
|
+
|
447
|
+
|
448
|
+
|
449
|
+
|
450
|
+
|
451
|
+
|
452
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
453
|
+
|
454
|
+
</li>
|
455
|
+
|
456
|
+
|
457
|
+
<li class="public ">
|
458
|
+
<span class="summary_signature">
|
459
|
+
|
460
|
+
<a href="#getContentHeight-instance_method" title="#getContentHeight (instance method)">#<strong>getContentHeight</strong> ⇒ Object </a>
|
461
|
+
|
462
|
+
|
463
|
+
|
464
|
+
</span>
|
465
|
+
|
466
|
+
|
467
|
+
|
468
|
+
|
469
|
+
|
470
|
+
|
471
|
+
|
472
|
+
|
473
|
+
|
474
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
475
|
+
|
476
|
+
</li>
|
477
|
+
|
478
|
+
|
479
|
+
<li class="public ">
|
480
|
+
<span class="summary_signature">
|
481
|
+
|
482
|
+
<a href="#getContentWidth-instance_method" title="#getContentWidth (instance method)">#<strong>getContentWidth</strong> ⇒ Object </a>
|
483
|
+
|
484
|
+
|
485
|
+
|
486
|
+
</span>
|
487
|
+
|
488
|
+
|
489
|
+
|
490
|
+
|
491
|
+
|
492
|
+
|
493
|
+
|
494
|
+
|
495
|
+
|
496
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
497
|
+
|
498
|
+
</li>
|
499
|
+
|
500
|
+
|
501
|
+
<li class="public ">
|
502
|
+
<span class="summary_signature">
|
503
|
+
|
504
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(p, bmp = nil, tgt = nil, sel = 0, opts = 0, x = 0, y = 0, w = 0, h = 0) ⇒ FXBitmapView </a>
|
505
|
+
|
506
|
+
|
507
|
+
|
508
|
+
</span>
|
509
|
+
|
510
|
+
|
511
|
+
<span class="note title constructor">constructor</span>
|
512
|
+
|
513
|
+
|
514
|
+
|
515
|
+
|
516
|
+
|
517
|
+
|
518
|
+
|
519
|
+
|
520
|
+
<span class="summary_desc"><div class='inline'>
|
521
|
+
<p>Return an initialized FXBitmapView instance.</p>
|
522
|
+
</div></span>
|
523
|
+
|
524
|
+
</li>
|
525
|
+
|
526
|
+
|
527
|
+
<li class="public ">
|
528
|
+
<span class="summary_signature">
|
529
|
+
|
530
|
+
<a href="#layout-instance_method" title="#layout (instance method)">#<strong>layout</strong> ⇒ Object </a>
|
531
|
+
|
532
|
+
|
533
|
+
|
534
|
+
</span>
|
535
|
+
|
536
|
+
|
537
|
+
|
538
|
+
|
539
|
+
|
540
|
+
|
541
|
+
|
542
|
+
|
543
|
+
|
544
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
545
|
+
|
546
|
+
</li>
|
547
|
+
|
548
|
+
|
549
|
+
<li class="public ">
|
550
|
+
<span class="summary_signature">
|
551
|
+
|
552
|
+
<a href="#onMotion-instance_method" title="#onMotion (instance method)">#<strong>onMotion</strong>(sender, sel, ev) ⇒ Object </a>
|
553
|
+
|
554
|
+
|
555
|
+
|
556
|
+
</span>
|
557
|
+
|
558
|
+
|
559
|
+
|
560
|
+
|
561
|
+
|
562
|
+
|
563
|
+
|
564
|
+
|
565
|
+
|
566
|
+
<span class="summary_desc"><div class='inline'>
|
567
|
+
<p>Handle real or simulated mouse motion.</p>
|
568
|
+
</div></span>
|
569
|
+
|
570
|
+
</li>
|
571
|
+
|
572
|
+
|
573
|
+
<li class="public ">
|
574
|
+
<span class="summary_signature">
|
575
|
+
|
576
|
+
<a href="#onPaint-instance_method" title="#onPaint (instance method)">#<strong>onPaint</strong>(sender, sel, event) ⇒ Object </a>
|
577
|
+
|
578
|
+
|
579
|
+
|
580
|
+
</span>
|
581
|
+
|
582
|
+
|
583
|
+
|
584
|
+
|
585
|
+
|
586
|
+
|
587
|
+
|
588
|
+
|
589
|
+
|
590
|
+
<span class="summary_desc"><div class='inline'>
|
591
|
+
<p>Handle expose (paint) event.</p>
|
592
|
+
</div></span>
|
593
|
+
|
594
|
+
</li>
|
595
|
+
|
596
|
+
|
597
|
+
<li class="public ">
|
598
|
+
<span class="summary_signature">
|
599
|
+
|
600
|
+
<a href="#onRightBtnPress-instance_method" title="#onRightBtnPress (instance method)">#<strong>onRightBtnPress</strong>(sender, sel, ev) ⇒ Object </a>
|
601
|
+
|
602
|
+
|
603
|
+
|
604
|
+
</span>
|
605
|
+
|
606
|
+
|
607
|
+
|
608
|
+
|
609
|
+
|
610
|
+
|
611
|
+
|
612
|
+
|
613
|
+
|
614
|
+
<span class="summary_desc"><div class='inline'>
|
615
|
+
<p>Handle right mouse button press.</p>
|
616
|
+
</div></span>
|
617
|
+
|
618
|
+
</li>
|
619
|
+
|
620
|
+
|
621
|
+
<li class="public ">
|
622
|
+
<span class="summary_signature">
|
623
|
+
|
624
|
+
<a href="#onRightBtnRelease-instance_method" title="#onRightBtnRelease (instance method)">#<strong>onRightBtnRelease</strong>(sender, sel, ev) ⇒ Object </a>
|
625
|
+
|
626
|
+
|
627
|
+
|
628
|
+
</span>
|
629
|
+
|
630
|
+
|
631
|
+
|
632
|
+
|
633
|
+
|
634
|
+
|
635
|
+
|
636
|
+
|
637
|
+
|
638
|
+
<span class="summary_desc"><div class='inline'>
|
639
|
+
<p>Handle right mouse button release.</p>
|
640
|
+
</div></span>
|
641
|
+
|
642
|
+
</li>
|
643
|
+
|
644
|
+
|
645
|
+
</ul>
|
646
|
+
|
647
|
+
|
648
|
+
|
649
|
+
|
650
|
+
|
651
|
+
|
652
|
+
|
653
|
+
|
654
|
+
|
655
|
+
|
656
|
+
|
657
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXScrollArea.html" title="Fox::FXScrollArea (class)">FXScrollArea</a></span></h3>
|
658
|
+
<p class="inherited"><span class='object_link'><a href="FXScrollArea.html#horizontalScrollable%3F-instance_method" title="Fox::FXScrollArea#horizontalScrollable? (method)">#horizontalScrollable?</a></span>, <span class='object_link'><a href="FXScrollArea.html#position-instance_method" title="Fox::FXScrollArea#position (method)">#position</a></span>, <span class='object_link'><a href="FXScrollArea.html#scrollCorner-instance_method" title="Fox::FXScrollArea#scrollCorner (method)">#scrollCorner</a></span>, <span class='object_link'><a href="FXScrollArea.html#setPosition-instance_method" title="Fox::FXScrollArea#setPosition (method)">#setPosition</a></span>, <span class='object_link'><a href="FXScrollArea.html#verticalScrollable%3F-instance_method" title="Fox::FXScrollArea#verticalScrollable? (method)">#verticalScrollable?</a></span></p>
|
659
|
+
|
660
|
+
|
661
|
+
|
662
|
+
|
663
|
+
|
664
|
+
|
665
|
+
|
666
|
+
|
667
|
+
|
668
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXComposite.html" title="Fox::FXComposite (class)">FXComposite</a></span></h3>
|
669
|
+
<p class="inherited"><span class='object_link'><a href="FXComposite.html#maxChildHeight-instance_method" title="Fox::FXComposite#maxChildHeight (method)">#maxChildHeight</a></span>, <span class='object_link'><a href="FXComposite.html#maxChildWidth-instance_method" title="Fox::FXComposite#maxChildWidth (method)">#maxChildWidth</a></span></p>
|
670
|
+
|
671
|
+
|
672
|
+
|
673
|
+
|
674
|
+
|
675
|
+
|
676
|
+
|
677
|
+
|
678
|
+
|
679
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXWindow.html" title="Fox::FXWindow (class)">FXWindow</a></span></h3>
|
680
|
+
<p class="inherited"><span class='object_link'><a href="FXWindow.html#acceptDrop-instance_method" title="Fox::FXWindow#acceptDrop (method)">#acceptDrop</a></span>, <span class='object_link'><a href="FXWindow.html#acquireClipboard-instance_method" title="Fox::FXWindow#acquireClipboard (method)">#acquireClipboard</a></span>, <span class='object_link'><a href="FXWindow.html#acquireSelection-instance_method" title="Fox::FXWindow#acquireSelection (method)">#acquireSelection</a></span>, <span class='object_link'><a href="FXWindow.html#active%3F-instance_method" title="Fox::FXWindow#active? (method)">#active?</a></span>, <span class='object_link'><a href="FXWindow.html#addHotKey-instance_method" title="Fox::FXWindow#addHotKey (method)">#addHotKey</a></span>, <span class='object_link'><a href="FXWindow.html#after%3F-class_method" title="Fox::FXWindow.after? (method)">after?</a></span>, <span class='object_link'><a href="FXWindow.html#after%3F-instance_method" title="Fox::FXWindow#after? (method)">#after?</a></span>, <span class='object_link'><a href="FXWindow.html#before%3F-class_method" title="Fox::FXWindow.before? (method)">before?</a></span>, <span class='object_link'><a href="FXWindow.html#before%3F-instance_method" title="Fox::FXWindow#before? (method)">#before?</a></span>, <span class='object_link'><a href="FXWindow.html#beginDrag-instance_method" title="Fox::FXWindow#beginDrag (method)">#beginDrag</a></span>, <span class='object_link'><a href="FXWindow.html#canFocus%3F-instance_method" title="Fox::FXWindow#canFocus? (method)">#canFocus?</a></span>, <span class='object_link'><a href="FXWindow.html#changeFocus-instance_method" title="Fox::FXWindow#changeFocus (method)">#changeFocus</a></span>, <span class='object_link'><a href="FXWindow.html#childAtIndex-instance_method" title="Fox::FXWindow#childAtIndex (method)">#childAtIndex</a></span>, <span class='object_link'><a href="FXWindow.html#childOf%3F-instance_method" title="Fox::FXWindow#childOf? (method)">#childOf?</a></span>, <span class='object_link'><a href="FXWindow.html#children-instance_method" title="Fox::FXWindow#children (method)">#children</a></span>, <span class='object_link'><a href="FXWindow.html#clearDragRectangle-instance_method" title="Fox::FXWindow#clearDragRectangle (method)">#clearDragRectangle</a></span>, <span class='object_link'><a href="FXWindow.html#clearShape-instance_method" title="Fox::FXWindow#clearShape (method)">#clearShape</a></span>, <span class='object_link'><a href="FXWindow.html#colorType-class_method" title="Fox::FXWindow.colorType (method)">colorType</a></span>, <span class='object_link'><a href="FXWindow.html#colorTypeName-class_method" title="Fox::FXWindow.colorTypeName (method)">colorTypeName</a></span>, <span class='object_link'><a href="FXWindow.html#commonAncestor-class_method" title="Fox::FXWindow.commonAncestor (method)">commonAncestor</a></span>, <span class='object_link'><a href="FXWindow.html#composeContext-instance_method" title="Fox::FXWindow#composeContext (method)">#composeContext</a></span>, <span class='object_link'><a href="FXWindow.html#composite%3F-instance_method" title="Fox::FXWindow#composite? (method)">#composite?</a></span>, <span class='object_link'><a href="FXWindow.html#contains%3F-instance_method" title="Fox::FXWindow#contains? (method)">#contains?</a></span>, <span class='object_link'><a href="FXWindow.html#containsChild%3F-instance_method" title="Fox::FXWindow#containsChild? (method)">#containsChild?</a></span>, <span class='object_link'><a href="FXWindow.html#createComposeContext-instance_method" title="Fox::FXWindow#createComposeContext (method)">#createComposeContext</a></span>, <span class='object_link'><a href="FXWindow.html#cursorPosition-instance_method" title="Fox::FXWindow#cursorPosition (method)">#cursorPosition</a></span>, <span class='object_link'><a href="FXWindow.html#default%3F-instance_method" title="Fox::FXWindow#default? (method)">#default?</a></span>, <span class='object_link'><a href="FXWindow.html#defaultHeight-instance_method" title="Fox::FXWindow#defaultHeight (method)">#defaultHeight</a></span>, <span class='object_link'><a href="FXWindow.html#defaultWidth-instance_method" title="Fox::FXWindow#defaultWidth (method)">#defaultWidth</a></span>, <span class='object_link'><a href="FXWindow.html#deleteType-class_method" title="Fox::FXWindow.deleteType (method)">deleteType</a></span>, <span class='object_link'><a href="FXWindow.html#deleteTypeName-class_method" title="Fox::FXWindow.deleteTypeName (method)">deleteTypeName</a></span>, <span class='object_link'><a href="FXWindow.html#destroy-instance_method" title="Fox::FXWindow#destroy (method)">#destroy</a></span>, <span class='object_link'><a href="FXWindow.html#destroyComposeContext-instance_method" title="Fox::FXWindow#destroyComposeContext (method)">#destroyComposeContext</a></span>, <span class='object_link'><a href="FXWindow.html#didAccept-instance_method" title="Fox::FXWindow#didAccept (method)">#didAccept</a></span>, <span class='object_link'><a href="FXWindow.html#disable-instance_method" title="Fox::FXWindow#disable (method)">#disable</a></span>, <span class='object_link'><a href="FXWindow.html#doesSaveUnder%3F-instance_method" title="Fox::FXWindow#doesSaveUnder? (method)">#doesSaveUnder?</a></span>, <span class='object_link'><a href="FXWindow.html#dragging%3F-instance_method" title="Fox::FXWindow#dragging? (method)">#dragging?</a></span>, <span class='object_link'><a href="FXWindow.html#dropDisable-instance_method" title="Fox::FXWindow#dropDisable (method)">#dropDisable</a></span>, <span class='object_link'><a href="FXWindow.html#dropEnable-instance_method" title="Fox::FXWindow#dropEnable (method)">#dropEnable</a></span>, <span class='object_link'><a href="FXWindow.html#dropEnabled%3F-instance_method" title="Fox::FXWindow#dropEnabled? (method)">#dropEnabled?</a></span>, <span class='object_link'><a href="FXWindow.html#dropFinished-instance_method" title="Fox::FXWindow#dropFinished (method)">#dropFinished</a></span>, <span class='object_link'><a href="FXWindow.html#dropTarget%3F-instance_method" title="Fox::FXWindow#dropTarget? (method)">#dropTarget?</a></span>, <span class='object_link'><a href="FXWindow.html#each_child-instance_method" title="Fox::FXWindow#each_child (method)">#each_child</a></span>, <span class='object_link'><a href="FXWindow.html#each_child_recursive-instance_method" title="Fox::FXWindow#each_child_recursive (method)">#each_child_recursive</a></span>, <span class='object_link'><a href="FXWindow.html#enable-instance_method" title="Fox::FXWindow#enable (method)">#enable</a></span>, <span class='object_link'><a href="FXWindow.html#enabled%3F-instance_method" title="Fox::FXWindow#enabled? (method)">#enabled?</a></span>, <span class='object_link'><a href="FXWindow.html#endDrag-instance_method" title="Fox::FXWindow#endDrag (method)">#endDrag</a></span>, <span class='object_link'><a href="FXWindow.html#forceRefresh-instance_method" title="Fox::FXWindow#forceRefresh (method)">#forceRefresh</a></span>, <span class='object_link'><a href="FXWindow.html#getChildAt-instance_method" title="Fox::FXWindow#getChildAt (method)">#getChildAt</a></span>, <span class='object_link'><a href="FXWindow.html#getDNDData-instance_method" title="Fox::FXWindow#getDNDData (method)">#getDNDData</a></span>, <span class='object_link'><a href="FXWindow.html#getHeightForWidth-instance_method" title="Fox::FXWindow#getHeightForWidth (method)">#getHeightForWidth</a></span>, <span class='object_link'><a href="FXWindow.html#getWidthForHeight-instance_method" title="Fox::FXWindow#getWidthForHeight (method)">#getWidthForHeight</a></span>, <span class='object_link'><a href="FXWindow.html#grab-instance_method" title="Fox::FXWindow#grab (method)">#grab</a></span>, <span class='object_link'><a href="FXWindow.html#grabKeyboard-instance_method" title="Fox::FXWindow#grabKeyboard (method)">#grabKeyboard</a></span>, <span class='object_link'><a href="FXWindow.html#grabbed%3F-instance_method" title="Fox::FXWindow#grabbed? (method)">#grabbed?</a></span>, <span class='object_link'><a href="FXWindow.html#grabbedKeyboard%3F-instance_method" title="Fox::FXWindow#grabbedKeyboard? (method)">#grabbedKeyboard?</a></span>, <span class='object_link'><a href="FXWindow.html#handleDrag-instance_method" title="Fox::FXWindow#handleDrag (method)">#handleDrag</a></span>, <span class='object_link'><a href="FXWindow.html#hasClipboard%3F-instance_method" title="Fox::FXWindow#hasClipboard? (method)">#hasClipboard?</a></span>, <span class='object_link'><a href="FXWindow.html#hasFocus%3F-instance_method" title="Fox::FXWindow#hasFocus? (method)">#hasFocus?</a></span>, <span class='object_link'><a href="FXWindow.html#hasSelection%3F-instance_method" title="Fox::FXWindow#hasSelection? (method)">#hasSelection?</a></span>, <span class='object_link'><a href="FXWindow.html#height-instance_method" title="Fox::FXWindow#height (method)">#height</a></span>, <span class='object_link'><a href="FXWindow.html#height=-instance_method" title="Fox::FXWindow#height= (method)">#height=</a></span>, <span class='object_link'><a href="FXWindow.html#hide-instance_method" title="Fox::FXWindow#hide (method)">#hide</a></span>, <span class='object_link'><a href="FXWindow.html#imageType-class_method" title="Fox::FXWindow.imageType (method)">imageType</a></span>, <span class='object_link'><a href="FXWindow.html#inFocusChain%3F-instance_method" title="Fox::FXWindow#inFocusChain? (method)">#inFocusChain?</a></span>, <span class='object_link'><a href="FXWindow.html#indexOfChild-instance_method" title="Fox::FXWindow#indexOfChild (method)">#indexOfChild</a></span>, <span class='object_link'><a href="FXWindow.html#initial%3F-instance_method" title="Fox::FXWindow#initial? (method)">#initial?</a></span>, <span class='object_link'><a href="FXWindow.html#inquireDNDAction-instance_method" title="Fox::FXWindow#inquireDNDAction (method)">#inquireDNDAction</a></span>, <span class='object_link'><a href="FXWindow.html#inquireDNDTypes-instance_method" title="Fox::FXWindow#inquireDNDTypes (method)">#inquireDNDTypes</a></span>, <span class='object_link'><a href="FXWindow.html#killFocus-instance_method" title="Fox::FXWindow#killFocus (method)">#killFocus</a></span>, <span class='object_link'><a href="FXWindow.html#linkAfter-instance_method" title="Fox::FXWindow#linkAfter (method)">#linkAfter</a></span>, <span class='object_link'><a href="FXWindow.html#linkBefore-instance_method" title="Fox::FXWindow#linkBefore (method)">#linkBefore</a></span>, <span class='object_link'><a href="FXWindow.html#lower-instance_method" title="Fox::FXWindow#lower (method)">#lower</a></span>, <span class='object_link'><a href="FXWindow.html#move-instance_method" title="Fox::FXWindow#move (method)">#move</a></span>, <span class='object_link'><a href="FXWindow.html#octetType-class_method" title="Fox::FXWindow.octetType (method)">octetType</a></span>, <span class='object_link'><a href="FXWindow.html#octetTypeName-class_method" title="Fox::FXWindow.octetTypeName (method)">octetTypeName</a></span>, <span class='object_link'><a href="FXWindow.html#offeredDNDType%3F-instance_method" title="Fox::FXWindow#offeredDNDType? (method)">#offeredDNDType?</a></span>, <span class='object_link'><a href="FXWindow.html#position-instance_method" title="Fox::FXWindow#position (method)">#position</a></span>, <span class='object_link'><a href="FXWindow.html#raiseWindow-instance_method" title="Fox::FXWindow#raiseWindow (method)">#raiseWindow</a></span>, <span class='object_link'><a href="FXWindow.html#recalc-instance_method" title="Fox::FXWindow#recalc (method)">#recalc</a></span>, <span class='object_link'><a href="FXWindow.html#releaseClipboard-instance_method" title="Fox::FXWindow#releaseClipboard (method)">#releaseClipboard</a></span>, <span class='object_link'><a href="FXWindow.html#releaseSelection-instance_method" title="Fox::FXWindow#releaseSelection (method)">#releaseSelection</a></span>, <span class='object_link'><a href="FXWindow.html#remHotKey-instance_method" title="Fox::FXWindow#remHotKey (method)">#remHotKey</a></span>, <span class='object_link'><a href="FXWindow.html#removeChild-instance_method" title="Fox::FXWindow#removeChild (method)">#removeChild</a></span>, <span class='object_link'><a href="FXWindow.html#repaint-instance_method" title="Fox::FXWindow#repaint (method)">#repaint</a></span>, <span class='object_link'><a href="FXWindow.html#reparent-instance_method" title="Fox::FXWindow#reparent (method)">#reparent</a></span>, <span class='object_link'><a href="FXWindow.html#resize-instance_method" title="Fox::FXWindow#resize (method)">#resize</a></span>, <span class='object_link'><a href="FXWindow.html#scroll-instance_method" title="Fox::FXWindow#scroll (method)">#scroll</a></span>, <span class='object_link'><a href="FXWindow.html#setCursorPosition-instance_method" title="Fox::FXWindow#setCursorPosition (method)">#setCursorPosition</a></span>, <span class='object_link'><a href="FXWindow.html#setDNDData-instance_method" title="Fox::FXWindow#setDNDData (method)">#setDNDData</a></span>, <span class='object_link'><a href="FXWindow.html#setDefault-instance_method" title="Fox::FXWindow#setDefault (method)">#setDefault</a></span>, <span class='object_link'><a href="FXWindow.html#setDragRectangle-instance_method" title="Fox::FXWindow#setDragRectangle (method)">#setDragRectangle</a></span>, <span class='object_link'><a href="FXWindow.html#setFocus-instance_method" title="Fox::FXWindow#setFocus (method)">#setFocus</a></span>, <span class='object_link'><a href="FXWindow.html#setInitial-instance_method" title="Fox::FXWindow#setInitial (method)">#setInitial</a></span>, <span class='object_link'><a href="FXWindow.html#setShape-instance_method" title="Fox::FXWindow#setShape (method)">#setShape</a></span>, <span class='object_link'><a href="FXWindow.html#shell%3F-instance_method" title="Fox::FXWindow#shell? (method)">#shell?</a></span>, <span class='object_link'><a href="FXWindow.html#show-instance_method" title="Fox::FXWindow#show (method)">#show</a></span>, <span class='object_link'><a href="FXWindow.html#shown%3F-instance_method" title="Fox::FXWindow#shown? (method)">#shown?</a></span>, <span class='object_link'><a href="FXWindow.html#stringType-class_method" title="Fox::FXWindow.stringType (method)">stringType</a></span>, <span class='object_link'><a href="FXWindow.html#textType-class_method" title="Fox::FXWindow.textType (method)">textType</a></span>, <span class='object_link'><a href="FXWindow.html#textTypeName-class_method" title="Fox::FXWindow.textTypeName (method)">textTypeName</a></span>, <span class='object_link'><a href="FXWindow.html#tr-instance_method" title="Fox::FXWindow#tr (method)">#tr</a></span>, <span class='object_link'><a href="FXWindow.html#translateCoordinatesFrom-instance_method" title="Fox::FXWindow#translateCoordinatesFrom (method)">#translateCoordinatesFrom</a></span>, <span class='object_link'><a href="FXWindow.html#translateCoordinatesTo-instance_method" title="Fox::FXWindow#translateCoordinatesTo (method)">#translateCoordinatesTo</a></span>, <span class='object_link'><a href="FXWindow.html#underCursor%3F-instance_method" title="Fox::FXWindow#underCursor? (method)">#underCursor?</a></span>, <span class='object_link'><a href="FXWindow.html#ungrab-instance_method" title="Fox::FXWindow#ungrab (method)">#ungrab</a></span>, <span class='object_link'><a href="FXWindow.html#ungrabKeyboard-instance_method" title="Fox::FXWindow#ungrabKeyboard (method)">#ungrabKeyboard</a></span>, <span class='object_link'><a href="FXWindow.html#update-instance_method" title="Fox::FXWindow#update (method)">#update</a></span>, <span class='object_link'><a href="FXWindow.html#urilistType-class_method" title="Fox::FXWindow.urilistType (method)">urilistType</a></span>, <span class='object_link'><a href="FXWindow.html#urilistTypeName-class_method" title="Fox::FXWindow.urilistTypeName (method)">urilistTypeName</a></span>, <span class='object_link'><a href="FXWindow.html#utf16Type-class_method" title="Fox::FXWindow.utf16Type (method)">utf16Type</a></span>, <span class='object_link'><a href="FXWindow.html#utf16TypeName-class_method" title="Fox::FXWindow.utf16TypeName (method)">utf16TypeName</a></span>, <span class='object_link'><a href="FXWindow.html#utf8Type-class_method" title="Fox::FXWindow.utf8Type (method)">utf8Type</a></span>, <span class='object_link'><a href="FXWindow.html#utf8TypeName-class_method" title="Fox::FXWindow.utf8TypeName (method)">utf8TypeName</a></span>, <span class='object_link'><a href="FXWindow.html#visible=-instance_method" title="Fox::FXWindow#visible= (method)">#visible=</a></span>, <span class='object_link'><a href="FXWindow.html#width-instance_method" title="Fox::FXWindow#width (method)">#width</a></span>, <span class='object_link'><a href="FXWindow.html#width=-instance_method" title="Fox::FXWindow#width= (method)">#width=</a></span></p>
|
681
|
+
|
682
|
+
|
683
|
+
|
684
|
+
|
685
|
+
|
686
|
+
|
687
|
+
|
688
|
+
|
689
|
+
|
690
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="../Responder2.html" title="Responder2 (module)">Responder2</a></span></h3>
|
691
|
+
<p class="inherited"><span class='object_link'><a href="../Responder2.html#connect-instance_method" title="Responder2#connect (method)">#connect</a></span></p>
|
692
|
+
|
693
|
+
|
694
|
+
|
695
|
+
|
696
|
+
|
697
|
+
|
698
|
+
|
699
|
+
|
700
|
+
|
701
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXDrawable.html" title="Fox::FXDrawable (class)">FXDrawable</a></span></h3>
|
702
|
+
<p class="inherited"><span class='object_link'><a href="FXDrawable.html#resize-instance_method" title="Fox::FXDrawable#resize (method)">#resize</a></span></p>
|
703
|
+
|
704
|
+
|
705
|
+
|
706
|
+
|
707
|
+
|
708
|
+
|
709
|
+
|
710
|
+
|
711
|
+
|
712
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXId.html" title="Fox::FXId (class)">FXId</a></span></h3>
|
713
|
+
<p class="inherited"><span class='object_link'><a href="FXId.html#created%3F-instance_method" title="Fox::FXId#created? (method)">#created?</a></span>, <span class='object_link'><a href="FXId.html#destroy-instance_method" title="Fox::FXId#destroy (method)">#destroy</a></span>, <span class='object_link'><a href="FXId.html#runOnUiThread-instance_method" title="Fox::FXId#runOnUiThread (method)">#runOnUiThread</a></span></p>
|
714
|
+
|
715
|
+
|
716
|
+
|
717
|
+
|
718
|
+
|
719
|
+
|
720
|
+
|
721
|
+
|
722
|
+
|
723
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXObject.html" title="Fox::FXObject (class)">FXObject</a></span></h3>
|
724
|
+
<p class="inherited"><span class='object_link'><a href="FXObject.html#bind-instance_method" title="Fox::FXObject#bind (method)">#bind</a></span>, <span class='object_link'><a href="FXObject.html#handle-instance_method" title="Fox::FXObject#handle (method)">#handle</a></span>, <span class='object_link'><a href="FXObject.html#load-instance_method" title="Fox::FXObject#load (method)">#load</a></span>, <span class='object_link'><a href="FXObject.html#save-instance_method" title="Fox::FXObject#save (method)">#save</a></span>, <span class='object_link'><a href="FXObject.html#subclasses-class_method" title="Fox::FXObject.subclasses (method)">subclasses</a></span></p>
|
725
|
+
<div id="constructor_details" class="method_details_list">
|
726
|
+
<h2>Constructor Details</h2>
|
727
|
+
|
728
|
+
<div class="method_details first">
|
729
|
+
<h3 class="signature first" id="initialize-instance_method">
|
730
|
+
|
731
|
+
#<strong>initialize</strong>(p, bmp = nil, tgt = nil, sel = 0, opts = 0, x = 0, y = 0, w = 0, h = 0) ⇒ <tt><span class='object_link'><a href="" title="Fox::FXBitmapView (class)">FXBitmapView</a></span></tt>
|
732
|
+
|
733
|
+
|
734
|
+
|
735
|
+
|
736
|
+
|
737
|
+
</h3><div class="docstring">
|
738
|
+
<div class="discussion">
|
739
|
+
|
740
|
+
<p>Return an initialized FXBitmapView instance.</p>
|
741
|
+
|
742
|
+
|
743
|
+
</div>
|
744
|
+
</div>
|
745
|
+
<div class="tags">
|
746
|
+
|
747
|
+
|
748
|
+
</div><table class="source_code">
|
749
|
+
<tr>
|
750
|
+
<td>
|
751
|
+
<pre class="lines">
|
752
|
+
|
753
|
+
|
754
|
+
40
|
755
|
+
41</pre>
|
756
|
+
</td>
|
757
|
+
<td>
|
758
|
+
<pre class="code"><span class="info file"># File 'rdoc-sources/FXBitmapView.rb', line 40</span>
|
759
|
+
|
760
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_p'>p</span><span class='comma'>,</span> <span class='id identifier rubyid_bmp'>bmp</span><span class='op'>=</span><span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_target'>target</span><span class='op'>=</span><span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_selector'>selector</span><span class='op'>=</span><span class='int'>0</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span><span class='op'>=</span><span class='int'>0</span><span class='comma'>,</span> <span class='id identifier rubyid_x'>x</span><span class='op'>=</span><span class='int'>0</span><span class='comma'>,</span> <span class='id identifier rubyid_y'>y</span><span class='op'>=</span><span class='int'>0</span><span class='comma'>,</span> <span class='id identifier rubyid_width'>width</span><span class='op'>=</span><span class='int'>0</span><span class='comma'>,</span> <span class='id identifier rubyid_height'>height</span><span class='op'>=</span><span class='int'>0</span><span class='rparen'>)</span> <span class='comment'># :yields: theBitmapView
|
761
|
+
</span><span class='kw'>end</span></pre>
|
762
|
+
</td>
|
763
|
+
</tr>
|
764
|
+
</table>
|
765
|
+
</div>
|
766
|
+
|
767
|
+
</div>
|
768
|
+
|
769
|
+
<div id="instance_attr_details" class="attr_details">
|
770
|
+
<h2>Instance Attribute Details</h2>
|
771
|
+
|
772
|
+
|
773
|
+
<span id="alignment=-instance_method"></span>
|
774
|
+
<div class="method_details first">
|
775
|
+
<h3 class="signature first" id="alignment-instance_method">
|
776
|
+
|
777
|
+
#<strong>alignment</strong> ⇒ <tt>Object</tt>
|
778
|
+
|
779
|
+
|
780
|
+
|
781
|
+
|
782
|
+
|
783
|
+
</h3><div class="docstring">
|
784
|
+
<div class="discussion">
|
785
|
+
|
786
|
+
<p>Return the current alignment for the bitmap inside the FXBitmapView.</p>
|
787
|
+
|
788
|
+
|
789
|
+
</div>
|
790
|
+
</div>
|
791
|
+
<div class="tags">
|
792
|
+
|
793
|
+
|
794
|
+
</div><table class="source_code">
|
795
|
+
<tr>
|
796
|
+
<td>
|
797
|
+
<pre class="lines">
|
798
|
+
|
799
|
+
|
800
|
+
35
|
801
|
+
36
|
802
|
+
37</pre>
|
803
|
+
</td>
|
804
|
+
<td>
|
805
|
+
<pre class="code"><span class="info file"># File 'rdoc-sources/FXBitmapView.rb', line 35</span>
|
806
|
+
|
807
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_alignment'>alignment</span>
|
808
|
+
<span class='ivar'>@alignment</span>
|
809
|
+
<span class='kw'>end</span></pre>
|
810
|
+
</td>
|
811
|
+
</tr>
|
812
|
+
</table>
|
813
|
+
</div>
|
814
|
+
|
815
|
+
|
816
|
+
<span id="bitmap=-instance_method"></span>
|
817
|
+
<div class="method_details ">
|
818
|
+
<h3 class="signature " id="bitmap-instance_method">
|
819
|
+
|
820
|
+
#<strong>bitmap</strong> ⇒ <tt>Object</tt>
|
821
|
+
|
822
|
+
|
823
|
+
|
824
|
+
|
825
|
+
|
826
|
+
</h3><div class="docstring">
|
827
|
+
<div class="discussion">
|
828
|
+
|
829
|
+
<p>Return a reference to the bitmap (an FXBitmap instance) for this FXBitmapView, or <code>nil</code> if no bitmap has been set.</p>
|
830
|
+
|
831
|
+
|
832
|
+
</div>
|
833
|
+
</div>
|
834
|
+
<div class="tags">
|
835
|
+
|
836
|
+
|
837
|
+
</div><table class="source_code">
|
838
|
+
<tr>
|
839
|
+
<td>
|
840
|
+
<pre class="lines">
|
841
|
+
|
842
|
+
|
843
|
+
26
|
844
|
+
27
|
845
|
+
28</pre>
|
846
|
+
</td>
|
847
|
+
<td>
|
848
|
+
<pre class="code"><span class="info file"># File 'rdoc-sources/FXBitmapView.rb', line 26</span>
|
849
|
+
|
850
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_bitmap'>bitmap</span>
|
851
|
+
<span class='ivar'>@bitmap</span>
|
852
|
+
<span class='kw'>end</span></pre>
|
853
|
+
</td>
|
854
|
+
</tr>
|
855
|
+
</table>
|
856
|
+
</div>
|
857
|
+
|
858
|
+
|
859
|
+
<span id="offColor=-instance_method"></span>
|
860
|
+
<div class="method_details ">
|
861
|
+
<h3 class="signature " id="offColor-instance_method">
|
862
|
+
|
863
|
+
#<strong>offColor</strong> ⇒ <tt>Object</tt>
|
864
|
+
|
865
|
+
|
866
|
+
|
867
|
+
|
868
|
+
|
869
|
+
</h3><div class="docstring">
|
870
|
+
<div class="discussion">
|
871
|
+
|
872
|
+
<p>Return the color used for the “off” bits in the bitmap.</p>
|
873
|
+
|
874
|
+
|
875
|
+
</div>
|
876
|
+
</div>
|
877
|
+
<div class="tags">
|
878
|
+
|
879
|
+
|
880
|
+
</div><table class="source_code">
|
881
|
+
<tr>
|
882
|
+
<td>
|
883
|
+
<pre class="lines">
|
884
|
+
|
885
|
+
|
886
|
+
32
|
887
|
+
33
|
888
|
+
34</pre>
|
889
|
+
</td>
|
890
|
+
<td>
|
891
|
+
<pre class="code"><span class="info file"># File 'rdoc-sources/FXBitmapView.rb', line 32</span>
|
892
|
+
|
893
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_offColor'>offColor</span>
|
894
|
+
<span class='ivar'>@offColor</span>
|
895
|
+
<span class='kw'>end</span></pre>
|
896
|
+
</td>
|
897
|
+
</tr>
|
898
|
+
</table>
|
899
|
+
</div>
|
900
|
+
|
901
|
+
|
902
|
+
<span id="onColor=-instance_method"></span>
|
903
|
+
<div class="method_details ">
|
904
|
+
<h3 class="signature " id="onColor-instance_method">
|
905
|
+
|
906
|
+
#<strong>onColor</strong> ⇒ <tt>Object</tt>
|
907
|
+
|
908
|
+
|
909
|
+
|
910
|
+
|
911
|
+
|
912
|
+
</h3><div class="docstring">
|
913
|
+
<div class="discussion">
|
914
|
+
|
915
|
+
<p>Return the color used for the “on” bits in the bitmap.</p>
|
916
|
+
|
917
|
+
|
918
|
+
</div>
|
919
|
+
</div>
|
920
|
+
<div class="tags">
|
921
|
+
|
922
|
+
|
923
|
+
</div><table class="source_code">
|
924
|
+
<tr>
|
925
|
+
<td>
|
926
|
+
<pre class="lines">
|
927
|
+
|
928
|
+
|
929
|
+
29
|
930
|
+
30
|
931
|
+
31</pre>
|
932
|
+
</td>
|
933
|
+
<td>
|
934
|
+
<pre class="code"><span class="info file"># File 'rdoc-sources/FXBitmapView.rb', line 29</span>
|
935
|
+
|
936
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_onColor'>onColor</span>
|
937
|
+
<span class='ivar'>@onColor</span>
|
938
|
+
<span class='kw'>end</span></pre>
|
939
|
+
</td>
|
940
|
+
</tr>
|
941
|
+
</table>
|
942
|
+
</div>
|
943
|
+
|
944
|
+
</div>
|
945
|
+
|
946
|
+
|
947
|
+
<div id="instance_method_details" class="method_details_list">
|
948
|
+
<h2>Instance Method Details</h2>
|
949
|
+
|
950
|
+
|
951
|
+
<div class="method_details first">
|
952
|
+
<h3 class="signature first" id="canFocus-instance_method">
|
953
|
+
|
954
|
+
#<strong>canFocus</strong> ⇒ <tt>Object</tt>
|
955
|
+
|
956
|
+
|
957
|
+
|
958
|
+
|
959
|
+
|
960
|
+
</h3><table class="source_code">
|
961
|
+
<tr>
|
962
|
+
<td>
|
963
|
+
<pre class="lines">
|
964
|
+
|
965
|
+
|
966
|
+
56
|
967
|
+
57
|
968
|
+
58</pre>
|
969
|
+
</td>
|
970
|
+
<td>
|
971
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/bitmapview.rb', line 56</span>
|
972
|
+
|
973
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_canFocus'>canFocus</span>
|
974
|
+
<span class='kw'>true</span>
|
975
|
+
<span class='kw'>end</span></pre>
|
976
|
+
</td>
|
977
|
+
</tr>
|
978
|
+
</table>
|
979
|
+
</div>
|
980
|
+
|
981
|
+
<div class="method_details ">
|
982
|
+
<h3 class="signature " id="create-instance_method">
|
983
|
+
|
984
|
+
#<strong>create</strong> ⇒ <tt>Object</tt>
|
985
|
+
|
986
|
+
|
987
|
+
|
988
|
+
|
989
|
+
|
990
|
+
</h3><table class="source_code">
|
991
|
+
<tr>
|
992
|
+
<td>
|
993
|
+
<pre class="lines">
|
994
|
+
|
995
|
+
|
996
|
+
46
|
997
|
+
47
|
998
|
+
48
|
999
|
+
49</pre>
|
1000
|
+
</td>
|
1001
|
+
<td>
|
1002
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/bitmapview.rb', line 46</span>
|
1003
|
+
|
1004
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_create'>create</span>
|
1005
|
+
<span class='kw'>super</span>
|
1006
|
+
<span class='id identifier rubyid_bitmap'>bitmap</span><span class='period'>.</span><span class='id identifier rubyid_create'>create</span> <span class='kw'>unless</span> <span class='id identifier rubyid_bitmap'>bitmap</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
1007
|
+
<span class='kw'>end</span></pre>
|
1008
|
+
</td>
|
1009
|
+
</tr>
|
1010
|
+
</table>
|
1011
|
+
</div>
|
1012
|
+
|
1013
|
+
<div class="method_details ">
|
1014
|
+
<h3 class="signature " id="detach-instance_method">
|
1015
|
+
|
1016
|
+
#<strong>detach</strong> ⇒ <tt>Object</tt>
|
1017
|
+
|
1018
|
+
|
1019
|
+
|
1020
|
+
|
1021
|
+
|
1022
|
+
</h3><table class="source_code">
|
1023
|
+
<tr>
|
1024
|
+
<td>
|
1025
|
+
<pre class="lines">
|
1026
|
+
|
1027
|
+
|
1028
|
+
51
|
1029
|
+
52
|
1030
|
+
53
|
1031
|
+
54</pre>
|
1032
|
+
</td>
|
1033
|
+
<td>
|
1034
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/bitmapview.rb', line 51</span>
|
1035
|
+
|
1036
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_detach'>detach</span>
|
1037
|
+
<span class='kw'>super</span>
|
1038
|
+
<span class='id identifier rubyid_bitmap'>bitmap</span><span class='period'>.</span><span class='id identifier rubyid_detach'>detach</span> <span class='kw'>unless</span> <span class='id identifier rubyid_bitmap'>bitmap</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
1039
|
+
<span class='kw'>end</span></pre>
|
1040
|
+
</td>
|
1041
|
+
</tr>
|
1042
|
+
</table>
|
1043
|
+
</div>
|
1044
|
+
|
1045
|
+
<div class="method_details ">
|
1046
|
+
<h3 class="signature " id="getContentHeight-instance_method">
|
1047
|
+
|
1048
|
+
#<strong>getContentHeight</strong> ⇒ <tt>Object</tt>
|
1049
|
+
|
1050
|
+
|
1051
|
+
|
1052
|
+
|
1053
|
+
|
1054
|
+
</h3><table class="source_code">
|
1055
|
+
<tr>
|
1056
|
+
<td>
|
1057
|
+
<pre class="lines">
|
1058
|
+
|
1059
|
+
|
1060
|
+
64
|
1061
|
+
65
|
1062
|
+
66</pre>
|
1063
|
+
</td>
|
1064
|
+
<td>
|
1065
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/bitmapview.rb', line 64</span>
|
1066
|
+
|
1067
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_getContentHeight'>getContentHeight</span>
|
1068
|
+
<span class='id identifier rubyid_bitmap'>bitmap</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>?</span> <span class='int'>1</span> <span class='op'>:</span> <span class='id identifier rubyid_bitmap'>bitmap</span><span class='period'>.</span><span class='id identifier rubyid_height'>height</span>
|
1069
|
+
<span class='kw'>end</span></pre>
|
1070
|
+
</td>
|
1071
|
+
</tr>
|
1072
|
+
</table>
|
1073
|
+
</div>
|
1074
|
+
|
1075
|
+
<div class="method_details ">
|
1076
|
+
<h3 class="signature " id="getContentWidth-instance_method">
|
1077
|
+
|
1078
|
+
#<strong>getContentWidth</strong> ⇒ <tt>Object</tt>
|
1079
|
+
|
1080
|
+
|
1081
|
+
|
1082
|
+
|
1083
|
+
|
1084
|
+
</h3><table class="source_code">
|
1085
|
+
<tr>
|
1086
|
+
<td>
|
1087
|
+
<pre class="lines">
|
1088
|
+
|
1089
|
+
|
1090
|
+
60
|
1091
|
+
61
|
1092
|
+
62</pre>
|
1093
|
+
</td>
|
1094
|
+
<td>
|
1095
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/bitmapview.rb', line 60</span>
|
1096
|
+
|
1097
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_getContentWidth'>getContentWidth</span>
|
1098
|
+
<span class='id identifier rubyid_bitmap'>bitmap</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>?</span> <span class='int'>1</span> <span class='op'>:</span> <span class='id identifier rubyid_bitmap'>bitmap</span><span class='period'>.</span><span class='id identifier rubyid_width'>width</span>
|
1099
|
+
<span class='kw'>end</span></pre>
|
1100
|
+
</td>
|
1101
|
+
</tr>
|
1102
|
+
</table>
|
1103
|
+
</div>
|
1104
|
+
|
1105
|
+
<div class="method_details ">
|
1106
|
+
<h3 class="signature " id="layout-instance_method">
|
1107
|
+
|
1108
|
+
#<strong>layout</strong> ⇒ <tt>Object</tt>
|
1109
|
+
|
1110
|
+
|
1111
|
+
|
1112
|
+
|
1113
|
+
|
1114
|
+
</h3><table class="source_code">
|
1115
|
+
<tr>
|
1116
|
+
<td>
|
1117
|
+
<pre class="lines">
|
1118
|
+
|
1119
|
+
|
1120
|
+
68
|
1121
|
+
69
|
1122
|
+
70
|
1123
|
+
71
|
1124
|
+
72</pre>
|
1125
|
+
</td>
|
1126
|
+
<td>
|
1127
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/bitmapview.rb', line 68</span>
|
1128
|
+
|
1129
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_layout'>layout</span>
|
1130
|
+
<span class='kw'>super</span>
|
1131
|
+
<span class='id identifier rubyid_update'>update</span>
|
1132
|
+
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_flags'>flags</span> <span class='op'>&=</span> <span class='op'>~</span><span class='const'>FLAG_DIRTY</span>
|
1133
|
+
<span class='kw'>end</span></pre>
|
1134
|
+
</td>
|
1135
|
+
</tr>
|
1136
|
+
</table>
|
1137
|
+
</div>
|
1138
|
+
|
1139
|
+
<div class="method_details ">
|
1140
|
+
<h3 class="signature " id="onMotion-instance_method">
|
1141
|
+
|
1142
|
+
#<strong>onMotion</strong>(sender, sel, ev) ⇒ <tt>Object</tt>
|
1143
|
+
|
1144
|
+
|
1145
|
+
|
1146
|
+
|
1147
|
+
|
1148
|
+
</h3><div class="docstring">
|
1149
|
+
<div class="discussion">
|
1150
|
+
|
1151
|
+
<p>Handle real or simulated mouse motion</p>
|
1152
|
+
|
1153
|
+
|
1154
|
+
</div>
|
1155
|
+
</div>
|
1156
|
+
<div class="tags">
|
1157
|
+
|
1158
|
+
|
1159
|
+
</div><table class="source_code">
|
1160
|
+
<tr>
|
1161
|
+
<td>
|
1162
|
+
<pre class="lines">
|
1163
|
+
|
1164
|
+
|
1165
|
+
154
|
1166
|
+
155
|
1167
|
+
156
|
1168
|
+
157
|
1169
|
+
158
|
1170
|
+
159
|
1171
|
+
160</pre>
|
1172
|
+
</td>
|
1173
|
+
<td>
|
1174
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/bitmapview.rb', line 154</span>
|
1175
|
+
|
1176
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_onMotion'>onMotion</span><span class='lparen'>(</span><span class='id identifier rubyid_sender'>sender</span><span class='comma'>,</span> <span class='id identifier rubyid_sel'>sel</span><span class='comma'>,</span> <span class='id identifier rubyid_ev'>ev</span><span class='rparen'>)</span>
|
1177
|
+
<span class='kw'>if</span> <span class='lparen'>(</span><span class='id identifier rubyid_flags'>flags</span> <span class='op'>&</span> <span class='const'>FLAG_SCROLLING</span><span class='rparen'>)</span> <span class='op'>!=</span> <span class='int'>0</span>
|
1178
|
+
<span class='id identifier rubyid_setPosition'>setPosition</span><span class='lparen'>(</span><span class='id identifier rubyid_ev'>ev</span><span class='period'>.</span><span class='id identifier rubyid_win_x'>win_x</span> <span class='op'>-</span> <span class='ivar'>@grabx</span><span class='comma'>,</span> <span class='id identifier rubyid_ev'>ev</span><span class='period'>.</span><span class='id identifier rubyid_win_y'>win_y</span> <span class='op'>-</span> <span class='ivar'>@graby</span><span class='rparen'>)</span>
|
1179
|
+
<span class='kw'>return</span> <span class='int'>1</span>
|
1180
|
+
<span class='kw'>end</span>
|
1181
|
+
<span class='kw'>return</span> <span class='int'>0</span>
|
1182
|
+
<span class='kw'>end</span></pre>
|
1183
|
+
</td>
|
1184
|
+
</tr>
|
1185
|
+
</table>
|
1186
|
+
</div>
|
1187
|
+
|
1188
|
+
<div class="method_details ">
|
1189
|
+
<h3 class="signature " id="onPaint-instance_method">
|
1190
|
+
|
1191
|
+
#<strong>onPaint</strong>(sender, sel, event) ⇒ <tt>Object</tt>
|
1192
|
+
|
1193
|
+
|
1194
|
+
|
1195
|
+
|
1196
|
+
|
1197
|
+
</h3><div class="docstring">
|
1198
|
+
<div class="discussion">
|
1199
|
+
|
1200
|
+
<p>Handle expose (paint) event</p>
|
1201
|
+
|
1202
|
+
|
1203
|
+
</div>
|
1204
|
+
</div>
|
1205
|
+
<div class="tags">
|
1206
|
+
|
1207
|
+
|
1208
|
+
</div><table class="source_code">
|
1209
|
+
<tr>
|
1210
|
+
<td>
|
1211
|
+
<pre class="lines">
|
1212
|
+
|
1213
|
+
|
1214
|
+
75
|
1215
|
+
76
|
1216
|
+
77
|
1217
|
+
78
|
1218
|
+
79
|
1219
|
+
80
|
1220
|
+
81
|
1221
|
+
82
|
1222
|
+
83
|
1223
|
+
84
|
1224
|
+
85
|
1225
|
+
86
|
1226
|
+
87
|
1227
|
+
88
|
1228
|
+
89
|
1229
|
+
90
|
1230
|
+
91
|
1231
|
+
92
|
1232
|
+
93
|
1233
|
+
94
|
1234
|
+
95
|
1235
|
+
96
|
1236
|
+
97
|
1237
|
+
98
|
1238
|
+
99
|
1239
|
+
100
|
1240
|
+
101
|
1241
|
+
102
|
1242
|
+
103
|
1243
|
+
104
|
1244
|
+
105
|
1245
|
+
106
|
1246
|
+
107
|
1247
|
+
108
|
1248
|
+
109
|
1249
|
+
110
|
1250
|
+
111
|
1251
|
+
112
|
1252
|
+
113
|
1253
|
+
114
|
1254
|
+
115
|
1255
|
+
116
|
1256
|
+
117
|
1257
|
+
118
|
1258
|
+
119</pre>
|
1259
|
+
</td>
|
1260
|
+
<td>
|
1261
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/bitmapview.rb', line 75</span>
|
1262
|
+
|
1263
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_onPaint'>onPaint</span><span class='lparen'>(</span><span class='id identifier rubyid_sender'>sender</span><span class='comma'>,</span> <span class='id identifier rubyid_sel'>sel</span><span class='comma'>,</span> <span class='id identifier rubyid_event'>event</span><span class='rparen'>)</span>
|
1264
|
+
<span class='const'><span class='object_link'><a href="FXDCWindow.html" title="Fox::FXDCWindow (class)">FXDCWindow</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="FXDCWindow.html#initialize-instance_method" title="Fox::FXDCWindow#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_event'>event</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_dc'>dc</span><span class='op'>|</span>
|
1265
|
+
<span class='kw'>unless</span> <span class='id identifier rubyid_bitmap'>bitmap</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
1266
|
+
<span class='id identifier rubyid_ww'>ww</span> <span class='op'>=</span> <span class='id identifier rubyid_bitmap'>bitmap</span><span class='period'>.</span><span class='id identifier rubyid_width'>width</span>
|
1267
|
+
<span class='id identifier rubyid_hh'>hh</span> <span class='op'>=</span> <span class='id identifier rubyid_bitmap'>bitmap</span><span class='period'>.</span><span class='id identifier rubyid_height'>height</span>
|
1268
|
+
<span class='id identifier rubyid_xx'>xx</span> <span class='op'>=</span> <span class='id identifier rubyid_pos_x'>pos_x</span>
|
1269
|
+
<span class='id identifier rubyid_yy'>yy</span> <span class='op'>=</span> <span class='id identifier rubyid_pos_y'>pos_y</span>
|
1270
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_ww'>ww</span> <span class='op'><</span> <span class='id identifier rubyid_viewport_w'>viewport_w</span>
|
1271
|
+
<span class='kw'>if</span> <span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>&</span> <span class='const'><span class='object_link'><a href="#BITMAPVIEW_LEFT-constant" title="Fox::FXBitmapView::BITMAPVIEW_LEFT (constant)">BITMAPVIEW_LEFT</a></span></span><span class='rparen'>)</span> <span class='op'>!=</span> <span class='int'>0</span>
|
1272
|
+
<span class='id identifier rubyid_xx'>xx</span> <span class='op'>=</span> <span class='int'>0</span>
|
1273
|
+
<span class='kw'>elsif</span> <span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>&</span> <span class='const'><span class='object_link'><a href="#BITMAPVIEW_RIGHT-constant" title="Fox::FXBitmapView::BITMAPVIEW_RIGHT (constant)">BITMAPVIEW_RIGHT</a></span></span><span class='rparen'>)</span> <span class='op'>!=</span> <span class='int'>0</span>
|
1274
|
+
<span class='id identifier rubyid_xx'>xx</span> <span class='op'>=</span> <span class='id identifier rubyid_viewport_w'>viewport_w</span> <span class='op'>-</span> <span class='id identifier rubyid_ww'>ww</span>
|
1275
|
+
<span class='kw'>else</span>
|
1276
|
+
<span class='id identifier rubyid_xx'>xx</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id identifier rubyid_viewport_w'>viewport_w</span> <span class='op'>-</span> <span class='id identifier rubyid_ww'>ww</span><span class='rparen'>)</span><span class='op'>/</span><span class='int'>2</span>
|
1277
|
+
<span class='kw'>end</span>
|
1278
|
+
<span class='kw'>end</span>
|
1279
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_hh'>hh</span> <span class='op'><</span> <span class='id identifier rubyid_viewport_h'>viewport_h</span>
|
1280
|
+
<span class='kw'>if</span> <span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>&</span> <span class='const'>BITMAPVIEW_TOP</span><span class='rparen'>)</span> <span class='op'>!=</span> <span class='int'>0</span>
|
1281
|
+
<span class='id identifier rubyid_yy'>yy</span> <span class='op'>=</span> <span class='int'>0</span>
|
1282
|
+
<span class='kw'>elsif</span> <span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>&</span> <span class='const'><span class='object_link'><a href="#BITMAPVIEW_BOTTOM-constant" title="Fox::FXBitmapView::BITMAPVIEW_BOTTOM (constant)">BITMAPVIEW_BOTTOM</a></span></span><span class='rparen'>)</span> <span class='op'>!=</span> <span class='int'>0</span>
|
1283
|
+
<span class='id identifier rubyid_yy'>yy</span> <span class='op'>=</span> <span class='id identifier rubyid_viewport_h'>viewport_h</span> <span class='op'>-</span> <span class='id identifier rubyid_hh'>hh</span>
|
1284
|
+
<span class='kw'>else</span>
|
1285
|
+
<span class='id identifier rubyid_yy'>yy</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id identifier rubyid_viewport_h'>viewport_h</span> <span class='op'>-</span> <span class='id identifier rubyid_hh'>hh</span><span class='rparen'>)</span><span class='op'>/</span><span class='int'>2</span>
|
1286
|
+
<span class='kw'>end</span>
|
1287
|
+
<span class='kw'>end</span>
|
1288
|
+
<span class='id identifier rubyid_dc'>dc</span><span class='period'>.</span><span class='id identifier rubyid_foreground'>foreground</span> <span class='op'>=</span> <span class='id identifier rubyid_onColor'>onColor</span>
|
1289
|
+
<span class='id identifier rubyid_dc'>dc</span><span class='period'>.</span><span class='id identifier rubyid_background'>background</span> <span class='op'>=</span> <span class='id identifier rubyid_offColor'>offColor</span>
|
1290
|
+
<span class='id identifier rubyid_dc'>dc</span><span class='period'>.</span><span class='id identifier rubyid_drawBitmap'>drawBitmap</span><span class='lparen'>(</span><span class='id identifier rubyid_bitmap'>bitmap</span><span class='comma'>,</span> <span class='id identifier rubyid_xx'>xx</span><span class='comma'>,</span> <span class='id identifier rubyid_yy'>yy</span><span class='rparen'>)</span>
|
1291
|
+
<span class='id identifier rubyid_dc'>dc</span><span class='period'>.</span><span class='id identifier rubyid_foreground'>foreground</span> <span class='op'>=</span> <span class='id identifier rubyid_backColor'>backColor</span>
|
1292
|
+
<span class='id identifier rubyid_xl'>xl</span> <span class='op'>=</span> <span class='id identifier rubyid_xx'>xx</span><span class='semicolon'>;</span> <span class='id identifier rubyid_xr'>xr</span> <span class='op'>=</span> <span class='id identifier rubyid_xx'>xx</span> <span class='op'>+</span> <span class='id identifier rubyid_ww'>ww</span>
|
1293
|
+
<span class='id identifier rubyid_yt'>yt</span> <span class='op'>=</span> <span class='id identifier rubyid_yy'>yy</span><span class='semicolon'>;</span> <span class='id identifier rubyid_yb'>yb</span> <span class='op'>=</span> <span class='id identifier rubyid_yy'>yy</span> <span class='op'>+</span> <span class='id identifier rubyid_hh'>hh</span>
|
1294
|
+
<span class='id identifier rubyid_xl'>xl</span> <span class='op'>=</span> <span class='int'>0</span> <span class='kw'>if</span> <span class='lparen'>(</span><span class='id identifier rubyid_xl'>xl</span> <span class='op'><</span> <span class='int'>0</span><span class='rparen'>)</span>
|
1295
|
+
<span class='id identifier rubyid_xr'>xr</span> <span class='op'>=</span> <span class='id identifier rubyid_viewport_w'>viewport_w</span> <span class='kw'>if</span> <span class='lparen'>(</span><span class='id identifier rubyid_xr'>xr</span> <span class='op'>></span> <span class='id identifier rubyid_viewport_w'>viewport_w</span><span class='rparen'>)</span>
|
1296
|
+
<span class='id identifier rubyid_yt'>yt</span> <span class='op'>=</span> <span class='int'>0</span> <span class='kw'>if</span> <span class='lparen'>(</span><span class='id identifier rubyid_yt'>yt</span> <span class='op'><</span> <span class='int'>0</span><span class='rparen'>)</span>
|
1297
|
+
<span class='id identifier rubyid_yb'>yb</span> <span class='op'>=</span> <span class='id identifier rubyid_viewport_h'>viewport_h</span> <span class='kw'>if</span> <span class='lparen'>(</span><span class='id identifier rubyid_yb'>yb</span> <span class='op'>></span> <span class='id identifier rubyid_viewport_h'>viewport_h</span><span class='rparen'>)</span>
|
1298
|
+
<span class='id identifier rubyid_dc'>dc</span><span class='period'>.</span><span class='id identifier rubyid_fillRectangle'>fillRectangle</span><span class='lparen'>(</span><span class='int'>0</span><span class='comma'>,</span> <span class='int'>0</span><span class='comma'>,</span> <span class='id identifier rubyid_xr'>xr</span><span class='comma'>,</span> <span class='id identifier rubyid_yt'>yt</span><span class='rparen'>)</span>
|
1299
|
+
<span class='id identifier rubyid_dc'>dc</span><span class='period'>.</span><span class='id identifier rubyid_fillRectangle'>fillRectangle</span><span class='lparen'>(</span><span class='int'>0</span><span class='comma'>,</span> <span class='id identifier rubyid_yt'>yt</span><span class='comma'>,</span> <span class='id identifier rubyid_xl'>xl</span><span class='comma'>,</span> <span class='id identifier rubyid_viewport_h'>viewport_h</span> <span class='op'>-</span> <span class='id identifier rubyid_yt'>yt</span><span class='rparen'>)</span>
|
1300
|
+
<span class='id identifier rubyid_dc'>dc</span><span class='period'>.</span><span class='id identifier rubyid_fillRectangle'>fillRectangle</span><span class='lparen'>(</span><span class='id identifier rubyid_xr'>xr</span><span class='comma'>,</span> <span class='int'>0</span><span class='comma'>,</span> <span class='id identifier rubyid_viewport_w'>viewport_w</span> <span class='op'>-</span> <span class='id identifier rubyid_xr'>xr</span><span class='comma'>,</span> <span class='id identifier rubyid_yb'>yb</span><span class='rparen'>)</span>
|
1301
|
+
<span class='id identifier rubyid_dc'>dc</span><span class='period'>.</span><span class='id identifier rubyid_fillRectangle'>fillRectangle</span><span class='lparen'>(</span><span class='id identifier rubyid_xl'>xl</span><span class='comma'>,</span> <span class='id identifier rubyid_yb'>yb</span><span class='comma'>,</span> <span class='id identifier rubyid_viewport_w'>viewport_w</span> <span class='op'>-</span> <span class='id identifier rubyid_xl'>xl</span><span class='comma'>,</span> <span class='id identifier rubyid_viewport_h'>viewport_h</span> <span class='op'>-</span> <span class='id identifier rubyid_yb'>yb</span><span class='rparen'>)</span>
|
1302
|
+
<span class='kw'>else</span>
|
1303
|
+
<span class='id identifier rubyid_dc'>dc</span><span class='period'>.</span><span class='id identifier rubyid_foreground'>foreground</span> <span class='op'>=</span> <span class='id identifier rubyid_backColor'>backColor</span>
|
1304
|
+
<span class='id identifier rubyid_dc'>dc</span><span class='period'>.</span><span class='id identifier rubyid_fillRectangle'>fillRectangle</span><span class='lparen'>(</span><span class='int'>0</span><span class='comma'>,</span> <span class='int'>0</span><span class='comma'>,</span> <span class='id identifier rubyid_width'>width</span><span class='comma'>,</span> <span class='id identifier rubyid_height'>height</span><span class='rparen'>)</span>
|
1305
|
+
<span class='kw'>end</span>
|
1306
|
+
<span class='kw'>end</span>
|
1307
|
+
<span class='kw'>end</span></pre>
|
1308
|
+
</td>
|
1309
|
+
</tr>
|
1310
|
+
</table>
|
1311
|
+
</div>
|
1312
|
+
|
1313
|
+
<div class="method_details ">
|
1314
|
+
<h3 class="signature " id="onRightBtnPress-instance_method">
|
1315
|
+
|
1316
|
+
#<strong>onRightBtnPress</strong>(sender, sel, ev) ⇒ <tt>Object</tt>
|
1317
|
+
|
1318
|
+
|
1319
|
+
|
1320
|
+
|
1321
|
+
|
1322
|
+
</h3><div class="docstring">
|
1323
|
+
<div class="discussion">
|
1324
|
+
|
1325
|
+
<p>Handle right mouse button press</p>
|
1326
|
+
|
1327
|
+
|
1328
|
+
</div>
|
1329
|
+
</div>
|
1330
|
+
<div class="tags">
|
1331
|
+
|
1332
|
+
|
1333
|
+
</div><table class="source_code">
|
1334
|
+
<tr>
|
1335
|
+
<td>
|
1336
|
+
<pre class="lines">
|
1337
|
+
|
1338
|
+
|
1339
|
+
122
|
1340
|
+
123
|
1341
|
+
124
|
1342
|
+
125
|
1343
|
+
126
|
1344
|
+
127
|
1345
|
+
128
|
1346
|
+
129
|
1347
|
+
130
|
1348
|
+
131
|
1349
|
+
132
|
1350
|
+
133
|
1351
|
+
134
|
1352
|
+
135
|
1353
|
+
136
|
1354
|
+
137</pre>
|
1355
|
+
</td>
|
1356
|
+
<td>
|
1357
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/bitmapview.rb', line 122</span>
|
1358
|
+
|
1359
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_onRightBtnPress'>onRightBtnPress</span><span class='lparen'>(</span><span class='id identifier rubyid_sender'>sender</span><span class='comma'>,</span> <span class='id identifier rubyid_sel'>sel</span><span class='comma'>,</span> <span class='id identifier rubyid_ev'>ev</span><span class='rparen'>)</span>
|
1360
|
+
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_flags'>flags</span> <span class='op'>&=</span> <span class='op'>~</span><span class='const'>FLAG_TIP</span>
|
1361
|
+
<span class='id identifier rubyid_handle'>handle</span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='const'><span class='object_link'><a href="../Fox.html" title="Fox (module)">Fox</a></span></span><span class='period'>.</span><span class='const'>FXSEL</span><span class='lparen'>(</span><span class='const'>SEL_FOCUS_SELF</span><span class='comma'>,</span> <span class='int'>0</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='id identifier rubyid_ev'>ev</span><span class='rparen'>)</span>
|
1362
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_enabled?'>enabled?</span>
|
1363
|
+
<span class='id identifier rubyid_grab'>grab</span>
|
1364
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_target'>target</span> <span class='op'>&&</span> <span class='id identifier rubyid_target'>target</span><span class='period'>.</span><span class='id identifier rubyid_handle'>handle</span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='const'><span class='object_link'><a href="../Fox.html" title="Fox (module)">Fox</a></span></span><span class='period'>.</span><span class='const'>FXSEL</span><span class='lparen'>(</span><span class='const'>SEL_RIGHTBUTTONPRESS</span><span class='comma'>,</span> <span class='id identifier rubyid_message'>message</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='id identifier rubyid_ev'>ev</span><span class='rparen'>)</span> <span class='op'>!=</span> <span class='int'>0</span>
|
1365
|
+
<span class='kw'>return</span> <span class='int'>1</span>
|
1366
|
+
<span class='kw'>end</span>
|
1367
|
+
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_flags'>flags</span> <span class='op'>&=</span> <span class='op'>~</span><span class='const'>FLAG_UPDATE</span>
|
1368
|
+
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_flags'>flags</span> <span class='op'>|=</span> <span class='const'>FLAG_PRESSED</span><span class='op'>|</span><span class='const'>FLAG_SCROLLING</span>
|
1369
|
+
<span class='ivar'>@grabx</span> <span class='op'>=</span> <span class='id identifier rubyid_ev'>ev</span><span class='period'>.</span><span class='id identifier rubyid_win_x'>win_x</span> <span class='op'>-</span> <span class='id identifier rubyid_pos_x'>pos_x</span>
|
1370
|
+
<span class='ivar'>@graby</span> <span class='op'>=</span> <span class='id identifier rubyid_ev'>ev</span><span class='period'>.</span><span class='id identifier rubyid_win_y'>win_y</span> <span class='op'>-</span> <span class='id identifier rubyid_pos_y'>pos_y</span>
|
1371
|
+
<span class='kw'>return</span> <span class='int'>1</span>
|
1372
|
+
<span class='kw'>end</span>
|
1373
|
+
<span class='kw'>return</span> <span class='int'>0</span>
|
1374
|
+
<span class='kw'>end</span></pre>
|
1375
|
+
</td>
|
1376
|
+
</tr>
|
1377
|
+
</table>
|
1378
|
+
</div>
|
1379
|
+
|
1380
|
+
<div class="method_details ">
|
1381
|
+
<h3 class="signature " id="onRightBtnRelease-instance_method">
|
1382
|
+
|
1383
|
+
#<strong>onRightBtnRelease</strong>(sender, sel, ev) ⇒ <tt>Object</tt>
|
1384
|
+
|
1385
|
+
|
1386
|
+
|
1387
|
+
|
1388
|
+
|
1389
|
+
</h3><div class="docstring">
|
1390
|
+
<div class="discussion">
|
1391
|
+
|
1392
|
+
<p>Handle right mouse button release</p>
|
1393
|
+
|
1394
|
+
|
1395
|
+
</div>
|
1396
|
+
</div>
|
1397
|
+
<div class="tags">
|
1398
|
+
|
1399
|
+
|
1400
|
+
</div><table class="source_code">
|
1401
|
+
<tr>
|
1402
|
+
<td>
|
1403
|
+
<pre class="lines">
|
1404
|
+
|
1405
|
+
|
1406
|
+
140
|
1407
|
+
141
|
1408
|
+
142
|
1409
|
+
143
|
1410
|
+
144
|
1411
|
+
145
|
1412
|
+
146
|
1413
|
+
147
|
1414
|
+
148
|
1415
|
+
149
|
1416
|
+
150
|
1417
|
+
151</pre>
|
1418
|
+
</td>
|
1419
|
+
<td>
|
1420
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/bitmapview.rb', line 140</span>
|
1421
|
+
|
1422
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_onRightBtnRelease'>onRightBtnRelease</span><span class='lparen'>(</span><span class='id identifier rubyid_sender'>sender</span><span class='comma'>,</span> <span class='id identifier rubyid_sel'>sel</span><span class='comma'>,</span> <span class='id identifier rubyid_ev'>ev</span><span class='rparen'>)</span>
|
1423
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_enabled?'>enabled?</span>
|
1424
|
+
<span class='id identifier rubyid_ungrab'>ungrab</span>
|
1425
|
+
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_flags'>flags</span> <span class='op'>&=</span> <span class='op'>~</span><span class='lparen'>(</span><span class='const'>FLAG_PRESSED</span><span class='op'>|</span><span class='const'>FLAG_SCROLLING</span><span class='rparen'>)</span>
|
1426
|
+
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_flags'>flags</span> <span class='op'>|=</span> <span class='const'>FLAG_UPDATE</span>
|
1427
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_target'>target</span> <span class='op'>&&</span> <span class='id identifier rubyid_target'>target</span><span class='period'>.</span><span class='id identifier rubyid_handle'>handle</span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='const'><span class='object_link'><a href="../Fox.html" title="Fox (module)">Fox</a></span></span><span class='period'>.</span><span class='const'>FXSEL</span><span class='lparen'>(</span><span class='const'>SEL_RIGHTBUTTONPRESS</span><span class='comma'>,</span> <span class='id identifier rubyid_message'>message</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='id identifier rubyid_ev'>ev</span><span class='rparen'>)</span> <span class='op'>!=</span> <span class='int'>0</span>
|
1428
|
+
<span class='kw'>return</span> <span class='int'>1</span>
|
1429
|
+
<span class='kw'>end</span>
|
1430
|
+
<span class='kw'>return</span> <span class='int'>1</span>
|
1431
|
+
<span class='kw'>end</span>
|
1432
|
+
<span class='kw'>return</span> <span class='int'>0</span>
|
1433
|
+
<span class='kw'>end</span></pre>
|
1434
|
+
</td>
|
1435
|
+
</tr>
|
1436
|
+
</table>
|
1437
|
+
</div>
|
1438
|
+
|
1439
|
+
</div>
|
1440
|
+
|
1441
|
+
</div>
|
1442
|
+
|
1443
|
+
<div id="footer">
|
1444
|
+
Generated on Fri Nov 27 21:11:14 2020 by
|
1445
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1446
|
+
0.9.24 (ruby-2.7.2).
|
1447
|
+
</div>
|
1448
|
+
|
1449
|
+
</div>
|
1450
|
+
</body>
|
1451
|
+
</html>
|