win32console 1.0.8-i386-mswin32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) hide show
  1. data/Console-i386-mswin32.def +2 -0
  2. data/Console.cpp +1203 -0
  3. data/Console.rdoc +690 -0
  4. data/Console_ANSI.rdoc +302 -0
  5. data/HISTORY.txt +7 -0
  6. data/INSTALL.txt +18 -0
  7. data/README.txt +26 -0
  8. data/Rakefile +38 -0
  9. data/doc/classes/Win32.html +115 -0
  10. data/doc/classes/Win32/Console.html +650 -0
  11. data/doc/classes/Win32/Console.src/M000001.html +31 -0
  12. data/doc/classes/Win32/Console.src/M000002.html +23 -0
  13. data/doc/classes/Win32/Console.src/M000003.html +23 -0
  14. data/doc/classes/Win32/Console.src/M000004.html +27 -0
  15. data/doc/classes/Win32/Console.src/M000005.html +23 -0
  16. data/doc/classes/Win32/Console.src/M000006.html +28 -0
  17. data/doc/classes/Win32/Console.src/M000007.html +23 -0
  18. data/doc/classes/Win32/Console.src/M000008.html +24 -0
  19. data/doc/classes/Win32/Console.src/M000009.html +44 -0
  20. data/doc/classes/Win32/Console.src/M000010.html +23 -0
  21. data/doc/classes/Win32/Console.src/M000011.html +33 -0
  22. data/doc/classes/Win32/Console.src/M000012.html +26 -0
  23. data/doc/classes/Win32/Console.src/M000013.html +27 -0
  24. data/doc/classes/Win32/Console.src/M000014.html +28 -0
  25. data/doc/classes/Win32/Console.src/M000015.html +23 -0
  26. data/doc/classes/Win32/Console.src/M000016.html +23 -0
  27. data/doc/classes/Win32/Console.src/M000017.html +23 -0
  28. data/doc/classes/Win32/Console.src/M000018.html +29 -0
  29. data/doc/classes/Win32/Console.src/M000019.html +23 -0
  30. data/doc/classes/Win32/Console.src/M000020.html +23 -0
  31. data/doc/classes/Win32/Console.src/M000021.html +28 -0
  32. data/doc/classes/Win32/Console.src/M000022.html +23 -0
  33. data/doc/classes/Win32/Console.src/M000023.html +28 -0
  34. data/doc/classes/Win32/Console.src/M000024.html +35 -0
  35. data/doc/classes/Win32/Console.src/M000025.html +28 -0
  36. data/doc/classes/Win32/Console.src/M000026.html +28 -0
  37. data/doc/classes/Win32/Console.src/M000027.html +28 -0
  38. data/doc/classes/Win32/Console.src/M000028.html +31 -0
  39. data/doc/classes/Win32/Console.src/M000029.html +23 -0
  40. data/doc/classes/Win32/Console.src/M000030.html +23 -0
  41. data/doc/classes/Win32/Console.src/M000031.html +23 -0
  42. data/doc/classes/Win32/Console.src/M000032.html +27 -0
  43. data/doc/classes/Win32/Console.src/M000033.html +27 -0
  44. data/doc/classes/Win32/Console.src/M000034.html +25 -0
  45. data/doc/classes/Win32/Console/ANSI.html +103 -0
  46. data/doc/classes/Win32/Console/ANSI/IO.html +220 -0
  47. data/doc/classes/Win32/Console/ANSI/IO.src/M000035.html +32 -0
  48. data/doc/classes/Win32/Console/ANSI/IO.src/M000036.html +205 -0
  49. data/doc/classes/Win32/Console/ANSI/IO.src/M000037.html +40 -0
  50. data/doc/classes/Win32/Console/ANSI/IO.src/M000038.html +25 -0
  51. data/doc/classes/Win32/Console/API.html +758 -0
  52. data/doc/classes/Win32/Console/API.src/M000039.html +27 -0
  53. data/doc/classes/Win32/Console/API.src/M000040.html +27 -0
  54. data/doc/classes/Win32/Console/API.src/M000041.html +27 -0
  55. data/doc/classes/Win32/Console/API.src/M000042.html +32 -0
  56. data/doc/classes/Win32/Console/API.src/M000043.html +32 -0
  57. data/doc/classes/Win32/Console/API.src/M000044.html +28 -0
  58. data/doc/classes/Win32/Console/API.src/M000045.html +26 -0
  59. data/doc/classes/Win32/Console/API.src/M000046.html +26 -0
  60. data/doc/classes/Win32/Console/API.src/M000047.html +27 -0
  61. data/doc/classes/Win32/Console/API.src/M000048.html +30 -0
  62. data/doc/classes/Win32/Console/API.src/M000049.html +29 -0
  63. data/doc/classes/Win32/Console/API.src/M000050.html +27 -0
  64. data/doc/classes/Win32/Console/API.src/M000051.html +28 -0
  65. data/doc/classes/Win32/Console/API.src/M000052.html +30 -0
  66. data/doc/classes/Win32/Console/API.src/M000053.html +27 -0
  67. data/doc/classes/Win32/Console/API.src/M000054.html +29 -0
  68. data/doc/classes/Win32/Console/API.src/M000055.html +29 -0
  69. data/doc/classes/Win32/Console/API.src/M000056.html +28 -0
  70. data/doc/classes/Win32/Console/API.src/M000057.html +27 -0
  71. data/doc/classes/Win32/Console/API.src/M000058.html +47 -0
  72. data/doc/classes/Win32/Console/API.src/M000059.html +32 -0
  73. data/doc/classes/Win32/Console/API.src/M000060.html +47 -0
  74. data/doc/classes/Win32/Console/API.src/M000061.html +34 -0
  75. data/doc/classes/Win32/Console/API.src/M000062.html +32 -0
  76. data/doc/classes/Win32/Console/API.src/M000063.html +32 -0
  77. data/doc/classes/Win32/Console/API.src/M000064.html +35 -0
  78. data/doc/classes/Win32/Console/API.src/M000065.html +26 -0
  79. data/doc/classes/Win32/Console/API.src/M000066.html +27 -0
  80. data/doc/classes/Win32/Console/API.src/M000067.html +29 -0
  81. data/doc/classes/Win32/Console/API.src/M000068.html +27 -0
  82. data/doc/classes/Win32/Console/API.src/M000069.html +27 -0
  83. data/doc/classes/Win32/Console/API.src/M000070.html +28 -0
  84. data/doc/classes/Win32/Console/API.src/M000071.html +27 -0
  85. data/doc/classes/Win32/Console/API.src/M000072.html +26 -0
  86. data/doc/classes/Win32/Console/API.src/M000073.html +27 -0
  87. data/doc/classes/Win32/Console/API.src/M000074.html +31 -0
  88. data/doc/classes/Win32/Console/API.src/M000075.html +27 -0
  89. data/doc/classes/Win32/Console/API.src/M000076.html +32 -0
  90. data/doc/classes/Win32/Console/API.src/M000077.html +27 -0
  91. data/doc/classes/Win32/Console/API.src/M000078.html +32 -0
  92. data/doc/classes/Win32/Console/API.src/M000079.html +32 -0
  93. data/doc/classes/Win32/Console/API.src/M000080.html +32 -0
  94. data/doc/classes/Win32/Console/Constants.html +360 -0
  95. data/doc/created.rid +1 -0
  96. data/doc/files/Console_ANSI_rdoc.html +407 -0
  97. data/doc/files/Console_cpp.html +104 -0
  98. data/doc/files/Console_rdoc.html +964 -0
  99. data/doc/files/lib/Win32/Console/ANSI_rb.html +123 -0
  100. data/doc/files/lib/Win32/Console_rb.html +297 -0
  101. data/doc/fr_class_index.html +32 -0
  102. data/doc/fr_file_index.html +31 -0
  103. data/doc/fr_method_index.html +106 -0
  104. data/doc/index.html +24 -0
  105. data/doc/rdoc-style.css +172 -0
  106. data/lib/Console.so +0 -0
  107. data/lib/README_GEM.txt +64 -0
  108. data/lib/Term/ansicolor.rb +76 -0
  109. data/lib/Win32/Console.rb +970 -0
  110. data/lib/Win32/Console/ANSI.rb +305 -0
  111. data/lib/win32console.rb +3 -0
  112. data/test/test_cursor.rb +9 -0
  113. data/test/test_mouse.rb +6 -0
  114. data/test/test_readinput.rb +62 -0
  115. data/test/test_readoutput.rb +52 -0
  116. data/test/test_sendevent.rb +17 -0
  117. data/test/test_title.rb +14 -0
  118. data/test/test_write.rb +36 -0
  119. metadata +180 -0
data/doc/created.rid ADDED
@@ -0,0 +1 @@
1
+ Sat Jan 17 14:27:52 Hora est. de Sudam�rica E. 2004
@@ -0,0 +1,407 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>File: Console_ANSI.rdoc</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="fileHeader">
50
+ <h1>Console_ANSI.rdoc</h1>
51
+ <table class="header-table">
52
+ <tr class="top-aligned-row">
53
+ <td><strong>Path:</strong></td>
54
+ <td>Console_ANSI.rdoc
55
+ </td>
56
+ </tr>
57
+ <tr class="top-aligned-row">
58
+ <td><strong>Last Update:</strong></td>
59
+ <td>Sat Jan 17 14:24:46 Hora est. de Sudam�rica E. 2004</td>
60
+ </tr>
61
+ </table>
62
+ </div>
63
+ <!-- banner header -->
64
+
65
+ <div id="bodyContent">
66
+
67
+
68
+ <div id="contextContent">
69
+
70
+ <div id="description">
71
+ <h1>NAME</h1>
72
+ <p>
73
+ Win32::Console::ANSI - Perl extension to emulate ANSI console on <a
74
+ href="../classes/Win32.html">Win32</a> system.
75
+ </p>
76
+ <h1>SYNOPSIS</h1>
77
+ <pre>
78
+ require &quot;Win32::Console::ANSI&quot;
79
+
80
+ puts &quot;\e[1;34mThis text is bold blue.\e[0m&quot;
81
+ puts &quot;This text is normal.&quot;&quot;
82
+ puts &quot;\e[33;45;1mBold yellow on magenta.\e[0m&quot;
83
+ puts &quot;This text is normal.&quot;
84
+ </pre>
85
+ <p>
86
+ With the Term::ANSIColor module one increases the readability:
87
+ </p>
88
+ <pre>
89
+ require &quot;Win32::Console::ANSI&quot;
90
+ require &quot;Term::ANSIColor&quot;
91
+
92
+ puts color 'bold blue'
93
+ puts &quot;This text is bold blue.&quot;
94
+ puts color 'reset'
95
+ puts &quot;This text is normal.&quot;
96
+ puts colored (&quot;Bold yellow on magenta.&quot;, 'bold yellow on_magenta')
97
+ puts &quot;This text is normal.&quot;
98
+ </pre>
99
+ <p>
100
+ And even more with Term::ANSIScreen:
101
+ </p>
102
+ <pre>
103
+ require &quot;Win32::Console::ANSI;
104
+ require &quot;Term::ANSIScreen qw/:color :cursor :screen/;
105
+
106
+ locate 1, 1; puts &quot;@ This is (1,1)&quot;, savepos;
107
+ puts locate(24,60), &quot;@ This is (24,60)&quot;; loadpos;
108
+ puts down(2), clline, &quot;@ This is (3,16)&quot;;
109
+ setscroll 1, 20;
110
+ color 'black on white'; clline;
111
+ puts &quot;This line is black on white.&quot;;
112
+ puts color 'reset'; puts &quot;This text is normal.&quot;;
113
+ puts colored (&quot;This text is bold blue.&quot;, 'bold blue');
114
+ puts &quot;This text is normal.&quot;;
115
+ puts colored ['bold blue'], &quot;This text is bold blue.&quot;;
116
+ puts &quot;This text is normal.&quot;;
117
+ </pre>
118
+ <h1>DESCRIPTION</h1>
119
+ <p>
120
+ Windows NT/2000/XP does not support ANSI escape sequences in <a
121
+ href="../classes/Win32.html">Win32</a> Console applications. This module
122
+ emulates an ANSI console for the script which uses it.
123
+ </p>
124
+ <h2>Escape sequences for Cursor Movement</h2>
125
+ <pre>
126
+ * \e[#A
127
+
128
+ CUU: CUrsor Up: Moves the cursor up by the specified number of lines without
129
+ changing columns. If the cursor is already on the top line, this sequence
130
+ is ignored. \e[A is equivalent to \e[1A.
131
+
132
+ * \e[#B
133
+
134
+ CUD: CUrsor Down: Moves the cursor down by the specified number of lines
135
+ without changing columns. If the cursor is already on the bottom line,
136
+ this sequence is ignored. \e[B is equivalent to \e[1B.
137
+
138
+ * \e[#C
139
+
140
+ CUF: CUrsor Forward: Moves the cursor forward by the specified number of
141
+ columns without changing lines. If the cursor is already in the
142
+ rightmost column, this sequence is ignored. \e[C is equivalent to \e[1C.
143
+
144
+ * \e[#D
145
+
146
+ CUB: CUrsor Backward: Moves the cursor back by the specified number of
147
+ columns without changing lines. If the cursor is already in the leftmost
148
+ column, this sequence is ignored. \e[D is equivalent to \e[1D.
149
+
150
+ * \e[#E
151
+
152
+ CNL: Cursor Next Line: Moves the cursor down the indicated # of rows, to
153
+ column 1. \e[E is equivalent to \e[1E.
154
+
155
+ * \e[#F
156
+
157
+ CPL: Cursor Preceding Line: Moves the cursor up the indicated # of rows,
158
+ to column 1. \e[F is equivalent to \e[1F.
159
+
160
+ * \e[#G
161
+
162
+ CHA: Cursor Horizontal Absolute: Moves the cursor to indicated column in
163
+ current row. \e[G is equivalent to \e[1G.
164
+
165
+ * \e[#;#H
166
+
167
+ CUP: CUrsor Position: Moves the cursor to the specified position. The first #
168
+ specifies the line number, the second # specifies the column.
169
+ If you do not specify a position, the cursor moves to the
170
+ home position: the upper-left corner of the screen (line 1, column 1).
171
+
172
+ * \e[#;#f
173
+
174
+ HVP: Horizontal and Vertical Position.
175
+ Works the same way as the preceding escape sequence.
176
+
177
+ * \e[s
178
+
179
+ SCP: Save Cursor Position: Saves the current cursor position. You can move
180
+ the cursor to the saved cursor position by using the Restore Cursor
181
+ Position sequence.
182
+
183
+ * \e[u
184
+
185
+ RCP: Restore Cursor Position: Returns the cursor to the position stored
186
+ by the Save Cursor Position sequence.
187
+ </pre>
188
+ <h2>Escape sequences for Display Edition</h2>
189
+ <pre>
190
+ * \e[#J
191
+
192
+ ED: Erase Display:
193
+
194
+ * \e[0J
195
+
196
+ Clears the screen from cursor to end of display. The cursor position is unchanged.
197
+
198
+ * \e[1J
199
+
200
+ Clears the screen from start to cursor. The cursor position is unchanged.
201
+
202
+ * \e[2J
203
+
204
+ Clears the screen and moves the cursor to the home position (line 1, column 1).
205
+
206
+ \e[J is equivalent to \e[0J. (Some terminal/emulators respond to \e[J as if
207
+ it were \e[2J. Here, the default is 0; it's the norm)
208
+
209
+ * \e[#K
210
+
211
+ EL: Erase Line:
212
+
213
+ * \e[0K
214
+
215
+ Clears all characters from the cursor position to the end of the line
216
+ (including the character at the cursor position).
217
+ The cursor position is unchanged.
218
+
219
+ * \e[1K
220
+
221
+ Clears all characters from start of line to the cursor position.
222
+ (including the character at the cursor position).
223
+ The cursor position is unchanged.
224
+
225
+ * \e[2K
226
+
227
+ Clears all characters of the whole line.
228
+ The cursor position is unchanged.
229
+
230
+ \e[K is equivalent to \e[0K.
231
+
232
+ * \e[#L
233
+
234
+ IL: Insert Lines: The cursor line and all lines below it move down # lines,
235
+ leaving blank space. The cursor position is unchanged. The bottommost #
236
+ lines are lost. \e[L is equivalent to \e[1L.
237
+
238
+ * \e[#M
239
+
240
+ DL: Delete Line: The block of # lines at and below the cursor are deleted;
241
+ all lines below them move up # lines to fill in the gap, leaving # blank
242
+ lines at the bottom of the screen. The cursor position is unchanged.
243
+ \e[M is equivalent to \e[1M.
244
+
245
+ * \e#\@
246
+
247
+ ICH: Insert CHaracter: The cursor character and all characters to the right
248
+ of it move right # columns, leaving behind blank space.
249
+ The cursor position is unchanged. The rightmost # characters on the line are lost.
250
+
251
+ * \e[#P
252
+
253
+ DCH: Delete CHaracter: The block of # characters at and to the right of the
254
+ cursor are deleted; all characters to the right of it move left # columns,
255
+ leaving behind blank space. The cursor position is unchanged.
256
+ \e[P is equivalent to \e[1P.
257
+ </pre>
258
+ <h2>Escape sequences for Set Graphics Rendition</h2>
259
+ <pre>
260
+ * \e[#;...;#m
261
+
262
+ SGM: Set Graphics Mode: Calls the graphics functions specified by the
263
+ following values. These specified functions remain active until the next
264
+ occurrence of this escape sequence. Graphics mode changes the colors and
265
+ attributes of text (such as bold and underline) displayed on the
266
+ screen.
267
+
268
+ * Text attributes
269
+
270
+ 0 All attributes off
271
+ 1 Bold on
272
+ 4 Underscore on
273
+ 7 Reverse video on
274
+ 8 Concealed on
275
+
276
+ 21 Bold off
277
+ 24 Underscore off
278
+ 27 Reverse video off
279
+ 28 Concealed off
280
+
281
+ * Foreground colors
282
+
283
+ 30 Black
284
+ 31 Red
285
+ 32 Green
286
+ 33 Yellow
287
+ 34 Blue
288
+ 35 Magenta
289
+ 36 Cyan
290
+ 37 White
291
+
292
+ * Background colors
293
+
294
+ 40 Black
295
+ 41 Red
296
+ 42 Green
297
+ 43 Yellow
298
+ 44 Blue
299
+ 45 Magenta
300
+ 46 Cyan
301
+ 47 White
302
+
303
+ \e[m is equivalent to \e0m.
304
+ </pre>
305
+ <h2>Escape sequences for Select Character Set</h2>
306
+ <pre>
307
+ * \e(U
308
+
309
+ Select null mapping - straight to character from the codepage of the console.
310
+
311
+ * \e(K
312
+
313
+ Select Windows to DOS mapping, if the corresponding map exist; no effect
314
+ otherwise. This is the default mapping (if the map exist, of course). It's
315
+ useful becarequire &quot;one types the script with a Windows-based editor (using a
316
+ Windows codepage) and the script prints its messages on the console using
317
+ another codepage: without translation, the characters with a code greatest
318
+ than 127 are different and the printed messages may be not readable.
319
+
320
+ The conversion is done by the module Encode if it is installed (it's a
321
+ standard module with Perl5.8, not ruby). Otherwise, the conversion is limited to the
322
+ following couples:
323
+
324
+ WinLatin1 (cp1252) to DOSLatin1 (cp850)
325
+ WinLatin1 (cp1252) to DOSLatinUS (cp437)
326
+ WinLatin2 (cp1250) to DOSLatin2 (cp852)
327
+ WinCyrillic(cp1251) to DOSCyrillic (cp855)
328
+
329
+ * \e(#X
330
+
331
+ This escape sequence is I&lt;not&gt; standard! It's an experimental one, just for
332
+ fun :-)
333
+
334
+ If &lt;i&gt;and only if&lt;/i&gt; the console uses an Unicode police, it is possible to
335
+ change its codepage with this escape sequence. No effect with an ordinary
336
+ &quot;Raster Font&quot;. (For Windows NT/2000/XP the currently available Unicode
337
+ console font is the Lucida Console TrueType font.)
338
+ # is the number of the codepage needed, 855 for cp855 for instance.
339
+ </pre>
340
+ <h1>LIMITATIONS</h1>
341
+ <pre>
342
+ * Due to DOS-console limitations, the blink mode (text attributes 5 and 25) is not implemented.
343
+ </pre>
344
+ <h1>SEE ALSO</h1>
345
+ <p>
346
+ <b>Win32::Console</b>, <b>Term::ANSIColor</b>, <b>Term::ANSIScreen</b>.
347
+ </p>
348
+ <h1>AUTHOR</h1>
349
+ <p>
350
+ J-L Morel jl_morel@bribes.org
351
+ </p>
352
+ <p>
353
+ Home page: <a
354
+ href="http://www.bribes.org/perl/wANSIConsole.html">www.bribes.org/perl/wANSIConsole.html</a>
355
+ </p>
356
+ <p>
357
+ Gonzalo Garramu�o GGarramuno@aol.com Ruby port
358
+ </p>
359
+ <h1>CREDITS</h1>
360
+ <p>
361
+ Render unto C�sar the things which are C�sar&#8217;s&#8230;
362
+ </p>
363
+ <p>
364
+ This module requires the module Win32::Console. Thanks to Aldo Calpini.
365
+ </p>
366
+ <p>
367
+ The method used to overload the print function is due to Matt Sergeant (see
368
+ his module Win32::ASP).
369
+ </p>
370
+ <h1>COPYRIGHT</h1>
371
+ <p>
372
+ Copyright &#169; 2004 Gonzalo Garramu�o. All rights reserved. Copyright
373
+ &#169; 2003 J-L Morel. All rights reserved.
374
+ </p>
375
+ <p>
376
+ This program is free software; you can redistribute it and/or modify it
377
+ under the terms of the Artistic License.
378
+ </p>
379
+
380
+ </div>
381
+
382
+
383
+
384
+
385
+
386
+
387
+
388
+
389
+ </div>
390
+
391
+
392
+
393
+ <!-- if includes -->
394
+
395
+
396
+ <!-- if method_list -->
397
+
398
+
399
+ </div>
400
+
401
+
402
+ <div id="validator-badges">
403
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
404
+ </div>
405
+
406
+ </body>
407
+ </html>
@@ -0,0 +1,104 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>File: Console.cpp</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="fileHeader">
50
+ <h1>Console.cpp</h1>
51
+ <table class="header-table">
52
+ <tr class="top-aligned-row">
53
+ <td><strong>Path:</strong></td>
54
+ <td>Console.cpp
55
+ </td>
56
+ </tr>
57
+ <tr class="top-aligned-row">
58
+ <td><strong>Last Update:</strong></td>
59
+ <td>Sat Jan 17 14:03:34 Hora est. de Sudam�rica E. 2004</td>
60
+ </tr>
61
+ </table>
62
+ </div>
63
+ <!-- banner header -->
64
+
65
+ <div id="bodyContent">
66
+
67
+
68
+ <div id="contextContent">
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+ <div id="class-list">
78
+ <h2 class="section-bar">Classes and Modules</h2>
79
+
80
+ Module <a href="../classes/Win32.html" class="link">Win32</a><br />
81
+ &nbsp;&nbsp;::Class <a href="../classes/Win32/Console.html" class="link">Win32::Console</a><br />
82
+ &nbsp;&nbsp;::&nbsp;&nbsp;::Class <a href="../classes/Win32/Console/API.html" class="link">Win32::Console::API</a><br />
83
+
84
+ </div>
85
+
86
+ </div>
87
+
88
+
89
+
90
+ <!-- if includes -->
91
+
92
+
93
+ <!-- if method_list -->
94
+
95
+
96
+ </div>
97
+
98
+
99
+ <div id="validator-badges">
100
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
101
+ </div>
102
+
103
+ </body>
104
+ </html>