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.
- data/doc/apes02.html +2 -2
- data/doc/apes03.html +1 -1
- data/doc/book.html +1 -1
- data/doc/changes.html +17 -9
- data/doc/cvs.html +2 -2
- data/doc/differences.html +3 -3
- data/doc/implementation.html +1 -1
- data/doc/library.html +5 -5
- data/doc/opengl.html +5 -5
- data/doc/pt02.html +1 -1
- data/doc/scintilla.html +4 -4
- data/ext/fox14/icons_wrap.cpp +3 -3
- data/ext/fox14/include/FXRbCommon.h +5 -1
- data/ext/fox14/include/FXRbIconSource.h +16 -16
- data/ext/fox14/include/FXRbIconSourceVirtuals.h +1 -1
- data/ext/fox14/ui_wrap.cpp +2 -3
- data/lib/fox14/version.rb +1 -1
- data/rdoc-sources/FXDockBar.rb +1 -1
- data/rdoc-sources/FXFoldingList.rb +0 -2
- data/rdoc-sources/FXIconList.rb +0 -3
- data/rdoc-sources/FXList.rb +14 -5
- data/rdoc-sources/FXListBox.rb +14 -5
- data/rdoc-sources/FXTreeList.rb +4 -6
- data/rdoc-sources/FXTreeListBox.rb +4 -6
- data/tests/TC_FXAccelTable.rb +1 -1
- data/tests/TC_FXApp.rb +1 -1
- data/tests/TC_FXArc.rb +1 -1
- data/tests/TC_FXBMPIcon.rb +1 -1
- data/tests/TC_FXBMPImage.rb +1 -1
- data/tests/TC_FXButton.rb +1 -1
- data/tests/TC_FXCheckButton.rb +1 -1
- data/tests/TC_FXComboBox.rb +1 -1
- data/tests/TC_FXDC.rb +1 -1
- data/tests/TC_FXDCPrint.rb +1 -1
- data/tests/TC_FXDCWindow.rb +1 -1
- data/tests/TC_FXDataTarget.rb +1 -1
- data/tests/TC_FXDirList.rb +1 -1
- data/tests/TC_FXFileAssoc.rb +1 -1
- data/tests/TC_FXFileStream.rb +1 -1
- data/tests/TC_FXFont.rb +1 -1
- data/tests/TC_FXFontDesc.rb +1 -1
- data/tests/TC_FXGLGroup.rb +1 -1
- data/tests/TC_FXGLShape.rb +1 -1
- data/tests/TC_FXGLViewer.rb +1 -1
- data/tests/TC_FXGradientBar.rb +1 -1
- data/tests/TC_FXHeader.rb +1 -1
- data/tests/TC_FXIconDict.rb +1 -1
- data/tests/TC_FXIconList.rb +1 -1
- data/tests/TC_FXId.rb +1 -1
- data/tests/TC_FXImage.rb +1 -1
- data/tests/TC_FXLight.rb +1 -1
- data/tests/TC_FXList.rb +1 -1
- data/tests/TC_FXListBox.rb +1 -1
- data/tests/TC_FXMat4f.rb +1 -1
- data/tests/TC_FXMaterial.rb +2 -2
- data/tests/TC_FXMemoryStream.rb +1 -1
- data/tests/TC_FXMenuCommand.rb +1 -1
- data/tests/TC_FXPoint.rb +1 -1
- data/tests/TC_FXQuatf.rb +1 -1
- data/tests/TC_FXRadioButton.rb +1 -1
- data/tests/TC_FXRangef.rb +1 -1
- data/tests/TC_FXRectangle.rb +1 -1
- data/tests/TC_FXRegion.rb +1 -1
- data/tests/TC_FXRegistry.rb +1 -1
- data/tests/TC_FXScrollArea.rb +1 -1
- data/tests/TC_FXScrollWindow.rb +1 -1
- data/tests/TC_FXSegment.rb +1 -1
- data/tests/TC_FXShell.rb +1 -1
- data/tests/TC_FXSize.rb +1 -1
- data/tests/TC_FXStream.rb +1 -1
- data/tests/TC_FXTable.rb +1 -1
- data/tests/TC_FXTableItem.rb +1 -1
- data/tests/TC_FXText.rb +2 -2
- data/tests/TC_FXTopWindow.rb +1 -1
- data/tests/TC_FXTreeList.rb +1 -1
- data/tests/TC_FXTreeListBox.rb +1 -1
- data/tests/TC_FXUndoList.rb +2 -2
- data/tests/TC_FXVec2d.rb +1 -1
- data/tests/TC_FXVec2f.rb +1 -1
- data/tests/TC_FXVec3d.rb +1 -1
- data/tests/TC_FXVec3f.rb +1 -1
- data/tests/TC_FXVec4f.rb +1 -1
- data/tests/TC_FXViewport.rb +1 -1
- data/tests/TC_FXXBMIcon.rb +1 -1
- data/tests/TC_FXXBMImage.rb +1 -1
- data/tests/TC_FXXPMIcon.rb +1 -1
- data/tests/TC_FXXPMImage.rb +1 -1
- data/tests/TC_Misc.rb +1 -1
- data/tests/TC_downcast.rb +1 -1
- data/tests/TS_All.rb +1 -1
- data/tests/stress1.rb +1 -1
- data/tests/stress2.rb +1 -1
- data/tests/stress3.rb +1 -1
- data/tests/testcase.rb +1 -1
- metadata +2 -2
data/rdoc-sources/FXListBox.rb
CHANGED
|
@@ -118,17 +118,26 @@ module Fox
|
|
|
118
118
|
def clearItems(); end
|
|
119
119
|
|
|
120
120
|
#
|
|
121
|
-
# Search items by
|
|
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
|
|
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.
|
data/rdoc-sources/FXTreeList.rb
CHANGED
|
@@ -346,7 +346,7 @@ module Fox
|
|
|
346
346
|
def getItemAt(x, y); end
|
|
347
347
|
|
|
348
348
|
#
|
|
349
|
-
# Search items by
|
|
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(
|
|
359
|
+
def findItem(text, start=nil, flags=SEARCH_FORWARD|SEARCH_WRAP); end
|
|
360
360
|
|
|
361
361
|
#
|
|
362
|
-
# Search items by associated user
|
|
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(
|
|
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
|
|
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
|
|
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
|
|
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(
|
|
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
|
data/tests/TC_FXAccelTable.rb
CHANGED
data/tests/TC_FXApp.rb
CHANGED
data/tests/TC_FXArc.rb
CHANGED
data/tests/TC_FXBMPIcon.rb
CHANGED
data/tests/TC_FXBMPImage.rb
CHANGED
data/tests/TC_FXButton.rb
CHANGED
data/tests/TC_FXCheckButton.rb
CHANGED
data/tests/TC_FXComboBox.rb
CHANGED
data/tests/TC_FXDC.rb
CHANGED
data/tests/TC_FXDCPrint.rb
CHANGED
data/tests/TC_FXDCWindow.rb
CHANGED
data/tests/TC_FXDataTarget.rb
CHANGED
data/tests/TC_FXDirList.rb
CHANGED
data/tests/TC_FXFileAssoc.rb
CHANGED
data/tests/TC_FXFileStream.rb
CHANGED
data/tests/TC_FXFont.rb
CHANGED
data/tests/TC_FXFontDesc.rb
CHANGED
data/tests/TC_FXGLGroup.rb
CHANGED
data/tests/TC_FXGLShape.rb
CHANGED
data/tests/TC_FXGLViewer.rb
CHANGED
data/tests/TC_FXGradientBar.rb
CHANGED
data/tests/TC_FXHeader.rb
CHANGED
data/tests/TC_FXIconDict.rb
CHANGED
data/tests/TC_FXIconList.rb
CHANGED
data/tests/TC_FXId.rb
CHANGED
data/tests/TC_FXImage.rb
CHANGED
data/tests/TC_FXLight.rb
CHANGED
data/tests/TC_FXList.rb
CHANGED
data/tests/TC_FXListBox.rb
CHANGED
data/tests/TC_FXMat4f.rb
CHANGED
data/tests/TC_FXMaterial.rb
CHANGED
data/tests/TC_FXMemoryStream.rb
CHANGED
data/tests/TC_FXMenuCommand.rb
CHANGED
data/tests/TC_FXPoint.rb
CHANGED
data/tests/TC_FXQuatf.rb
CHANGED
data/tests/TC_FXRadioButton.rb
CHANGED
data/tests/TC_FXRangef.rb
CHANGED
data/tests/TC_FXRectangle.rb
CHANGED
data/tests/TC_FXRegion.rb
CHANGED
data/tests/TC_FXRegistry.rb
CHANGED