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
@@ -6,10 +6,10 @@ module Fox
6
6
  #
7
7
  # === Group box options
8
8
  #
9
- # +GROUPBOX_TITLE_LEFT+:: Title is left-justified
10
- # +GROUPBOX_TITLE_CENTER+:: Title is centered
11
- # +GROUPBOX_TITLE_RIGHT+:: Title is right-justified
12
- # +GROUPBOX_NORMAL+:: same as <tt>GROUPBOX_TITLE_LEFT</tt>
9
+ # +GROUPBOX_TITLE_LEFT+:: Title is left-justified
10
+ # +GROUPBOX_TITLE_CENTER+:: Title is centered
11
+ # +GROUPBOX_TITLE_RIGHT+:: Title is right-justified
12
+ # +GROUPBOX_NORMAL+:: same as <tt>GROUPBOX_TITLE_LEFT</tt>
13
13
 
14
14
  class FXGroupBox < FXPacker
15
15
 
@@ -19,10 +19,10 @@ module Fox
19
19
  # Group box style [Integer]
20
20
  attr_accessor :groupBoxStyle
21
21
 
22
- # Title font [FXFont]
22
+ # Title font {FXFont}
23
23
  attr_accessor :font
24
24
 
25
- # Title text color [FXColor]
25
+ # Title text color {FXColor}
26
26
  attr_accessor :textColor
27
27
 
28
28
  # Construct group box layout manager
@@ -4,33 +4,33 @@ module Fox
4
4
  #
5
5
  # === Alignment hints
6
6
  #
7
- # +RIGHT+:: Align on right
8
- # +LEFT+:: Align on left
9
- # +CENTER_X+:: Align centered horizontally (default)
10
- # +TOP+:: Align on top
11
- # +BOTTOM+:: Align on bottom
12
- # +CENTER_Y+:: Align centered vertically (default)
7
+ # +RIGHT+:: Align on right
8
+ # +LEFT+:: Align on left
9
+ # +CENTER_X+:: Align centered horizontally (default)
10
+ # +TOP+:: Align on top
11
+ # +BOTTOM+:: Align on bottom
12
+ # +CENTER_Y+:: Align centered vertically (default)
13
13
  #
14
14
  # === Icon position
15
15
  #
16
- # +BEFORE+:: Icon before the text
17
- # +AFTER+:: Icon after the text
18
- # +ABOVE+:: Icon above the text
19
- # +BELOW+:: Icon below the text
16
+ # +BEFORE+:: Icon before the text
17
+ # +AFTER+:: Icon after the text
18
+ # +ABOVE+:: Icon above the text
19
+ # +BELOW+:: Icon below the text
20
20
  #
21
21
  # === Arrow
22
22
  #
23
- # +ARROW_NONE+:: No arrow
24
- # +ARROW_UP+:: Arrow pointing up
25
- # +ARROW_DOWN+:: Arrow pointing down
26
- # +PRESSED+:: Pressed down
23
+ # +ARROW_NONE+:: No arrow
24
+ # +ARROW_UP+:: Arrow pointing up
25
+ # +ARROW_DOWN+:: Arrow pointing down
26
+ # +PRESSED+:: Pressed down
27
27
  #
28
28
  class FXHeaderItem < FXObject
29
29
 
30
30
  # Item's text label [String]
31
31
  attr_accessor :text
32
32
 
33
- # Item's icon [FXIcon]
33
+ # Item's icon {FXIcon}
34
34
  attr_accessor :icon
35
35
 
36
36
  # Item's user data [Object]
@@ -116,24 +116,24 @@ module Fox
116
116
  # +SEL_CLICKED+::
117
117
  # sent when a header item is clicked; the message data is an integer
118
118
  # indicating the index of the current item.
119
- # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
120
- # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
121
- # +SEL_REPLACED+:: sent when a header item is about to be replaced; the message data is an Integer indicating the index of the item to be replaced.
122
- # +SEL_INSERTED+:: sent after a header item is inserted; the message data is an Integer indicating the index of the item that was inserted.
123
- # +SEL_DELETED+:: sent when a header item is about to be removed; the message data is an Integer indicating the index of the item to be removed.
119
+ # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
120
+ # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
121
+ # +SEL_REPLACED+:: sent when a header item is about to be replaced; the message data is an Integer indicating the index of the item to be replaced.
122
+ # +SEL_INSERTED+:: sent after a header item is inserted; the message data is an Integer indicating the index of the item that was inserted.
123
+ # +SEL_DELETED+:: sent when a header item is about to be removed; the message data is an Integer indicating the index of the item to be removed.
124
124
  #
125
125
  # === Header style options
126
126
  #
127
- # +HEADER_BUTTON+:: Button style can be clicked
128
- # +HEADER_HORIZONTAL+:: Horizontal header control (default)
129
- # +HEADER_VERTICAL+:: Vertical header control
130
- # +HEADER_TRACKING+:: Tracks continuously while moving
131
- # +HEADER_RESIZE+:: Allow resizing sections
132
- # +HEADER_NORMAL+:: Normal options, same as <tt>HEADER_HORIZONTAL|FRAME_NORMAL</tt>
127
+ # +HEADER_BUTTON+:: Button style can be clicked
128
+ # +HEADER_HORIZONTAL+:: Horizontal header control (default)
129
+ # +HEADER_VERTICAL+:: Vertical header control
130
+ # +HEADER_TRACKING+:: Tracks continuously while moving
131
+ # +HEADER_RESIZE+:: Allow resizing sections
132
+ # +HEADER_NORMAL+:: Normal options, same as <tt>HEADER_HORIZONTAL|FRAME_NORMAL</tt>
133
133
  #
134
134
  # === Message identifiers
135
135
  #
136
- # +ID_TIPTIMER+:: x
136
+ # +ID_TIPTIMER+:: x
137
137
  #
138
138
  class FXHeader < FXFrame
139
139
 
@@ -146,10 +146,10 @@ module Fox
146
146
  # Current position [Integer]
147
147
  attr_accessor :position
148
148
 
149
- # Text font [FXFont]
149
+ # Text font {FXFont}
150
150
  attr_accessor :font
151
151
 
152
- # Text color [FXColor]
152
+ # Text color {FXColor}
153
153
  attr_accessor :textColor
154
154
 
155
155
  # Header style options [Integer]
@@ -190,7 +190,7 @@ module Fox
190
190
  #
191
191
  # Replace the item at _index_ with a new item with the specified
192
192
  # text, icon, size and user data object, and return the index of the replaced
193
- # item. The new item is created by calling the FXHeader#createItem method.
193
+ # item.
194
194
  # If _notify_ is +true+, a +SEL_REPLACED+ message is sent to the header's
195
195
  # message target before the item is replaced.
196
196
  # Raises IndexError if _index_ is out of bounds.
@@ -215,7 +215,6 @@ module Fox
215
215
  #
216
216
  # Insert a new item at the specified _index_ with the specified text, icon, size
217
217
  # and user data object, and return the index of the inserted item.
218
- # The new item is created by calling the FXHeader#createItem method.
219
218
  # If _notify_ is +true+, a +SEL_INSERTED+ message is sent to the header's
220
219
  # message target after the item is inserted.
221
220
  # Raises IndexError if _index_ is out of bounds.
@@ -233,7 +232,6 @@ module Fox
233
232
  #
234
233
  # Append a new item with the specified text, icon, size and user data object,
235
234
  # and return the index of the appended item.
236
- # The new item is created by calling the FXHeader#createItem method.
237
235
  # If _notify_ is +true+, a +SEL_INSERTED+ message is sent to the header's
238
236
  # message target after the item is appended.
239
237
  #
@@ -250,7 +248,6 @@ module Fox
250
248
  #
251
249
  # Prepend a new item with the specified text, icon, size and user data object,
252
250
  # and return the index of the appended item.
253
- # The new item is created by calling the FXHeader#createItem method.
254
251
  # If _notify_ is +true+, a +SEL_INSERTED+ message is sent to the header's
255
252
  # message target after the item is appended.
256
253
  #
@@ -10,18 +10,18 @@ module Fox
10
10
  #
11
11
  # ==== Parameters:
12
12
  #
13
- # +p+:: the parent window for this horizontal frame [FXComposite]
14
- # +opts+:: frame options [Integer]
15
- # +x+:: initial x-position [Integer]
16
- # +y+:: initial y-position [Integer]
17
- # +width+:: initial width [Integer]
18
- # +height+:: initial height [Integer]
19
- # +padLeft+:: internal padding on the left side, in pixels [Integer]
20
- # +padRight+:: internal padding on the right side, in pixels [Integer]
21
- # +padTop+:: internal padding on the top side, in pixels [Integer]
22
- # +padBottom+:: internal padding on the bottom side, in pixels [Integer]
23
- # +hSpacing+:: horizontal spacing between widgets, in pixels [Integer]
24
- # +vSpacing+:: vertical spacing between widgets, in pixels [Integer]
13
+ # +p+:: the parent window for this horizontal frame {FXComposite}
14
+ # +opts+:: frame options [Integer]
15
+ # +x+:: initial x-position [Integer]
16
+ # +y+:: initial y-position [Integer]
17
+ # +width+:: initial width [Integer]
18
+ # +height+:: initial height [Integer]
19
+ # +padLeft+:: internal padding on the left side, in pixels [Integer]
20
+ # +padRight+:: internal padding on the right side, in pixels [Integer]
21
+ # +padTop+:: internal padding on the top side, in pixels [Integer]
22
+ # +padBottom+:: internal padding on the bottom side, in pixels [Integer]
23
+ # +hSpacing+:: horizontal spacing between widgets, in pixels [Integer]
24
+ # +vSpacing+:: vertical spacing between widgets, in pixels [Integer]
25
25
  #
26
26
  def initialize(p, opts=0, x=0, y=0, width=0, height=0, padLeft=DEFAULT_SPACING, padRight=DEFAULT_SPACING, padTop=DEFAULT_SPACING, padBottom=DEFAULT_SPACING, hSpacing=DEFAULT_SPACING, vSpacing=DEFAULT_SPACING) # :yields: theHorizontalFrame
27
27
  end
@@ -18,12 +18,12 @@ module Fox
18
18
  #
19
19
  # ==== Parameters:
20
20
  #
21
- # +a+:: an application instance [FXApp]
22
- # +pix+:: a memory buffer formatted in ICO file format [String]
23
- # +clr+:: transparency color [FXColor]
24
- # +opts+:: options [Integer]
25
- # +width+:: width [Integer]
26
- # +height+:: height [Integer]
21
+ # +a+:: an application instance {FXApp}
22
+ # +pix+:: a memory buffer formatted in ICO file format [String]
23
+ # +clr+:: transparency color {FXColor}
24
+ # +opts+:: options [Integer]
25
+ # +width+:: width [Integer]
26
+ # +height+:: height [Integer]
27
27
  #
28
28
  def initialize(a, pix=nil, clr=0, opts=0, width=1, height=1) # :yields: theICOIcon
29
29
  end
@@ -37,7 +37,7 @@ module Fox
37
37
  #
38
38
  # ==== Parameters:
39
39
  #
40
- # +store+:: stream from which to read the file data [FXStream]
40
+ # +store+:: stream from which to read the file data {FXStream}
41
41
  #
42
42
  def Fox.fxloadICO(store); end
43
43
 
@@ -47,13 +47,13 @@ module Fox
47
47
  #
48
48
  # ==== Parameters:
49
49
  #
50
- # +store+:: stream to which to write the image data [FXStream]
51
- # +pixels+:: the image pixel data [String]
52
- # +transp+:: transparency color [FXColor]
53
- # +width+:: width [Integer]
54
- # +height+:: height [Integer]
55
- # +xspot+:: hotspot x-coordinate [Integer]
56
- # +yspot+:: hotspot y-coordinate [Integer]
50
+ # +store+:: stream to which to write the image data {FXStream}
51
+ # +pixels+:: the image pixel data [String]
52
+ # +transp+:: transparency color {FXColor}
53
+ # +width+:: width [Integer]
54
+ # +height+:: height [Integer]
55
+ # +xspot+:: hotspot x-coordinate [Integer]
56
+ # +yspot+:: hotspot y-coordinate [Integer]
57
57
  #
58
58
  def Fox.fxsaveICO(store, pixels, transp, width, height, xspot=-1, yspot=-1); end
59
59
 
@@ -18,11 +18,11 @@ module Fox
18
18
  #
19
19
  # ==== Parameters:
20
20
  #
21
- # +a+:: an application instance [FXApp]
22
- # +pix+:: a memory buffer formatted in ICO 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 ICO file format [String]
23
+ # +opts+:: options [Integer]
24
+ # +width+:: width [Integer]
25
+ # +height+:: height [Integer]
26
26
  #
27
27
  def initialize(a, pix=nil, opts=0, width=1, height=1) # :yields: theICOImage
28
28
  end
@@ -7,7 +7,7 @@ module Fox
7
7
  #
8
8
  class FXIcon < FXImage
9
9
 
10
- # Transparency color [FXColor]
10
+ # Transparency color {FXColor}
11
11
  attr_accessor :transparentColor
12
12
 
13
13
  #
@@ -25,12 +25,12 @@ module Fox
25
25
  #
26
26
  # ==== Parameters:
27
27
  #
28
- # +a+:: an application instance [FXApp]
29
- # +pix+:: initial pixel buffer [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+:: initial pixel buffer [String]
30
+ # +clr+:: transparency color {FXColor}
31
+ # +opts+:: options [Integer]
32
+ # +width+:: width [Integer]
33
+ # +height+:: height [Integer]
34
34
  #
35
35
  def initialize(app, pix=nil, clr=0, opts=0, width=1, height=1) # :yields: theIcon
36
36
  end
@@ -22,6 +22,7 @@ module Fox
22
22
  # creates a default icon source object.
23
23
  #
24
24
  def initialize(app, path=FXIconDict.defaultIconPath);
25
+ end
25
26
 
26
27
  # Change icon source to _src_ (an FXIconSource instance).
27
28
  def iconSource=(src); end
@@ -7,23 +7,23 @@ module Fox
7
7
  # Item text [String]
8
8
  attr_accessor :text
9
9
 
10
- # Big icon [FXIcon]
10
+ # Big icon {FXIcon}
11
11
  attr_accessor :bigIcon
12
12
 
13
- # Mini icon [FXIcon]
13
+ # Mini icon {FXIcon}
14
14
  attr_accessor :miniIcon
15
15
 
16
16
  # Item user data [Object]
17
17
  attr_accessor :data
18
18
 
19
19
  # Indicates whether this item is selected or not [Boolean]
20
- attr_writer :selected
20
+ attr_writer :selected
21
21
 
22
22
  # Indicates whether this item is enabled or not [Boolean]
23
- attr_writer :enabled
23
+ attr_writer :enabled
24
24
 
25
25
  # Indicates whether this item is draggable or not [Boolean]
26
- attr_writer :draggable
26
+ attr_writer :draggable
27
27
 
28
28
  # Constructor
29
29
  def initialize(text, bigIcon=nil, miniIcon=nil, data=nil) # :yields: theIconItem
@@ -87,73 +87,73 @@ module Fox
87
87
  #
88
88
  # The following messages are sent by FXIconList to its target:
89
89
  #
90
- # +SEL_CHANGED+:: sent when the current list item changes; the message data is an Integer indicating the index of the current item.
91
- # +SEL_COMMAND+:: sent when the current list item changes; the message data is an Integer indicating the index of the current item.
92
- # +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
93
- # +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
94
- # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
95
- # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
96
- # +SEL_RIGHTBUTTONPRESS+:: sent when the right mouse button goes down; the message data is an FXEvent instance.
97
- # +SEL_RIGHTBUTTONRELEASE+:: sent when the right mouse button goes up; the message data is an FXEvent instance.
98
- # +SEL_CLICKED+:: sent when a list item is single-clicked; the message data is an Integer indicating the index of the current item.
99
- # +SEL_DOUBLECLICKED+:: sent when a list item is double-clicked; the message data is an Integer indicating the index of the current item.
100
- # +SEL_TRIPLECLICKED+:: sent when a list item is triple-clicked; the message data is an Integer indicating the index of the current item.
101
- # +SEL_SELECTED+:: sent when a list item is selected; the message data is an Integer indicating the index of the selected item.
102
- # +SEL_DESELECTED+:: sent when a list item is deselected; the message data is an Integer indicating the index of the deselected item.
103
- # +SEL_REPLACED+:: sent when a list item is about to be replaced; the message data is an Integer indicating the index of the item to be replaced.
104
- # +SEL_INSERTED+:: sent after a list item is inserted; the message data is an Integer indicating the index of the item that was inserted.
105
- # +SEL_DELETED+:: sent when a list item is about to be removed; the message data is an Integer indicating the index of the item to be removed.
90
+ # +SEL_CHANGED+:: sent when the current list item changes; the message data is an Integer indicating the index of the current item.
91
+ # +SEL_COMMAND+:: sent when the current list item changes; the message data is an Integer indicating the index of the current item.
92
+ # +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
93
+ # +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
94
+ # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
95
+ # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
96
+ # +SEL_RIGHTBUTTONPRESS+:: sent when the right mouse button goes down; the message data is an FXEvent instance.
97
+ # +SEL_RIGHTBUTTONRELEASE+:: sent when the right mouse button goes up; the message data is an FXEvent instance.
98
+ # +SEL_CLICKED+:: sent when a list item is single-clicked; the message data is an Integer indicating the index of the current item.
99
+ # +SEL_DOUBLECLICKED+:: sent when a list item is double-clicked; the message data is an Integer indicating the index of the current item.
100
+ # +SEL_TRIPLECLICKED+:: sent when a list item is triple-clicked; the message data is an Integer indicating the index of the current item.
101
+ # +SEL_SELECTED+:: sent when a list item is selected; the message data is an Integer indicating the index of the selected item.
102
+ # +SEL_DESELECTED+:: sent when a list item is deselected; the message data is an Integer indicating the index of the deselected item.
103
+ # +SEL_REPLACED+:: sent when a list item is about to be replaced; the message data is an Integer indicating the index of the item to be replaced.
104
+ # +SEL_INSERTED+:: sent after a list item is inserted; the message data is an Integer indicating the index of the item that was inserted.
105
+ # +SEL_DELETED+:: sent when a list item is about to be removed; the message data is an Integer indicating the index of the item to be removed.
106
106
  #
107
107
  # === Icon list styles
108
108
  #
109
- # +ICONLIST_EXTENDEDSELECT+:: Extended selection mode
110
- # +ICONLIST_SINGLESELECT+:: At most one selected item
111
- # +ICONLIST_BROWSESELECT+:: Always exactly one selected item
112
- # +ICONLIST_MULTIPLESELECT+:: Multiple selection mode
113
- # +ICONLIST_AUTOSIZE+:: Automatically size item spacing
114
- # +ICONLIST_DETAILED+:: List mode
115
- # +ICONLIST_MINI_ICONS+:: Mini Icon mode
116
- # +ICONLIST_BIG_ICONS+:: Big Icon mode
117
- # +ICONLIST_ROWS+:: Row-wise mode
118
- # +ICONLIST_COLUMNS+:: Column-wise mode
119
- # +ICONLIST_NORMAL+:: same as +ICONLIST_EXTENDEDSELECT+
109
+ # +ICONLIST_EXTENDEDSELECT+:: Extended selection mode
110
+ # +ICONLIST_SINGLESELECT+:: At most one selected item
111
+ # +ICONLIST_BROWSESELECT+:: Always exactly one selected item
112
+ # +ICONLIST_MULTIPLESELECT+:: Multiple selection mode
113
+ # +ICONLIST_AUTOSIZE+:: Automatically size item spacing
114
+ # +ICONLIST_DETAILED+:: List mode
115
+ # +ICONLIST_MINI_ICONS+:: Mini Icon mode
116
+ # +ICONLIST_BIG_ICONS+:: Big Icon mode
117
+ # +ICONLIST_ROWS+:: Row-wise mode
118
+ # +ICONLIST_COLUMNS+:: Column-wise mode
119
+ # +ICONLIST_NORMAL+:: same as +ICONLIST_EXTENDEDSELECT+
120
120
  #
121
121
  # === Message identifiers
122
122
  #
123
- # +ID_SHOW_DETAILS+:: x
124
- # +ID_SHOW_MINI_ICONS+:: x
125
- # +ID_SHOW_BIG_ICONS+:: x
126
- # +ID_ARRANGE_BY_ROWS+:: x
127
- # +ID_ARRANGE_BY_COLUMNS+:: x
128
- # +ID_HEADER_CHANGE+:: x
129
- # +ID_TIPTIMER+:: x
130
- # +ID_LOOKUPTIMER+:: x
131
- # +ID_SELECT_ALL+:: x
132
- # +ID_DESELECT_ALL+:: x
133
- # +ID_SELECT_INVERSE+:: x
123
+ # +ID_SHOW_DETAILS+:: x
124
+ # +ID_SHOW_MINI_ICONS+:: x
125
+ # +ID_SHOW_BIG_ICONS+:: x
126
+ # +ID_ARRANGE_BY_ROWS+:: x
127
+ # +ID_ARRANGE_BY_COLUMNS+:: x
128
+ # +ID_HEADER_CHANGE+:: x
129
+ # +ID_TIPTIMER+:: x
130
+ # +ID_LOOKUPTIMER+:: x
131
+ # +ID_SELECT_ALL+:: x
132
+ # +ID_DESELECT_ALL+:: x
133
+ # +ID_SELECT_INVERSE+:: x
134
134
 
135
135
  class FXIconList < FXScrollArea
136
136
 
137
137
  # Number of items [Integer]
138
- attr_reader :numItems
138
+ attr_reader :numItems
139
139
 
140
140
  # Number of rows [Integer]
141
- attr_reader :numRows
141
+ attr_reader :numRows
142
142
 
143
143
  # Number of columns [Integer]
144
- attr_reader :numCols
144
+ attr_reader :numCols
145
145
 
146
- # The header control [FXHeader]
147
- attr_reader :header
146
+ # The header control {FXHeader}
147
+ attr_reader :header
148
148
 
149
149
  # The number of header items in the header control [Integer]
150
- attr_reader :numHeaders
150
+ attr_reader :numHeaders
151
151
 
152
152
  # Item width [Integer]
153
- attr_reader :itemWidth
153
+ attr_reader :itemWidth
154
154
 
155
155
  # Item height [Integer]
156
- attr_reader :itemHeight
156
+ attr_reader :itemHeight
157
157
 
158
158
  # Index of current item, or -1 if none [Integer]
159
159
  attr_accessor :currentItem
@@ -162,18 +162,18 @@ module Fox
162
162
  attr_accessor :anchorItem
163
163
 
164
164
  # Index of item under the cursor, or -1 if none [Integer]
165
- attr_reader :cursorItem
165
+ attr_reader :cursorItem
166
166
 
167
- # Text font [FXFont]
167
+ # Text font {FXFont}
168
168
  attr_accessor :font
169
169
 
170
- # Normal text color [FXColor]
170
+ # Normal text color {FXColor}
171
171
  attr_accessor :textColor
172
172
 
173
- # Background color for selected item(s) [FXColor]
173
+ # Background color for selected item(s) {FXColor}
174
174
  attr_accessor :selBackColor
175
175
 
176
- # Text color for selected item(s) [FXColor]
176
+ # Text color for selected item(s) {FXColor}
177
177
  attr_accessor :selTextColor
178
178
 
179
179
  # Maximum item space (in pixels) for each item [Integer]
@@ -333,7 +333,7 @@ module Fox
333
333
  #
334
334
  # Scroll to bring item into view. The argument is either a reference to
335
335
  # an FXIconItem instance, or the integer index of an item in the list.
336
- # For the latter case, #makeItemVisible raises IndexError if the index
336
+ # For the latter case, {#makeItemVisible} raises IndexError if the index
337
337
  # is out of bounds.
338
338
  #
339
339
  def makeItemVisible(itemOrIndex); end
@@ -364,7 +364,7 @@ module Fox
364
364
 
365
365
  # Change user _data_ for item at _index_.
366
366
  # Raises IndexError if _index_ is out of bounds.
367
- def setItemData(index, data);
367
+ def setItemData(index, data); end
368
368
 
369
369
  # Return user data for item at _index_.
370
370
  # Raises IndexError if _index_ is out of bounds.
@@ -401,11 +401,11 @@ module Fox
401
401
 
402
402
  # Enable item at _index_.
403
403
  # Raises IndexError if _index_ is out of bounds.
404
- def enableItem(index);
404
+ def enableItem(index); end
405
405
 
406
406
  # Disable item at _index_.
407
407
  # Raises IndexError if _index_ is out of bounds.
408
- def disableItem(index);
408
+ def disableItem(index); end
409
409
 
410
410
  # Select item at _index_.
411
411
  # If _notify_ is +true+, a +SEL_SELECTED+ message is sent to the list's