fxruby 1.6.22-x86-mingw32 → 1.6.23-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (203) hide show
  1. data/.gitignore +14 -0
  2. data/.yardopts +8 -0
  3. data/History.txt +6 -0
  4. data/Manifest.txt +317 -24
  5. data/README.git +3 -0
  6. data/README.rdoc +537 -0
  7. data/Rakefile +62 -46
  8. data/Rakefile.cross +397 -0
  9. data/doap.rdf +3 -3
  10. data/doap.rdf.erb +87 -0
  11. data/examples/WhatAQuietStiff.rb +356 -0
  12. data/examples/canvasdemo.rb +88 -0
  13. data/examples/gdchart.rb +76 -0
  14. data/examples/gembrowser.rb +289 -0
  15. data/examples/rmagick.rb +44 -0
  16. data/lib/1.8/fox16.so +0 -0
  17. data/lib/1.9/fox16.so +0 -0
  18. data/lib/fox16/canvas.rb +606 -0
  19. data/lib/fox16/irb.rb +1 -0
  20. data/lib/fox16/splashscreen.rb +1 -0
  21. data/lib/fox16/tkcompat.rb +56 -0
  22. data/lib/fox16/version.rb +1 -1
  23. data/rdoc-sources/FX4Splitter.rb +44 -44
  24. data/rdoc-sources/FX7Segment.rb +3 -3
  25. data/rdoc-sources/FXAccelTable.rb +1 -1
  26. data/rdoc-sources/FXApp.rb +51 -51
  27. data/rdoc-sources/FXArrowButton.rb +6 -6
  28. data/rdoc-sources/FXBMPIcon.rb +12 -12
  29. data/rdoc-sources/FXBMPImage.rb +6 -6
  30. data/rdoc-sources/FXBitmap.rb +9 -9
  31. data/rdoc-sources/FXBitmapFrame.rb +3 -3
  32. data/rdoc-sources/FXBitmapView.rb +12 -12
  33. data/rdoc-sources/FXButton.rb +5 -5
  34. data/rdoc-sources/FXCanvas.rb +4 -4
  35. data/rdoc-sources/FXCheckButton.rb +7 -7
  36. data/rdoc-sources/FXChoiceBox.rb +16 -16
  37. data/rdoc-sources/FXColorBar.rb +9 -9
  38. data/rdoc-sources/FXColorDialog.rb +4 -4
  39. data/rdoc-sources/FXColorList.rb +1 -1
  40. data/rdoc-sources/FXColorRing.rb +4 -4
  41. data/rdoc-sources/FXColorSelector.rb +38 -38
  42. data/rdoc-sources/FXColorWell.rb +15 -15
  43. data/rdoc-sources/FXColorWheel.rb +8 -8
  44. data/rdoc-sources/FXComboBox.rb +24 -24
  45. data/rdoc-sources/FXCursor.rb +12 -12
  46. data/rdoc-sources/FXDC.rb +176 -176
  47. data/rdoc-sources/FXDCPrint.rb +20 -20
  48. data/rdoc-sources/FXDCWindow.rb +2 -2
  49. data/rdoc-sources/FXDataTarget.rb +1 -1
  50. data/rdoc-sources/FXDebugTarget.rb +1 -1
  51. data/rdoc-sources/FXDelegator.rb +2 -2
  52. data/rdoc-sources/FXDial.rb +9 -9
  53. data/rdoc-sources/FXDialogBox.rb +3 -3
  54. data/rdoc-sources/FXDict.rb +2 -3
  55. data/rdoc-sources/FXDirBox.rb +2 -2
  56. data/rdoc-sources/FXDirList.rb +14 -14
  57. data/rdoc-sources/FXDirSelector.rb +14 -14
  58. data/rdoc-sources/FXDockBar.rb +35 -35
  59. data/rdoc-sources/FXDockHandler.rb +2 -2
  60. data/rdoc-sources/FXDockSite.rb +11 -11
  61. data/rdoc-sources/FXDockTitle.rb +2 -2
  62. data/rdoc-sources/FXDocument.rb +2 -2
  63. data/rdoc-sources/FXDragCorner.rb +2 -2
  64. data/rdoc-sources/FXDrawable.rb +5 -5
  65. data/rdoc-sources/FXDriveBox.rb +3 -3
  66. data/rdoc-sources/FXFileDialog.rb +24 -24
  67. data/rdoc-sources/FXFileDict.rb +11 -11
  68. data/rdoc-sources/FXFileList.rb +25 -25
  69. data/rdoc-sources/FXFileSelector.rb +31 -31
  70. data/rdoc-sources/FXFileStream.rb +3 -3
  71. data/rdoc-sources/FXFoldingList.rb +76 -76
  72. data/rdoc-sources/FXFont.rb +133 -133
  73. data/rdoc-sources/FXFontDialog.rb +1 -1
  74. data/rdoc-sources/FXFontSelector.rb +14 -14
  75. data/rdoc-sources/FXFrame.rb +5 -5
  76. data/rdoc-sources/FXGIFCursor.rb +6 -6
  77. data/rdoc-sources/FXGIFIcon.rb +6 -6
  78. data/rdoc-sources/FXGIFImage.rb +5 -5
  79. data/rdoc-sources/FXGLContext.rb +1 -1
  80. data/rdoc-sources/FXGLObject.rb +8 -8
  81. data/rdoc-sources/FXGLShape.rb +23 -23
  82. data/rdoc-sources/FXGLViewer.rb +51 -51
  83. data/rdoc-sources/FXGLVisual.rb +1 -0
  84. data/rdoc-sources/FXGradientBar.rb +31 -31
  85. data/rdoc-sources/FXGroupBox.rb +6 -6
  86. data/rdoc-sources/FXHeader.rb +30 -33
  87. data/rdoc-sources/FXHorizontalFrame.rb +12 -12
  88. data/rdoc-sources/FXICOIcon.rb +14 -14
  89. data/rdoc-sources/FXICOImage.rb +5 -5
  90. data/rdoc-sources/FXIcon.rb +7 -7
  91. data/rdoc-sources/FXIconDict.rb +1 -0
  92. data/rdoc-sources/FXIconList.rb +60 -60
  93. data/rdoc-sources/FXId.rb +1 -1
  94. data/rdoc-sources/FXImage.rb +49 -49
  95. data/rdoc-sources/FXImageFrame.rb +12 -12
  96. data/rdoc-sources/FXImageView.rb +10 -10
  97. data/rdoc-sources/FXInputDialog.rb +4 -4
  98. data/rdoc-sources/FXJPGIcon.rb +13 -13
  99. data/rdoc-sources/FXJPGImage.rb +5 -5
  100. data/rdoc-sources/FXKnob.rb +12 -12
  101. data/rdoc-sources/FXLabel.rb +3 -3
  102. data/rdoc-sources/FXList.rb +31 -31
  103. data/rdoc-sources/FXListBox.rb +7 -7
  104. data/rdoc-sources/FXMDIChild.rb +24 -24
  105. data/rdoc-sources/FXMDIClient.rb +1 -1
  106. data/rdoc-sources/FXMatrix.rb +2 -2
  107. data/rdoc-sources/FXMemoryBuffer.rb +1 -1
  108. data/rdoc-sources/FXMemoryStream.rb +1 -1
  109. data/rdoc-sources/FXMenuButton.rb +20 -19
  110. data/rdoc-sources/FXMenuCaption.rb +9 -9
  111. data/rdoc-sources/FXMenuCascade.rb +1 -1
  112. data/rdoc-sources/FXMenuCheck.rb +2 -2
  113. data/rdoc-sources/FXMenuCommand.rb +1 -1
  114. data/rdoc-sources/FXMenuRadio.rb +2 -2
  115. data/rdoc-sources/FXMenuSeparator.rb +2 -2
  116. data/rdoc-sources/FXMenuTitle.rb +5 -5
  117. data/rdoc-sources/FXMessageBox.rb +16 -16
  118. data/rdoc-sources/FXOptionMenu.rb +14 -14
  119. data/rdoc-sources/FXPCXIcon.rb +12 -12
  120. data/rdoc-sources/FXPCXImage.rb +5 -5
  121. data/rdoc-sources/FXPNGIcon.rb +12 -12
  122. data/rdoc-sources/FXPNGImage.rb +5 -5
  123. data/rdoc-sources/FXPPMIcon.rb +6 -6
  124. data/rdoc-sources/FXPPMImage.rb +5 -5
  125. data/rdoc-sources/FXPacker.rb +4 -4
  126. data/rdoc-sources/FXPopup.rb +5 -5
  127. data/rdoc-sources/FXPrintDialog.rb +21 -21
  128. data/rdoc-sources/FXProgressBar.rb +10 -10
  129. data/rdoc-sources/FXProgressDialog.rb +3 -3
  130. data/rdoc-sources/FXQuatd.rb +19 -19
  131. data/rdoc-sources/FXQuatf.rb +23 -23
  132. data/rdoc-sources/FXRGBIcon.rb +13 -13
  133. data/rdoc-sources/FXRGBImage.rb +5 -5
  134. data/rdoc-sources/FXRadioButton.rb +10 -10
  135. data/rdoc-sources/FXRanged.rb +2 -2
  136. data/rdoc-sources/FXRangef.rb +2 -2
  137. data/rdoc-sources/FXRealSlider.rb +33 -33
  138. data/rdoc-sources/FXRealSpinner.rb +31 -31
  139. data/rdoc-sources/FXRecentFiles.rb +14 -14
  140. data/rdoc-sources/FXRectangle.rb +22 -22
  141. data/rdoc-sources/FXRegistry.rb +3 -3
  142. data/rdoc-sources/FXReplaceDialog.rb +20 -20
  143. data/rdoc-sources/FXRootWindow.rb +2 -2
  144. data/rdoc-sources/FXRuler.rb +28 -28
  145. data/rdoc-sources/FXRulerView.rb +5 -5
  146. data/rdoc-sources/FXScrollArea.rb +27 -27
  147. data/rdoc-sources/FXScrollBar.rb +26 -26
  148. data/rdoc-sources/FXScrollPane.rb +3 -3
  149. data/rdoc-sources/FXScrollWindow.rb +6 -6
  150. data/rdoc-sources/FXSearchDialog.rb +8 -8
  151. data/rdoc-sources/FXSeparator.rb +24 -24
  152. data/rdoc-sources/FXSettings.rb +44 -44
  153. data/rdoc-sources/FXShutter.rb +35 -35
  154. data/rdoc-sources/FXSize.rb +14 -14
  155. data/rdoc-sources/FXSlider.rb +33 -33
  156. data/rdoc-sources/FXSphered.rb +2 -2
  157. data/rdoc-sources/FXSpheref.rb +2 -2
  158. data/rdoc-sources/FXSpinner.rb +30 -30
  159. data/rdoc-sources/FXSplashWindow.rb +5 -5
  160. data/rdoc-sources/FXSplitter.rb +18 -18
  161. data/rdoc-sources/FXSpring.rb +15 -15
  162. data/rdoc-sources/FXStatusBar.rb +14 -14
  163. data/rdoc-sources/FXStatusLine.rb +7 -7
  164. data/rdoc-sources/FXStream.rb +20 -20
  165. data/rdoc-sources/FXSwitcher.rb +23 -23
  166. data/rdoc-sources/FXTGAIcon.rb +12 -12
  167. data/rdoc-sources/FXTGAImage.rb +5 -5
  168. data/rdoc-sources/FXTIFIcon.rb +13 -13
  169. data/rdoc-sources/FXTIFImage.rb +5 -5
  170. data/rdoc-sources/FXTabBar.rb +31 -31
  171. data/rdoc-sources/FXTabBook.rb +13 -13
  172. data/rdoc-sources/FXTabItem.rb +22 -22
  173. data/rdoc-sources/FXTable.rb +148 -148
  174. data/rdoc-sources/FXText.rb +91 -91
  175. data/rdoc-sources/FXTextField.rb +39 -39
  176. data/rdoc-sources/FXToggleButton.rb +32 -32
  177. data/rdoc-sources/FXToolBar.rb +25 -25
  178. data/rdoc-sources/FXToolBarGrip.rb +12 -12
  179. data/rdoc-sources/FXToolBarShell.rb +13 -13
  180. data/rdoc-sources/FXToolBarTab.rb +16 -16
  181. data/rdoc-sources/FXTopWindow.rb +18 -18
  182. data/rdoc-sources/FXTranslator.rb +1 -1
  183. data/rdoc-sources/FXTreeList.rb +66 -66
  184. data/rdoc-sources/FXTreeListBox.rb +20 -20
  185. data/rdoc-sources/FXTriStateButton.rb +23 -23
  186. data/rdoc-sources/FXVec2d.rb +1 -1
  187. data/rdoc-sources/FXVec2f.rb +1 -1
  188. data/rdoc-sources/FXVec3d.rb +1 -1
  189. data/rdoc-sources/FXVec3f.rb +1 -1
  190. data/rdoc-sources/FXVec4d.rb +1 -1
  191. data/rdoc-sources/FXVec4f.rb +1 -1
  192. data/rdoc-sources/FXVerticalFrame.rb +12 -12
  193. data/rdoc-sources/FXVisual.rb +19 -19
  194. data/rdoc-sources/FXWindow.rb +96 -96
  195. data/rdoc-sources/FXWizard.rb +9 -9
  196. data/rdoc-sources/FXXBMIcon.rb +7 -7
  197. data/rdoc-sources/FXXBMImage.rb +6 -6
  198. data/rdoc-sources/FXXPMIcon.rb +13 -13
  199. data/rdoc-sources/FXXPMImage.rb +5 -5
  200. data/rdoc-sources/Makefile +3 -3
  201. metadata +44 -31
  202. data/README +0 -39
  203. data/README.txt +0 -483
@@ -12,30 +12,30 @@ module Fox
12
12
  #
13
13
  # The following messages are sent from FXColorWell to its target:
14
14
  #
15
- # +SEL_COMMAND+:: sent when a new color is applied; the message data is the color value.
16
- # +SEL_CHANGED+:: sent when the color changes; the message data is the color value.
17
- # +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
18
- # +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
19
- # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
20
- # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
21
- # +SEL_MIDDLEBUTTONPRESS+:: sent when the middle mouse button goes down; the message data is an FXEvent instance.
22
- # +SEL_MIDDLEBUTTONRELEASE+:: sent when the middle mouse button goes up; the message data is an FXEvent instance.
23
- # +SEL_CLICKED+:: sent when the color well is single-clicked; the message data is the color value.
24
- # +SEL_DOUBLECLICKED+:: sent when the color well is double-clicked; the message data is the color value.
15
+ # +SEL_COMMAND+:: sent when a new color is applied; the message data is the color value.
16
+ # +SEL_CHANGED+:: sent when the color changes; the message data is the color value.
17
+ # +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
18
+ # +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
19
+ # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
20
+ # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
21
+ # +SEL_MIDDLEBUTTONPRESS+:: sent when the middle mouse button goes down; the message data is an FXEvent instance.
22
+ # +SEL_MIDDLEBUTTONRELEASE+:: sent when the middle mouse button goes up; the message data is an FXEvent instance.
23
+ # +SEL_CLICKED+:: sent when the color well is single-clicked; the message data is the color value.
24
+ # +SEL_DOUBLECLICKED+:: sent when the color well is double-clicked; the message data is the color value.
25
25
  #
26
26
  # === Color Well Styles
27
27
  #
28
- # +COLORWELL_OPAQUEONLY+:: Colors must be opaque
29
- # +COLORWELL_SOURCEONLY+:: This color well is never a target
30
- # +COLORWELL_NORMAL+:: Same as +JUSTIFY_NORMAL+
28
+ # +COLORWELL_OPAQUEONLY+:: Colors must be opaque
29
+ # +COLORWELL_SOURCEONLY+:: This color well is never a target
30
+ # +COLORWELL_NORMAL+:: Same as +JUSTIFY_NORMAL+
31
31
  #
32
32
  # === Message identifiers
33
33
  #
34
- # +ID_COLORDIALOG+:: x
34
+ # +ID_COLORDIALOG+:: x
35
35
 
36
36
  class FXColorWell < FXFrame
37
37
 
38
- # The color [FXColor]
38
+ # The color {FXColor}
39
39
  attr_accessor :rgba
40
40
 
41
41
  # Status line help text [String]
@@ -8,10 +8,10 @@ module Fox
8
8
  #
9
9
  # The following messages are sent by FXColorWheel to its target:
10
10
  #
11
- # +SEL_CHANGED+:: sent continuously, while the color is changing; the message data is a 3-element array of floats containing the hue, saturation and value.
12
- # +SEL_COMMAND+:: sent when the new color is set; the message data is a 3-element array of floats containing the hue, saturation and value.
13
- # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
14
- # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
11
+ # +SEL_CHANGED+:: sent continuously, while the color is changing; the message data is a 3-element array of floats containing the hue, saturation and value.
12
+ # +SEL_COMMAND+:: sent when the new color is set; the message data is a 3-element array of floats containing the hue, saturation and value.
13
+ # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
14
+ # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
15
15
  #
16
16
  class FXColorWheel < FXFrame
17
17
 
@@ -35,10 +35,10 @@ module Fox
35
35
  #
36
36
  # ==== Parameters:
37
37
  #
38
- # +p+:: Parent widget [FXComposite]
39
- # +target+:: Message target object [FXObject]
40
- # +selector+:: Message identifier [Integer]
41
- # +opts+:: Options [Integer]
38
+ # +p+:: Parent widget {FXComposite}
39
+ # +target+:: Message target object {FXObject}
40
+ # +selector+:: Message identifier [Integer]
41
+ # +opts+:: Options [Integer]
42
42
  # +x+::
43
43
  # +y+::
44
44
  # +width+::
@@ -18,8 +18,8 @@ module Fox
18
18
  #
19
19
  # The following messages are sent by FXComboBox to its target:
20
20
  #
21
- # +SEL_CHANGED+:: sent when the text in the text field changes; the message data is a String containing the new text.
22
- # +SEL_COMMAND+:: sent when a new item is selected from the list, or when a command message is sent from the text field; the message data is a String containing the new text.
21
+ # +SEL_CHANGED+:: sent when the text in the text field changes; the message data is a String containing the new text.
22
+ # +SEL_COMMAND+:: sent when a new item is selected from the list, or when a command message is sent from the text field; the message data is a String containing the new text.
23
23
  #
24
24
  # === ComboBox styles
25
25
  #
@@ -34,13 +34,13 @@ module Fox
34
34
  #
35
35
  # === Message identifiers
36
36
  #
37
- # +ID_LIST+:: identifier associated with the embedded FXList instance
38
- # +ID_TEXT+:: identifier associated with the embedded FXTextField instance
37
+ # +ID_LIST+:: identifier associated with the embedded FXList instance
38
+ # +ID_TEXT+:: identifier associated with the embedded FXTextField instance
39
39
  #
40
40
  class FXComboBox < FXPacker
41
41
 
42
42
  # Editable state [Boolean]
43
- attr_writer :editable
43
+ attr_writer :editable
44
44
 
45
45
  # Text [String]
46
46
  attr_accessor :text
@@ -52,7 +52,7 @@ module Fox
52
52
  attr_accessor :justify
53
53
 
54
54
  # Number of items in the list [Integer]
55
- attr_reader :numItems
55
+ attr_reader :numItems
56
56
 
57
57
  # Number of visible items in the drop-down list [Integer]
58
58
  attr_accessor :numVisible
@@ -60,22 +60,22 @@ module Fox
60
60
  # Index of current item, or -1 if no current item [Integer]
61
61
  attr_accessor :currentItem
62
62
 
63
- # Text font [FXFont]
63
+ # Text font {FXFont}
64
64
  attr_accessor :font
65
65
 
66
66
  # Combo box style [Integer]
67
67
  attr_accessor :comboStyle
68
68
 
69
- # Window background color [FXColor]
69
+ # Window background color {FXColor}
70
70
  attr_accessor :backColor
71
71
 
72
- # Text color [FXColor]
72
+ # Text color {FXColor}
73
73
  attr_accessor :textColor
74
74
 
75
- # Background color for selected items [FXColor]
75
+ # Background color for selected items {FXColor}
76
76
  attr_accessor :selBackColor
77
77
 
78
- # Text color for selected items [FXColor]
78
+ # Text color for selected items {FXColor}
79
79
  attr_accessor :selTextColor
80
80
 
81
81
  # Status line help text [String]
@@ -89,19 +89,19 @@ module Fox
89
89
  #
90
90
  # ==== Parameters:
91
91
  #
92
- # +p+:: the parent widget for this combo-box [FXComposite]
93
- # +cols+:: number of columns [Integer]
94
- # +target+:: message target [FXObject]
95
- # +selector+:: message identifier [Integer]
96
- # +opts+:: the options [Integer]
97
- # +x+:: initial x-position [Integer]
98
- # +y+:: initial y-position [Integer]
99
- # +width+:: initial width [Integer]
100
- # +height+:: initial height [Integer]
101
- # +padLeft+:: left-side padding, in pixels [Integer]
102
- # +padRight+:: right-side padding, in pixels [Integer]
103
- # +padTop+:: top-side padding, in pixels [Integer]
104
- # +padBottom+:: bottom-side padding, in pixels [Integer]
92
+ # +p+:: the parent widget for this combo-box {FXComposite}
93
+ # +cols+:: number of columns [Integer]
94
+ # +target+:: message target {FXObject}
95
+ # +selector+:: message identifier [Integer]
96
+ # +opts+:: the options [Integer]
97
+ # +x+:: initial x-position [Integer]
98
+ # +y+:: initial y-position [Integer]
99
+ # +width+:: initial width [Integer]
100
+ # +height+:: initial height [Integer]
101
+ # +padLeft+:: left-side padding, in pixels [Integer]
102
+ # +padRight+:: right-side padding, in pixels [Integer]
103
+ # +padTop+:: top-side padding, in pixels [Integer]
104
+ # +padBottom+:: bottom-side padding, in pixels [Integer]
105
105
  #
106
106
  def initialize(p, cols, target=nil, selector=0, opts=COMBOBOX_NORMAL, x=0, y=0, width=0, height=0, padLeft=DEFAULT_PAD, padRight=DEFAULT_PAD, padTop=DEFAULT_PAD, padBottom=DEFAULT_PAD) # :yields: theComboBox
107
107
  end
@@ -4,27 +4,27 @@ module Fox
4
4
  #
5
5
  # === Stock cursors
6
6
  #
7
- # +CURSOR_ARROW+:: Default left pointing arrow
8
- # +CURSOR_RARROW+:: Right arrow
9
- # +CURSOR_IBEAM+:: Text I-Beam
10
- # +CURSOR_WATCH+:: Stopwatch or hourglass
11
- # +CURSOR_CROSS+:: Crosshair
12
- # +CURSOR_UPDOWN+:: Move up, down
13
- # +CURSOR_LEFTRIGHT+:: Move left, right
14
- # +CURSOR_MOVE+:: Move up, down, left, right
7
+ # +CURSOR_ARROW+:: Default left pointing arrow
8
+ # +CURSOR_RARROW+:: Right arrow
9
+ # +CURSOR_IBEAM+:: Text I-Beam
10
+ # +CURSOR_WATCH+:: Stopwatch or hourglass
11
+ # +CURSOR_CROSS+:: Crosshair
12
+ # +CURSOR_UPDOWN+:: Move up, down
13
+ # +CURSOR_LEFTRIGHT+:: Move left, right
14
+ # +CURSOR_MOVE+:: Move up, down, left, right
15
15
  #
16
16
  # === Cursor options
17
17
  #
18
- # +CURSOR_KEEP+:: Keep pixel data in client
19
- # +CURSOR_OWNED+:: Pixel data is owned by cursor
18
+ # +CURSOR_KEEP+:: Keep pixel data in client
19
+ # +CURSOR_OWNED+:: Pixel data is owned by cursor
20
20
  #
21
21
  class FXCursor < FXId
22
22
 
23
23
  # Width of cursor, in pixels (returns zero for stock cursors) [Integer]
24
- attr_reader :width
24
+ attr_reader :width
25
25
 
26
26
  # Height of cursor, in pixels (returns zero for stock cursors) [Integer]
27
- attr_reader :height
27
+ attr_reader :height
28
28
 
29
29
  # Hotspot x-coordinate (returns zero for stock cursors) [Integer]
30
30
  attr_accessor :hotX
data/rdoc-sources/FXDC.rb CHANGED
@@ -99,53 +99,53 @@ module Fox
99
99
  #
100
100
  # === Stipple/dither patterns
101
101
  #
102
- # <tt>STIPPLE_0</tt>:: Stipple pattern 0
103
- # <tt>STIPPLE_NONE</tt>:: Stipple pattern 0
104
- # <tt>STIPPLE_BLACK</tt>:: All ones
105
- # <tt>STIPPLE_1</tt>:: Stipple pattern 1
106
- # <tt>STIPPLE_2</tt>:: Stipple pattern 2
107
- # <tt>STIPPLE_3</tt>:: Stipple pattern 3
108
- # <tt>STIPPLE_4</tt>:: Stipple pattern 4
109
- # <tt>STIPPLE_5</tt>:: Stipple pattern 5
110
- # <tt>STIPPLE_6</tt>:: Stipple pattern 6
111
- # <tt>STIPPLE_7</tt>:: Stipple pattern 7
112
- # <tt>STIPPLE_8</tt>:: Stipple pattern 8
113
- # <tt>STIPPLE_GRAY</tt>:: 50% gray
114
- # <tt>STIPPLE_9</tt>:: Stipple pattern 9
115
- # <tt>STIPPLE_10</tt>:: Stipple pattern 10
116
- # <tt>STIPPLE_11</tt>:: Stipple pattern 11
117
- # <tt>STIPPLE_12</tt>:: Stipple pattern 12
118
- # <tt>STIPPLE_13</tt>:: Stipple pattern 13
119
- # <tt>STIPPLE_14</tt>:: Stipple pattern 14
120
- # <tt>STIPPLE_15</tt>:: Stipple pattern 15
121
- # <tt>STIPPLE_16</tt>:: Stipple pattern 16
122
- # <tt>STIPPLE_WHITE</tt>:: All zeroes
123
- # <tt>STIPPLE_HORZ</tt>:: Horizontal hatch pattern
124
- # <tt>STIPPLE_VERT</tt>:: Vertical hatch pattern
125
- # <tt>STIPPLE_CROSS</tt>:: Cross-hatch pattern
126
- # <tt>STIPPLE_DIAG</tt>:: Diagonal // hatch pattern
127
- # <tt>STIPPLE_REVDIAG</tt>:: Reverse diagonal \\ hatch pattern
128
- # <tt>STIPPLE_CROSSDIAG</tt>:: Cross-diagonal hatch pattern
102
+ # <tt>STIPPLE_0</tt>:: Stipple pattern 0
103
+ # <tt>STIPPLE_NONE</tt>:: Stipple pattern 0
104
+ # <tt>STIPPLE_BLACK</tt>:: All ones
105
+ # <tt>STIPPLE_1</tt>:: Stipple pattern 1
106
+ # <tt>STIPPLE_2</tt>:: Stipple pattern 2
107
+ # <tt>STIPPLE_3</tt>:: Stipple pattern 3
108
+ # <tt>STIPPLE_4</tt>:: Stipple pattern 4
109
+ # <tt>STIPPLE_5</tt>:: Stipple pattern 5
110
+ # <tt>STIPPLE_6</tt>:: Stipple pattern 6
111
+ # <tt>STIPPLE_7</tt>:: Stipple pattern 7
112
+ # <tt>STIPPLE_8</tt>:: Stipple pattern 8
113
+ # <tt>STIPPLE_GRAY</tt>:: 50% gray
114
+ # <tt>STIPPLE_9</tt>:: Stipple pattern 9
115
+ # <tt>STIPPLE_10</tt>:: Stipple pattern 10
116
+ # <tt>STIPPLE_11</tt>:: Stipple pattern 11
117
+ # <tt>STIPPLE_12</tt>:: Stipple pattern 12
118
+ # <tt>STIPPLE_13</tt>:: Stipple pattern 13
119
+ # <tt>STIPPLE_14</tt>:: Stipple pattern 14
120
+ # <tt>STIPPLE_15</tt>:: Stipple pattern 15
121
+ # <tt>STIPPLE_16</tt>:: Stipple pattern 16
122
+ # <tt>STIPPLE_WHITE</tt>:: All zeroes
123
+ # <tt>STIPPLE_HORZ</tt>:: Horizontal hatch pattern
124
+ # <tt>STIPPLE_VERT</tt>:: Vertical hatch pattern
125
+ # <tt>STIPPLE_CROSS</tt>:: Cross-hatch pattern
126
+ # <tt>STIPPLE_DIAG</tt>:: Diagonal // hatch pattern
127
+ # <tt>STIPPLE_REVDIAG</tt>:: Reverse diagonal \\ hatch pattern
128
+ # <tt>STIPPLE_CROSSDIAG</tt>:: Cross-diagonal hatch pattern
129
129
 
130
130
  class FXDC
131
131
 
132
- # Application [FXApp]
133
- attr_reader :app
132
+ # Application {FXApp}
133
+ attr_reader :app
134
134
 
135
- # Foreground drawing color [FXColor]
135
+ # Foreground drawing color {FXColor}
136
136
  attr_accessor :foreground
137
137
 
138
- # Background drawing color [FXColor]
138
+ # Background drawing color {FXColor}
139
139
  attr_accessor :background
140
140
 
141
141
  # Dash pattern [String]
142
- attr_reader :dashPattern
142
+ attr_reader :dashPattern
143
143
 
144
144
  # Dash offset [Integer]
145
- attr_reader :dashOffset
145
+ attr_reader :dashOffset
146
146
 
147
147
  # Dash length [Integer]
148
- attr_reader :dashLength
148
+ attr_reader :dashLength
149
149
 
150
150
  # Line width; a line width of zero means thinnest and fastest possible [Integer]
151
151
  attr_accessor :lineWidth
@@ -168,31 +168,31 @@ module Fox
168
168
  # Raster op function, one of +BLT_CLR+, +BLT_SRC+, +BLT_DST+, etc. (see list above) [Integer]
169
169
  attr_accessor :function
170
170
 
171
- # Tile image [FXImage]
171
+ # Tile image {FXImage}
172
172
  attr_accessor :tile
173
173
 
174
174
  # Stipple pattern [FXBitmap or Integer]
175
175
  attr_accessor :stipple
176
176
 
177
- # Clip region [FXRegion]
178
- attr_writer :clipRegion
177
+ # Clip region {FXRegion}
178
+ attr_writer :clipRegion
179
179
 
180
- # Clip rectangle [FXRectangle]
181
- attr_reader :clipRectangle
180
+ # Clip rectangle {FXRectangle}
181
+ attr_reader :clipRectangle
182
182
 
183
183
  # X-coordinate of clip rectangle [Integer]
184
- attr_reader :clipX
184
+ attr_reader :clipX
185
185
 
186
186
  # Y-coordinate of clip rectangle [Integer]
187
- attr_reader :clipY
187
+ attr_reader :clipY
188
188
 
189
189
  # Width of clip rectangle, in pixels [Integer]
190
- attr_reader :clipWidth
190
+ attr_reader :clipWidth
191
191
 
192
192
  # Height of clip rectangle, in pixels [Integer]
193
- attr_reader :clipHeight
193
+ attr_reader :clipHeight
194
194
 
195
- # Font to draw text with [FXFont]
195
+ # Font to draw text with {FXFont}
196
196
  attr_accessor :font
197
197
 
198
198
  # Construct dummy DC
@@ -203,8 +203,8 @@ module Fox
203
203
  #
204
204
  # ==== Parameters:
205
205
  #
206
- # +x+:: x-coordinate of the pixel of interest [Integer]
207
- # +y+:: y-coordinate of the pixel of interest [Integer]
206
+ # +x+:: x-coordinate of the pixel of interest [Integer]
207
+ # +y+:: y-coordinate of the pixel of interest [Integer]
208
208
  #
209
209
  def readPixel(x, y) ; end
210
210
 
@@ -213,10 +213,10 @@ module Fox
213
213
  #
214
214
  # ==== Parameters:
215
215
  #
216
- # +x+:: x-coordinate of the point [Integer]
217
- # +y+:: y-coordinate of the point [Integer]
216
+ # +x+:: x-coordinate of the point [Integer]
217
+ # +y+:: y-coordinate of the point [Integer]
218
218
  #
219
- # See also #drawPoints and #drawPointsRel.
219
+ # See also {#drawPoints} and {#drawPointsRel}.
220
220
  #
221
221
  def drawPoint(x, y) ; end
222
222
 
@@ -225,23 +225,23 @@ module Fox
225
225
  #
226
226
  # ==== Parameters:
227
227
  #
228
- # +points+:: array of FXPoint instances [Array]
228
+ # +points+:: array of FXPoint instances [Array]
229
229
  #
230
- # See also #drawPoint and #drawPointsRel.
230
+ # See also {#drawPoint} and {#drawPointsRel}.
231
231
  #
232
232
  def drawPoints(points) ; end
233
233
 
234
234
  #
235
235
  # Draw multiple points, where _points_ is an array of FXPoint instances.
236
- # Unlike #drawPoints, where each of the points is drawn relative to the
237
- # origin, #drawPointsRel treats all coordinates after the first as relative
236
+ # Unlike {#drawPoints}, where each of the points is drawn relative to the
237
+ # origin, {#drawPointsRel} treats all coordinates after the first as relative
238
238
  # to the previous point.
239
239
  #
240
240
  # ==== Parameters:
241
241
  #
242
- # +points+:: array of FXPoint instances [Array]
242
+ # +points+:: array of FXPoint instances [Array]
243
243
  #
244
- # See also #drawPoint and #drawPoints.
244
+ # See also {#drawPoint} and {#drawPoints}.
245
245
  #
246
246
  def drawPointsRel(points) ; end
247
247
 
@@ -250,12 +250,12 @@ module Fox
250
250
  #
251
251
  # ==== Parameters:
252
252
  #
253
- # <tt>x1</tt>:: x-coordinate of the starting point [Integer]
254
- # <tt>y1</tt>:: y-coordinate of the starting point [Integer]
255
- # <tt>x2</tt>:: x-coordinate of the ending point [Integer]
256
- # <tt>y2</tt>:: y-coordinate of the ending point [Integer]
253
+ # <tt>x1</tt>:: x-coordinate of the starting point [Integer]
254
+ # <tt>y1</tt>:: y-coordinate of the starting point [Integer]
255
+ # <tt>x2</tt>:: x-coordinate of the ending point [Integer]
256
+ # <tt>y2</tt>:: y-coordinate of the ending point [Integer]
257
257
  #
258
- # See also #drawLines and #drawLinesRel.
258
+ # See also {#drawLines} and {#drawLinesRel}.
259
259
  #
260
260
  def drawLine(x1, y1, x2, y2) ; end
261
261
 
@@ -267,9 +267,9 @@ module Fox
267
267
  #
268
268
  # ==== Parameters:
269
269
  #
270
- # +points+:: array of FXPoint instances that defines all points on the line [Array]
270
+ # +points+:: array of FXPoint instances that defines all points on the line [Array]
271
271
  #
272
- # See also #drawLine and #drawLinesRel.
272
+ # See also {#drawLine} and {#drawLinesRel}.
273
273
  #
274
274
  def drawLines(points) ; end
275
275
 
@@ -282,9 +282,9 @@ module Fox
282
282
  #
283
283
  # ==== Parameters:
284
284
  #
285
- # +points+:: array of FXPoint instances that defines all points on the line [Array]
285
+ # +points+:: array of FXPoint instances that defines all points on the line [Array]
286
286
  #
287
- # See also #drawLine and #drawLines.
287
+ # See also {#drawLine} and {#drawLines}.
288
288
  #
289
289
  def drawLinesRel(points) ; end
290
290
 
@@ -294,7 +294,7 @@ module Fox
294
294
  #
295
295
  # === Parameters:
296
296
  #
297
- # +segments+:: an array of FXSegment instances [Array]
297
+ # +segments+:: an array of FXSegment instances [Array]
298
298
  #
299
299
  def drawLineSegments(segments) ; end
300
300
 
@@ -303,12 +303,12 @@ module Fox
303
303
  #
304
304
  # === Parameters:
305
305
  #
306
- # +x+:: x-coordinate of upper-left corner of the rectangle [Integer]
307
- # +y+:: y-coordinate of upper-left corner of the rectangle [Integer]
308
- # +width+:: width of the rectangle, in pixels [Integer]
309
- # +height+:: height of the rectangle, in pixels [Integer]
306
+ # +x+:: x-coordinate of upper-left corner of the rectangle [Integer]
307
+ # +y+:: y-coordinate of upper-left corner of the rectangle [Integer]
308
+ # +width+:: width of the rectangle, in pixels [Integer]
309
+ # +height+:: height of the rectangle, in pixels [Integer]
310
310
  #
311
- # See also #drawRectangles, #fillRectangle and #fillRectangles.
311
+ # See also {#drawRectangles}, {#fillRectangle} and {#fillRectangles}.
312
312
  #
313
313
  def drawRectangle(x, y, w, h) ; end
314
314
 
@@ -317,9 +317,9 @@ module Fox
317
317
  #
318
318
  # === Parameters:
319
319
  #
320
- # +rectangles+:: an array of FXRectangle instances [Array]
320
+ # +rectangles+:: an array of FXRectangle instances [Array]
321
321
  #
322
- # See also #drawRectangle, #fillRectangle and #fillRectangles.
322
+ # See also {#drawRectangle}, {#fillRectangle} and {#fillRectangles}.
323
323
  #
324
324
  def drawRectangles(rectangles) ; end
325
325
 
@@ -328,10 +328,10 @@ module Fox
328
328
  #
329
329
  # === Parameters:
330
330
  #
331
- # <tt>x</tt>:: x-coordinate of the upper left corner of the bounding rectangle [Integer]
332
- # <tt>y</tt>:: y-coordinate of the upper left corner of the bounding rectangle [Integer]
333
- # <tt>w</tt>:: width of the bounding rectangle, in pixels [Integer]
334
- # <tt>h</tt>:: height of the bounding rectangle, in pixels [Integer]
331
+ # <tt>x</tt>:: x-coordinate of the upper left corner of the bounding rectangle [Integer]
332
+ # <tt>y</tt>:: y-coordinate of the upper left corner of the bounding rectangle [Integer]
333
+ # <tt>w</tt>:: width of the bounding rectangle, in pixels [Integer]
334
+ # <tt>h</tt>:: height of the bounding rectangle, in pixels [Integer]
335
335
  #
336
336
  def drawRoundRectangle(x, y, w, h, ew, eh); end
337
337
 
@@ -346,14 +346,14 @@ module Fox
346
346
  #
347
347
  # === Parameters:
348
348
  #
349
- # <tt>x</tt>:: x-coordinate of the upper left corner of the bounding rectangle [Integer]
350
- # <tt>y</tt>:: y-coordinate of the upper left corner of the bounding rectangle [Integer]
351
- # <tt>w</tt>:: width of the bounding rectangle, in pixels [Integer]
352
- # <tt>h</tt>:: height of the bounding rectangle, in pixels [Integer]
353
- # <tt>start</tt>:: starting angle of the arc, in 64ths of a degree [Integer]
354
- # <tt>extent</tt>:: the path and extent of the arc, relative to the start of the arc (in 64ths of a degree) [Integer]
349
+ # <tt>x</tt>:: x-coordinate of the upper left corner of the bounding rectangle [Integer]
350
+ # <tt>y</tt>:: y-coordinate of the upper left corner of the bounding rectangle [Integer]
351
+ # <tt>w</tt>:: width of the bounding rectangle, in pixels [Integer]
352
+ # <tt>h</tt>:: height of the bounding rectangle, in pixels [Integer]
353
+ # <tt>start</tt>:: starting angle of the arc, in 64ths of a degree [Integer]
354
+ # <tt>extent</tt>:: the path and extent of the arc, relative to the start of the arc (in 64ths of a degree) [Integer]
355
355
  #
356
- # See also #drawArcs, #fillArc and #fillArcs.
356
+ # See also {#drawArcs}, {#fillArc} and {#fillArcs}.
357
357
  #
358
358
  def drawArc(x, y, w, h, start, extent) ; end
359
359
 
@@ -362,9 +362,9 @@ module Fox
362
362
  #
363
363
  # === Parameters:
364
364
  #
365
- # +arcs+:: an array of FXArc instances [Array]
365
+ # +arcs+:: an array of FXArc instances [Array]
366
366
  #
367
- # See also #drawArc, #fillArc and #fillArcs.
367
+ # See also {#drawArc}, {#fillArc} and {#fillArcs}.
368
368
  #
369
369
  def drawArcs(arcs) ; end
370
370
 
@@ -378,12 +378,12 @@ module Fox
378
378
  #
379
379
  # === Parameters:
380
380
  #
381
- # +x+:: x-coordinate of the upper left corner of the rectangle [Integer]
382
- # +y+:: y-coordinate of the upper left corner of the rectangle [Integer]
383
- # +width+:: width of the rectangle, in pixels [Integer]
384
- # +height+:: height of the rectangle, in pixels [Integer]
381
+ # +x+:: x-coordinate of the upper left corner of the rectangle [Integer]
382
+ # +y+:: y-coordinate of the upper left corner of the rectangle [Integer]
383
+ # +width+:: width of the rectangle, in pixels [Integer]
384
+ # +height+:: height of the rectangle, in pixels [Integer]
385
385
  #
386
- # See also #drawRectangle, #drawRectangles and #fillRectangles.
386
+ # See also {#drawRectangle}, {#drawRectangles} and {#fillRectangles}.
387
387
  #
388
388
  def fillRectangle(x, y, w, h) ; end
389
389
 
@@ -392,9 +392,9 @@ module Fox
392
392
  #
393
393
  # === Parameters:
394
394
  #
395
- # +rectangles+:: an array of FXRectangle instances [Array]
395
+ # +rectangles+:: an array of FXRectangle instances [Array]
396
396
  #
397
- # See also #drawRectangle, #drawRectangles and #fillRectangle.
397
+ # See also {#drawRectangle}, {#drawRectangles} and {#fillRectangle}.
398
398
  #
399
399
  def fillRectangles(rectangles) ; end
400
400
 
@@ -403,10 +403,10 @@ module Fox
403
403
  #
404
404
  # === Parameters:
405
405
  #
406
- # <tt>x</tt>:: x-coordinate of the upper left corner of the bounding rectangle [Integer]
407
- # <tt>y</tt>:: y-coordinate of the upper left corner of the bounding rectangle [Integer]
408
- # <tt>w</tt>:: width of the bounding rectangle, in pixels [Integer]
409
- # <tt>h</tt>:: height of the bounding rectangle, in pixels [Integer]
406
+ # <tt>x</tt>:: x-coordinate of the upper left corner of the bounding rectangle [Integer]
407
+ # <tt>y</tt>:: y-coordinate of the upper left corner of the bounding rectangle [Integer]
408
+ # <tt>w</tt>:: width of the bounding rectangle, in pixels [Integer]
409
+ # <tt>h</tt>:: height of the bounding rectangle, in pixels [Integer]
410
410
  #
411
411
  def fillRoundRectangle(x, y, w, h, ew, eh); end
412
412
 
@@ -414,18 +414,18 @@ module Fox
414
414
  def fillChords(chords, nchords) ; end
415
415
 
416
416
  #
417
- # Draw filled arc (see documentation for #drawArc).
417
+ # Draw filled arc (see documentation for {#drawArc}).
418
418
  #
419
419
  # === Parameters:
420
420
  #
421
- # <tt>x</tt>:: x-coordinate of the upper left corner of the bounding rectangle [Integer]
422
- # <tt>y</tt>:: y-coordinate of the upper left corner of the bounding rectangle [Integer]
423
- # <tt>w</tt>:: width of the bounding rectangle, in pixels [Integer]
424
- # <tt>h</tt>:: height of the bounding rectangle, in pixels [Integer]
425
- # <tt>start</tt>:: starting angle of the arc, in 64ths of a degree [Integer]
426
- # <tt>extent</tt>:: the path and extent of the arc, relative to the start of the arc (in 64ths of a degree) [Integer]
421
+ # <tt>x</tt>:: x-coordinate of the upper left corner of the bounding rectangle [Integer]
422
+ # <tt>y</tt>:: y-coordinate of the upper left corner of the bounding rectangle [Integer]
423
+ # <tt>w</tt>:: width of the bounding rectangle, in pixels [Integer]
424
+ # <tt>h</tt>:: height of the bounding rectangle, in pixels [Integer]
425
+ # <tt>start</tt>:: starting angle of the arc, in 64ths of a degree [Integer]
426
+ # <tt>extent</tt>:: the path and extent of the arc, relative to the start of the arc (in 64ths of a degree) [Integer]
427
427
  #
428
- # See also #drawArc, #drawArcs and #fillArcs.
428
+ # See also {#drawArc}, {#drawArcs} and {#fillArcs}.
429
429
  #
430
430
  def fillArc(x, y, w, h, start, extent) ; end
431
431
 
@@ -434,9 +434,9 @@ module Fox
434
434
  #
435
435
  # === Parameters:
436
436
  #
437
- # +arcs+:: an array of FXArc instances [Array]
437
+ # +arcs+:: an array of FXArc instances [Array]
438
438
  #
439
- # See also #drawArc, #drawArcs and #fillArc.
439
+ # See also {#drawArc}, {#drawArcs} and {#fillArc}.
440
440
  #
441
441
  def fillArcs(arcs) ; end
442
442
 
@@ -450,7 +450,7 @@ module Fox
450
450
  #
451
451
  # === Parameters:
452
452
  #
453
- # +points+:: an array of FXPoint instances [Array]
453
+ # +points+:: an array of FXPoint instances [Array]
454
454
  #
455
455
  def fillPolygon(points) ; end
456
456
 
@@ -459,7 +459,7 @@ module Fox
459
459
  #
460
460
  # === Parameters:
461
461
  #
462
- # +points+:: an array of FXPoint instances [Array]
462
+ # +points+:: an array of FXPoint instances [Array]
463
463
  #
464
464
  def fillConcavePolygon(points) ; end
465
465
 
@@ -468,7 +468,7 @@ module Fox
468
468
  #
469
469
  # === Parameters:
470
470
  #
471
- # +points+:: an array of FXPoint instances [Array]
471
+ # +points+:: an array of FXPoint instances [Array]
472
472
  #
473
473
  def fillComplexPolygon(points) ; end
474
474
 
@@ -477,7 +477,7 @@ module Fox
477
477
  #
478
478
  # === Parameters:
479
479
  #
480
- # +points+:: an array of FXPoint instances [Array]
480
+ # +points+:: an array of FXPoint instances [Array]
481
481
  #
482
482
  def fillPolygonRel(points) ; end
483
483
 
@@ -486,7 +486,7 @@ module Fox
486
486
  #
487
487
  # === Parameters:
488
488
  #
489
- # +points+:: an array of FXPoint instances [Array]
489
+ # +points+:: an array of FXPoint instances [Array]
490
490
  #
491
491
  def fillConcavePolygonRel(points) ; end
492
492
 
@@ -495,7 +495,7 @@ module Fox
495
495
  #
496
496
  # === Parameters:
497
497
  #
498
- # +points+:: an array of FXPoint instances [Array]
498
+ # +points+:: an array of FXPoint instances [Array]
499
499
  #
500
500
  def fillComplexPolygonRel(points) ; end
501
501
 
@@ -504,11 +504,11 @@ module Fox
504
504
  #
505
505
  # === Parameters:
506
506
  #
507
- # +x+:: x-coordinate of the upper left corner [Integer]
508
- # +y+:: y-coordinate of the upper left corner [Integer]
509
- # +width+:: width of the box, in pixels [Integer]
510
- # +height+:: height of the box, in pixels [Integer]
511
- # +b+:: border width, in pixels [Integer]
507
+ # +x+:: x-coordinate of the upper left corner [Integer]
508
+ # +y+:: y-coordinate of the upper left corner [Integer]
509
+ # +width+:: width of the box, in pixels [Integer]
510
+ # +height+:: height of the box, in pixels [Integer]
511
+ # +b+:: border width, in pixels [Integer]
512
512
  #
513
513
  def drawHashBox(x, y, w, h, b=1) ; end
514
514
 
@@ -517,10 +517,10 @@ module Fox
517
517
  #
518
518
  # === Parameters:
519
519
  #
520
- # +x+:: x-coordinate of the upper left corner [Integer]
521
- # +y+:: y-coordinate of the upper left corner [Integer]
522
- # +width+:: width of the rectangle, in pixels [Integer]
523
- # +height+:: height of the rectangle, in pixels [Integer]
520
+ # +x+:: x-coordinate of the upper left corner [Integer]
521
+ # +y+:: y-coordinate of the upper left corner [Integer]
522
+ # +width+:: width of the rectangle, in pixels [Integer]
523
+ # +height+:: height of the rectangle, in pixels [Integer]
524
524
  #
525
525
  def drawFocusRectangle(x, y, w, h) ; end
526
526
 
@@ -530,13 +530,13 @@ module Fox
530
530
  #
531
531
  # === Parameters:
532
532
  #
533
- # +source+:: the source drawable from which to copy [FXDrawable]
534
- # +sx+:: x-coordinate of the upper left corner of the source rectangle [Integer]
535
- # +sy+:: y-coordinate of the upper left corner of the source rectangle [Integer]
536
- # +sw+:: width of the source rectangle, in pixels [Integer]
537
- # +sh+:: height of the source rectangle, in pixels [Integer]
538
- # +dx+:: x-coordinate of the the destination point in this drawable [Integer]
539
- # +dy+:: y-coordinate of the the destination point in this drawable [Integer]
533
+ # +source+:: the source drawable from which to copy {FXDrawable}
534
+ # +sx+:: x-coordinate of the upper left corner of the source rectangle [Integer]
535
+ # +sy+:: y-coordinate of the upper left corner of the source rectangle [Integer]
536
+ # +sw+:: width of the source rectangle, in pixels [Integer]
537
+ # +sh+:: height of the source rectangle, in pixels [Integer]
538
+ # +dx+:: x-coordinate of the the destination point in this drawable [Integer]
539
+ # +dy+:: y-coordinate of the the destination point in this drawable [Integer]
540
540
  #
541
541
  def drawArea(source, sx, sy, sw, sh, dx, dy) ; end
542
542
 
@@ -546,15 +546,15 @@ module Fox
546
546
  #
547
547
  # === Parameters:
548
548
  #
549
- # +source+:: the source drawable from which to copy [FXDrawable]
550
- # +sx+:: x-coordinate of the upper left corner of the source rectangle [Integer]
551
- # +sy+:: y-coordinate of the upper left corner of the source rectangle [Integer]
552
- # +sw+:: width of the source rectangle, in pixels [Integer]
553
- # +sh+:: height of the source rectangle, in pixels [Integer]
554
- # +dx+:: x-coordinate of the the destination point in this drawable [Integer]
555
- # +dy+:: y-coordinate of the the destination point in this drawable [Integer]
556
- # +dw+:: destination width, in pixels [Integer]
557
- # +dh+:: destination height, in pixels [Integer]
549
+ # +source+:: the source drawable from which to copy {FXDrawable}
550
+ # +sx+:: x-coordinate of the upper left corner of the source rectangle [Integer]
551
+ # +sy+:: y-coordinate of the upper left corner of the source rectangle [Integer]
552
+ # +sw+:: width of the source rectangle, in pixels [Integer]
553
+ # +sh+:: height of the source rectangle, in pixels [Integer]
554
+ # +dx+:: x-coordinate of the the destination point in this drawable [Integer]
555
+ # +dy+:: y-coordinate of the the destination point in this drawable [Integer]
556
+ # +dw+:: destination width, in pixels [Integer]
557
+ # +dh+:: destination height, in pixels [Integer]
558
558
  #
559
559
  def drawArea(source, sx, sy, sw, sh, dx, dy, dw, dh) ; end
560
560
 
@@ -563,9 +563,9 @@ module Fox
563
563
  #
564
564
  # === Parameters:
565
565
  #
566
- # +image+:: image to draw [FXImage]
567
- # +dx+:: x-coordinate of the the destination point in this drawable [Integer]
568
- # +dy+:: y-coordinate of the the destination point in this drawable [Integer]
566
+ # +image+:: image to draw {FXImage}
567
+ # +dx+:: x-coordinate of the the destination point in this drawable [Integer]
568
+ # +dy+:: y-coordinate of the the destination point in this drawable [Integer]
569
569
  #
570
570
  def drawImage(image, dx, dy) ; end
571
571
 
@@ -574,9 +574,9 @@ module Fox
574
574
  #
575
575
  # === Parameters:
576
576
  #
577
- # +bitmap+:: bitmap to draw [FXBitmap]
578
- # +dx+:: x-coordinate of the the destination point in this drawable [Integer]
579
- # +dy+:: y-coordinate of the the destination point in this drawable [Integer]
577
+ # +bitmap+:: bitmap to draw {FXBitmap}
578
+ # +dx+:: x-coordinate of the the destination point in this drawable [Integer]
579
+ # +dy+:: y-coordinate of the the destination point in this drawable [Integer]
580
580
  #
581
581
  def drawBitmap(bitmap, dx, dy) ; end
582
582
 
@@ -585,9 +585,9 @@ module Fox
585
585
  #
586
586
  # === Parameters:
587
587
  #
588
- # +icon+:: icon to draw [FXIcon]
589
- # +dx+:: x-coordinate of the the destination point in this drawable [Integer]
590
- # +dy+:: y-coordinate of the the destination point in this drawable [Integer]
588
+ # +icon+:: icon to draw {FXIcon}
589
+ # +dx+:: x-coordinate of the the destination point in this drawable [Integer]
590
+ # +dy+:: y-coordinate of the the destination point in this drawable [Integer]
591
591
  #
592
592
  def drawIcon(icon, dx, dy) ; end
593
593
 
@@ -597,9 +597,9 @@ module Fox
597
597
  #
598
598
  # === Parameters:
599
599
  #
600
- # +icon+:: icon to draw [FXIcon]
601
- # +dx+:: x-coordinate of the the destination point in this drawable [Integer]
602
- # +dy+:: y-coordinate of the the destination point in this drawable [Integer]
600
+ # +icon+:: icon to draw {FXIcon}
601
+ # +dx+:: x-coordinate of the the destination point in this drawable [Integer]
602
+ # +dy+:: y-coordinate of the the destination point in this drawable [Integer]
603
603
  #
604
604
  def drawIconShaded(icon, dx, dy) ; end
605
605
 
@@ -608,9 +608,9 @@ module Fox
608
608
  #
609
609
  # === Parameters:
610
610
  #
611
- # +icon+:: icon to draw [FXIcon]
612
- # +dx+:: x-coordinate of the the destination point in this drawable [Integer]
613
- # +dy+:: y-coordinate of the the destination point in this drawable [Integer]
611
+ # +icon+:: icon to draw {FXIcon}
612
+ # +dx+:: x-coordinate of the the destination point in this drawable [Integer]
613
+ # +dy+:: y-coordinate of the the destination point in this drawable [Integer]
614
614
  #
615
615
  def drawIconSunken(icon, dx, dy) ; end
616
616
 
@@ -619,11 +619,11 @@ module Fox
619
619
  #
620
620
  # === Parameters:
621
621
  #
622
- # +x+:: x-coordinate of the upper left corner [Integer]
623
- # +y+:: y-coordinate of the upper left corner [Integer]
624
- # +string+:: the text string to draw [String]
622
+ # +x+:: x-coordinate of the upper left corner [Integer]
623
+ # +y+:: y-coordinate of the upper left corner [Integer]
624
+ # +string+:: the text string to draw [String]
625
625
  #
626
- # See also #drawImageText.
626
+ # See also {#drawImageText}.
627
627
  #
628
628
  def drawText(x, y, string) ; end
629
629
 
@@ -632,11 +632,11 @@ module Fox
632
632
  #
633
633
  # === Parameters:
634
634
  #
635
- # +x+:: x-coordinate of the upper left corner [Integer]
636
- # +y+:: y-coordinate of the upper left corner [Integer]
637
- # +string+:: the text string to draw [String]
635
+ # +x+:: x-coordinate of the upper left corner [Integer]
636
+ # +y+:: y-coordinate of the upper left corner [Integer]
637
+ # +string+:: the text string to draw [String]
638
638
  #
639
- # See also #drawText.
639
+ # See also {#drawText}.
640
640
  #
641
641
  def drawImageText(x, y, string) ; end
642
642
 
@@ -649,8 +649,8 @@ module Fox
649
649
  #
650
650
  # === Parameters:
651
651
  #
652
- # +dashOffset+:: indicates which element of the dash pattern to start with (zero for the beginning) [Integer]
653
- # +dashPattern+:: array of integers indicating the dash pattern [Array]
652
+ # +dashOffset+:: indicates which element of the dash pattern to start with (zero for the beginning) [Integer]
653
+ # +dashPattern+:: array of integers indicating the dash pattern [Array]
654
654
  #
655
655
  def setDashes(dashOffset, dashPattern) ; end
656
656
 
@@ -659,12 +659,12 @@ module Fox
659
659
  #
660
660
  # === Parameters:
661
661
  #
662
- # +x+:: x-coordinate of the upper left corner of the clip rectangle [Integer]
663
- # +y+:: y-coordinate of the upper left corner of the clip rectangle [Integer]
664
- # +width+:: width of the clip rectangle, in pixels [Integer]
665
- # +height+:: height of the clip rectangle, in pixels [Integer]
662
+ # +x+:: x-coordinate of the upper left corner of the clip rectangle [Integer]
663
+ # +y+:: y-coordinate of the upper left corner of the clip rectangle [Integer]
664
+ # +width+:: width of the clip rectangle, in pixels [Integer]
665
+ # +height+:: height of the clip rectangle, in pixels [Integer]
666
666
  #
667
- # See also #setClipMask.
667
+ # See also {#setClipMask}.
668
668
  #
669
669
  def setClipRectangle(x, y, w, h) ; end
670
670
 
@@ -673,9 +673,9 @@ module Fox
673
673
  #
674
674
  # === Parameters:
675
675
  #
676
- # +rectangle+:: a rectangle that defines the clipping region [Integer]
676
+ # +rectangle+:: a rectangle that defines the clipping region [Integer]
677
677
  #
678
- # See also #setClipMask.
678
+ # See also {#setClipMask}.
679
679
  #
680
680
  def setClipRectangle(rectangle) ; end
681
681
 
@@ -689,11 +689,11 @@ module Fox
689
689
  #
690
690
  # === Parameters:
691
691
  #
692
- # +bitmap+:: a bitmap to use for clipping [FXBitmap]
693
- # +dx+:: [Integer]
694
- # +dy+:: [Integer]
692
+ # +bitmap+:: a bitmap to use for clipping {FXBitmap}
693
+ # +dx+:: [Integer]
694
+ # +dy+:: [Integer]
695
695
  #
696
- # See also #setClipRectangle.
696
+ # See also {#setClipRectangle}.
697
697
  #
698
698
  def setClipMask(bitmap, dx=0, dy=0) ; end
699
699
 
@@ -703,16 +703,16 @@ module Fox
703
703
  def clearClipMask() ; end
704
704
 
705
705
  #
706
- # When you call #clipChildren with the argument +true+, anything that you
706
+ # When you call {#clipChildren} with the argument +true+, anything that you
707
707
  # draw into this window will be clipped by its child windows. In other words,
708
708
  # the child windows "obscure" the parent window. This is the default behavior.
709
- # If you call #clipChildren with +false+, anything that you draw into this
709
+ # If you call {#clipChildren} with +false+, anything that you draw into this
710
710
  # window will be visible in its child windows (i.e. the drawing will *not*
711
711
  # be clipped).
712
712
  #
713
713
  # === Parameters:
714
714
  #
715
- # +yes+:: if +true+, drawing is clipped against child windows [Boolean]
715
+ # +yes+:: if +true+, drawing is clipped against child windows [Boolean]
716
716
  #
717
717
  def clipChildren(yes) ; end
718
718
  end