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
@@ -11,10 +11,10 @@ module Fox
11
11
  #
12
12
  # The following messages are sent by FXArrowButton to its target:
13
13
  #
14
- # +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
15
- # +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
16
- # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
17
- # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
14
+ # +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
15
+ # +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
16
+ # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
17
+ # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
18
18
  # +SEL_COMMAND+::
19
19
  # sent when the button is clicked (or repeatedly while the button is held
20
20
  # down, if the +ARROW_REPEAT+ option is in effect).
@@ -26,7 +26,7 @@ module Fox
26
26
  # +ARROW_DOWN+:: arrow points down
27
27
  # +ARROW_LEFT+:: arrow points left
28
28
  # +ARROW_RIGHT+:: arrow points right
29
- # +ARROW_AUTO+:: automatically fire when hovering mouse over button
29
+ # +ARROW_AUTO+:: automatically fire when hovering mouse over button
30
30
  # +ARROW_REPEAT+:: button repeats if held down
31
31
  # +ARROW_AUTOGRAY+:: automatically gray out when not updated
32
32
  # +ARROW_AUTOHIDE+:: automatically hide when not updated
@@ -59,7 +59,7 @@ module Fox
59
59
  # Justification mode
60
60
  attr_accessor :justify
61
61
 
62
- # Fill color for the arrow [FXColor]
62
+ # Fill color for the arrow {FXColor}
63
63
  attr_accessor :arrowColor
64
64
 
65
65
  # Construct arrow button
@@ -23,12 +23,12 @@ module Fox
23
23
  #
24
24
  # ==== Parameters:
25
25
  #
26
- # +a+:: an application instance [FXApp]
27
- # +pix+:: a memory buffer formatted in BMP file format [String]
28
- # +clr+:: transparency color [FXColor]
29
- # +opts+:: options [Integer]
30
- # +width+:: width [Integer]
31
- # +height+:: height [Integer]
26
+ # +a+:: an application instance {FXApp}
27
+ # +pix+:: a memory buffer formatted in BMP file format [String]
28
+ # +clr+:: transparency color {FXColor}
29
+ # +opts+:: options [Integer]
30
+ # +width+:: width [Integer]
31
+ # +height+:: height [Integer]
32
32
  #
33
33
  def initialize(a, pix=nil, clr=FXRGB(192,192,192), opts=0, width=1, height=1) # :yields: theBMPIcon
34
34
  end
@@ -42,7 +42,7 @@ module Fox
42
42
  #
43
43
  # ==== Parameters:
44
44
  #
45
- # +store+:: stream from which to read the file data [FXStream]
45
+ # +store+:: stream from which to read the file data {FXStream}
46
46
  #
47
47
  def Fox.fxloadBMP(store); end
48
48
 
@@ -52,11 +52,11 @@ module Fox
52
52
  #
53
53
  # ==== Parameters:
54
54
  #
55
- # +store+:: stream to which to write the image data [FXStream]
56
- # +data+:: the image pixel data [String]
57
- # +transp+:: transparency color [FXColor]
58
- # +width+:: width [Integer]
59
- # +height+:: height [Integer]
55
+ # +store+:: stream to which to write the image data {FXStream}
56
+ # +data+:: the image pixel data [String]
57
+ # +transp+:: transparency color {FXColor}
58
+ # +width+:: width [Integer]
59
+ # +height+:: height [Integer]
60
60
  #
61
61
  def Fox.fxsaveBMP(store, data, transp, width, height); end
62
62
 
@@ -18,13 +18,13 @@ module Fox
18
18
  #
19
19
  # ==== Parameters:
20
20
  #
21
- # +a+:: an application instance [FXApp]
22
- # +pix+:: a memory buffer formatted in BMP file format [String]
23
- # +opts+:: options [Integer]
24
- # +width+:: width [Integer]
25
- # +height+:: height [Integer]
21
+ # +a+:: an application instance {FXApp}
22
+ # +pix+:: a memory buffer formatted in BMP file format [String]
23
+ # +opts+:: options [Integer]
24
+ # +width+:: width [Integer]
25
+ # +height+:: height [Integer]
26
26
  #
27
- def initialize(a, pix=nil, opts=0, width=1, height=1) # :yields: theBMPImage
27
+ def initialize(a, pix=nil, opts=0, width=1, height=1) # :yields: theBMPImage
28
28
  end
29
29
  end
30
30
  end
@@ -11,10 +11,10 @@ module Fox
11
11
  #
12
12
  # === Image rendering hints
13
13
  #
14
- # +BITMAP_KEEP+:: Keep pixel data in client
15
- # +BITMAP_OWNED+:: Pixel data is owned by image
16
- # +BITMAP_SHMI+:: Using shared memory image
17
- # +BITMAP_SHMP+:: Using shared memory pixmap
14
+ # +BITMAP_KEEP+:: Keep pixel data in client
15
+ # +BITMAP_OWNED+:: Pixel data is owned by image
16
+ # +BITMAP_SHMI+:: Using shared memory image
17
+ # +BITMAP_SHMP+:: Using shared memory pixmap
18
18
  #
19
19
  class FXBitmap < FXDrawable
20
20
 
@@ -27,7 +27,7 @@ module Fox
27
27
  # is set. If the +BITMAP_OWNED+ flag _is_ set, but a +nil+ value for _pixels_
28
28
  # is passed in, a pixel buffer will be automatically created and will be
29
29
  # owned by the bitmap. The flags +BITMAP_SHMI+ and +BITMAP_SHMP+ may be
30
- # specified for large bitmaps to instruct FXBitmap#render to use shared
30
+ # specified for large bitmaps to instruct {FXBitmap#render} to use shared
31
31
  # memory to communicate with the server.
32
32
  #
33
33
  def initialize(app, pixels=nil, opts=0, width=1, height=1) # :yields: theBitmap
@@ -37,7 +37,7 @@ module Fox
37
37
  # Populate the bitmap with new pixel data of the same size; it will assume
38
38
  # ownership of the pixel data if the +BITMAP_OWNED+ option is passed in the _opts_.
39
39
  # The server-side representation of the image, if it exists, is not updated;
40
- # to update ther server-side representation, call #render.
40
+ # to update ther server-side representation, call {#render}.
41
41
  #
42
42
  def setData(pix, opts=0); end
43
43
 
@@ -45,7 +45,7 @@ module Fox
45
45
  # Populate the bitmap with new pixel data of a new size; it will assume ownership
46
46
  # of the pixel data if the +BITMAP_OWNED+ option is passed in the _opts_. The size of the server-
47
47
  # side representation of the image, if it exists, is adjusted but the contents are
48
- # not updated; to update the server-side representation, call #render.
48
+ # not updated; to update the server-side representation, call {#render}.
49
49
  #
50
50
  def setData(pix, opts, w, h); end
51
51
 
@@ -91,7 +91,7 @@ module Fox
91
91
 
92
92
  #
93
93
  # Rescale pixels image to the specified width and height; this calls
94
- # #resize to adjust the client and server side representations.
94
+ # {#resize} to adjust the client and server side representations.
95
95
  #
96
96
  def scale(w, h); end
97
97
 
@@ -102,7 +102,7 @@ module Fox
102
102
  def rotate(degrees); end
103
103
 
104
104
  #
105
- # Crop bitmap to given rectangle; this calls #resize to adjust the client
105
+ # Crop bitmap to given rectangle; this calls {#resize} to adjust the client
106
106
  # and server side representations. The new bitmap may be smaller or larger
107
107
  # than the old one; blank areas are filled with _color_. There must be at
108
108
  # least one pixel of overlap between the old and the new bitmap.
@@ -6,13 +6,13 @@ module Fox
6
6
  #
7
7
  class FXBitmapFrame < FXFrame
8
8
 
9
- # The current image being displayed [FXBitmap]
9
+ # The current image being displayed {FXBitmap}
10
10
  attr_accessor :bitmap
11
11
 
12
- # The color used for the "on" bits in the bitmap [FXColor]
12
+ # The color used for the "on" bits in the bitmap {FXColor}
13
13
  attr_accessor :onColor
14
14
 
15
- # The color used for the "off" bits in the bitmap [FXColor]
15
+ # The color used for the "off" bits in the bitmap {FXColor}
16
16
  attr_accessor :offColor
17
17
 
18
18
  #
@@ -7,28 +7,28 @@ module Fox
7
7
  #
8
8
  # === Bitmap alignment styles
9
9
  #
10
- # +BITMAPVIEW_NORMAL+:: Normal mode is centered
11
- # +BITMAPVIEW_CENTER_X+:: Centered horizontally
12
- # +BITMAPVIEW_LEFT+:: Left-aligned
13
- # +BITMAPVIEW_RIGHT+:: Right-aligned
14
- # +BITMAPVIEW_CENTER_Y+:: Centered vertically
15
- # +BITMAPVIEW_TOP+:: Top-aligned
16
- # +BITMAPVIEW_BOTTOM+:: Bottom-aligned
10
+ # +BITMAPVIEW_NORMAL+:: Normal mode is centered
11
+ # +BITMAPVIEW_CENTER_X+:: Centered horizontally
12
+ # +BITMAPVIEW_LEFT+:: Left-aligned
13
+ # +BITMAPVIEW_RIGHT+:: Right-aligned
14
+ # +BITMAPVIEW_CENTER_Y+:: Centered vertically
15
+ # +BITMAPVIEW_TOP+:: Top-aligned
16
+ # +BITMAPVIEW_BOTTOM+:: Bottom-aligned
17
17
  #
18
18
  # === Events
19
19
  #
20
- # +SEL_RIGHTBUTTONPRESS+:: sent when the right mouse button goes down; the message data is an FXEvent instance.
21
- # +SEL_RIGHTBUTTONRELEASE+:: sent when the right mouse button goes up; the message data is an FXEvent instance.
20
+ # +SEL_RIGHTBUTTONPRESS+:: sent when the right mouse button goes down; the message data is an FXEvent instance.
21
+ # +SEL_RIGHTBUTTONRELEASE+:: sent when the right mouse button goes up; the message data is an FXEvent instance.
22
22
  #
23
23
  class FXBitmapView < FXScrollArea
24
24
 
25
- # The bitmap [FXBitmap]
25
+ # The bitmap {FXBitmap}
26
26
  attr_accessor :bitmap
27
27
 
28
- # The color used for the "on" bits in the bitmap [FXColor]
28
+ # The color used for the "on" bits in the bitmap {FXColor}
29
29
  attr_accessor :onColor
30
30
 
31
- # The color used for the "off" bits in the bitmap [FXColor]
31
+ # The color used for the "off" bits in the bitmap {FXColor}
32
32
  attr_accessor :offColor
33
33
 
34
34
  # Current alignment [Integer]
@@ -21,11 +21,11 @@ module Fox
21
21
  #
22
22
  # The following messages are sent by FXButton to its target:
23
23
  #
24
- # +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
25
- # +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
26
- # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
27
- # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
28
- # +SEL_COMMAND+:: sent when the button is clicked.
24
+ # +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
25
+ # +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
26
+ # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
27
+ # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
28
+ # +SEL_COMMAND+:: sent when the button is clicked.
29
29
  #
30
30
  # === Button state bits
31
31
  #
@@ -5,10 +5,10 @@ module Fox
5
5
  #
6
6
  # The following messages are sent by FXCanvas to its target:
7
7
  #
8
- # +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
9
- # +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
10
- # +SEL_MOTION+:: sent when the mouse moves; the message data is an FXEvent instance.
11
- # +SEL_PAINT+:: sent when the canvas needs to be redrawn; the message data is an FXEvent instance.
8
+ # +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
9
+ # +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
10
+ # +SEL_MOTION+:: sent when the mouse moves; the message data is an FXEvent instance.
11
+ # +SEL_PAINT+:: sent when the canvas needs to be redrawn; the message data is an FXEvent instance.
12
12
 
13
13
  class FXCanvas < FXWindow
14
14
  # Construct new drawing canvas widget
@@ -17,11 +17,11 @@ module Fox
17
17
  #
18
18
  # The following messages are sent by FXCheckButton to its target:
19
19
  #
20
- # +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
21
- # +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
22
- # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
23
- # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
24
- # +SEL_COMMAND+:: sent when the button is clicked.
20
+ # +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
21
+ # +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
22
+ # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
23
+ # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
24
+ # +SEL_COMMAND+:: sent when the button is clicked.
25
25
  #
26
26
  # === CheckButton styles
27
27
  #
@@ -38,10 +38,10 @@ module Fox
38
38
  # Check button style [Integer]
39
39
  attr_accessor :checkButtonStyle
40
40
 
41
- # Box background color [FXColor]
41
+ # Box background color {FXColor}
42
42
  attr_accessor :boxColor
43
43
 
44
- # Box check color [FXColor]
44
+ # Box check color {FXColor}
45
45
  attr_accessor :checkColor
46
46
 
47
47
  # Construct new check button
@@ -13,16 +13,16 @@ module Fox
13
13
  #
14
14
  # ==== Parameters:
15
15
  #
16
- # +owner+:: Owner for this dialog box [FXWindow or FXApp]
17
- # +caption+:: Caption for this dialog box [String]
18
- # +text+:: Message text for this dialog box [String]
19
- # +icon+:: Icon for this dialog box [FXIcon]
20
- # +choices+:: Array of strings containing choices [Array]
21
- # +opts+:: Dialog box options [Integer]
22
- # +x+:: x-coordinate
23
- # +y+:: y-coordinate
24
- # +width+:: width
25
- # +height+:: height
16
+ # +owner+:: Owner for this dialog box [FXWindow or FXApp]
17
+ # +caption+:: Caption for this dialog box [String]
18
+ # +text+:: Message text for this dialog box [String]
19
+ # +icon+:: Icon for this dialog box {FXIcon}
20
+ # +choices+:: Array of strings containing choices [Array]
21
+ # +opts+:: Dialog box options [Integer]
22
+ # +x+:: x-coordinate
23
+ # +y+:: y-coordinate
24
+ # +width+:: width
25
+ # +height+:: height
26
26
  #
27
27
  def initialize(owner, caption, text, icon, choices, opts=0, x=0, y=0, width=0, height=0) # :yields: theChoiceBox
28
28
  end
@@ -35,12 +35,12 @@ module Fox
35
35
  #
36
36
  # ==== Parameters:
37
37
  #
38
- # +owner+:: Owner for this dialog box [FXWindow or FXApp]
39
- # +opts+:: Dialog box options [Integer]
40
- # +caption+:: Caption for this dialog box [String]
41
- # +text+:: Message text for this dialog box [String]
42
- # +icon+:: Icon for this dialog box [FXIcon]
43
- # +choices+:: Array of strings containing choices [Array]
38
+ # +owner+:: Owner for this dialog box [FXWindow or FXApp]
39
+ # +opts+:: Dialog box options [Integer]
40
+ # +caption+:: Caption for this dialog box [String]
41
+ # +text+:: Message text for this dialog box [String]
42
+ # +icon+:: Icon for this dialog box {FXIcon}
43
+ # +choices+:: Array of strings containing choices [Array]
44
44
  #
45
45
  def FXChoiceBox.ask(owner, opts, caption, text, icon, choices); end
46
46
 
@@ -11,15 +11,15 @@ module Fox
11
11
  #
12
12
  # The following messages are sent by FXColorBar to its target:
13
13
  #
14
- # +SEL_CHANGED+:: sent continuously while the user is dragging the spot around; the message data is a three-element array containing the hue, saturation and value values.
15
- # +SEL_COMMAND+:: sent when the user releases the mouse button and "drops" the spot at its new location; the message data is a three-element array containing the hue, saturation and value values.
16
- # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
17
- # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
14
+ # +SEL_CHANGED+:: sent continuously while the user is dragging the spot around; the message data is a three-element array containing the hue, saturation and value values.
15
+ # +SEL_COMMAND+:: sent when the user releases the mouse button and "drops" the spot at its new location; the message data is a three-element array containing the hue, saturation and value values.
16
+ # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
17
+ # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
18
18
  #
19
19
  # === Color bar orientation
20
20
  #
21
- # +COLORBAR_HORIZONTAL+:: Color bar shown horizontally
22
- # +COLORBAR_VERTICAL+:: Color bar shown vertically
21
+ # +COLORBAR_HORIZONTAL+:: Color bar shown horizontally
22
+ # +COLORBAR_VERTICAL+:: Color bar shown vertically
23
23
 
24
24
  class FXColorBar < FXFrame
25
25
 
@@ -33,13 +33,13 @@ module Fox
33
33
  attr_accessor :val
34
34
 
35
35
  # Color bar style (one of +COLORBAR_HORIZONTAL+ or +COLORBAR_VERTICAL+) [Integer]
36
- attr_accessor :barStyle
36
+ attr_accessor :barStyle
37
37
 
38
38
  # Status line help text [String]
39
- attr_accessor :helpText
39
+ attr_accessor :helpText
40
40
 
41
41
  # Tool tip message [String]
42
- attr_accessor :tipText
42
+ attr_accessor :tipText
43
43
 
44
44
  # Construct color bar
45
45
  def initialize(parent, target=nil, selector=0, opts=FRAME_NORMAL, x=0, y=0, width=0, height=0, padLeft=DEFAULT_PAD, padRight=DEFAULT_PAD, padTop=DEFAULT_PAD, padBottom=DEFAULT_PAD) # :yields: theColorBar
@@ -12,16 +12,16 @@ module Fox
12
12
  #
13
13
  # The following messages are sent by FXColorDialog to its target:
14
14
  #
15
- # +SEL_CHANGED+:: sent continuously, while the color selector's color is changing
16
- # +SEL_COMMAND+:: sent when the new color is set
15
+ # +SEL_CHANGED+:: sent continuously, while the color selector's color is changing
16
+ # +SEL_COMMAND+:: sent when the new color is set
17
17
  #
18
18
  # === Message identifiers
19
19
  #
20
- # +ID_COLORSELECTOR+:: used internally to identify messages from the FXColorSelector
20
+ # +ID_COLORSELECTOR+:: used internally to identify messages from the FXColorSelector
21
21
 
22
22
  class FXColorDialog < FXDialogBox
23
23
 
24
- # The color [FXColor]
24
+ # The color {FXColor}
25
25
  attr_accessor :rgba
26
26
 
27
27
  # Only opaque colors allowed [Boolean]
@@ -1,7 +1,7 @@
1
1
  module Fox
2
2
  # Color item
3
3
  class FXColorItem < FXListItem
4
- # Item color [FXColor]
4
+ # Item color {FXColor}
5
5
  attr_accessor :color
6
6
 
7
7
  # Return a new color item, initialized with the given text, color and
@@ -11,10 +11,10 @@ module Fox
11
11
  #
12
12
  # The following messages are sent by FXColorRing to its target:
13
13
  #
14
- # +SEL_CHANGED+:: sent continuously while the user is dragging the spot around; the message data is a three-element array containing the hue, saturation and value values.
15
- # +SEL_COMMAND+:: sent when the user releases the mouse button and "drops" the spot at its new location; the message data is a three-element array containing the hue, saturation and value values.
16
- # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
17
- # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
14
+ # +SEL_CHANGED+:: sent continuously while the user is dragging the spot around; the message data is a three-element array containing the hue, saturation and value values.
15
+ # +SEL_COMMAND+:: sent when the user releases the mouse button and "drops" the spot at its new location; the message data is a three-element array containing the hue, saturation and value values.
16
+ # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
17
+ # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
18
18
  #
19
19
  class FXColorRing < FXFrame
20
20
 
@@ -5,55 +5,55 @@ module Fox
5
5
  #
6
6
  # The following messages are sent by FXColorSelector to its target:
7
7
  #
8
- # +SEL_CHANGED+:: sent continuously, while the color is changing
9
- # +SEL_COMMAND+:: sent when the new color is set
8
+ # +SEL_CHANGED+:: sent continuously, while the color is changing
9
+ # +SEL_COMMAND+:: sent when the new color is set
10
10
  #
11
11
  # === Message identifiers
12
12
  #
13
- # +ID_CUSTOM_FIRST+:: x
14
- # +ID_CUSTOM_LAST+:: x
15
- # +ID_RGB_RED_SLIDER+:: x
16
- # +ID_RGB_GREEN_SLIDER+:: x
17
- # +ID_RGB_BLUE_SLIDER+:: x
18
- # +ID_RGB_RED_TEXT+:: x
19
- # +ID_RGB_GREEN_TEXT+:: x
20
- # +ID_RGB_BLUE_TEXT+:: x
21
- # +ID_HSV_HUE_SLIDER+:: x
22
- # +ID_HSV_SATURATION_SLIDER+:: x
23
- # +ID_HSV_VALUE_SLIDER+:: x
24
- # +ID_HSV_HUE_TEXT+:: x
25
- # +ID_HSV_SATURATION_TEXT+:: x
26
- # +ID_HSV_VALUE_TEXT+:: x
27
- # +ID_CMY_CYAN_SLIDER+:: x
28
- # +ID_CMY_MAGENTA_SLIDER+:: x
29
- # +ID_CMY_YELLOW_SLIDER+:: x
30
- # +ID_CMY_CYAN_TEXT+:: x
31
- # +ID_CMY_MAGENTA_TEXT+:: x
32
- # +ID_CMY_YELLOW_TEXT+:: x
33
- # +ID_DIAL_WHEEL+:: x
34
- # +ID_COLOR_BAR+:: x
35
- # +ID_COLOR_LIST+:: x
36
- # +ID_WELL_CHANGED+:: x
37
- # +ID_COLOR+:: x
38
- # +ID_ACTIVEPANE+:: x
39
- # +ID_ALPHA_SLIDER+:: x
40
- # +ID_ALPHA_TEXT+:: x
41
- # +ID_ALPHA_LABEL+:: x
42
- # +ID_COLORPICK+:: x
13
+ # +ID_CUSTOM_FIRST+:: x
14
+ # +ID_CUSTOM_LAST+:: x
15
+ # +ID_RGB_RED_SLIDER+:: x
16
+ # +ID_RGB_GREEN_SLIDER+:: x
17
+ # +ID_RGB_BLUE_SLIDER+:: x
18
+ # +ID_RGB_RED_TEXT+:: x
19
+ # +ID_RGB_GREEN_TEXT+:: x
20
+ # +ID_RGB_BLUE_TEXT+:: x
21
+ # +ID_HSV_HUE_SLIDER+:: x
22
+ # +ID_HSV_SATURATION_SLIDER+:: x
23
+ # +ID_HSV_VALUE_SLIDER+:: x
24
+ # +ID_HSV_HUE_TEXT+:: x
25
+ # +ID_HSV_SATURATION_TEXT+:: x
26
+ # +ID_HSV_VALUE_TEXT+:: x
27
+ # +ID_CMY_CYAN_SLIDER+:: x
28
+ # +ID_CMY_MAGENTA_SLIDER+:: x
29
+ # +ID_CMY_YELLOW_SLIDER+:: x
30
+ # +ID_CMY_CYAN_TEXT+:: x
31
+ # +ID_CMY_MAGENTA_TEXT+:: x
32
+ # +ID_CMY_YELLOW_TEXT+:: x
33
+ # +ID_DIAL_WHEEL+:: x
34
+ # +ID_COLOR_BAR+:: x
35
+ # +ID_COLOR_LIST+:: x
36
+ # +ID_WELL_CHANGED+:: x
37
+ # +ID_COLOR+:: x
38
+ # +ID_ACTIVEPANE+:: x
39
+ # +ID_ALPHA_SLIDER+:: x
40
+ # +ID_ALPHA_TEXT+:: x
41
+ # +ID_ALPHA_LABEL+:: x
42
+ # +ID_COLORPICK+:: x
43
43
 
44
44
  class FXColorSelector < FXPacker
45
45
 
46
- # The "Accept" button [FXButton]
47
- attr_reader :acceptButton
46
+ # The "Accept" button {FXButton}
47
+ attr_reader :acceptButton
48
48
 
49
- # The "Cancel" button [FXButton]
50
- attr_reader :cancelButton
49
+ # The "Cancel" button {FXButton}
50
+ attr_reader :cancelButton
51
51
 
52
- # The color [FXColor]
52
+ # The color {FXColor}
53
53
  attr_accessor :rgba
54
54
 
55
55
  # Only opaque colors allowed [Boolean]
56
- attr_writer :opaqueOnly
56
+ attr_writer :opaqueOnly
57
57
 
58
58
  # Construct a new color selector
59
59
  def initialize(parent, target=nil, selector=0, opts=0, x=0, y=0, width=0, height=0) # :yields: theColorSelector