fxruby 1.6.22-x86-mingw32 → 1.6.23-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.
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
data/rdoc-sources/FXId.rb CHANGED
@@ -4,7 +4,7 @@ module Fox
4
4
  #
5
5
  class FXId < FXObject
6
6
 
7
- # Application [FXApp]
7
+ # Application {FXApp}
8
8
  attr_reader :app
9
9
 
10
10
  # User data [Object]
@@ -39,8 +39,8 @@ module Fox
39
39
 
40
40
  class FXImage < FXDrawable
41
41
 
42
- # [deprecated] Pixel data [FXMemoryBuffer]
43
- attr_reader :data
42
+ # [deprecated] Pixel data {FXMemoryBuffer}
43
+ attr_reader :data
44
44
 
45
45
  # Array of colors of all image pixels. Can also be written as String of raw [RGBA] values.
46
46
  attr_accessor :pixels
@@ -55,16 +55,16 @@ module Fox
55
55
  # If the +IMAGE_OWNED+ flag is set but a +nil+ pixel buffer is
56
56
  # passed, a pixel buffer will be automatically created and will be owned
57
57
  # by the image. The flags +IMAGE_SHMI+ and +IMAGE_SHMP+ may be specified for
58
- # large images to instruct #render to use shared memory to communicate
58
+ # large images to instruct {#render} to use shared memory to communicate
59
59
  # with the server.
60
60
  #
61
61
  # ==== Parameters:
62
62
  #
63
- # +a+:: an application instance [FXApp]
64
- # +pixels+:: pixels [Array of FXColor values or string of raw [RGBA] values]
65
- # +opts+:: image options [Integer]
66
- # +width+:: image width [Integer]
67
- # +height+:: image height [Integer]
63
+ # +a+:: an application instance {FXApp}
64
+ # +pixels+:: pixels [Array of FXColor values or string of raw [RGBA] values]
65
+ # +opts+:: image options [Integer]
66
+ # +width+:: image width [Integer]
67
+ # +height+:: image height [Integer]
68
68
  #
69
69
  def initialize(a, pixels=nil, opts=0, width=1, height=1) # :yields: theImage
70
70
  end
@@ -99,8 +99,8 @@ module Fox
99
99
  #
100
100
  # ==== Parameters:
101
101
  #
102
- # +x+:: x-coordinate of the pixel of interest [Integer]
103
- # +y+:: y-coordinate of the pixel of interest [Integer]
102
+ # +x+:: x-coordinate of the pixel of interest [Integer]
103
+ # +y+:: y-coordinate of the pixel of interest [Integer]
104
104
  #
105
105
  def getPixel(x, y) ; end
106
106
 
@@ -109,9 +109,9 @@ module Fox
109
109
  #
110
110
  # ==== Parameters:
111
111
  #
112
- # +x+:: x-coordinate of the pixel of interest [Integer]
113
- # +y+:: y-coordinate of the pixel of interest [Integer]
114
- # +clr+:: new color value for this pixel [FXColor]
112
+ # +x+:: x-coordinate of the pixel of interest [Integer]
113
+ # +y+:: y-coordinate of the pixel of interest [Integer]
114
+ # +clr+:: new color value for this pixel {FXColor}
115
115
  #
116
116
  def setPixel(x, y, clr) ; end
117
117
 
@@ -122,7 +122,7 @@ module Fox
122
122
  # Restore client-side pixel buffer from image.
123
123
  # This operation overwrites any current values for the client-side
124
124
  # pixel buffer with values corresponding to the server-side image.
125
- # If the image data is +nil+ at the time #restore is called, the
125
+ # If the image data is +nil+ at the time {#restore} is called, the
126
126
  # image will first allocate an (owned) pixel buffer to use for this
127
127
  # operation.
128
128
  #
@@ -149,15 +149,15 @@ module Fox
149
149
  # transform the image.
150
150
  #
151
151
  # The optional third argument specifies the _quality_ of the scaling algorithm
152
- # used. By default, #scale uses a fast (but low quality) nearest-neighbor algorithm
152
+ # used. By default, {#scale} uses a fast (but low quality) nearest-neighbor algorithm
153
153
  # for scaling the image to its new size. To use the higher-quality scaling algorithm
154
- # from FOX 1.0, you should pass in a value of 1 as the third argument to #scale.
154
+ # from FOX 1.0, you should pass in a value of 1 as the third argument to {#scale}.
155
155
  #
156
156
  # ==== Parameters:
157
157
  #
158
- # +width+:: new image width, in pixels [Integer]
159
- # +height+:: new image height, in pixels [Integer]
160
- # +quality+:: scaling algorithm quality, either 0 or 1 (see above) [Integer]
158
+ # +width+:: new image width, in pixels [Integer]
159
+ # +height+:: new image height, in pixels [Integer]
160
+ # +quality+:: scaling algorithm quality, either 0 or 1 (see above) [Integer]
161
161
  #
162
162
  def scale(w, h, quality=0) ; end
163
163
 
@@ -167,8 +167,8 @@ module Fox
167
167
  #
168
168
  # ==== Parameters:
169
169
  #
170
- # +horizontal+:: if +true+, the image will be flipped from left to right [Boolean]
171
- # +vertical+:: if +true+, the image will be flipped from top to bottom [Boolean]
170
+ # +horizontal+:: if +true+, the image will be flipped from left to right [Boolean]
171
+ # +vertical+:: if +true+, the image will be flipped from top to bottom [Boolean]
172
172
  #
173
173
  def mirror(horizontal, vertical) ; end
174
174
 
@@ -178,7 +178,7 @@ module Fox
178
178
  #
179
179
  # ==== Parameters:
180
180
  #
181
- # +degrees+:: number of degrees by which to rotate the image [Integer]
181
+ # +degrees+:: number of degrees by which to rotate the image [Integer]
182
182
  #
183
183
  def rotate(degrees) ; end
184
184
 
@@ -191,11 +191,11 @@ module Fox
191
191
  #
192
192
  # ==== Parameters:
193
193
  #
194
- # +x+:: x-coordinate for top left corner of the clip rectangle [Integer]
195
- # +y+:: y-coordinate for top left corner of the clip rectangle [Integer]
196
- # +width+:: width of the clip rectangle [Integer]
197
- # +height+:: height of the clip rectangle [Integer]
198
- # +color+:: fill color for blank areas after crop [FXColor]
194
+ # +x+:: x-coordinate for top left corner of the clip rectangle [Integer]
195
+ # +y+:: y-coordinate for top left corner of the clip rectangle [Integer]
196
+ # +width+:: width of the clip rectangle [Integer]
197
+ # +height+:: height of the clip rectangle [Integer]
198
+ # +color+:: fill color for blank areas after crop {FXColor}
199
199
  #
200
200
  def crop(x, y, w, h, color=0) ; end
201
201
 
@@ -209,8 +209,8 @@ module Fox
209
209
  #
210
210
  # ==== Parameters:
211
211
  #
212
- # +color+:: the fade color [FXColor]
213
- # +factor+:: fading factor [Integer]
212
+ # +color+:: the fade color {FXColor}
213
+ # +factor+:: fading factor [Integer]
214
214
  #
215
215
  def fade(color, factor=255); end
216
216
 
@@ -223,7 +223,7 @@ module Fox
223
223
  # ==== Parameters:
224
224
  #
225
225
  # +shear+:: how far to shear [Integer]
226
- # +color+:: fill color for areas outside the sheared image [FXColor]
226
+ # +color+:: fill color for areas outside the sheared image {FXColor}
227
227
  #
228
228
  def xshear(shear, color=0); end
229
229
 
@@ -236,7 +236,7 @@ module Fox
236
236
  # ==== Parameters:
237
237
  #
238
238
  # +shear+:: how far to shear [Integer]
239
- # +color+:: fill color for areas outside the sheared image [FXColor]
239
+ # +color+:: fill color for areas outside the sheared image {FXColor}
240
240
  #
241
241
  def yshear(shear, color=0); end
242
242
 
@@ -245,8 +245,8 @@ module Fox
245
245
  #
246
246
  # ==== Parameters:
247
247
  #
248
- # +left+:: starting color, for leftmost pixels [FXColor]
249
- # +right+:: ending color, for rightmost pixels [FXColor]
248
+ # +left+:: starting color, for leftmost pixels {FXColor}
249
+ # +right+:: ending color, for rightmost pixels {FXColor}
250
250
  #
251
251
  def hgradient(left, right); end
252
252
 
@@ -255,8 +255,8 @@ module Fox
255
255
  #
256
256
  # ==== Parameters:
257
257
  #
258
- # +top+:: starting color, for topmost pixels [FXColor]
259
- # +bottom+:: ending color, for bottommost pixels [FXColor]
258
+ # +top+:: starting color, for topmost pixels {FXColor}
259
+ # +bottom+:: ending color, for bottommost pixels {FXColor}
260
260
  #
261
261
  def vgradient(top, bottom); end
262
262
 
@@ -265,10 +265,10 @@ module Fox
265
265
  #
266
266
  # ==== Parameters:
267
267
  #
268
- # +topleft+:: pixel color for top-left corner [FXColor]
269
- # +topright+:: pixel color for top-right corner [FXColor]
270
- # +bottomleft+:: pixel color for bottom-left corner [FXColor]
271
- # +bottomright+:: pixel color for bottom-right corner [FXColor]
268
+ # +topleft+:: pixel color for top-left corner {FXColor}
269
+ # +topright+:: pixel color for top-right corner {FXColor}
270
+ # +bottomleft+:: pixel color for bottom-left corner {FXColor}
271
+ # +bottomright+:: pixel color for bottom-right corner {FXColor}
272
272
  #
273
273
  def gradient(topleft, topright, bottomleft, bottomright); end
274
274
 
@@ -277,7 +277,7 @@ module Fox
277
277
  #
278
278
  # ==== Parameters:
279
279
  #
280
- # +color+:: the blended color [FXColor]
280
+ # +color+:: the blended color {FXColor}
281
281
  #
282
282
  def blend(color); end
283
283
 
@@ -285,17 +285,17 @@ module Fox
285
285
  # Save pixel data to a stream.
286
286
  #
287
287
  # Note that the base class version of
288
- # #savePixels saves the pixel data as-is, without any image format
288
+ # {#savePixels} saves the pixel data as-is, without any image format
289
289
  # specific information. For example, if you have a 1024x768 image
290
290
  # without an alpha channel (and thus only the red, green and blue
291
291
  # channels) the total number of bytes written to the stream will be
292
- # 1024*768*3*8. The behavior of #savePixels is different for subclasses
293
- # such as FXPNGImage, where #savePixels will instead save the image
292
+ # 1024*768*3*8. The behavior of {#savePixels} is different for subclasses
293
+ # such as FXPNGImage, where {#savePixels} will instead save the image
294
294
  # data in a specific image file format (i.e. the PNG file format).
295
295
  #
296
296
  # ==== Parameters:
297
297
  #
298
- # +store+:: opened stream to which to save the pixel data [FXStream]
298
+ # +store+:: opened stream to which to save the pixel data {FXStream}
299
299
  #
300
300
  def savePixels(store) ; end
301
301
 
@@ -303,18 +303,18 @@ module Fox
303
303
  # Load pixel data from a stream.
304
304
  #
305
305
  # Note that the base class version of
306
- # #loadPixels expects to read the the pixel data in a neutral format
306
+ # {#loadPixels} expects to read the the pixel data in a neutral format
307
307
  # (i.e. without any image format specific information). For example, if
308
308
  # you have a 1024x768 image without an alpha channel (and thus only the
309
- # red, green and blue channels), #loadPixels will attempt to read a total
310
- # of 1024*768*3*8 bytes from the stream. The behavior of #loadPixels is
311
- # different for subclasses such as FXPNGImage, where #loadPixels will instead
309
+ # red, green and blue channels), {#loadPixels} will attempt to read a total
310
+ # of 1024*768*3*8 bytes from the stream. The behavior of {#loadPixels} is
311
+ # different for subclasses such as FXPNGImage, where {#loadPixels} will instead
312
312
  # expects to read the image data in a specific image file format (i.e. the
313
313
  # PNG file format).
314
314
  #
315
315
  # ==== Parameters:
316
316
  #
317
- # +store+:: opened stream from which to read the pixel data [FXStream]
317
+ # +store+:: opened stream from which to read the pixel data {FXStream}
318
318
  #
319
319
  def loadPixels(store) ; end
320
320
  end
@@ -4,7 +4,7 @@ module Fox
4
4
  #
5
5
  class FXImageFrame < FXFrame
6
6
 
7
- # The current image being displayed [FXImage]
7
+ # The current image being displayed {FXImage}
8
8
  attr_accessor :image
9
9
 
10
10
  #
@@ -18,17 +18,17 @@ module Fox
18
18
  #
19
19
  # ==== Parameters:
20
20
  #
21
- # +p+:: the parent window for this image frame [FXComposite]
22
- # +img+:: the image to display [FXImage]
23
- # +opts+:: frame options [Integer]
24
- # +x+:: initial x-position [Integer]
25
- # +y+:: initial y-position [Integer]
26
- # +width+:: initial width [Integer]
27
- # +height+:: initial height [Integer]
28
- # +padLeft+:: internal padding on the left side, in pixels [Integer]
29
- # +padRight+:: internal padding on the right side, in pixels [Integer]
30
- # +padTop+:: internal padding on the top side, in pixels [Integer]
31
- # +padBottom+:: internal padding on the bottom side, in pixels [Integer]
21
+ # +p+:: the parent window for this image frame {FXComposite}
22
+ # +img+:: the image to display {FXImage}
23
+ # +opts+:: frame options [Integer]
24
+ # +x+:: initial x-position [Integer]
25
+ # +y+:: initial y-position [Integer]
26
+ # +width+:: initial width [Integer]
27
+ # +height+:: initial height [Integer]
28
+ # +padLeft+:: internal padding on the left side, in pixels [Integer]
29
+ # +padRight+:: internal padding on the right side, in pixels [Integer]
30
+ # +padTop+:: internal padding on the top side, in pixels [Integer]
31
+ # +padBottom+:: internal padding on the bottom side, in pixels [Integer]
32
32
  #
33
33
  def initialize(p, img, opts=FRAME_SUNKEN|FRAME_THICK, x=0, y=0, width=0, height=0, padLeft=0, padRight=0, padTop=0, padBottom=0) # :yields: theImageFrame
34
34
  end
@@ -4,22 +4,22 @@ module Fox
4
4
  #
5
5
  # === Image alignment styles
6
6
  #
7
- # +IMAGEVIEW_NORMAL+:: Normal mode is centered
8
- # +IMAGEVIEW_CENTER_X+:: Centered horizontally
9
- # +IMAGEVIEW_LEFT+:: Left-aligned
10
- # +IMAGEVIEW_RIGHT+:: Right-aligned
11
- # +IMAGEVIEW_CENTER_Y+:: Centered vertically
12
- # +IMAGEVIEW_TOP+:: Top-aligned
13
- # +IMAGEVIEW_BOTTOM+:: Bottom-aligned
7
+ # +IMAGEVIEW_NORMAL+:: Normal mode is centered
8
+ # +IMAGEVIEW_CENTER_X+:: Centered horizontally
9
+ # +IMAGEVIEW_LEFT+:: Left-aligned
10
+ # +IMAGEVIEW_RIGHT+:: Right-aligned
11
+ # +IMAGEVIEW_CENTER_Y+:: Centered vertically
12
+ # +IMAGEVIEW_TOP+:: Top-aligned
13
+ # +IMAGEVIEW_BOTTOM+:: Bottom-aligned
14
14
  #
15
15
  # === Events
16
16
  #
17
- # +SEL_RIGHTBUTTONPRESS+:: sent when the right mouse button goes down; the message data is an FXEvent instance.
18
- # +SEL_RIGHTBUTTONRELEASE+:: sent when the right mouse button goes up; the message data is an FXEvent instance.
17
+ # +SEL_RIGHTBUTTONPRESS+:: sent when the right mouse button goes down; the message data is an FXEvent instance.
18
+ # +SEL_RIGHTBUTTONRELEASE+:: sent when the right mouse button goes up; the message data is an FXEvent instance.
19
19
  #
20
20
  class FXImageView < FXScrollArea
21
21
 
22
- # The image [FXImage]
22
+ # The image {FXImage}
23
23
  attr_accessor :image
24
24
 
25
25
  # Current alignment [Integer]
@@ -6,10 +6,10 @@ module Fox
6
6
  #
7
7
  # === Input dialog options
8
8
  #
9
- # +INPUTDIALOG_STRING+:: Ask for a string
10
- # +INPUTDIALOG_INTEGER+:: Ask for an integer number
11
- # +INPUTDIALOG_REAL+:: Ask for a real number
12
- # +INPUTDIALOG_PASSWORD+:: Do not reveal key-in
9
+ # +INPUTDIALOG_STRING+:: Ask for a string
10
+ # +INPUTDIALOG_INTEGER+:: Ask for an integer number
11
+ # +INPUTDIALOG_REAL+:: Ask for a real number
12
+ # +INPUTDIALOG_PASSWORD+:: Do not reveal key-in
13
13
  #
14
14
  class FXInputDialog < FXDialogBox
15
15
 
@@ -25,12 +25,12 @@ module Fox
25
25
  #
26
26
  # ==== Parameters:
27
27
  #
28
- # +a+:: an application instance [FXApp]
29
- # +pix+:: a memory buffer formatted in JPEG file format [String]
30
- # +clr+:: transparency color [FXColor]
31
- # +opts+:: options [Integer]
32
- # +width+:: width [Integer]
33
- # +height+:: height [Integer]
28
+ # +a+:: an application instance {FXApp}
29
+ # +pix+:: a memory buffer formatted in JPEG file format [String]
30
+ # +clr+:: transparency color {FXColor}
31
+ # +opts+:: options [Integer]
32
+ # +width+:: width [Integer]
33
+ # +height+:: height [Integer]
34
34
  # +quality+:: JPEG image quality [Integer]
35
35
  #
36
36
  def initialize(a, pix=nil, clr=0, opts=0, width=1, height=1, quality=75) # :yields: theJPGIcon
@@ -44,7 +44,7 @@ module Fox
44
44
  #
45
45
  # ==== Parameters:
46
46
  #
47
- # +store+:: stream from which to read the file data [FXStream]
47
+ # +store+:: stream from which to read the file data {FXStream}
48
48
  #
49
49
  def Fox.fxloadJPG(store); end
50
50
 
@@ -54,12 +54,12 @@ module Fox
54
54
  #
55
55
  # ==== Parameters:
56
56
  #
57
- # +store+:: stream to which to write the image data [FXStream]
58
- # +data+:: the image pixel data [String]
59
- # +transp+:: transparency color [FXColor]
60
- # +width+:: width [Integer]
61
- # +height+:: height [Integer]
62
- # +quality+:: image quality [Integer]
57
+ # +store+:: stream to which to write the image data {FXStream}
58
+ # +data+:: the image pixel data [String]
59
+ # +transp+:: transparency color {FXColor}
60
+ # +width+:: width [Integer]
61
+ # +height+:: height [Integer]
62
+ # +quality+:: image quality [Integer]
63
63
  #
64
64
  def Fox.fxsaveJPG(store, data, transp, width, height, quality); end
65
65
 
@@ -25,11 +25,11 @@ module Fox
25
25
  #
26
26
  # ==== Parameters:
27
27
  #
28
- # +a+:: an application instance [FXApp]
29
- # +pix+:: a memory buffer formatted in JPEG file format [String]
30
- # +opts+:: options [Integer]
31
- # +width+:: width [Integer]
32
- # +height+:: height [Integer]
28
+ # +a+:: an application instance {FXApp}
29
+ # +pix+:: a memory buffer formatted in JPEG file format [String]
30
+ # +opts+:: options [Integer]
31
+ # +width+:: width [Integer]
32
+ # +height+:: height [Integer]
33
33
  # +quality+:: JPEG image quality [Integer]
34
34
  #
35
35
  def initialize(a, pix=nil, opts=0, width=1, height=1, quality=75) # :yields: theJPGImage
@@ -9,12 +9,12 @@ module Fox
9
9
  #
10
10
  # The following messages are sent by FXKnob to its target:
11
11
  #
12
- # +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
13
- # +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
14
- # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
15
- # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
16
- # +SEL_MIDDLEBUTTONPRESS+:: sent when the middle mouse button goes down; the message data is an FXEvent instance.
17
- # +SEL_MIDDLEBUTTONRELEASE+:: sent when the middle mouse button goes up; the message data is an FXEvent instance.
12
+ # +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
13
+ # +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
14
+ # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
15
+ # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
16
+ # +SEL_MIDDLEBUTTONPRESS+:: sent when the middle mouse button goes down; the message data is an FXEvent instance.
17
+ # +SEL_MIDDLEBUTTONRELEASE+:: sent when the middle mouse button goes up; the message data is an FXEvent instance.
18
18
  # +SEL_COMMAND+::
19
19
  # sent at the end of a knob move; the message data is the new value of the knob.
20
20
  # +SEL_CHANGED+::
@@ -23,11 +23,11 @@ module Fox
23
23
  #
24
24
  # === Knob Control styles
25
25
  #
26
- # +KNOB_NEEDLE+:: Use a needle as indicator
27
- # +KNOB_DOT+:: Use a dot as indicator
28
- # +KNOB_TICKS+:: Show ticks around the knob
29
- # +KNOB_INDICATOR+:: Show only the indicator (like a speedometer)
30
- # +KNOB_NORMAL+:: Normal knob looks
26
+ # +KNOB_NEEDLE+:: Use a needle as indicator
27
+ # +KNOB_DOT+:: Use a dot as indicator
28
+ # +KNOB_TICKS+:: Show ticks around the knob
29
+ # +KNOB_INDICATOR+:: Show only the indicator (like a speedometer)
30
+ # +KNOB_NORMAL+:: Normal knob looks
31
31
  #
32
32
  class FXKnob < FXFrame
33
33
 
@@ -46,7 +46,7 @@ module Fox
46
46
  # Delta between ticks [Integer]
47
47
  attr_accessor :tickDelta
48
48
 
49
- # Indicator needle color [FXColor]
49
+ # Indicator needle color {FXColor}
50
50
  attr_accessor :lineColor
51
51
 
52
52
  # Help text displayed on the status line [String]
@@ -41,13 +41,13 @@ module Fox
41
41
  # The text for this label [String]
42
42
  attr_accessor :text
43
43
 
44
- # The icon for this label [FXIcon]
44
+ # The icon for this label {FXIcon}
45
45
  attr_accessor :icon
46
46
 
47
- # The text font [FXFont]
47
+ # The text font {FXFont}
48
48
  attr_accessor :font
49
49
 
50
- # The text color [FXColor]
50
+ # The text color {FXColor}
51
51
  attr_accessor :textColor
52
52
 
53
53
  # Text justification mode [Integer]