fxruby 1.6.13 → 1.6.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) 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/build.html +16 -17
  5. data/doc/changes.html +40 -28
  6. data/doc/differences.html +9 -9
  7. data/doc/gems.html +6 -6
  8. data/doc/implementation.html +1 -1
  9. data/doc/infosources.html +3 -3
  10. data/doc/library.html +5 -5
  11. data/doc/opengl.html +5 -5
  12. data/doc/pt02.html +1 -1
  13. data/doc/scintilla.html +4 -4
  14. data/doc/subversion.html +1 -1
  15. data/examples/babelfish.rb +1 -1
  16. data/examples/custom_table_item.rb +170 -0
  17. data/examples/dilbert.rb +6 -7
  18. data/ext/fox16/FXRbApp.cpp +5 -1
  19. data/ext/fox16/FXRbDataTarget.cpp +2 -2
  20. data/ext/fox16/FXRuby.cpp +36 -14
  21. data/ext/fox16/core_wrap.cpp +13 -13
  22. data/ext/fox16/dc_wrap.cpp +7 -7
  23. data/ext/fox16/dialogs_wrap.cpp +16 -16
  24. data/ext/fox16/extconf.rb +31 -0
  25. data/ext/fox16/frames_wrap.cpp +59 -59
  26. data/ext/fox16/fx3d_wrap.cpp +1 -1
  27. data/ext/fox16/iconlist_wrap.cpp +10 -10
  28. data/ext/fox16/icons_wrap.cpp +25 -25
  29. data/ext/fox16/image_wrap.cpp +26 -26
  30. data/ext/fox16/include/FXRbApp.h +5 -3
  31. data/ext/fox16/include/FXRbDC.h +1 -1
  32. data/ext/fox16/label_wrap.cpp +6 -6
  33. data/ext/fox16/layout_wrap.cpp +1 -1
  34. data/ext/fox16/list_wrap.cpp +7 -7
  35. data/ext/fox16/mdi_wrap.cpp +5 -5
  36. data/ext/fox16/menu_wrap.cpp +6 -6
  37. data/ext/fox16/scintilla_wrap.cpp +3 -3
  38. data/ext/fox16/table_wrap.cpp +3 -3
  39. data/ext/fox16/text_wrap.cpp +8 -8
  40. data/ext/fox16/treelist_wrap.cpp +10 -9
  41. data/ext/fox16/ui_wrap.cpp +22 -22
  42. data/lib/fox16/kwargs.rb +11 -0
  43. data/lib/fox16/version.rb +1 -1
  44. data/rdoc-sources/FXImage.rb +12 -6
  45. data/rdoc-sources/FXToggleButton.rb +1 -0
  46. data/tests/output.ps +166 -0
  47. data/tests/stress1.rb +3 -5
  48. data/web/community.html +94 -0
  49. data/web/documentation.html +100 -0
  50. data/web/downloads.html +114 -93
  51. data/web/index.html +96 -0
  52. metadata +47 -52
  53. data/index.html +0 -14
  54. data/web/art/fxrubylogo.png +0 -0
  55. data/web/art/fxrubylogo_small.png +0 -0
  56. data/web/art/line.gif +0 -0
  57. data/web/art/oul_grey.gif +0 -0
  58. data/web/art/our.gif +0 -0
  59. data/web/home.html +0 -113
  60. data/web/menu.html +0 -50
  61. data/web/styles.css +0 -167
  62. data/web/top.html +0 -15
@@ -19,6 +19,7 @@ module Fox
19
19
  # +TOGGLEBUTTON_AUTOGRAY+:: Automatically gray out when not updated
20
20
  # +TOGGLEBUTTON_AUTOHIDE+:: Automatically hide toggle button when not updated
21
21
  # +TOGGLEBUTTON_TOOLBAR+:: Toolbar style toggle button [flat look]
22
+ # +TOGGLEBUTTON_KEEPSTATE+:: Draw button according to state
22
23
  # +TOGGLEBUTTON_NORMAL+:: <tt>FRAME_RAISED|FRAME_THICK|JUSTIFY_NORMAL|ICON_BEFORE_TEXT</tt>
23
24
  #
24
25
  class FXToggleButton < FXLabel
@@ -0,0 +1,166 @@
1
+ %!PS-Adobe-3.0
2
+ %%Title: Print Job
3
+ %%Creator: FOX GUI Toolkit Application
4
+ %%BoundingBox: 72 72 540 720
5
+ %%Pages: (atend)
6
+ %%DocumentFonts:
7
+ %%EndComments
8
+ %%BeginProlog
9
+
10
+
11
+ % h w x y drawRect
12
+ /drawRect {
13
+ newpath moveto dup 0 rlineto exch dup 0 exch
14
+ rlineto exch neg 0 rlineto neg 0 exch rlineto
15
+ closepath stroke
16
+ } def
17
+ % h w x y fillRect
18
+ /fillRect {
19
+ newpath moveto dup 0 rlineto exch dup 0 exch
20
+ rlineto exch neg 0 rlineto neg 0 exch rlineto
21
+ closepath fill stroke
22
+ } def
23
+ % x y a b drawLine
24
+ /drawLine {
25
+ newpath moveto lineto stroke
26
+ } def
27
+ % x y ..... npoints drawLines
28
+ /drawLines {
29
+ 3 1 roll newpath moveto {lineto} repeat stroke
30
+ } def
31
+ % x y a b ..... nsegments drawSegmt
32
+ /drawSegmt {
33
+ newpath {
34
+ moveto lineto
35
+ } repeat stroke
36
+ } def
37
+ % x y drawPoint
38
+ /drawPoint {
39
+ translate 1 1 scale 8 8 1 [ 8 0 0 8 0 0 ] {<0000>} image
40
+ } def
41
+ % centerx centery startAngle endAngle radiusX radiusY drawArc
42
+ /drawArc {
43
+ gsave dup 3 1 roll div dup 1 scale 6 -1 roll
44
+ exch div 5 1 roll 3 -2 roll arc stroke grestore
45
+ } def
46
+ % (string) x y height drawText
47
+ /drawText {
48
+ gsave findfont exch scalefont setfont moveto
49
+ show grestore
50
+ } def
51
+ /bwproc
52
+ { rgbproc
53
+ dup length 3 idiv string 0 3 0
54
+ 5 -1 roll
55
+ { add 2 1 roll 1 sub dup 0 eq
56
+ { pop 3 idiv 3 -1 roll dup 4 -1 roll dup
57
+ 3 1 roll 5 -1 roll put 1 add 3 0 }
58
+ { 2 1 roll } ifelse
59
+ } forall
60
+ pop pop pop
61
+ } def
62
+ systemdict /colorimage known not
63
+ { /colorimage
64
+ { pop pop /rgbproc exch def
65
+ { bwproc } image
66
+ } def
67
+ } if
68
+ % Color - r g b C
69
+ /C { setrgbcolor } bind def
70
+ % Point - x y r g b P
71
+ /P { C newpath 0.5 0.0 360.0 arc closepath fill } bind def
72
+ % Flat Shaded Line - x2 y2 x1 y1 r g b L
73
+ /L { C newpath moveto lineto stroke } bind def
74
+ % Smooth-shaded line - x2 y2 r2 g2 b2 x1 y1 r1 g1 b1 SL
75
+ /SL {
76
+ /b1 exch def
77
+ /g1 exch def
78
+ /r1 exch def
79
+ /y1 exch def
80
+ /x1 exch def
81
+ /b2 exch def
82
+ /g2 exch def
83
+ /r2 exch def
84
+ /y2 exch def
85
+ /x2 exch def
86
+
87
+ b2 b1 sub abs 0.01 gt
88
+ g2 g1 sub abs 0.005 gt
89
+ r2 r1 sub abs 0.008 gt
90
+ or or {
91
+ /bm b1 b2 add 0.5 mul def
92
+ /gm g1 g2 add 0.5 mul def
93
+ /rm r1 r2 add 0.5 mul def
94
+ /ym y1 y2 add 0.5 mul def
95
+ /xm x1 x2 add 0.5 mul def
96
+
97
+ x1 y1 r1 g1 b1 xm ym rm gm bm SL
98
+ xm ym rm gm bm x2 y2 r2 g2 b2 SL
99
+ } {
100
+ x1 y1 x2 y2 r1 g1 b1 L
101
+ } ifelse
102
+ } bind def
103
+ % Flat-shaded triangle - x3 y3 x2 y2 x1 y1 r g b T
104
+ /T { C newpath moveto lineto lineto closepath fill } bind def
105
+ % Smooth-shaded triangle - x3 y3 r3 g3 b3 x2 y2 r2 g2 b2 x1 y1 r1 g1 b1 ST
106
+ /ST {
107
+ /b1 exch def
108
+ /g1 exch def
109
+ /r1 exch def
110
+ /y1 exch def
111
+ /x1 exch def
112
+ /b2 exch def
113
+ /g2 exch def
114
+ /r2 exch def
115
+ /y2 exch def
116
+ /x2 exch def
117
+ /b3 exch def
118
+ /g3 exch def
119
+ /r3 exch def
120
+ /y3 exch def
121
+ /x3 exch def
122
+
123
+ b2 b1 sub abs 0.05 gt
124
+ g2 g1 sub abs 0.017 gt
125
+ r2 r1 sub abs 0.032 gt
126
+ b3 b1 sub abs 0.05 gt
127
+ g3 g1 sub abs 0.017 gt
128
+ r3 r1 sub abs 0.032 gt
129
+ b2 b3 sub abs 0.05 gt
130
+ g2 g3 sub abs 0.017 gt
131
+ r2 r3 sub abs 0.032 gt
132
+ or or or or or or or or {
133
+ /b12 b1 b2 add 0.5 mul def
134
+ /g12 g1 g2 add 0.5 mul def
135
+ /r12 r1 r2 add 0.5 mul def
136
+ /y12 y1 y2 add 0.5 mul def
137
+ /x12 x1 x2 add 0.5 mul def
138
+
139
+ /b13 b1 b3 add 0.5 mul def
140
+ /g13 g1 g3 add 0.5 mul def
141
+ /r13 r1 r3 add 0.5 mul def
142
+ /y13 y1 y3 add 0.5 mul def
143
+ /x13 x1 x3 add 0.5 mul def
144
+
145
+ /b32 b3 b2 add 0.5 mul def
146
+ /g32 g3 g2 add 0.5 mul def
147
+ /r32 r3 r2 add 0.5 mul def
148
+ /y32 y3 y2 add 0.5 mul def
149
+ /x32 x3 x2 add 0.5 mul def
150
+
151
+ x1 y1 r1 g1 b1 x12 y12 r12 g12 b12 x13 y13 r13 g13 b13
152
+ x2 y2 r2 g2 b2 x12 y12 r12 g12 b12 x32 y32 r32 g32 b32
153
+ x3 y3 r3 g3 b3 x32 y32 r32 g32 b32 x13 y13 r13 g13 b13
154
+ x32 y32 r32 g32 b32 x12 y12 r12 g12 b12 x13 y13 r13 g13 b13
155
+ ST ST ST ST
156
+ } {
157
+ x1 y1 x2 y2 x3 y3 r1 g1 b1 T
158
+ } ifelse
159
+ } bind def
160
+ %%EndProlog
161
+ %%BeginSetup
162
+ /#copies 1 def
163
+ %%EndSetup
164
+ %%Trailer
165
+ %%Pages: 0
166
+ %%EOF
@@ -14,8 +14,8 @@ RESTART_FREQUENCY = 20
14
14
  # Tree
15
15
  # =======================================================================
16
16
  class DirTree < FXTreeList
17
- def initialize(parent, nvis, tgt = nil, sel = 0, opts = 0, x = 0, y = 0, w = 0, h = 0)
18
- super
17
+ def initialize(p)
18
+ super(p, :opts => TREELIST_SHOWS_LINES|TREELIST_SHOWS_BOXES|TREELIST_ROOT_BOXES|LAYOUT_FILL_X|LAYOUT_FILL_Y)
19
19
  end
20
20
 
21
21
  def create
@@ -57,9 +57,7 @@ class Application < FXApp
57
57
  init(ARGV)
58
58
 
59
59
  @mainWindow = FXMainWindow.new(self, appName, nil, nil, DECOR_ALL, 0, 0, 400, 600)
60
- @dirTree = DirTree.new(@mainWindow, 0, nil, 0,
61
- (TREELIST_SHOWS_LINES|TREELIST_SHOWS_BOXES|TREELIST_ROOT_BOXES|
62
- LAYOUT_FILL_X|LAYOUT_FILL_Y))
60
+ @dirTree = DirTree.new(@mainWindow)
63
61
 
64
62
  @count = 0
65
63
  end
@@ -0,0 +1,94 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
+
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
6
+ <link rel="stylesheet" href="css/style.css" type="text/css" />
7
+ <link rel="meta" title="DOAP" type="application/rdf+xml" href="http://www.fxruby.org/doap.rdf" />
8
+ <title>Community</title>
9
+ </head>
10
+
11
+ <body>
12
+ <!-- wrap starts here -->
13
+ <div id="wrap">
14
+
15
+ <!--header -->
16
+ <div id="header">
17
+
18
+ <h1 id="logo-text"><a href="index.html">FXRuby</a></h1>
19
+ <p id="slogan">Graphical User Interface Development for Ruby</p>
20
+
21
+ </div>
22
+
23
+ <!-- menu -->
24
+ <div id="menu">
25
+ <ul>
26
+ <li ><a href=/ >Home</a></li>
27
+ <li id='current'><a href=# >Community</a></li>
28
+ <li ><a href=/downloads.html >Downloads</a></li>
29
+ <li ><a href=/documentation.html >Documentation</a></li>
30
+ </ul>
31
+ </div>
32
+
33
+ <!-- content-wrap starts here -->
34
+ <div id="content-wrap">
35
+
36
+ <div id="sidebar">
37
+
38
+ <h3>Get the Book!</h3>
39
+ <a href="http://www.pragprog.com/titles/fxruby"><img src="images/fxruby-book.jpg" alt="FXRuby: Create Lean and Mean GUIs with Ruby" width="175" height="210" /></a>
40
+
41
+ <h3>Links</h3>
42
+ <ul class="sidemenu">
43
+ <li><a href="http://rubyforge.org/news/?group_id=300">News</a></li>
44
+ <li><a href="http://www.fxruby.org/doc/book.html">User's Guide</a></li>
45
+ <li><a href="http://www.fxruby.org/doc/api">API Docs</a></li>
46
+ <li><a href="http://www.fxruby.org/doc/examples.html">Screenshots</a></li>
47
+ <li><a href="http://rubyforge.org/tracker/?atid=1223&group_id=300&func=browse">Report Bugs</a></li>
48
+ <li><a href="http://www.gnu.org/copyleft/lesser.html">License</a></li>
49
+ </ul>
50
+
51
+ </div>
52
+
53
+ <div id="main">
54
+
55
+ <h1>Mailing Lists</h1>
56
+
57
+
58
+ <h2>Announcements</h2>
59
+
60
+
61
+ <p>The announcements list is a low-traffic list on which new releases of FXRuby, as well as software based on FXRuby, will be
62
+ announced. Discussions on various topics however should preferably take place in the users list, to prevent swamping people&#8217;s
63
+ mailboxes. To subscribe, fill out the <a href="http://rubyforge.org/mailman/listinfo/fxruby-announce" title="Announcements List Subscription
64
+ Form">web-based subscription form</a>.</p>
65
+
66
+
67
+ <h2>General Discussion</h2>
68
+
69
+
70
+ <p>The users list is intended for discussion on various FOX and FXRuby topics between developers and/or users of FXRuby and
71
+ applications based on it. If you have questions, feel free to post your questions here, as many people are only too happy to
72
+ answer them. To subscribe, fill out the <a href="http://rubyforge.org/mailman/listinfo/fxruby-users" title="General Discussion List Subscription
73
+ Form">web-based subscription form</a>.</p>
74
+
75
+ </div>
76
+
77
+ <!-- content-wrap ends here -->
78
+ </div>
79
+
80
+ <!--footer starts here-->
81
+ <div id="footer">
82
+
83
+ <p>
84
+ &copy; 2008 Lyle Johnson<br />
85
+ Web Site Generated Using <a href="http://webby.rubyforge.org/" title="Webby">Webby</a>
86
+ </p>
87
+
88
+ </div>
89
+
90
+ <!-- wrap ends here -->
91
+ </div>
92
+
93
+ </body>
94
+ </html>
@@ -0,0 +1,100 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
+
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
6
+ <link rel="stylesheet" href="css/style.css" type="text/css" />
7
+ <link rel="meta" title="DOAP" type="application/rdf+xml" href="http://www.fxruby.org/doap.rdf" />
8
+ <title>Documentation</title>
9
+ </head>
10
+
11
+ <body>
12
+ <!-- wrap starts here -->
13
+ <div id="wrap">
14
+
15
+ <!--header -->
16
+ <div id="header">
17
+
18
+ <h1 id="logo-text"><a href="index.html">FXRuby</a></h1>
19
+ <p id="slogan">Graphical User Interface Development for Ruby</p>
20
+
21
+ </div>
22
+
23
+ <!-- menu -->
24
+ <div id="menu">
25
+ <ul>
26
+ <li ><a href=/ >Home</a></li>
27
+ <li ><a href=/community.html >Community</a></li>
28
+ <li ><a href=/downloads.html >Downloads</a></li>
29
+ <li id='current'><a href=# >Documentation</a></li>
30
+ </ul>
31
+ </div>
32
+
33
+ <!-- content-wrap starts here -->
34
+ <div id="content-wrap">
35
+
36
+ <div id="sidebar">
37
+
38
+ <h3>Get the Book!</h3>
39
+ <a href="http://www.pragprog.com/titles/fxruby"><img src="images/fxruby-book.jpg" alt="FXRuby: Create Lean and Mean GUIs with Ruby" width="175" height="210" /></a>
40
+
41
+ <h3>Links</h3>
42
+ <ul class="sidemenu">
43
+ <li><a href="http://rubyforge.org/news/?group_id=300">News</a></li>
44
+ <li><a href="http://www.fxruby.org/doc/book.html">User's Guide</a></li>
45
+ <li><a href="http://www.fxruby.org/doc/api">API Docs</a></li>
46
+ <li><a href="http://www.fxruby.org/doc/examples.html">Screenshots</a></li>
47
+ <li><a href="http://rubyforge.org/tracker/?atid=1223&group_id=300&func=browse">Report Bugs</a></li>
48
+ <li><a href="http://www.gnu.org/copyleft/lesser.html">License</a></li>
49
+ </ul>
50
+
51
+ </div>
52
+
53
+ <div id="main">
54
+
55
+ <h1>Books</h1>
56
+
57
+
58
+ <p>The book <cite>FXRuby: Create Lean and Mean GUIs with Ruby</cite> (available from the <a href="http://www.pragmaticprogrammer.com/titles/fxruby/">Pragmatic
59
+ Programmers</a> and other booksellers) is the best print source of documentation
60
+ for FXRuby. It&#8217;s also available as a PDF.</p>
61
+
62
+
63
+ <p>Several other books, including <cite>Ruby Developer&#8217;s Guide</cite> and <cite>The Ruby Way</cite>, include chapters or sections
64
+ on GUI development with FXRuby.</p>
65
+
66
+
67
+ <h1>Online</h1>
68
+
69
+
70
+ <p>The <a href="http://www.fxruby.org/doc/book.html">FXRuby User&#8217;s Guide</a> provides detailed installation instructions as well
71
+ as a handful of tutorial exercises to get you started with FXRuby development.</p>
72
+
73
+
74
+ <p>If you&#8217;re looking for API reference documentation, all of the classes and methods for FXRuby are documented
75
+ <a href="http://www.fxruby.org/doc/api/">here</a>.</p>
76
+
77
+
78
+ <p>Other good sources of documentation include the <a href="http://www.fox-toolkit.org/">FOX home page</a> and the <a href="http://www.fox-toolkit.net/">FOX Community
79
+ Wiki</a> site.</p>
80
+
81
+ </div>
82
+
83
+ <!-- content-wrap ends here -->
84
+ </div>
85
+
86
+ <!--footer starts here-->
87
+ <div id="footer">
88
+
89
+ <p>
90
+ &copy; 2008 Lyle Johnson<br />
91
+ Web Site Generated Using <a href="http://webby.rubyforge.org/" title="Webby">Webby</a>
92
+ </p>
93
+
94
+ </div>
95
+
96
+ <!-- wrap ends here -->
97
+ </div>
98
+
99
+ </body>
100
+ </html>
@@ -1,93 +1,114 @@
1
- <html>
2
- <head>
3
- <link rel="stylesheet" href="page.css" type="text/css">
4
- <title>Downloads</title>
5
- </head>
6
- <body bgcolor=#ffffff link=#990033 vlink=#990033 alink=#990033 text=#000000>
7
-
8
-
9
- <!--- TOPIC TITLE -->
10
- <p>
11
- <table width=100% cellpadding=0 cellspacing=2><tr><td width=100% valign=bottom id="HEADLINE"><b>
12
- Downloads
13
- <br><img src='art/line.gif' width='100%' height=1></b></td></tr></table>
14
- </p>
15
- <!--- TOPIC TITLE -->
16
- <blockquote>
17
- The latest version of FXRuby is always available
18
- from the <a href="http://rubyforge.org/projects/fxruby" target=_top>RubyForge
19
- project page</a>. The RubyForge releases should always have accompanying
20
- release notes describing the changes for that release. A cumulative
21
- <tt>ChangeLog</tt> file is also included in the FXRuby source code distribution.
22
-
23
- As of the FOX 1.0 release, any FXRuby version 1.0.x release should be compatible with any FOX 1.0.x release.
24
- Similarly, any FXRuby 1.2.x release should be compatible with any FOX 1.2.x release, and
25
- any FXRuby 1.4.x release should be compatible with any FOX 1.4.x release.<p>
26
- </blockquote>
27
-
28
- <!--- TOPIC TITLE -->
29
- <p>
30
- <table width=100% cellpadding=0 cellspacing=2><tr><td width=100% valign=bottom id="HEADLINE"><b>
31
- Source Code
32
- <br><img src='art/line.gif' width='100%' height=1></b></td></tr></table>
33
- </p>
34
- <!--- TOPIC TITLE -->
35
- <blockquote>
36
- The FXRuby source code is distributed as a gzipped tar archive, and is available for
37
- download from the <a href="http://rubyforge.org/projects/fxruby" target=_top>RubyForge
38
- project page</a>.
39
- </blockquote>
40
-
41
- <!--- TOPIC TITLE -->
42
- <p>
43
- <table width=100% cellpadding=0 cellspacing=2><tr><td width=100% valign=bottom id="HEADLINE"><b>
44
- Binaries for Unix/Linux
45
- <br><img src='art/line.gif' width='100%' height=1></b></td></tr></table>
46
- </p>
47
- <!--- TOPIC TITLE -->
48
- <blockquote>
49
- Precompiled binaries for FOX, FXScintilla and FXRuby are available for various Unix/Linux platforms,
50
- but not in any centralized way.<p>
51
- Both the <a href="http://www.fox-toolkit.net">FOX
52
- Community Wiki site</a> and the <a href="http://www.fox-toolkit.com">main FOX web site</a>
53
- list a number of independent sources for package downloads for various Linux distributions, but
54
- many of these are for older FOX releases. You may have better luck using a RPM search engine like
55
- <a href="http://rpmfind.net">rpmfind.net</a> to find the most recent packages for your distribution.
56
- </blockquote>
57
-
58
- <!--- TOPIC TITLE -->
59
- <p>
60
- <table width=100% cellpadding=0 cellspacing=2><tr><td width=100% valign=bottom id="HEADLINE"><b>
61
- Binaries for Microsoft Windows
62
- <br><img src='art/line.gif' width='100%' height=1></b></td></tr></table>
63
- </p>
64
- <!--- TOPIC TITLE -->
65
- <blockquote>
66
- Windows installers for FXRuby are available for download from
67
- the <a href="http://rubyforge.org/projects/fxruby" target=_top>RubyForge
68
- project page</a>.
69
- <b>The FOX and FXScintilla libraries are built into the Windows installers for FXRuby, and
70
- you should not need to download and install those packages separately.</b>
71
- These binaries are also compatible with the standard Ruby
72
- installers for Windows that are available for download from
73
- <a href="http://rubyforge.org/projects/rubyinstaller" target=_top>RubyForge</a>.<p>
74
- Note that the precompiled binaries for Windows are built with OpenGL support, and
75
- thus depend on the OpenGL runtime libraries (<tt>opengl32.dll</tt> and
76
- <tt>glu32.dll</tt>). These libraries were <i>not</i> included with Windows 95
77
- (earlier than OSR2), so if you're using Ruby and FXRuby on a Windows 95 machine,
78
- you may need to download the <a href="http://download.microsoft.com/download/win95upg/info/1/W95/EN-US/Opengl95.exe">OpenGL runtime libraries</a>.
79
- You must have these libraries installed even if you don't plan to do anything
80
- OpenGL-related with FXRuby.
81
- </blockquote>
82
-
83
- <!--- COPYRIGHT -->
84
- <p>
85
- <table width=100% cellpadding=0 cellspacing=0><tr><td width=100% valign=top id=HEADLINE align=right>
86
- <img src='art/line.gif' width=100% height=1><font size=-1>
87
- Copyright &copy; 2001-2004 Lyle Johnson</font>
88
- </td></tr></table>
89
- </p>
90
- <!--- COPYRIGHT -->
91
-
92
- </body>
93
- </html>
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
+
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
6
+ <link rel="stylesheet" href="css/style.css" type="text/css" />
7
+ <link rel="meta" title="DOAP" type="application/rdf+xml" href="http://www.fxruby.org/doap.rdf" />
8
+ <title>Downloads</title>
9
+ </head>
10
+
11
+ <body>
12
+ <!-- wrap starts here -->
13
+ <div id="wrap">
14
+
15
+ <!--header -->
16
+ <div id="header">
17
+
18
+ <h1 id="logo-text"><a href="index.html">FXRuby</a></h1>
19
+ <p id="slogan">Graphical User Interface Development for Ruby</p>
20
+
21
+ </div>
22
+
23
+ <!-- menu -->
24
+ <div id="menu">
25
+ <ul>
26
+ <li ><a href=/ >Home</a></li>
27
+ <li ><a href=/community.html >Community</a></li>
28
+ <li id='current'><a href=# >Downloads</a></li>
29
+ <li ><a href=/documentation.html >Documentation</a></li>
30
+ </ul>
31
+ </div>
32
+
33
+ <!-- content-wrap starts here -->
34
+ <div id="content-wrap">
35
+
36
+ <div id="sidebar">
37
+
38
+ <h3>Get the Book!</h3>
39
+ <a href="http://www.pragprog.com/titles/fxruby"><img src="images/fxruby-book.jpg" alt="FXRuby: Create Lean and Mean GUIs with Ruby" width="175" height="210" /></a>
40
+
41
+ <h3>Links</h3>
42
+ <ul class="sidemenu">
43
+ <li><a href="http://rubyforge.org/news/?group_id=300">News</a></li>
44
+ <li><a href="http://www.fxruby.org/doc/book.html">User's Guide</a></li>
45
+ <li><a href="http://www.fxruby.org/doc/api">API Docs</a></li>
46
+ <li><a href="http://www.fxruby.org/doc/examples.html">Screenshots</a></li>
47
+ <li><a href="http://rubyforge.org/tracker/?atid=1223&group_id=300&func=browse">Report Bugs</a></li>
48
+ <li><a href="http://www.gnu.org/copyleft/lesser.html">License</a></li>
49
+ </ul>
50
+
51
+ </div>
52
+
53
+ <div id="main">
54
+
55
+ <p>The latest version of FXRuby is always available from the <a href="http://rubyforge.org/projects/fxruby/">RubyForge project page</a>. The
56
+ RubyForge releases should always have accompanying release notes describing the changes for that release. A cumulative ChangeLog
57
+ file is also included in the FXRuby source code distribution. Note that any FXRuby 1.6.x release should be compatible with any
58
+ FOX 1.6.x release, but won&#8217;t be compatible with earlier (or later) versions of FOX.</p>
59
+
60
+
61
+ <h1>Source Code</h1>
62
+
63
+
64
+ <p>The FXRuby source code is distributed as a gzipped tar archive, and is available for download from the <a href="http://rubyforge.org/projects/fxruby/">RubyForge project
65
+ page</a>.</p>
66
+
67
+
68
+ <h1>Binaries for Unix/Linux</h1>
69
+
70
+
71
+ <p>Precompiled binaries for FOX, FXScintilla and FXRuby are available for various Unix/Linux platforms, but not in any
72
+ centralized way.</p>
73
+
74
+
75
+ <p>Both the <a href="http://www.fox-toolkit.net/">FOX Community Wiki</a> site and the main <a href="http://www.fox-toolkit.org/">FOX web site</a> list a
76
+ number of independent sources for package downloads for various Linux distributions, but many of these are for older FOX
77
+ releases. You may have better luck using a RPM search engine like <a href="http://rpmfind.net/">rpmfind.net</a> to find the most recent
78
+ packages for your distribution.</p>
79
+
80
+
81
+ <h1>Binaries for Microsoft Windows</h1>
82
+
83
+
84
+ <p>Windows installers for FXRuby are available for download from the <a href="http://rubyforge.org/projects/fxruby/">RubyForge project
85
+ page</a>. The FOX and FXScintilla libraries are built into the Windows installers for FXRuby,
86
+ and you should not need to download and install those packages separately. These binaries are also compatible with the standard
87
+ Ruby installer for Windows that are available for download from RubyForge.</p>
88
+
89
+
90
+ <p>Note that the precompiled binaries for Windows are built with OpenGL support, and thus depend on the OpenGL runtime libraries
91
+ (opengl32.dll and glu32.dll). These libraries were not included with Windows 95 (earlier than OSR2), so if you&#8217;re using Ruby and
92
+ FXRuby on a Windows 95 machine, you may need to download the OpenGL runtime libraries. You must have these libraries installed
93
+ even if you don&#8217;t plan to do anything OpenGL-related with FXRuby.</p>
94
+
95
+ </div>
96
+
97
+ <!-- content-wrap ends here -->
98
+ </div>
99
+
100
+ <!--footer starts here-->
101
+ <div id="footer">
102
+
103
+ <p>
104
+ &copy; 2008 Lyle Johnson<br />
105
+ Web Site Generated Using <a href="http://webby.rubyforge.org/" title="Webby">Webby</a>
106
+ </p>
107
+
108
+ </div>
109
+
110
+ <!-- wrap ends here -->
111
+ </div>
112
+
113
+ </body>
114
+ </html>