fxruby 1.4.0 → 1.4.1

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 (95) hide show
  1. data/doc/apes02.html +2 -2
  2. data/doc/apes03.html +1 -1
  3. data/doc/book.html +1 -1
  4. data/doc/changes.html +17 -9
  5. data/doc/cvs.html +2 -2
  6. data/doc/differences.html +3 -3
  7. data/doc/implementation.html +1 -1
  8. data/doc/library.html +5 -5
  9. data/doc/opengl.html +5 -5
  10. data/doc/pt02.html +1 -1
  11. data/doc/scintilla.html +4 -4
  12. data/ext/fox14/icons_wrap.cpp +3 -3
  13. data/ext/fox14/include/FXRbCommon.h +5 -1
  14. data/ext/fox14/include/FXRbIconSource.h +16 -16
  15. data/ext/fox14/include/FXRbIconSourceVirtuals.h +1 -1
  16. data/ext/fox14/ui_wrap.cpp +2 -3
  17. data/lib/fox14/version.rb +1 -1
  18. data/rdoc-sources/FXDockBar.rb +1 -1
  19. data/rdoc-sources/FXFoldingList.rb +0 -2
  20. data/rdoc-sources/FXIconList.rb +0 -3
  21. data/rdoc-sources/FXList.rb +14 -5
  22. data/rdoc-sources/FXListBox.rb +14 -5
  23. data/rdoc-sources/FXTreeList.rb +4 -6
  24. data/rdoc-sources/FXTreeListBox.rb +4 -6
  25. data/tests/TC_FXAccelTable.rb +1 -1
  26. data/tests/TC_FXApp.rb +1 -1
  27. data/tests/TC_FXArc.rb +1 -1
  28. data/tests/TC_FXBMPIcon.rb +1 -1
  29. data/tests/TC_FXBMPImage.rb +1 -1
  30. data/tests/TC_FXButton.rb +1 -1
  31. data/tests/TC_FXCheckButton.rb +1 -1
  32. data/tests/TC_FXComboBox.rb +1 -1
  33. data/tests/TC_FXDC.rb +1 -1
  34. data/tests/TC_FXDCPrint.rb +1 -1
  35. data/tests/TC_FXDCWindow.rb +1 -1
  36. data/tests/TC_FXDataTarget.rb +1 -1
  37. data/tests/TC_FXDirList.rb +1 -1
  38. data/tests/TC_FXFileAssoc.rb +1 -1
  39. data/tests/TC_FXFileStream.rb +1 -1
  40. data/tests/TC_FXFont.rb +1 -1
  41. data/tests/TC_FXFontDesc.rb +1 -1
  42. data/tests/TC_FXGLGroup.rb +1 -1
  43. data/tests/TC_FXGLShape.rb +1 -1
  44. data/tests/TC_FXGLViewer.rb +1 -1
  45. data/tests/TC_FXGradientBar.rb +1 -1
  46. data/tests/TC_FXHeader.rb +1 -1
  47. data/tests/TC_FXIconDict.rb +1 -1
  48. data/tests/TC_FXIconList.rb +1 -1
  49. data/tests/TC_FXId.rb +1 -1
  50. data/tests/TC_FXImage.rb +1 -1
  51. data/tests/TC_FXLight.rb +1 -1
  52. data/tests/TC_FXList.rb +1 -1
  53. data/tests/TC_FXListBox.rb +1 -1
  54. data/tests/TC_FXMat4f.rb +1 -1
  55. data/tests/TC_FXMaterial.rb +2 -2
  56. data/tests/TC_FXMemoryStream.rb +1 -1
  57. data/tests/TC_FXMenuCommand.rb +1 -1
  58. data/tests/TC_FXPoint.rb +1 -1
  59. data/tests/TC_FXQuatf.rb +1 -1
  60. data/tests/TC_FXRadioButton.rb +1 -1
  61. data/tests/TC_FXRangef.rb +1 -1
  62. data/tests/TC_FXRectangle.rb +1 -1
  63. data/tests/TC_FXRegion.rb +1 -1
  64. data/tests/TC_FXRegistry.rb +1 -1
  65. data/tests/TC_FXScrollArea.rb +1 -1
  66. data/tests/TC_FXScrollWindow.rb +1 -1
  67. data/tests/TC_FXSegment.rb +1 -1
  68. data/tests/TC_FXShell.rb +1 -1
  69. data/tests/TC_FXSize.rb +1 -1
  70. data/tests/TC_FXStream.rb +1 -1
  71. data/tests/TC_FXTable.rb +1 -1
  72. data/tests/TC_FXTableItem.rb +1 -1
  73. data/tests/TC_FXText.rb +2 -2
  74. data/tests/TC_FXTopWindow.rb +1 -1
  75. data/tests/TC_FXTreeList.rb +1 -1
  76. data/tests/TC_FXTreeListBox.rb +1 -1
  77. data/tests/TC_FXUndoList.rb +2 -2
  78. data/tests/TC_FXVec2d.rb +1 -1
  79. data/tests/TC_FXVec2f.rb +1 -1
  80. data/tests/TC_FXVec3d.rb +1 -1
  81. data/tests/TC_FXVec3f.rb +1 -1
  82. data/tests/TC_FXVec4f.rb +1 -1
  83. data/tests/TC_FXViewport.rb +1 -1
  84. data/tests/TC_FXXBMIcon.rb +1 -1
  85. data/tests/TC_FXXBMImage.rb +1 -1
  86. data/tests/TC_FXXPMIcon.rb +1 -1
  87. data/tests/TC_FXXPMImage.rb +1 -1
  88. data/tests/TC_Misc.rb +1 -1
  89. data/tests/TC_downcast.rb +1 -1
  90. data/tests/TS_All.rb +1 -1
  91. data/tests/stress1.rb +1 -1
  92. data/tests/stress2.rb +1 -1
  93. data/tests/stress3.rb +1 -1
  94. data/tests/testcase.rb +1 -1
  95. metadata +2 -2
@@ -118,17 +118,26 @@ module Fox
118
118
  def clearItems(); end
119
119
 
120
120
  #
121
- # Search items by name, beginning from item start. If the start
121
+ # Search items by _text_, beginning from item _start_. If the start
122
122
  # item is -1 the search will start at the first item in the list.
123
- # Flags may be SEARCH_FORWARD or SEARCH_BACKWARD to control the
124
- # search direction; this can be combined with SEARCH_NOWRAP or SEARCH_WRAP
123
+ # Flags may be +SEARCH_FORWARD+ or +SEARCH_BACKWARD+ to control the
124
+ # search direction; this can be combined with +SEARCH_NOWRAP+ or +SEARCH_WRAP+
125
125
  # to control whether the search wraps at the start or end of the list.
126
- # The option SEARCH_IGNORECASE causes a case-insensitive match. Finally,
127
- # passing SEARCH_PREFIX causes searching for a prefix of the item name.
126
+ # The option +SEARCH_IGNORECASE+ causes a case-insensitive match. Finally,
127
+ # passing +SEARCH_PREFIX+ causes searching for a prefix of the item text.
128
128
  # Return -1 if no matching item is found.
129
129
  #
130
130
  def findItem(text, start=-1, flags=SEARCH_FORWARD|SEARCH_WRAP); end
131
131
 
132
+ #
133
+ # Search items by associated user _data_, beginning from item _start_. If the
134
+ # start item is -1 the search will start at the first item in the list.
135
+ # Flags may be +SEARCH_FORWARD+ or +SEARCH_BACKWARD+ to control the
136
+ # search direction; this can be combined with +SEARCH_NOWRAP+ or +SEARCH_WRAP+
137
+ # to control whether the search wraps at the start or end of the list.
138
+ #
139
+ def findItemByData(data, start=-1, flags=SEARCH_FORWARD|SEARCH_WRAP); end
140
+
132
141
  #
133
142
  # Set text for specified item to _text_.
134
143
  # Raises IndexError if _index_ is out of bounds.
@@ -346,7 +346,7 @@ module Fox
346
346
  def getItemAt(x, y); end
347
347
 
348
348
  #
349
- # Search items by _name_, beginning from item _start_ (an FXTreeItem instance).
349
+ # Search items by _text_, beginning from item _start_ (an FXTreeItem instance).
350
350
  # If the start item is +nil+, the search will start at the first, top-most
351
351
  # item in the list.
352
352
  # Flags may be +SEARCH_FORWARD+ or +SEARCH_BACKWARD+ to control the search
@@ -356,21 +356,19 @@ module Fox
356
356
  # passing +SEARCH_PREFIX+ causes searching for a prefix of the item name.
357
357
  # Return +nil+ if no matching item is found.
358
358
  #
359
- def findItem(name, start=nil, flags=SEARCH_FORWARD|SEARCH_WRAP); end
359
+ def findItem(text, start=nil, flags=SEARCH_FORWARD|SEARCH_WRAP); end
360
360
 
361
361
  #
362
- # Search items by associated user data (_ptr_), beginning from item _start_
362
+ # Search items by associated user _data_, beginning from item _start_
363
363
  # (an FXTreeItem instance).
364
364
  # If the start item is +nil+ the search will start at the first, top-most item
365
365
  # in the list.
366
366
  # Flags may be +SEARCH_FORWARD+ or +SEARCH_BACKWARD+ to control the search
367
367
  # direction; this can be combined with +SEARCH_NOWRAP+ or +SEARCH_WRAP+
368
368
  # to control whether the search wraps at the start or end of the list.
369
- # The option +SEARCH_IGNORECASE+ causes a case-insensitive match. Finally,
370
- # passing +SEARCH_PREFIX+ causes searching for a prefix of the item name.
371
369
  # Return +nil+ if no matching item is found.
372
370
  #
373
- def findItemByData(ptr, start=nil, flags=SEARCH_FORWARD|SEARCH_WRAP); end
371
+ def findItemByData(data, start=nil, flags=SEARCH_FORWARD|SEARCH_WRAP); end
374
372
 
375
373
  # Scroll the list to make _item_ visible
376
374
  def makeItemVisible(item); end
@@ -125,28 +125,26 @@ module Fox
125
125
  def clearItems(notify=false); end
126
126
 
127
127
  #
128
- # Search items by name, beginning from item _start_. If the
128
+ # Search items by _text_, beginning from item _start_. If the
129
129
  # start item is +nil+ the search will start at the first, top-most item
130
130
  # in the list. Flags may be +SEARCH_FORWARD+ or +SEARCH_BACKWARD+ to control
131
131
  # the search direction; this can be combined with +SEARCH_NOWRAP+ or +SEARCH_WRAP+
132
132
  # to control whether the search wraps at the start or end of the list.
133
133
  # The option +SEARCH_IGNORECASE+ causes a case-insensitive match. Finally,
134
- # passing +SEARCH_PREFIX+ causes searching for a prefix of the item name.
134
+ # passing +SEARCH_PREFIX+ causes searching for a prefix of the item text.
135
135
  # Return +nil+ if no matching item is found.
136
136
  #
137
137
  def findItem(text, start=nil, flags=SEARCH_FORWARD|SEARCH_WRAP); end
138
138
 
139
139
  #
140
- # Search items by associated user data, beginning from item _start_. If the
140
+ # Search items by associated user _data_, beginning from item _start_. If the
141
141
  # start item is +nil+ the search will start at the first, top-most item
142
142
  # in the list. Flags may be +SEARCH_FORWARD+ or +SEARCH_BACKWARD+ to control
143
143
  # the search direction; this can be combined with +SEARCH_NOWRAP+ or +SEARCH_WRAP+
144
144
  # to control whether the search wraps at the start or end of the list.
145
- # The option +SEARCH_IGNORECASE+ causes a case-insensitive match. Finally,
146
- # passing +SEARCH_PREFIX+ causes searching for a prefix of the item name.
147
145
  # Return +nil+ if no matching item is found.
148
146
  #
149
- def findItemByData(ptr, start=nil, flags=SEARCH_FORWARD|SEARCH_WRAP); end
147
+ def findItemByData(data, start=nil, flags=SEARCH_FORWARD|SEARCH_WRAP); end
150
148
 
151
149
  # Return +true+ if item is current
152
150
  def itemCurrent?(item); end
@@ -1,6 +1,6 @@
1
1
  require 'test/unit'
2
2
 
3
- require 'fox12'
3
+ require 'fox14'
4
4
 
5
5
  include Fox
6
6
 
data/tests/TC_FXApp.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  require 'test/unit'
2
- require 'fox12'
2
+ require 'fox14'
3
3
  require 'testcase'
4
4
 
5
5
  include Fox
data/tests/TC_FXArc.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  require 'test/unit'
2
- require 'fox12'
2
+ require 'fox14'
3
3
 
4
4
  include Fox
5
5
 
@@ -1,4 +1,4 @@
1
- require 'fox12'
1
+ require 'fox14'
2
2
  require 'test/unit'
3
3
  require 'testcase'
4
4
 
@@ -1,4 +1,4 @@
1
- require 'fox12'
1
+ require 'fox14'
2
2
  require 'test/unit'
3
3
  require 'testcase'
4
4
 
data/tests/TC_FXButton.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  require 'test/unit'
2
- require 'fox12'
2
+ require 'fox14'
3
3
  require 'testcase'
4
4
 
5
5
  include Fox
@@ -1,6 +1,6 @@
1
1
  require 'test/unit'
2
2
  require 'testcase'
3
- require 'fox12'
3
+ require 'fox14'
4
4
 
5
5
  include Fox
6
6
 
@@ -1,6 +1,6 @@
1
1
  require 'test/unit'
2
2
  require 'testcase'
3
- require 'fox12'
3
+ require 'fox14'
4
4
 
5
5
  include Fox
6
6
 
data/tests/TC_FXDC.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  require 'test/unit'
2
2
 
3
- require 'fox12'
3
+ require 'fox14'
4
4
 
5
5
  include Fox
6
6
 
@@ -1,6 +1,6 @@
1
1
  require 'test/unit'
2
2
 
3
- require 'fox12'
3
+ require 'fox14'
4
4
  require 'ftools'
5
5
 
6
6
  include Fox
@@ -1,6 +1,6 @@
1
1
  require 'test/unit'
2
2
  require 'testcase'
3
- require 'fox12'
3
+ require 'fox14'
4
4
 
5
5
  include Fox
6
6
 
@@ -1,5 +1,5 @@
1
1
  require 'test/unit'
2
- require 'fox12'
2
+ require 'fox14'
3
3
 
4
4
  include Fox
5
5
 
@@ -1,6 +1,6 @@
1
1
  require 'test/unit'
2
2
  require 'testcase'
3
- require 'fox12'
3
+ require 'fox14'
4
4
 
5
5
  include Fox
6
6
 
@@ -1,6 +1,6 @@
1
1
  require 'test/unit'
2
2
 
3
- require 'fox12'
3
+ require 'fox14'
4
4
 
5
5
  include Fox
6
6
 
@@ -1,5 +1,5 @@
1
1
  require 'test/unit'
2
- require 'fox12'
2
+ require 'fox14'
3
3
  require 'ftools'
4
4
  require 'tempfile'
5
5
 
data/tests/TC_FXFont.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  require 'test/unit'
2
2
 
3
- require 'fox12'
3
+ require 'fox14'
4
4
 
5
5
  include Fox
6
6
 
@@ -1,6 +1,6 @@
1
1
  require 'test/unit'
2
2
 
3
- require 'fox12'
3
+ require 'fox14'
4
4
 
5
5
  include Fox
6
6
 
@@ -1,5 +1,5 @@
1
1
  require 'test/unit'
2
- require 'fox12'
2
+ require 'fox14'
3
3
 
4
4
  include Fox
5
5
 
@@ -1,5 +1,5 @@
1
1
  require 'test/unit'
2
- require 'fox12'
2
+ require 'fox14'
3
3
 
4
4
  include Fox
5
5
 
@@ -1,5 +1,5 @@
1
1
  require 'test/unit'
2
- require 'fox12'
2
+ require 'fox14'
3
3
  require 'testcase'
4
4
 
5
5
  include Fox
@@ -1,5 +1,5 @@
1
1
  require 'test/unit'
2
- require 'fox12'
2
+ require 'fox14'
3
3
  require 'testcase'
4
4
 
5
5
  include Fox
data/tests/TC_FXHeader.rb CHANGED
@@ -1,4 +1,4 @@
1
- require 'fox12'
1
+ require 'fox14'
2
2
  require 'test/unit'
3
3
  require 'testcase'
4
4
 
@@ -1,5 +1,5 @@
1
1
  require 'test/unit'
2
- require 'fox12'
2
+ require 'fox14'
3
3
  require 'testcase'
4
4
 
5
5
  include Fox
@@ -1,6 +1,6 @@
1
1
  require 'test/unit'
2
2
  require 'testcase'
3
- require 'fox12'
3
+ require 'fox14'
4
4
 
5
5
  include Fox
6
6
 
data/tests/TC_FXId.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  require 'test/unit'
2
- require 'fox12'
2
+ require 'fox14'
3
3
  require 'testcase'
4
4
 
5
5
  include Fox
data/tests/TC_FXImage.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  require 'test/unit'
2
2
  require 'testcase'
3
- require 'fox12'
3
+ require 'fox14'
4
4
 
5
5
  include Fox
6
6
 
data/tests/TC_FXLight.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  require 'test/unit'
2
2
 
3
- require 'fox12'
3
+ require 'fox14'
4
4
 
5
5
  include Fox
6
6
 
data/tests/TC_FXList.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  require 'test/unit'
2
2
  require 'testcase'
3
- require 'fox12'
3
+ require 'fox14'
4
4
 
5
5
  include Fox
6
6
 
@@ -1,6 +1,6 @@
1
1
  require 'test/unit'
2
2
  require 'testcase'
3
- require 'fox12'
3
+ require 'fox14'
4
4
 
5
5
  include Fox
6
6
 
data/tests/TC_FXMat4f.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  require 'test/unit'
2
- require 'fox12'
2
+ require 'fox14'
3
3
 
4
4
  include Fox
5
5
 
@@ -1,7 +1,7 @@
1
1
  require 'test/unit'
2
2
 
3
- require 'fox12'
4
- require 'fox12/glshapes'
3
+ require 'fox14'
4
+ require 'fox14/glshapes'
5
5
 
6
6
  include Fox
7
7
 
@@ -1,5 +1,5 @@
1
1
  require 'test/unit'
2
- require 'fox12'
2
+ require 'fox14'
3
3
 
4
4
  include Fox
5
5
 
@@ -1,6 +1,6 @@
1
1
  require 'test/unit'
2
2
  require 'testcase'
3
- require 'fox12'
3
+ require 'fox14'
4
4
 
5
5
  include Fox
6
6
 
data/tests/TC_FXPoint.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  require 'test/unit'
2
2
 
3
- require 'fox12'
3
+ require 'fox14'
4
4
 
5
5
  include Fox
6
6
 
data/tests/TC_FXQuatf.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  require 'test/unit'
2
- require 'fox12'
2
+ require 'fox14'
3
3
 
4
4
  include Fox
5
5
 
@@ -1,6 +1,6 @@
1
1
  require 'test/unit'
2
2
  require 'testcase'
3
- require 'fox12'
3
+ require 'fox14'
4
4
 
5
5
  include Fox
6
6
 
data/tests/TC_FXRangef.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  require 'test/unit'
2
2
 
3
- require 'fox12'
3
+ require 'fox14'
4
4
 
5
5
  include Fox
6
6
 
@@ -1,6 +1,6 @@
1
1
  require 'test/unit'
2
2
 
3
- require 'fox12'
3
+ require 'fox14'
4
4
 
5
5
  include Fox
6
6
 
data/tests/TC_FXRegion.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  require 'test/unit'
2
2
 
3
- require 'fox12'
3
+ require 'fox14'
4
4
 
5
5
  include Fox
6
6
 
@@ -1,5 +1,5 @@
1
1
  require 'test/unit'
2
- require 'fox12'
2
+ require 'fox14'
3
3
 
4
4
  include Fox
5
5