win32console 1.0.8-i386-mswin32 → 1.1.0-i386-mswin32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. data/Console.cpp +15 -0
  2. data/HISTORY_GEM.txt +34 -0
  3. data/README.txt +0 -1
  4. data/{lib/README_GEM.txt → README_GEM.txt} +1 -1
  5. data/Rakefile +5 -5
  6. data/lib/Console.so +0 -0
  7. data/lib/Win32/Console/ANSI.rb +283 -240
  8. data/lib/Win32/Console/api.rb +342 -0
  9. data/lib/Win32/Console/constants.rb +66 -0
  10. data/lib/Win32/Console.rb +77 -675
  11. metadata +10 -114
  12. data/doc/classes/Win32/Console/ANSI/IO.html +0 -220
  13. data/doc/classes/Win32/Console/ANSI/IO.src/M000035.html +0 -32
  14. data/doc/classes/Win32/Console/ANSI/IO.src/M000036.html +0 -205
  15. data/doc/classes/Win32/Console/ANSI/IO.src/M000037.html +0 -40
  16. data/doc/classes/Win32/Console/ANSI/IO.src/M000038.html +0 -25
  17. data/doc/classes/Win32/Console/ANSI.html +0 -103
  18. data/doc/classes/Win32/Console/API.html +0 -758
  19. data/doc/classes/Win32/Console/API.src/M000039.html +0 -27
  20. data/doc/classes/Win32/Console/API.src/M000040.html +0 -27
  21. data/doc/classes/Win32/Console/API.src/M000041.html +0 -27
  22. data/doc/classes/Win32/Console/API.src/M000042.html +0 -32
  23. data/doc/classes/Win32/Console/API.src/M000043.html +0 -32
  24. data/doc/classes/Win32/Console/API.src/M000044.html +0 -28
  25. data/doc/classes/Win32/Console/API.src/M000045.html +0 -26
  26. data/doc/classes/Win32/Console/API.src/M000046.html +0 -26
  27. data/doc/classes/Win32/Console/API.src/M000047.html +0 -27
  28. data/doc/classes/Win32/Console/API.src/M000048.html +0 -30
  29. data/doc/classes/Win32/Console/API.src/M000049.html +0 -29
  30. data/doc/classes/Win32/Console/API.src/M000050.html +0 -27
  31. data/doc/classes/Win32/Console/API.src/M000051.html +0 -28
  32. data/doc/classes/Win32/Console/API.src/M000052.html +0 -30
  33. data/doc/classes/Win32/Console/API.src/M000053.html +0 -27
  34. data/doc/classes/Win32/Console/API.src/M000054.html +0 -29
  35. data/doc/classes/Win32/Console/API.src/M000055.html +0 -29
  36. data/doc/classes/Win32/Console/API.src/M000056.html +0 -28
  37. data/doc/classes/Win32/Console/API.src/M000057.html +0 -27
  38. data/doc/classes/Win32/Console/API.src/M000058.html +0 -47
  39. data/doc/classes/Win32/Console/API.src/M000059.html +0 -32
  40. data/doc/classes/Win32/Console/API.src/M000060.html +0 -47
  41. data/doc/classes/Win32/Console/API.src/M000061.html +0 -34
  42. data/doc/classes/Win32/Console/API.src/M000062.html +0 -32
  43. data/doc/classes/Win32/Console/API.src/M000063.html +0 -32
  44. data/doc/classes/Win32/Console/API.src/M000064.html +0 -35
  45. data/doc/classes/Win32/Console/API.src/M000065.html +0 -26
  46. data/doc/classes/Win32/Console/API.src/M000066.html +0 -27
  47. data/doc/classes/Win32/Console/API.src/M000067.html +0 -29
  48. data/doc/classes/Win32/Console/API.src/M000068.html +0 -27
  49. data/doc/classes/Win32/Console/API.src/M000069.html +0 -27
  50. data/doc/classes/Win32/Console/API.src/M000070.html +0 -28
  51. data/doc/classes/Win32/Console/API.src/M000071.html +0 -27
  52. data/doc/classes/Win32/Console/API.src/M000072.html +0 -26
  53. data/doc/classes/Win32/Console/API.src/M000073.html +0 -27
  54. data/doc/classes/Win32/Console/API.src/M000074.html +0 -31
  55. data/doc/classes/Win32/Console/API.src/M000075.html +0 -27
  56. data/doc/classes/Win32/Console/API.src/M000076.html +0 -32
  57. data/doc/classes/Win32/Console/API.src/M000077.html +0 -27
  58. data/doc/classes/Win32/Console/API.src/M000078.html +0 -32
  59. data/doc/classes/Win32/Console/API.src/M000079.html +0 -32
  60. data/doc/classes/Win32/Console/API.src/M000080.html +0 -32
  61. data/doc/classes/Win32/Console/Constants.html +0 -360
  62. data/doc/classes/Win32/Console.html +0 -650
  63. data/doc/classes/Win32/Console.src/M000001.html +0 -31
  64. data/doc/classes/Win32/Console.src/M000002.html +0 -23
  65. data/doc/classes/Win32/Console.src/M000003.html +0 -23
  66. data/doc/classes/Win32/Console.src/M000004.html +0 -27
  67. data/doc/classes/Win32/Console.src/M000005.html +0 -23
  68. data/doc/classes/Win32/Console.src/M000006.html +0 -28
  69. data/doc/classes/Win32/Console.src/M000007.html +0 -23
  70. data/doc/classes/Win32/Console.src/M000008.html +0 -24
  71. data/doc/classes/Win32/Console.src/M000009.html +0 -44
  72. data/doc/classes/Win32/Console.src/M000010.html +0 -23
  73. data/doc/classes/Win32/Console.src/M000011.html +0 -33
  74. data/doc/classes/Win32/Console.src/M000012.html +0 -26
  75. data/doc/classes/Win32/Console.src/M000013.html +0 -27
  76. data/doc/classes/Win32/Console.src/M000014.html +0 -28
  77. data/doc/classes/Win32/Console.src/M000015.html +0 -23
  78. data/doc/classes/Win32/Console.src/M000016.html +0 -23
  79. data/doc/classes/Win32/Console.src/M000017.html +0 -23
  80. data/doc/classes/Win32/Console.src/M000018.html +0 -29
  81. data/doc/classes/Win32/Console.src/M000019.html +0 -23
  82. data/doc/classes/Win32/Console.src/M000020.html +0 -23
  83. data/doc/classes/Win32/Console.src/M000021.html +0 -28
  84. data/doc/classes/Win32/Console.src/M000022.html +0 -23
  85. data/doc/classes/Win32/Console.src/M000023.html +0 -28
  86. data/doc/classes/Win32/Console.src/M000024.html +0 -35
  87. data/doc/classes/Win32/Console.src/M000025.html +0 -28
  88. data/doc/classes/Win32/Console.src/M000026.html +0 -28
  89. data/doc/classes/Win32/Console.src/M000027.html +0 -28
  90. data/doc/classes/Win32/Console.src/M000028.html +0 -31
  91. data/doc/classes/Win32/Console.src/M000029.html +0 -23
  92. data/doc/classes/Win32/Console.src/M000030.html +0 -23
  93. data/doc/classes/Win32/Console.src/M000031.html +0 -23
  94. data/doc/classes/Win32/Console.src/M000032.html +0 -27
  95. data/doc/classes/Win32/Console.src/M000033.html +0 -27
  96. data/doc/classes/Win32/Console.src/M000034.html +0 -25
  97. data/doc/classes/Win32.html +0 -115
  98. data/doc/created.rid +0 -1
  99. data/doc/files/Console_ANSI_rdoc.html +0 -407
  100. data/doc/files/Console_cpp.html +0 -104
  101. data/doc/files/Console_rdoc.html +0 -964
  102. data/doc/files/lib/Win32/Console/ANSI_rb.html +0 -123
  103. data/doc/files/lib/Win32/Console_rb.html +0 -297
  104. data/doc/fr_class_index.html +0 -32
  105. data/doc/fr_file_index.html +0 -31
  106. data/doc/fr_method_index.html +0 -106
  107. data/doc/index.html +0 -24
  108. data/doc/rdoc-style.css +0 -172
@@ -1,650 +0,0 @@
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>Class: Win32::Console</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="classHeader">
50
- <h1>Win32::Console <sup class="type-note">(Class)</sup></h1>
51
- <table class="header-table">
52
- <tr class="top-aligned-row">
53
- <td><strong>In:</strong></td>
54
- <td>
55
- <a href="../../files/lib\Win32/Console/ANSI_rb.html">
56
- lib\Win32/Console/ANSI.rb
57
- </a>
58
- <br />
59
- <a href="../../files/lib\Win32/Console_rb.html">
60
- lib\Win32/Console.rb
61
- </a>
62
- <br />
63
- <a href="../../files/Console_cpp.html">
64
- Console.cpp
65
- </a>
66
- <br />
67
- </td>
68
- </tr>
69
-
70
- <tr class="top-aligned-row">
71
- <td><strong>Parent:</strong></td>
72
- <td>
73
- Object
74
- </td>
75
- </tr>
76
- </table>
77
- </div>
78
- <!-- banner header -->
79
-
80
- <div id="bodyContent">
81
-
82
-
83
- <div id="contextContent">
84
-
85
-
86
-
87
- <div id="method-list">
88
- <h2 class="section-bar">Methods</h2>
89
-
90
- <div class="name-list">
91
- <a href="#M000030">Alloc</a>&nbsp;&nbsp;
92
- <a href="#M000023">Attr</a>&nbsp;&nbsp;
93
- <a href="#M000028">Cls</a>&nbsp;&nbsp;
94
- <a href="#M000009">Cursor</a>&nbsp;&nbsp;
95
- <a href="#M000002">Display</a>&nbsp;&nbsp;
96
- <a href="#M000026">FillAttr</a>&nbsp;&nbsp;
97
- <a href="#M000027">FillChar</a>&nbsp;&nbsp;
98
- <a href="#M000017">Flush</a>&nbsp;&nbsp;
99
- <a href="#M000029">Free</a>&nbsp;&nbsp;
100
- <a href="#M000034">GenerateCtrlEvent</a>&nbsp;&nbsp;
101
- <a href="#M000016">GetEvents</a>&nbsp;&nbsp;
102
- <a href="#M000015">Info</a>&nbsp;&nbsp;
103
- <a href="#M000019">Input</a>&nbsp;&nbsp;
104
- <a href="#M000032">InputCP</a>&nbsp;&nbsp;
105
- <a href="#M000018">InputChar</a>&nbsp;&nbsp;
106
- <a href="#M000014">MaxWindow</a>&nbsp;&nbsp;
107
- <a href="#M000021">Mode</a>&nbsp;&nbsp;
108
- <a href="#M000031">MouseButtons</a>&nbsp;&nbsp;
109
- <a href="#M000033">OutputCP</a>&nbsp;&nbsp;
110
- <a href="#M000020">PeekInput</a>&nbsp;&nbsp;
111
- <a href="#M000008">ReadAttr</a>&nbsp;&nbsp;
112
- <a href="#M000006">ReadChar</a>&nbsp;&nbsp;
113
- <a href="#M000011">ReadRect</a>&nbsp;&nbsp;
114
- <a href="#M000013">Scroll</a>&nbsp;&nbsp;
115
- <a href="#M000003">Select</a>&nbsp;&nbsp;
116
- <a href="#M000024">Size</a>&nbsp;&nbsp;
117
- <a href="#M000004">Title</a>&nbsp;&nbsp;
118
- <a href="#M000025">Window</a>&nbsp;&nbsp;
119
- <a href="#M000010">Write</a>&nbsp;&nbsp;
120
- <a href="#M000007">WriteAttr</a>&nbsp;&nbsp;
121
- <a href="#M000005">WriteChar</a>&nbsp;&nbsp;
122
- <a href="#M000022">WriteInput</a>&nbsp;&nbsp;
123
- <a href="#M000012">WriteRect</a>&nbsp;&nbsp;
124
- <a href="#M000001">new</a>&nbsp;&nbsp;
125
- </div>
126
- </div>
127
-
128
-
129
-
130
-
131
-
132
- <div id="class-list">
133
- <h2 class="section-bar">Classes and Modules</h2>
134
-
135
- Module <a href="Console/ANSI.html" class="link">Win32::Console::ANSI</a><br />
136
- &nbsp;&nbsp;::Class <a href="Console/ANSI/IO.html" class="link">Win32::Console::ANSI::IO</a><br />
137
- Module <a href="Console/Constants.html" class="link">Win32::Console::Constants</a><br />
138
- Class <a href="Console/API.html" class="link">Win32::Console::API</a><br />
139
-
140
- </div>
141
-
142
- </div>
143
-
144
-
145
-
146
- <!-- if includes -->
147
- <div id="includes">
148
- <h2 class="section-bar">Included Modules</h2>
149
-
150
- <div id="includes-list">
151
- <span class="include-name"><a href="Console/Constants.html">Win32::Console::Constants</a></span>
152
- </div>
153
- </div>
154
-
155
-
156
- <!-- if method_list -->
157
- <div id="methods">
158
- <h2 class="section-bar">Public Class methods</h2>
159
-
160
- <div id="method-M000030" class="method-detail">
161
- <a name="M000030"></a>
162
-
163
- <div class="method-heading">
164
- <a href="Console.src/M000030.html" target="Code" class="method-signature"
165
- onclick="popupCode('Console.src/M000030.html');return false;">
166
- <span class="method-name">Alloc</span><span class="method-args">()</span>
167
- </a>
168
- </div>
169
-
170
- <div class="method-description">
171
- </div>
172
- </div>
173
-
174
- <div id="method-M000029" class="method-detail">
175
- <a name="M000029"></a>
176
-
177
- <div class="method-heading">
178
- <a href="Console.src/M000029.html" target="Code" class="method-signature"
179
- onclick="popupCode('Console.src/M000029.html');return false;">
180
- <span class="method-name">Free</span><span class="method-args">()</span>
181
- </a>
182
- </div>
183
-
184
- <div class="method-description">
185
- </div>
186
- </div>
187
-
188
- <div id="method-M000034" class="method-detail">
189
- <a name="M000034"></a>
190
-
191
- <div class="method-heading">
192
- <a href="Console.src/M000034.html" target="Code" class="method-signature"
193
- onclick="popupCode('Console.src/M000034.html');return false;">
194
- <span class="method-name">GenerateCtrlEvent</span><span class="method-args">( type=nil, pid=nil )</span>
195
- </a>
196
- </div>
197
-
198
- <div class="method-description">
199
- </div>
200
- </div>
201
-
202
- <div id="method-M000032" class="method-detail">
203
- <a name="M000032"></a>
204
-
205
- <div class="method-heading">
206
- <a href="Console.src/M000032.html" target="Code" class="method-signature"
207
- onclick="popupCode('Console.src/M000032.html');return false;">
208
- <span class="method-name">InputCP</span><span class="method-args">(codepage=nil)</span>
209
- </a>
210
- </div>
211
-
212
- <div class="method-description">
213
- </div>
214
- </div>
215
-
216
- <div id="method-M000031" class="method-detail">
217
- <a name="M000031"></a>
218
-
219
- <div class="method-heading">
220
- <a href="Console.src/M000031.html" target="Code" class="method-signature"
221
- onclick="popupCode('Console.src/M000031.html');return false;">
222
- <span class="method-name">MouseButtons</span><span class="method-args">()</span>
223
- </a>
224
- </div>
225
-
226
- <div class="method-description">
227
- </div>
228
- </div>
229
-
230
- <div id="method-M000033" class="method-detail">
231
- <a name="M000033"></a>
232
-
233
- <div class="method-heading">
234
- <a href="Console.src/M000033.html" target="Code" class="method-signature"
235
- onclick="popupCode('Console.src/M000033.html');return false;">
236
- <span class="method-name">OutputCP</span><span class="method-args">(codepage=nil)</span>
237
- </a>
238
- </div>
239
-
240
- <div class="method-description">
241
- </div>
242
- </div>
243
-
244
- <div id="method-M000001" class="method-detail">
245
- <a name="M000001"></a>
246
-
247
- <div class="method-heading">
248
- <a href="Console.src/M000001.html" target="Code" class="method-signature"
249
- onclick="popupCode('Console.src/M000001.html');return false;">
250
- <span class="method-name">new</span><span class="method-args">( t = nil )</span>
251
- </a>
252
- </div>
253
-
254
- <div class="method-description">
255
- </div>
256
- </div>
257
-
258
- <h2 class="section-bar">Public Instance methods</h2>
259
-
260
- <div id="method-M000023" class="method-detail">
261
- <a name="M000023"></a>
262
-
263
- <div class="method-heading">
264
- <a href="Console.src/M000023.html" target="Code" class="method-signature"
265
- onclick="popupCode('Console.src/M000023.html');return false;">
266
- <span class="method-name">Attr</span><span class="method-args">(*attr)</span>
267
- </a>
268
- </div>
269
-
270
- <div class="method-description">
271
- </div>
272
- </div>
273
-
274
- <div id="method-M000028" class="method-detail">
275
- <a name="M000028"></a>
276
-
277
- <div class="method-heading">
278
- <a href="Console.src/M000028.html" target="Code" class="method-signature"
279
- onclick="popupCode('Console.src/M000028.html');return false;">
280
- <span class="method-name">Cls</span><span class="method-args">()</span>
281
- </a>
282
- </div>
283
-
284
- <div class="method-description">
285
- </div>
286
- </div>
287
-
288
- <div id="method-M000009" class="method-detail">
289
- <a name="M000009"></a>
290
-
291
- <div class="method-heading">
292
- <a href="Console.src/M000009.html" target="Code" class="method-signature"
293
- onclick="popupCode('Console.src/M000009.html');return false;">
294
- <span class="method-name">Cursor</span><span class="method-args">(*t)</span>
295
- </a>
296
- </div>
297
-
298
- <div class="method-description">
299
- </div>
300
- </div>
301
-
302
- <div id="method-M000002" class="method-detail">
303
- <a name="M000002"></a>
304
-
305
- <div class="method-heading">
306
- <a href="Console.src/M000002.html" target="Code" class="method-signature"
307
- onclick="popupCode('Console.src/M000002.html');return false;">
308
- <span class="method-name">Display</span><span class="method-args">()</span>
309
- </a>
310
- </div>
311
-
312
- <div class="method-description">
313
- </div>
314
- </div>
315
-
316
- <div id="method-M000026" class="method-detail">
317
- <a name="M000026"></a>
318
-
319
- <div class="method-heading">
320
- <a href="Console.src/M000026.html" target="Code" class="method-signature"
321
- onclick="popupCode('Console.src/M000026.html');return false;">
322
- <span class="method-name">FillAttr</span><span class="method-args">(attr, number = 1, col = -1, row = -1)</span>
323
- </a>
324
- </div>
325
-
326
- <div class="method-description">
327
- </div>
328
- </div>
329
-
330
- <div id="method-M000027" class="method-detail">
331
- <a name="M000027"></a>
332
-
333
- <div class="method-heading">
334
- <a href="Console.src/M000027.html" target="Code" class="method-signature"
335
- onclick="popupCode('Console.src/M000027.html');return false;">
336
- <span class="method-name">FillChar</span><span class="method-args">(char, number, col = -1, row = -1)</span>
337
- </a>
338
- </div>
339
-
340
- <div class="method-description">
341
- </div>
342
- </div>
343
-
344
- <div id="method-M000017" class="method-detail">
345
- <a name="M000017"></a>
346
-
347
- <div class="method-heading">
348
- <a href="Console.src/M000017.html" target="Code" class="method-signature"
349
- onclick="popupCode('Console.src/M000017.html');return false;">
350
- <span class="method-name">Flush</span><span class="method-args">()</span>
351
- </a>
352
- </div>
353
-
354
- <div class="method-description">
355
- </div>
356
- </div>
357
-
358
- <div id="method-M000016" class="method-detail">
359
- <a name="M000016"></a>
360
-
361
- <div class="method-heading">
362
- <a href="Console.src/M000016.html" target="Code" class="method-signature"
363
- onclick="popupCode('Console.src/M000016.html');return false;">
364
- <span class="method-name">GetEvents</span><span class="method-args">()</span>
365
- </a>
366
- </div>
367
-
368
- <div class="method-description">
369
- </div>
370
- </div>
371
-
372
- <div id="method-M000015" class="method-detail">
373
- <a name="M000015"></a>
374
-
375
- <div class="method-heading">
376
- <a href="Console.src/M000015.html" target="Code" class="method-signature"
377
- onclick="popupCode('Console.src/M000015.html');return false;">
378
- <span class="method-name">Info</span><span class="method-args">()</span>
379
- </a>
380
- </div>
381
-
382
- <div class="method-description">
383
- </div>
384
- </div>
385
-
386
- <div id="method-M000019" class="method-detail">
387
- <a name="M000019"></a>
388
-
389
- <div class="method-heading">
390
- <a href="Console.src/M000019.html" target="Code" class="method-signature"
391
- onclick="popupCode('Console.src/M000019.html');return false;">
392
- <span class="method-name">Input</span><span class="method-args">()</span>
393
- </a>
394
- </div>
395
-
396
- <div class="method-description">
397
- </div>
398
- </div>
399
-
400
- <div id="method-M000018" class="method-detail">
401
- <a name="M000018"></a>
402
-
403
- <div class="method-heading">
404
- <a href="Console.src/M000018.html" target="Code" class="method-signature"
405
- onclick="popupCode('Console.src/M000018.html');return false;">
406
- <span class="method-name">InputChar</span><span class="method-args">(number = nil)</span>
407
- </a>
408
- </div>
409
-
410
- <div class="method-description">
411
- </div>
412
- </div>
413
-
414
- <div id="method-M000014" class="method-detail">
415
- <a name="M000014"></a>
416
-
417
- <div class="method-heading">
418
- <a href="Console.src/M000014.html" target="Code" class="method-signature"
419
- onclick="popupCode('Console.src/M000014.html');return false;">
420
- <span class="method-name">MaxWindow</span><span class="method-args">(flag = nil)</span>
421
- </a>
422
- </div>
423
-
424
- <div class="method-description">
425
- </div>
426
- </div>
427
-
428
- <div id="method-M000021" class="method-detail">
429
- <a name="M000021"></a>
430
-
431
- <div class="method-heading">
432
- <a href="Console.src/M000021.html" target="Code" class="method-signature"
433
- onclick="popupCode('Console.src/M000021.html');return false;">
434
- <span class="method-name">Mode</span><span class="method-args">(mode = nil)</span>
435
- </a>
436
- </div>
437
-
438
- <div class="method-description">
439
- </div>
440
- </div>
441
-
442
- <div id="method-M000020" class="method-detail">
443
- <a name="M000020"></a>
444
-
445
- <div class="method-heading">
446
- <a href="Console.src/M000020.html" target="Code" class="method-signature"
447
- onclick="popupCode('Console.src/M000020.html');return false;">
448
- <span class="method-name">PeekInput</span><span class="method-args">()</span>
449
- </a>
450
- </div>
451
-
452
- <div class="method-description">
453
- </div>
454
- </div>
455
-
456
- <div id="method-M000008" class="method-detail">
457
- <a name="M000008"></a>
458
-
459
- <div class="method-heading">
460
- <a href="Console.src/M000008.html" target="Code" class="method-signature"
461
- onclick="popupCode('Console.src/M000008.html');return false;">
462
- <span class="method-name">ReadAttr</span><span class="method-args">(size, col, row)</span>
463
- </a>
464
- </div>
465
-
466
- <div class="method-description">
467
- </div>
468
- </div>
469
-
470
- <div id="method-M000006" class="method-detail">
471
- <a name="M000006"></a>
472
-
473
- <div class="method-heading">
474
- <a href="Console.src/M000006.html" target="Code" class="method-signature"
475
- onclick="popupCode('Console.src/M000006.html');return false;">
476
- <span class="method-name">ReadChar</span><span class="method-args">(size, col, row)</span>
477
- </a>
478
- </div>
479
-
480
- <div class="method-description">
481
- </div>
482
- </div>
483
-
484
- <div id="method-M000011" class="method-detail">
485
- <a name="M000011"></a>
486
-
487
- <div class="method-heading">
488
- <a href="Console.src/M000011.html" target="Code" class="method-signature"
489
- onclick="popupCode('Console.src/M000011.html');return false;">
490
- <span class="method-name">ReadRect</span><span class="method-args">( left, top, right, bottom )</span>
491
- </a>
492
- </div>
493
-
494
- <div class="method-description">
495
- </div>
496
- </div>
497
-
498
- <div id="method-M000013" class="method-detail">
499
- <a name="M000013"></a>
500
-
501
- <div class="method-heading">
502
- <a href="Console.src/M000013.html" target="Code" class="method-signature"
503
- onclick="popupCode('Console.src/M000013.html');return false;">
504
- <span class="method-name">Scroll</span><span class="method-args">( left1, top1, right1, bottom1, col, row, char, attr, left2, top2, right2, bottom2 )</span>
505
- </a>
506
- </div>
507
-
508
- <div class="method-description">
509
- </div>
510
- </div>
511
-
512
- <div id="method-M000003" class="method-detail">
513
- <a name="M000003"></a>
514
-
515
- <div class="method-heading">
516
- <a href="Console.src/M000003.html" target="Code" class="method-signature"
517
- onclick="popupCode('Console.src/M000003.html');return false;">
518
- <span class="method-name">Select</span><span class="method-args">(type)</span>
519
- </a>
520
- </div>
521
-
522
- <div class="method-description">
523
- </div>
524
- </div>
525
-
526
- <div id="method-M000024" class="method-detail">
527
- <a name="M000024"></a>
528
-
529
- <div class="method-heading">
530
- <a href="Console.src/M000024.html" target="Code" class="method-signature"
531
- onclick="popupCode('Console.src/M000024.html');return false;">
532
- <span class="method-name">Size</span><span class="method-args">(*t)</span>
533
- </a>
534
- </div>
535
-
536
- <div class="method-description">
537
- </div>
538
- </div>
539
-
540
- <div id="method-M000004" class="method-detail">
541
- <a name="M000004"></a>
542
-
543
- <div class="method-heading">
544
- <a href="Console.src/M000004.html" target="Code" class="method-signature"
545
- onclick="popupCode('Console.src/M000004.html');return false;">
546
- <span class="method-name">Title</span><span class="method-args">(title = nil)</span>
547
- </a>
548
- </div>
549
-
550
- <div class="method-description">
551
- </div>
552
- </div>
553
-
554
- <div id="method-M000025" class="method-detail">
555
- <a name="M000025"></a>
556
-
557
- <div class="method-heading">
558
- <a href="Console.src/M000025.html" target="Code" class="method-signature"
559
- onclick="popupCode('Console.src/M000025.html');return false;">
560
- <span class="method-name">Window</span><span class="method-args">(*t)</span>
561
- </a>
562
- </div>
563
-
564
- <div class="method-description">
565
- </div>
566
- </div>
567
-
568
- <div id="method-M000010" class="method-detail">
569
- <a name="M000010"></a>
570
-
571
- <div class="method-heading">
572
- <a href="Console.src/M000010.html" target="Code" class="method-signature"
573
- onclick="popupCode('Console.src/M000010.html');return false;">
574
- <span class="method-name">Write</span><span class="method-args">(s)</span>
575
- </a>
576
- </div>
577
-
578
- <div class="method-description">
579
- </div>
580
- </div>
581
-
582
- <div id="method-M000007" class="method-detail">
583
- <a name="M000007"></a>
584
-
585
- <div class="method-heading">
586
- <a href="Console.src/M000007.html" target="Code" class="method-signature"
587
- onclick="popupCode('Console.src/M000007.html');return false;">
588
- <span class="method-name">WriteAttr</span><span class="method-args">(attr, col, row)</span>
589
- </a>
590
- </div>
591
-
592
- <div class="method-description">
593
- </div>
594
- </div>
595
-
596
- <div id="method-M000005" class="method-detail">
597
- <a name="M000005"></a>
598
-
599
- <div class="method-heading">
600
- <a href="Console.src/M000005.html" target="Code" class="method-signature"
601
- onclick="popupCode('Console.src/M000005.html');return false;">
602
- <span class="method-name">WriteChar</span><span class="method-args">(s, col, row)</span>
603
- </a>
604
- </div>
605
-
606
- <div class="method-description">
607
- </div>
608
- </div>
609
-
610
- <div id="method-M000022" class="method-detail">
611
- <a name="M000022"></a>
612
-
613
- <div class="method-heading">
614
- <a href="Console.src/M000022.html" target="Code" class="method-signature"
615
- onclick="popupCode('Console.src/M000022.html');return false;">
616
- <span class="method-name">WriteInput</span><span class="method-args">(*t)</span>
617
- </a>
618
- </div>
619
-
620
- <div class="method-description">
621
- </div>
622
- </div>
623
-
624
- <div id="method-M000012" class="method-detail">
625
- <a name="M000012"></a>
626
-
627
- <div class="method-heading">
628
- <a href="Console.src/M000012.html" target="Code" class="method-signature"
629
- onclick="popupCode('Console.src/M000012.html');return false;">
630
- <span class="method-name">WriteRect</span><span class="method-args">( buffer, left, top, right, bottom )</span>
631
- </a>
632
- </div>
633
-
634
- <div class="method-description">
635
- </div>
636
- </div>
637
-
638
-
639
- </div>
640
-
641
-
642
- </div>
643
-
644
-
645
- <div id="validator-badges">
646
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
647
- </div>
648
-
649
- </body>
650
- </html>
@@ -1,31 +0,0 @@
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
- <!--
7
-
8
- new (Win32::Console)
9
-
10
- -->
11
- <html>
12
- <head>
13
- <title>new (Win32::Console)</title>
14
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
15
- <link rel="stylesheet" href="http://www.FaerieMUD.org/stylesheets/rdoc.css" type="text/css" />
16
- </head>
17
- <body>
18
- <pre><span class="ruby-comment cmt"># File lib\Win32/Console.rb, line 616</span>
19
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>( <span class="ruby-identifier">t</span> = <span class="ruby-keyword kw">nil</span> )
20
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">t</span> <span class="ruby-keyword kw">and</span> ( <span class="ruby-identifier">t</span> <span class="ruby-operator">==</span> <span class="ruby-constant">STD_INPUT_HANDLE</span> <span class="ruby-keyword kw">or</span> <span class="ruby-identifier">t</span> <span class="ruby-operator">==</span> <span class="ruby-constant">STD_OUTPUT_HANDLE</span> <span class="ruby-keyword kw">or</span>
21
- <span class="ruby-identifier">t</span> <span class="ruby-operator">==</span> <span class="ruby-constant">STD_ERROR_HANDLE</span> )
22
- <span class="ruby-ivar">@handle</span> = <span class="ruby-constant">API</span>.<span class="ruby-constant">GetStdHandle</span>( <span class="ruby-identifier">t</span> )
23
- <span class="ruby-keyword kw">else</span>
24
- <span class="ruby-identifier">param1</span> = <span class="ruby-constant">GENERIC_READ</span> <span class="ruby-operator">|</span> <span class="ruby-constant">GENERIC_WRITE</span>
25
- <span class="ruby-identifier">param2</span> = <span class="ruby-constant">FILE_SHARE_READ</span> <span class="ruby-operator">|</span> <span class="ruby-constant">FILE_SHARE_WRITE</span>
26
- <span class="ruby-ivar">@handle</span> = <span class="ruby-constant">API</span>.<span class="ruby-constant">CreateConsoleScreenBuffer</span>( <span class="ruby-identifier">param1</span>, <span class="ruby-identifier">param2</span>,
27
- <span class="ruby-constant">CONSOLE_TEXTMODE_BUFFER</span> )
28
- <span class="ruby-keyword kw">end</span>
29
- <span class="ruby-keyword kw">end</span></pre>
30
- </body>
31
- </html>