fxruby 1.6.4 → 1.6.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. data/doc/apes02.html +2 -2
  2. data/doc/apes03.html +2 -2
  3. data/doc/book.html +1 -1
  4. data/doc/changes.html +40 -20
  5. data/doc/differences.html +183 -4
  6. data/doc/implementation.html +1 -1
  7. data/doc/library.html +5 -5
  8. data/doc/opengl.html +5 -5
  9. data/doc/pt02.html +1 -1
  10. data/doc/scintilla.html +4 -4
  11. data/doc/subversion.html +21 -0
  12. data/examples/raabrowser.rb +1 -1
  13. data/ext/fox16/table_wrap.cpp +3 -10
  14. data/lib/fox16/iterators.rb +37 -0
  15. data/lib/fox16/kwargs.rb +1160 -960
  16. data/lib/fox16/timeout.rb +1 -1
  17. data/lib/fox16/version.rb +1 -1
  18. data/rdoc-sources/FX4Splitter.rb +8 -8
  19. data/rdoc-sources/FX7Segment.rb +1 -1
  20. data/rdoc-sources/FXAccelTable.rb +2 -2
  21. data/rdoc-sources/FXBMPIcon.rb +3 -3
  22. data/rdoc-sources/FXBMPImage.rb +3 -3
  23. data/rdoc-sources/FXBitmapFrame.rb +1 -1
  24. data/rdoc-sources/FXBitmapView.rb +1 -1
  25. data/rdoc-sources/FXChoiceBox.rb +3 -3
  26. data/rdoc-sources/FXColorList.rb +1 -1
  27. data/rdoc-sources/FXColorRing.rb +1 -1
  28. data/rdoc-sources/FXColorWheel.rb +9 -9
  29. data/rdoc-sources/FXComboBox.rb +9 -9
  30. data/rdoc-sources/FXDC.rb +10 -10
  31. data/rdoc-sources/FXDataTarget.rb +1 -1
  32. data/rdoc-sources/FXDial.rb +9 -9
  33. data/rdoc-sources/FXDialogBox.rb +1 -1
  34. data/rdoc-sources/FXDirBox.rb +1 -1
  35. data/rdoc-sources/FXDirDialog.rb +1 -1
  36. data/rdoc-sources/FXDirList.rb +1 -1
  37. data/rdoc-sources/FXDirSelector.rb +1 -1
  38. data/rdoc-sources/FXDockBar.rb +20 -20
  39. data/rdoc-sources/FXDockSite.rb +1 -1
  40. data/rdoc-sources/FXDockTitle.rb +1 -1
  41. data/rdoc-sources/FXDrawable.rb +2 -2
  42. data/rdoc-sources/FXDriveBox.rb +1 -1
  43. data/rdoc-sources/FXFileDialog.rb +1 -1
  44. data/rdoc-sources/FXFileList.rb +1 -1
  45. data/rdoc-sources/FXFileSelector.rb +1 -1
  46. data/rdoc-sources/FXFoldingList.rb +6 -6
  47. data/rdoc-sources/FXFontDialog.rb +1 -1
  48. data/rdoc-sources/FXFontSelector.rb +1 -1
  49. data/rdoc-sources/FXGIFIcon.rb +3 -3
  50. data/rdoc-sources/FXGIFImage.rb +3 -3
  51. data/rdoc-sources/FXGLCanvas.rb +2 -2
  52. data/rdoc-sources/FXGLViewer.rb +2 -2
  53. data/rdoc-sources/FXGradientBar.rb +1 -1
  54. data/rdoc-sources/FXHeader.rb +1 -1
  55. data/rdoc-sources/FXHorizontalFrame.rb +9 -9
  56. data/rdoc-sources/FXICOIcon.rb +3 -3
  57. data/rdoc-sources/FXICOImage.rb +3 -3
  58. data/rdoc-sources/FXIcon.rb +3 -3
  59. data/rdoc-sources/FXIconList.rb +1 -1
  60. data/rdoc-sources/FXImage.rb +7 -7
  61. data/rdoc-sources/FXImageFrame.rb +1 -1
  62. data/rdoc-sources/FXImageView.rb +1 -1
  63. data/rdoc-sources/FXInputDialog.rb +1 -1
  64. data/rdoc-sources/FXJPGIcon.rb +3 -3
  65. data/rdoc-sources/FXJPGImage.rb +3 -3
  66. data/rdoc-sources/FXKnob.rb +1 -1
  67. data/rdoc-sources/FXList.rb +1 -1
  68. data/rdoc-sources/FXListBox.rb +1 -1
  69. data/rdoc-sources/FXMDIButton.rb +6 -6
  70. data/rdoc-sources/FXMDIChild.rb +1 -1
  71. data/rdoc-sources/FXMDIClient.rb +2 -2
  72. data/rdoc-sources/FXMenuBar.rb +1 -1
  73. data/rdoc-sources/FXMenuCheck.rb +1 -1
  74. data/rdoc-sources/FXMenuCommand.rb +1 -1
  75. data/rdoc-sources/FXMenuRadio.rb +1 -1
  76. data/rdoc-sources/FXOptionMenu.rb +2 -2
  77. data/rdoc-sources/FXPCXIcon.rb +3 -3
  78. data/rdoc-sources/FXPCXImage.rb +3 -3
  79. data/rdoc-sources/FXPNGIcon.rb +3 -3
  80. data/rdoc-sources/FXPNGImage.rb +3 -3
  81. data/rdoc-sources/FXPPMIcon.rb +3 -3
  82. data/rdoc-sources/FXPPMImage.rb +3 -3
  83. data/rdoc-sources/FXPicker.rb +1 -1
  84. data/rdoc-sources/FXPopup.rb +2 -2
  85. data/rdoc-sources/FXPrintDialog.rb +1 -1
  86. data/rdoc-sources/FXProgressBar.rb +1 -1
  87. data/rdoc-sources/FXProgressDialog.rb +1 -1
  88. data/rdoc-sources/FXQuatd.rb +1 -1
  89. data/rdoc-sources/FXQuatf.rb +1 -1
  90. data/rdoc-sources/FXRGBIcon.rb +3 -3
  91. data/rdoc-sources/FXRGBImage.rb +3 -3
  92. data/rdoc-sources/FXRealSlider.rb +9 -9
  93. data/rdoc-sources/FXRealSpinner.rb +9 -9
  94. data/rdoc-sources/FXRecentFiles.rb +1 -1
  95. data/rdoc-sources/FXReplaceDialog.rb +3 -3
  96. data/rdoc-sources/FXRuler.rb +1 -1
  97. data/rdoc-sources/FXRulerView.rb +1 -1
  98. data/rdoc-sources/FXScintilla.rb +1 -1
  99. data/rdoc-sources/FXScrollBar.rb +5 -5
  100. data/rdoc-sources/FXScrollWindow.rb +3 -3
  101. data/rdoc-sources/FXSearchDialog.rb +3 -3
  102. data/rdoc-sources/FXSeparator.rb +15 -15
  103. data/rdoc-sources/FXShutter.rb +20 -20
  104. data/rdoc-sources/FXSlider.rb +9 -9
  105. data/rdoc-sources/FXSpinner.rb +9 -9
  106. data/rdoc-sources/FXSplitter.rb +8 -8
  107. data/rdoc-sources/FXSpring.rb +9 -9
  108. data/rdoc-sources/FXStatusBar.rb +9 -9
  109. data/rdoc-sources/FXStatusLine.rb +3 -3
  110. data/rdoc-sources/FXSwitcher.rb +7 -7
  111. data/rdoc-sources/FXTGAIcon.rb +3 -3
  112. data/rdoc-sources/FXTGAImage.rb +3 -3
  113. data/rdoc-sources/FXTIFIcon.rb +3 -3
  114. data/rdoc-sources/FXTIFImage.rb +3 -3
  115. data/rdoc-sources/FXTabBar.rb +9 -9
  116. data/rdoc-sources/FXTabBook.rb +9 -9
  117. data/rdoc-sources/FXTabItem.rb +7 -7
  118. data/rdoc-sources/FXTable.rb +10 -10
  119. data/rdoc-sources/FXText.rb +5 -5
  120. data/rdoc-sources/FXTextField.rb +9 -9
  121. data/rdoc-sources/FXToggleButton.rb +9 -9
  122. data/rdoc-sources/FXToolBar.rb +20 -20
  123. data/rdoc-sources/FXToolBarGrip.rb +5 -5
  124. data/rdoc-sources/FXToolBarShell.rb +5 -5
  125. data/rdoc-sources/FXToolBarTab.rb +5 -5
  126. data/rdoc-sources/FXToolTip.rb +1 -1
  127. data/rdoc-sources/FXTreeList.rb +5 -5
  128. data/rdoc-sources/FXTreeListBox.rb +10 -10
  129. data/rdoc-sources/FXTriStateButton.rb +9 -9
  130. data/rdoc-sources/FXVerticalFrame.rb +9 -9
  131. data/rdoc-sources/FXWindow.rb +5 -5
  132. data/rdoc-sources/FXWizard.rb +1 -1
  133. data/rdoc-sources/FXXBMIcon.rb +3 -3
  134. data/rdoc-sources/FXXBMImage.rb +3 -3
  135. data/rdoc-sources/FXXPMIcon.rb +3 -3
  136. data/rdoc-sources/FXXPMImage.rb +3 -3
  137. metadata +5 -4
  138. data/doc/cvs.html +0 -35
@@ -19,8 +19,8 @@ module Fox
19
19
  #
20
20
  # ==== Parameters:
21
21
  #
22
- # +w+:: new drawable width, in pixels [Integer]
23
- # +h+:: new drawable height, in pixels [Integer]
22
+ # +width+:: new drawable width, in pixels [Integer]
23
+ # +height+:: new drawable height, in pixels [Integer]
24
24
  #
25
25
  def resize(w, h); end
26
26
  end
@@ -18,7 +18,7 @@ module Fox
18
18
  attr_accessor :associations
19
19
 
20
20
  # Returns an initialized FXDriveBox instance
21
- def initialize(p, tgt=nil, sel=0, opts=FRAME_SUNKEN|FRAME_THICK|LISTBOX_NORMAL, x=0, y=0, w=0, h=0, pl=DEFAULT_PAD, pr=DEFAULT_PAD, pt=DEFAULT_PAD, pb=DEFAULT_PAD) # :yields: theDriveBox
21
+ def initialize(p, target=nil, selector=0, opts=FRAME_SUNKEN|FRAME_THICK|LISTBOX_NORMAL, x=0, y=0, width=0, height=0, padLeft=DEFAULT_PAD, padRight=DEFAULT_PAD, padTop=DEFAULT_PAD, padBottom=DEFAULT_PAD) # :yields: theDriveBox
22
22
  end
23
23
 
24
24
  #
@@ -63,7 +63,7 @@ module Fox
63
63
  attr_accessor :imageSize
64
64
 
65
65
  # Construct a file dialog box
66
- def initialize(owner, name, opts=0, x=0, y=0, w=500, h=300) # :yields: theFileDialog
66
+ def initialize(owner, name, opts=0, x=0, y=0, width=500, height=300) # :yields: theFileDialog
67
67
  end
68
68
 
69
69
  #
@@ -105,7 +105,7 @@ module Fox
105
105
  attr_accessor :imageSize
106
106
 
107
107
  # Construct a file list
108
- def initialize(p, tgt=nil, sel=0, opts=0, x=0, y=0, w=0, h=0) # :yields: theFileList
108
+ def initialize(p, target=nil, selector=0, opts=0, x=0, y=0, width=0, height=0) # :yields: theFileList
109
109
  end
110
110
 
111
111
  #
@@ -79,7 +79,7 @@ module Fox
79
79
  #
80
80
  # Return an initialized FXFileSelector instance.
81
81
  #
82
- def initialize(p, tgt=nil, sel=0, opts=0, x=0, y=0, w=0, h=0) # :yields: theFileSelector
82
+ def initialize(p, target=nil, selector=0, opts=0, x=0, y=0, width=0, height=0) # :yields: theFileSelector
83
83
  end
84
84
 
85
85
  #
@@ -184,7 +184,7 @@ module Fox
184
184
  # +FOLDINGLIST_SHOWS_LINES+:: Lines shown
185
185
  # +FOLDINGLIST_SHOWS_BOXES+:: Boxes to expand shown
186
186
  # +FOLDINGLIST_ROOT_BOXES+:: Display root boxes also
187
- # +FOLDINGLIST_NORMAL+:: same as +FOLDINGLIST_EXTENDEDLIST+
187
+ # +FOLDINGLIST_NORMAL+:: same as +FOLDINGLIST_EXTENDEDSELECT+
188
188
 
189
189
  class FXFoldingList < FXScrollArea
190
190
 
@@ -245,15 +245,15 @@ module Fox
245
245
  # ==== Parameters:
246
246
  #
247
247
  # +p+:: the parent window for this folding list [FXComposite]
248
- # +tgt+:: the message target, if any, for this folding list [FXObject]
249
- # +sel+:: the message identifier for this folding list [Integer]
248
+ # +target+:: the message target, if any, for this folding list [FXObject]
249
+ # +selector+:: the message identifier for this folding list [Integer]
250
250
  # +opts+:: folding list options [Integer]
251
251
  # +x+:: initial x-position [Integer]
252
252
  # +y+:: initial y-position [Integer]
253
- # +w+:: initial width [Integer]
254
- # +h+:: initial height [Integer]
253
+ # +width+:: initial width [Integer]
254
+ # +height+:: initial height [Integer]
255
255
  #
256
- def initialize(p, tgt=nil, sel=0, opts=TREELIST_NORMAL, x=0, y=0, w=0, h=0) # :yields: theFoldingList
256
+ def initialize(p, target=nil, selector=0, opts=TREELIST_NORMAL, x=0, y=0, width=0, height=0) # :yields: theFoldingList
257
257
  end
258
258
 
259
259
  # Set headers from an array of strings.
@@ -8,7 +8,7 @@ module Fox
8
8
  attr_accessor :fontSelection
9
9
 
10
10
  # Return an initialized FXFontDialog instance.
11
- def initialize(owner, name, opts=0, x=0, y=0, w=600, h=380); end
11
+ def initialize(owner, name, opts=0, x=0, y=0, width=600, height=380); end
12
12
  end
13
13
  end
14
14
 
@@ -30,7 +30,7 @@ module Fox
30
30
  #
31
31
  # Return an initialized FXFontSelector instance.
32
32
  #
33
- def initialize(p, tgt=nil, sel=0, opts=0, x=0, y=0, w=0, h=0) # :yields: theFontSelector
33
+ def initialize(p, target=nil, selector=0, opts=0, x=0, y=0, width=0, height=0) # :yields: theFontSelector
34
34
  end
35
35
  end
36
36
  end
@@ -22,10 +22,10 @@ module Fox
22
22
  # +pix+:: a memory buffer formatted in GIF file format [String]
23
23
  # +clr+:: transparency color [FXColor]
24
24
  # +opts+:: options [Integer]
25
- # +w+:: width [Integer]
26
- # +h+:: height [Integer]
25
+ # +width+:: width [Integer]
26
+ # +height+:: height [Integer]
27
27
  #
28
- def initialize(a, pix=nil, clr=0, opts=0, w=1, h=1) # :yields: theGIFIcon
28
+ def initialize(a, pix=nil, clr=0, opts=0, width=1, height=1) # :yields: theGIFIcon
29
29
  end
30
30
  end
31
31
  end
@@ -19,10 +19,10 @@ module Fox
19
19
  # +a+:: an application instance [FXApp]
20
20
  # +pix+:: a memory buffer formatted in GIF file format [String]
21
21
  # +opts+:: options [Integer]
22
- # +w+:: width [Integer]
23
- # +h+:: height [Integer]
22
+ # +width+:: width [Integer]
23
+ # +height+:: height [Integer]
24
24
  #
25
- def initialize(a, pix=nil, opts=0, w=1, h=1) # :yields: theGIFImage
25
+ def initialize(a, pix=nil, opts=0, width=1, height=1) # :yields: theGIFImage
26
26
  end
27
27
  end
28
28
  end
@@ -6,7 +6,7 @@ module Fox
6
6
  #
7
7
  # Construct an OpenGL-capable canvas, with its own private display list.
8
8
  #
9
- def initialize(parent, vis, tgt=nil, sel=0, opts=0, x=0, y=0, w=0, h=0) # :yields: theGLCanvas
9
+ def initialize(parent, vis, target=nil, selector=0, opts=0, x=0, y=0, width=0, height=0) # :yields: theGLCanvas
10
10
  end
11
11
 
12
12
  #
@@ -15,7 +15,7 @@ module Fox
15
15
  # of a display list share group. All members of the display
16
16
  # list share group have to have the same visual.
17
17
  #
18
- def initialize(parent, vis, sharegroup, tgt=nil, sel=0, opts=0, x=0, y=0, w=0, h=0) # :yields: theGLCanvas
18
+ def initialize(parent, vis, sharegroup, target=nil, selector=0, opts=0, x=0, y=0, width=0, height=0) # :yields: theGLCanvas
19
19
  end
20
20
 
21
21
  # Return +true+ if sharing display lists.
@@ -252,13 +252,13 @@ module Fox
252
252
  #
253
253
  # Construct GL viewer widget
254
254
  #
255
- def initialize(p, vis, tgt=nil, sel=0, opts=0, x=0, y=0, w=0, h=0) # :yields: theGLViewer
255
+ def initialize(p, vis, target=nil, selector=0, opts=0, x=0, y=0, width=0, height=0) # :yields: theGLViewer
256
256
  end
257
257
 
258
258
  #
259
259
  # Construct GL viewer widget sharing display list with another GL viewer
260
260
  #
261
- def initialize(p, vis, sharegroup, tgt=nil, sel=0, opts=0, x=0, y=0, w=0, h=0) # :yields: theGLViewer
261
+ def initialize(p, vis, sharegroup, target=nil, selector=0, opts=0, x=0, y=0, width=0, height=0) # :yields: theGLViewer
262
262
  end
263
263
 
264
264
  # Return an array of all objects in the given rectangle
@@ -94,7 +94,7 @@ module Fox
94
94
  #
95
95
  # Return an initialized FXGradientBar instance.
96
96
  #
97
- def initialize(p, tgt=nil, sel=0, opts=FRAME_NORMAL, x=0, y=0, w=0, h=0, pl=DEFAULT_PAD, pr=DEFAULT_PAD, pt=DEFAULT_PAD, pb=DEFAULT_PAD) # :yields: theGradientBar
97
+ def initialize(p, 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: theGradientBar
98
98
  end
99
99
 
100
100
  #
@@ -158,7 +158,7 @@ module Fox
158
158
  #
159
159
  # Return an initialized FXHeader instance.
160
160
  #
161
- def initialize(p, tgt=nil, sel=0, opts=HEADER_NORMAL, x=0, y=0, w=0, h=0, pl=DEFAULT_PAD, pr=DEFAULT_PAD, pt=DEFAULT_PAD, pb=DEFAULT_PAD) # :yields: theHeader
161
+ def initialize(p, target=nil, selector=0, opts=HEADER_NORMAL, x=0, y=0, width=0, height=0, padLeft=DEFAULT_PAD, padRight=DEFAULT_PAD, padTop=DEFAULT_PAD, padBottom=DEFAULT_PAD) # :yields: theHeader
162
162
  end
163
163
 
164
164
  #
@@ -14,16 +14,16 @@ module Fox
14
14
  # +opts+:: frame options [Integer]
15
15
  # +x+:: initial x-position [Integer]
16
16
  # +y+:: initial y-position [Integer]
17
- # +w+:: initial width [Integer]
18
- # +h+:: initial height [Integer]
19
- # +pl+:: internal padding on the left side, in pixels [Integer]
20
- # +pr+:: internal padding on the right side, in pixels [Integer]
21
- # +pt+:: internal padding on the top side, in pixels [Integer]
22
- # +pb+:: internal padding on the bottom side, in pixels [Integer]
23
- # +hs+:: horizontal spacing between widgets, in pixels [Integer]
24
- # +vs+:: vertical spacing between widgets, in pixels [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
- def initialize(p, opts=0, x=0, y=0, w=0, h=0, pl=DEFAULT_SPACING, pr=DEFAULT_SPACING, pt=DEFAULT_SPACING, pb=DEFAULT_SPACING, hs=DEFAULT_SPACING, vs=DEFAULT_SPACING) # :yields: theHorizontalFrame
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
28
28
  end
29
29
  end
@@ -22,10 +22,10 @@ module Fox
22
22
  # +pix+:: a memory buffer formatted in ICO file format [String]
23
23
  # +clr+:: transparency color [FXColor]
24
24
  # +opts+:: options [Integer]
25
- # +w+:: width [Integer]
26
- # +h+:: height [Integer]
25
+ # +width+:: width [Integer]
26
+ # +height+:: height [Integer]
27
27
  #
28
- def initialize(a, pix=nil, clr=0, opts=0, w=1, h=1) # :yields: theICOIcon
28
+ def initialize(a, pix=nil, clr=0, opts=0, width=1, height=1) # :yields: theICOIcon
29
29
  end
30
30
  end
31
31
 
@@ -21,10 +21,10 @@ module Fox
21
21
  # +a+:: an application instance [FXApp]
22
22
  # +pix+:: a memory buffer formatted in ICO file format [String]
23
23
  # +opts+:: options [Integer]
24
- # +w+:: width [Integer]
25
- # +h+:: height [Integer]
24
+ # +width+:: width [Integer]
25
+ # +height+:: height [Integer]
26
26
  #
27
- def initialize(a, pix=nil, opts=0, w=1, h=1) # :yields: theICOImage
27
+ def initialize(a, pix=nil, opts=0, width=1, height=1) # :yields: theICOImage
28
28
  end
29
29
  end
30
30
  end
@@ -29,10 +29,10 @@ module Fox
29
29
  # +pix+:: initial pixel buffer [String]
30
30
  # +clr+:: transparency color [FXColor]
31
31
  # +opts+:: options [Integer]
32
- # +w+:: width [Integer]
33
- # +h+:: height [Integer]
32
+ # +width+:: width [Integer]
33
+ # +height+:: height [Integer]
34
34
  #
35
- def initialize(app, pix=nil, clr=0, opts=0, w=1, h=1) # :yields: theIcon
35
+ def initialize(app, pix=nil, clr=0, opts=0, width=1, height=1) # :yields: theIcon
36
36
  end
37
37
  end
38
38
  end
@@ -183,7 +183,7 @@ module Fox
183
183
  attr_accessor :helpText
184
184
 
185
185
  # Construct icon list with no items in it initially
186
- def initialize(p, tgt=nil, sel=0, opts=ICONLIST_NORMAL, x=0, y=0, w=0, h=0) # :yields: theIconList
186
+ def initialize(p, target=nil, selector=0, opts=ICONLIST_NORMAL, x=0, y=0, width=0, height=0) # :yields: theIconList
187
187
  end
188
188
 
189
189
  # Set headers from an array of strings.
@@ -59,10 +59,10 @@ module Fox
59
59
  # +a+:: an application instance [FXApp]
60
60
  # +pixels+:: pixels [Array of FXColor values]
61
61
  # +opts+:: image options [Integer]
62
- # +w+:: image width [Integer]
63
- # +h+:: image height [Integer]
62
+ # +width+:: image width [Integer]
63
+ # +height+:: image height [Integer]
64
64
  #
65
- def initialize(a, pixels=nil, opts=0, w=1, h=1) # :yields: theImage
65
+ def initialize(a, pixels=nil, opts=0, width=1, height=1) # :yields: theImage
66
66
  end
67
67
 
68
68
  #
@@ -125,8 +125,8 @@ module Fox
125
125
  #
126
126
  # ==== Parameters:
127
127
  #
128
- # +w+:: new image width, in pixels [Integer]
129
- # +h+:: new image height, in pixels [Integer]
128
+ # +width+:: new image width, in pixels [Integer]
129
+ # +height+:: new image height, in pixels [Integer]
130
130
  # +quality+:: scaling algorithm quality, either 0 or 1 (see above) [Integer]
131
131
  #
132
132
  def scale(w, h, quality=0) ; end
@@ -160,8 +160,8 @@ module Fox
160
160
  #
161
161
  # +x+:: x-coordinate for top left corner of the clip rectangle [Integer]
162
162
  # +y+:: y-coordinate for top left corner of the clip rectangle [Integer]
163
- # +w+:: width of the clip rectangle [Integer]
164
- # +h+:: height of the clip rectangle [Integer]
163
+ # +width+:: width of the clip rectangle [Integer]
164
+ # +height+:: height of the clip rectangle [Integer]
165
165
  # +color+:: fill color for blank areas after crop [FXColor]
166
166
  #
167
167
  def crop(x, y, w, h, color=0) ; end
@@ -16,7 +16,7 @@ module Fox
16
16
  #
17
17
  # Return an initialized FXImageFrame instance.
18
18
  #
19
- def initialize(p, img, opts=FRAME_SUNKEN|FRAME_THICK, x=0, y=0, w=0, h=0, pl=0, pr=0, pt=0, pb=0) # :yields: theImageFrame
19
+ 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
20
20
  end
21
21
  end
22
22
  end
@@ -28,7 +28,7 @@ module Fox
28
28
  #
29
29
  # Return an initialized FXImageView instance.
30
30
  #
31
- def initialize(p, img=nil, tgt=nil, sel=0, opts=0, x=0, y=0, w=0, h=0) # :yields: theImageView
31
+ def initialize(p, img=nil, target=nil, selector=0, opts=0, x=0, y=0, width=0, height=0) # :yields: theImageView
32
32
  end
33
33
  end
34
34
  end
@@ -24,7 +24,7 @@ module Fox
24
24
  # If _owner_ is a window, the dialog box will float over that window.
25
25
  # If _owner_ is the application, the dialog box will be free-floating.
26
26
  #
27
- def initialize(owner, caption, label, icon=nil, opts=INPUTDIALOG_STRING, x=0, y=0, w=0, h=0) # :yields: theInputDialog
27
+ def initialize(owner, caption, label, icon=nil, opts=INPUTDIALOG_STRING, x=0, y=0, width=0, height=0) # :yields: theInputDialog
28
28
  end
29
29
 
30
30
  #
@@ -29,10 +29,10 @@ module Fox
29
29
  # +pix+:: a memory buffer formatted in JPEG file format [String]
30
30
  # +clr+:: transparency color [FXColor]
31
31
  # +opts+:: options [Integer]
32
- # +w+:: width [Integer]
33
- # +h+:: height [Integer]
32
+ # +width+:: width [Integer]
33
+ # +height+:: height [Integer]
34
34
  #
35
- def initialize(a, pix=nil, clr=0, opts=0, w=1, h=1) # :yields: theJPGIcon
35
+ def initialize(a, pix=nil, clr=0, opts=0, width=1, height=1) # :yields: theJPGIcon
36
36
  end
37
37
  end
38
38
  #
@@ -28,10 +28,10 @@ module Fox
28
28
  # +a+:: an application instance [FXApp]
29
29
  # +pix+:: a memory buffer formatted in JPEG file format [String]
30
30
  # +opts+:: options [Integer]
31
- # +w+:: width [Integer]
32
- # +h+:: height [Integer]
31
+ # +width+:: width [Integer]
32
+ # +height+:: height [Integer]
33
33
  #
34
- def initialize(a, pix=nil, opts=0, w=1, h=1) # :yields: theJPGImage
34
+ def initialize(a, pix=nil, opts=0, width=1, height=1) # :yields: theJPGImage
35
35
  end
36
36
  end
37
37
  end
@@ -58,7 +58,7 @@ module Fox
58
58
  #
59
59
  # Return a new FXKnob instance.
60
60
  #
61
- def initialize(p, tgt=nil, sel=0, opts=KNOB_NORMAL, x=0, y=0, w=0, h=0, pl=DEFAULT_PAD, pr=DEFAULT_PAD, pt=DEFAULT_PAD, pb=DEFAULT_PAD) # :yields: theKnob
61
+ def initialize(p, target=nil, selector=0, opts=KNOB_NORMAL, x=0, y=0, width=0, height=0, padLeft=DEFAULT_PAD, padRight=DEFAULT_PAD, padTop=DEFAULT_PAD, padBottom=DEFAULT_PAD) # :yields: theKnob
62
62
  end
63
63
 
64
64
  #
@@ -141,7 +141,7 @@ module Fox
141
141
  attr_accessor :helpText
142
142
 
143
143
  # Construct a list with initially no items in it.
144
- def initialize(p, tgt=nil, sel=0, opts=LIST_NORMAL, x=0, y=0, w=0, h=0) # :yields: theList
144
+ def initialize(p, target=nil, selector=0, opts=LIST_NORMAL, x=0, y=0, width=0, height=0) # :yields: theList
145
145
  end
146
146
 
147
147
  # Return the item at the given _index_; returns a reference to an FXListItem instance.
@@ -61,7 +61,7 @@ module Fox
61
61
  #
62
62
  # Returns an initialized FXListBox instance.
63
63
  #
64
- def initialize(p, tgt=nil, sel=0, opts=FRAME_SUNKEN|FRAME_THICK|LISTBOX_NORMAL, x=0, y=0, w=0, h=0, pl=DEFAULT_PAD, pr=DEFAULT_PAD, pt=DEFAULT_PAD, pb=DEFAULT_PAD) # :yields: theListBox
64
+ def initialize(p, target=nil, selector=0, opts=FRAME_SUNKEN|FRAME_THICK|LISTBOX_NORMAL, x=0, y=0, width=0, height=0, padLeft=DEFAULT_PAD, padRight=DEFAULT_PAD, padTop=DEFAULT_PAD, padBottom=DEFAULT_PAD) # :yields: theListBox
65
65
  end
66
66
 
67
67
  #
@@ -6,7 +6,7 @@ module Fox
6
6
  #
7
7
  # Constructor
8
8
  #
9
- def initialize(p, tgt=nil, sel=0, opts=FRAME_RAISED, x=0, y=0, w=0, h=0) # :yields: theMDIDeleteButton
9
+ def initialize(p, target=nil, selector=0, opts=FRAME_RAISED, x=0, y=0, width=0, height=0) # :yields: theMDIDeleteButton
10
10
  end
11
11
  end
12
12
 
@@ -17,7 +17,7 @@ module Fox
17
17
  #
18
18
  # Constructor
19
19
  #
20
- def initialize(p, tgt=nil, sel=0, opts=FRAME_RAISED, x=0, y=0, w=0, h=0) # :yields: theMDIRestoreButton
20
+ def initialize(p, target=nil, selector=0, opts=FRAME_RAISED, x=0, y=0, width=0, height=0) # :yields: theMDIRestoreButton
21
21
  end
22
22
  end
23
23
 
@@ -28,7 +28,7 @@ module Fox
28
28
  #
29
29
  # Constructor
30
30
  #
31
- def initialize(p, tgt=nil, sel=0, opts=FRAME_RAISED, x=0, y=0, w=0, h=0) # :yields: theMDIMaximizeButton
31
+ def initialize(p, target=nil, selector=0, opts=FRAME_RAISED, x=0, y=0, width=0, height=0) # :yields: theMDIMaximizeButton
32
32
  end
33
33
  end
34
34
 
@@ -39,7 +39,7 @@ module Fox
39
39
  #
40
40
  # Constructor
41
41
  #
42
- def initialize(p, tgt=nil, sel=0, opts=FRAME_RAISED, x=0, y=0, w=0, h=0) # :yields: theMDIMinimizeButton
42
+ def initialize(p, target=nil, selector=0, opts=FRAME_RAISED, x=0, y=0, width=0, height=0) # :yields: theMDIMinimizeButton
43
43
  end
44
44
  end
45
45
 
@@ -50,7 +50,7 @@ module Fox
50
50
  #
51
51
  # Constructor
52
52
  #
53
- def initialize(p, pup, tgt=nil, sel=0, opts=0, x=0, y=0, w=0, h=0) # :yields: theMDIWindowButton
53
+ def initialize(p, pup, target=nil, selector=0, opts=0, x=0, y=0, width=0, height=0) # :yields: theMDIWindowButton
54
54
  end
55
55
  end
56
56
 
@@ -61,7 +61,7 @@ module Fox
61
61
  #
62
62
  # Construct MDI menu
63
63
  #
64
- def initialize(owner, tgt=nil); end
64
+ def initialize(owner, target=nil); end
65
65
  end
66
66
  end
67
67