fxruby 1.6.1 → 1.6.2
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 +6 -6
- data/doc/apes03.html +11 -11
- data/doc/book.html +1 -1
- data/doc/build.html +63 -63
- data/doc/ch03s02.html +7 -7
- data/doc/ch03s03.html +18 -18
- data/doc/ch03s04.html +11 -11
- data/doc/ch03s05.html +14 -14
- data/doc/ch04s02.html +14 -14
- data/doc/ch04s03.html +15 -15
- data/doc/ch04s04.html +28 -28
- data/doc/ch05s02.html +49 -49
- data/doc/ch05s03.html +8 -8
- data/doc/changes.html +263 -193
- data/doc/clipboardtut.html +57 -45
- data/doc/cvs.html +10 -10
- data/doc/differences.html +4 -4
- data/doc/dragdroptut.html +50 -50
- data/doc/events.html +11 -11
- data/doc/examples.html +48 -48
- data/doc/gems.html +37 -37
- data/doc/goals.html +4 -4
- data/doc/implementation.html +4 -4
- data/doc/infosources.html +6 -6
- data/doc/library.html +19 -19
- data/doc/opengl.html +31 -31
- data/doc/pt01.html +1 -1
- data/doc/pt02.html +1 -1
- data/doc/scintilla.html +15 -15
- data/doc/style.css +3 -0
- data/doc/todo.html +5 -5
- data/doc/tutorial1.html +34 -34
- data/doc/unicode.html +56 -0
- data/ext/fox16/dialogs_wrap.cpp +38 -14
- data/ext/fox16/frames_wrap.cpp +856 -22
- data/ext/fox16/fx3d_wrap.cpp +169 -144
- data/ext/fox16/icons_wrap.cpp +24 -6
- data/ext/fox16/image_wrap.cpp +24 -6
- data/ext/fox16/label_wrap.cpp +23 -8
- data/ext/fox16/markfuncs.cpp +8 -1
- data/ext/fox16/mdi_wrap.cpp +53 -23
- data/ext/fox16/menu_wrap.cpp +43 -19
- data/ext/fox16/scintilla_wrap.cpp +31 -7
- data/ext/fox16/table_wrap.cpp +31 -7
- data/ext/fox16/text_wrap.cpp +31 -7
- data/ext/fox16/treelist_wrap.cpp +300 -276
- data/ext/fox16/ui_wrap.cpp +385 -26
- data/lib/fox16/aliases.rb +3 -0
- data/lib/fox16/version.rb +1 -1
- data/rdoc-sources/FXFoldingList.rb +2 -2
- data/tests/TC_FXDirList.rb +1 -1
- data/tests/TC_FXGLViewer.rb +2 -0
- data/tests/TC_FXHeader.rb +1 -1
- data/tests/TC_FXIconList.rb +1 -1
- data/tests/TC_FXId.rb +1 -1
- data/tests/TC_FXList.rb +1 -1
- data/tests/TC_FXListBox.rb +1 -1
- data/tests/TC_FXMenuCommand.rb +0 -14
- data/tests/TC_FXTable.rb +0 -32
- data/tests/TC_FXTableItem.rb +1 -1
- data/tests/TC_FXTreeList.rb +1 -1
- data/tests/TC_FXTreeListBox.rb +1 -1
- metadata +5 -4
data/lib/fox16/aliases.rb
CHANGED
data/lib/fox16/version.rb
CHANGED
@@ -469,12 +469,12 @@ module Fox
|
|
469
469
|
# Collapse sub-tree rooted at _tree_.
|
470
470
|
# If _notify_ is +true+, a +SEL_COLLAPSED+ message is sent to the list's
|
471
471
|
# message target after the sub-tree is collapsed.
|
472
|
-
def
|
472
|
+
def collapseTree(tree, notify=false); end
|
473
473
|
|
474
474
|
# Expand sub-tree rooted at _tree_.
|
475
475
|
# If _notify_ is +true+, a +SEL_EXPANDED+ message is sent to the list's
|
476
476
|
# message target after the sub-tree is expanded.
|
477
|
-
def
|
477
|
+
def expandTree(tree, notify=false); end
|
478
478
|
|
479
479
|
# Change current item.
|
480
480
|
# If _notify_ is +true+, a +SEL_CHANGED+ message is sent to the list's
|
data/tests/TC_FXDirList.rb
CHANGED
data/tests/TC_FXGLViewer.rb
CHANGED
@@ -10,9 +10,11 @@ class TC_FXGLViewer < TestCase
|
|
10
10
|
vis = FXGLVisual.new(app, VISUAL_DOUBLEBUFFER)
|
11
11
|
@viewer = FXGLViewer.new(mainWindow, vis)
|
12
12
|
end
|
13
|
+
=begin
|
13
14
|
def test_readPixels
|
14
15
|
pixels = @viewer.readPixels(0, 0, @viewer.width, @viewer.height)
|
15
16
|
assert(pixels)
|
16
17
|
assert_equal(3*@viewer.width*@viewer.height, pixels.size)
|
17
18
|
end
|
19
|
+
=end
|
18
20
|
end
|
data/tests/TC_FXHeader.rb
CHANGED
data/tests/TC_FXIconList.rb
CHANGED
data/tests/TC_FXId.rb
CHANGED
data/tests/TC_FXList.rb
CHANGED
data/tests/TC_FXListBox.rb
CHANGED
data/tests/TC_FXMenuCommand.rb
CHANGED
@@ -9,18 +9,4 @@ class TC_FXMenuCommand < TestCase
|
|
9
9
|
super(self.class.name)
|
10
10
|
@menuCommand = FXMenuCommand.new(mainWindow, "menuCommand")
|
11
11
|
end
|
12
|
-
|
13
|
-
def test_checked?
|
14
|
-
@menuCommand.check
|
15
|
-
assert(@menuCommand.checked?)
|
16
|
-
@menuCommand.uncheck
|
17
|
-
assert(!@menuCommand.checked?)
|
18
|
-
end
|
19
|
-
|
20
|
-
def test_radioChecked?
|
21
|
-
@menuCommand.checkRadio
|
22
|
-
assert(@menuCommand.radioChecked?)
|
23
|
-
@menuCommand.uncheckRadio
|
24
|
-
assert(!@menuCommand.radioChecked?)
|
25
|
-
end
|
26
12
|
end
|
data/tests/TC_FXTable.rb
CHANGED
@@ -332,22 +332,6 @@ public
|
|
332
332
|
}
|
333
333
|
end
|
334
334
|
|
335
|
-
def test_setColumnX
|
336
|
-
@table.setTableSize(5, 5)
|
337
|
-
assert_raises(IndexError) {
|
338
|
-
@table.setColumnX(-1, 0)
|
339
|
-
}
|
340
|
-
assert_nothing_raised {
|
341
|
-
@table.setColumnX(0, 0)
|
342
|
-
}
|
343
|
-
assert_nothing_raised {
|
344
|
-
@table.setColumnX(5, 0)
|
345
|
-
}
|
346
|
-
assert_raises(IndexError) {
|
347
|
-
@table.setColumnX(6, 0)
|
348
|
-
}
|
349
|
-
end
|
350
|
-
|
351
335
|
def test_getRowY
|
352
336
|
@table.setTableSize(5, 5)
|
353
337
|
assert_raises(IndexError) {
|
@@ -364,22 +348,6 @@ public
|
|
364
348
|
}
|
365
349
|
end
|
366
350
|
|
367
|
-
def test_setRowY
|
368
|
-
@table.setTableSize(5, 5)
|
369
|
-
assert_raises(IndexError) {
|
370
|
-
@table.setRowY(-1, 0) # out of bounds
|
371
|
-
}
|
372
|
-
assert_nothing_raised {
|
373
|
-
@table.setRowY(0, 0) # top edge
|
374
|
-
}
|
375
|
-
assert_nothing_raised {
|
376
|
-
@table.setRowY(5, 0) # bottom edge
|
377
|
-
}
|
378
|
-
assert_raises(IndexError) {
|
379
|
-
@table.setRowY(6, 0) # out of bounds
|
380
|
-
}
|
381
|
-
end
|
382
|
-
|
383
351
|
def test_extractText
|
384
352
|
@table.setTableSize(2, 2)
|
385
353
|
@table.setItemText(0, 0, "(0, 0)")
|
data/tests/TC_FXTableItem.rb
CHANGED
data/tests/TC_FXTreeList.rb
CHANGED
@@ -7,7 +7,7 @@ include Fox
|
|
7
7
|
class TC_FXTreeList < TestCase
|
8
8
|
def setup
|
9
9
|
super(self.class.name)
|
10
|
-
@treeList = FXTreeList.new(mainWindow,
|
10
|
+
@treeList = FXTreeList.new(mainWindow, nil, 0,
|
11
11
|
(TREELIST_BROWSESELECT|TREELIST_SHOWS_LINES|TREELIST_SHOWS_BOXES|
|
12
12
|
TREELIST_ROOT_BOXES|LAYOUT_FILL_X|LAYOUT_FILL_Y))
|
13
13
|
end
|
data/tests/TC_FXTreeListBox.rb
CHANGED
metadata
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.
|
2
|
+
rubygems_version: 0.8.11
|
3
3
|
specification_version: 1
|
4
4
|
name: fxruby
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.6.
|
7
|
-
date: 2006-
|
6
|
+
version: 1.6.2
|
7
|
+
date: 2006-09-14 00:00:00 -05:00
|
8
8
|
summary: FXRuby is the Ruby binding to the FOX GUI toolkit.
|
9
9
|
require_paths:
|
10
10
|
- ext/fox16
|
@@ -26,13 +26,13 @@ required_ruby_version: !ruby/object:Gem::Version::Requirement
|
|
26
26
|
platform: ruby
|
27
27
|
signing_key:
|
28
28
|
cert_chain:
|
29
|
-
post_install_message:
|
30
29
|
authors:
|
31
30
|
- Lyle Johnson
|
32
31
|
files:
|
33
32
|
- LICENSE
|
34
33
|
- README
|
35
34
|
- index.html
|
35
|
+
- doc/style.css
|
36
36
|
- doc/apes02.html
|
37
37
|
- doc/apes03.html
|
38
38
|
- doc/book.html
|
@@ -64,6 +64,7 @@ files:
|
|
64
64
|
- doc/scintilla.html
|
65
65
|
- doc/todo.html
|
66
66
|
- doc/tutorial1.html
|
67
|
+
- doc/unicode.html
|
67
68
|
- doc/images/babelfish.png
|
68
69
|
- doc/images/browser.png
|
69
70
|
- doc/images/button.png
|