fxruby 1.6.0 → 1.6.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 (54) 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 +459 -0
  5. data/doc/cvs.html +2 -2
  6. data/doc/differences.html +3 -3
  7. data/doc/implementation.html +1 -1
  8. data/doc/infosources.html +2 -2
  9. data/doc/library.html +5 -5
  10. data/doc/opengl.html +5 -5
  11. data/doc/pt01.html +1 -1
  12. data/doc/pt02.html +1 -1
  13. data/doc/scintilla.html +4 -4
  14. data/examples/dilbert.rb +10 -47
  15. data/examples/rulerview.rb +27 -0
  16. data/examples/textedit/commands.rb +21 -27
  17. data/examples/textedit/textedit.rb +9 -16
  18. data/ext/fox16/FXRuby.cpp +11 -6
  19. data/ext/fox16/core_wrap.cpp +90 -82
  20. data/ext/fox16/dialogs_wrap.cpp +52 -37
  21. data/ext/fox16/frames_wrap.cpp +38 -38
  22. data/ext/fox16/fx3d_wrap.cpp +24 -9
  23. data/ext/fox16/iconlist_wrap.cpp +4 -4
  24. data/ext/fox16/icons_wrap.cpp +15 -6
  25. data/ext/fox16/image_wrap.cpp +15 -6
  26. data/ext/fox16/impl.cpp +7 -0
  27. data/ext/fox16/include/FXRbRulerView.h +54 -0
  28. data/ext/fox16/include/FXRuby.h +7 -5
  29. data/ext/fox16/include/impl.h +1 -0
  30. data/ext/fox16/include/inlinestubs.h +7 -0
  31. data/ext/fox16/label_wrap.cpp +20 -20
  32. data/ext/fox16/layout_wrap.cpp +30 -30
  33. data/ext/fox16/list_wrap.cpp +3 -3
  34. data/ext/fox16/markfuncs.cpp +13 -1
  35. data/ext/fox16/mdi_wrap.cpp +42 -27
  36. data/ext/fox16/menu_wrap.cpp +46 -31
  37. data/ext/fox16/scintilla_wrap.cpp +26 -8
  38. data/ext/fox16/table_wrap.cpp +33 -13
  39. data/ext/fox16/text_wrap.cpp +27 -8
  40. data/ext/fox16/treelist_wrap.cpp +30 -12
  41. data/ext/fox16/ui_wrap.cpp +857 -92
  42. data/lib/fox16/aliases.rb +63 -0
  43. data/lib/fox16/chore.rb +48 -6
  44. data/lib/fox16/core.rb +0 -16
  45. data/lib/fox16/timeout.rb +74 -10
  46. data/lib/fox16/version.rb +1 -1
  47. data/rdoc-sources/FXApp.rb +0 -72
  48. data/rdoc-sources/FXFont.rb +3 -0
  49. data/rdoc-sources/FXRulerView.rb +225 -0
  50. data/rdoc-sources/FXText.rb +1 -1
  51. data/rdoc-sources/FXWindow.rb +1 -1
  52. data/tests/TC_FXComboBox.rb +6 -0
  53. data/web/home.html +1 -0
  54. metadata +9 -4
@@ -47,7 +47,7 @@ module Fox
47
47
  # Text inserted at _pos_ [String]
48
48
  attr_accessor :ins
49
49
 
50
- # Text deleted as _pos_ [String]
50
+ # Text deleted at _pos_ [String]
51
51
  attr_accessor :del
52
52
  end
53
53
 
@@ -512,7 +512,7 @@ module Fox
512
512
  # Generate a SEL_UPDATE message for the window and its children.
513
513
  def forceRefresh(); end
514
514
 
515
- # Reparent this window under new _father_ window, after _other_ sibling..
515
+ # Reparent this window under new _father_ window, before _other_ sibling..
516
516
  def reparent(father, other); end
517
517
 
518
518
  # Scroll rectangle (_x_, _y_, _w_, _h_) by a shift of (_dx_, _dy_)
@@ -41,6 +41,12 @@ class TC_FXComboBox < TestCase
41
41
  assert_instance_of(FXTextField, @comboBox.children[0])
42
42
  assert_instance_of(FXMenuButton, @comboBox.children[1])
43
43
  end
44
+
45
+ def test_set_current_to_none
46
+ assert_nothing_raised do
47
+ @comboBox.currentItem = -1
48
+ end
49
+ end
44
50
 
45
51
  end
46
52
 
data/web/home.html CHANGED
@@ -93,6 +93,7 @@ Projects using FXRuby include:
93
93
  <li><a href="http://freeride.rubyforge.org/wiki/wiki.pl" target=_top>FreeRIDE</a> is an IDE for the Ruby programming language.</li>
94
94
  <li><a href="http://www.fisica.uniud.it/~glast/FRED" target=_top>FRED</a> is a high energy physics event display built out of Ruby and FOX by Riccardo Giannitrapani and Marco Frailis.</li>
95
95
  <li><a href="http://www.mondrian-ide.com/" target=_top>Mondrian</a> is a cross-platform project-manager and editor for the Ruby language. Written in 100% native Ruby using the FOX GUI toolkit, Mondrian has the familiar look and feel of a modern IDE while remaining dedicated to the uniqueness of the Ruby language and its community.</li>
96
+ <li><a href="http://fox-tool.rubyforge.org/" target=_top>foxGUIb</a> is an interactive gui builder and codegenerator for FXRuby. This tool makes it easy to quickly build complex and good looking graphical user interfaces for Ruby.</li>
96
97
  </ul>
97
98
  If your project uses FXRuby for its user interface, and you'd like to see it listed
98
99
  here, please send me an e-mail with the information.
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.8.11
2
+ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: fxruby
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.6.0
7
- date: 2006-05-29 00:00:00 -05:00
6
+ version: 1.6.1
7
+ date: 2006-07-21 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
@@ -13,7 +13,7 @@ email: lyle@knology.net
13
13
  homepage: http://www.fxruby.org
14
14
  rubyforge_project:
15
15
  description: FXRuby is the Ruby binding to the FOX GUI toolkit.
16
- autorequire: fox16
16
+ autorequire:
17
17
  default_executable:
18
18
  bindir: bin
19
19
  has_rdoc: true
@@ -26,6 +26,7 @@ required_ruby_version: !ruby/object:Gem::Version::Requirement
26
26
  platform: ruby
27
27
  signing_key:
28
28
  cert_chain:
29
+ post_install_message:
29
30
  authors:
30
31
  - Lyle Johnson
31
32
  files:
@@ -45,6 +46,7 @@ files:
45
46
  - doc/ch04s04.html
46
47
  - doc/ch05s02.html
47
48
  - doc/ch05s03.html
49
+ - doc/changes.html
48
50
  - doc/clipboardtut.html
49
51
  - doc/cvs.html
50
52
  - doc/differences.html
@@ -128,6 +130,7 @@ files:
128
130
  - examples/RAA.rb
129
131
  - examples/raabrowser.rb
130
132
  - examples/ratio.rb
133
+ - examples/rulerview.rb
131
134
  - examples/scintilla-test.rb
132
135
  - examples/scribble-orig.rb
133
136
  - examples/scribble.rb
@@ -457,6 +460,7 @@ files:
457
460
  - rdoc-sources/FXRGBImage.rb
458
461
  - rdoc-sources/FXRootWindow.rb
459
462
  - rdoc-sources/FXRuler.rb
463
+ - rdoc-sources/FXRulerView.rb
460
464
  - rdoc-sources/FXScintilla.rb
461
465
  - rdoc-sources/FXScrollArea.rb
462
466
  - rdoc-sources/FXScrollBar.rb
@@ -701,6 +705,7 @@ files:
701
705
  - ext/fox16/include/FXRbRGBImage.h
702
706
  - ext/fox16/include/FXRbRootWindow.h
703
707
  - ext/fox16/include/FXRbRuler.h
708
+ - ext/fox16/include/FXRbRulerView.h
704
709
  - ext/fox16/include/FXRbScintilla.h
705
710
  - ext/fox16/include/FXRbScrollArea.h
706
711
  - ext/fox16/include/FXRbScrollAreaVirtuals.h