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

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 (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,28 +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
- Attr (Win32::Console)
9
-
10
- -->
11
- <html>
12
- <head>
13
- <title>Attr (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 787</span>
19
- <span class="ruby-keyword kw">def</span> <span class="ruby-constant">Attr</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">attr</span>)
20
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">attr</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">0</span>
21
- <span class="ruby-constant">API</span>.<span class="ruby-constant">SetConsoleTextAttribute</span>( <span class="ruby-ivar">@handle</span>, <span class="ruby-identifier">attr</span>[<span class="ruby-value">0</span>] )
22
- <span class="ruby-keyword kw">else</span>
23
- <span class="ruby-identifier">info</span> = <span class="ruby-constant">API</span>.<span class="ruby-constant">GetConsoleScreenBufferInfo</span>( <span class="ruby-ivar">@handle</span> )
24
- <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">info</span>[<span class="ruby-value">4</span>]
25
- <span class="ruby-keyword kw">end</span>
26
- <span class="ruby-keyword kw">end</span></pre>
27
- </body>
28
- </html>
@@ -1,35 +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
- Size (Win32::Console)
9
-
10
- -->
11
- <html>
12
- <head>
13
- <title>Size (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 797</span>
19
- <span class="ruby-keyword kw">def</span> <span class="ruby-constant">Size</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">t</span>)
20
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">t</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
21
- <span class="ruby-identifier">col</span>, <span class="ruby-identifier">row</span> = <span class="ruby-constant">API</span>.<span class="ruby-constant">GetConsoleScreenBufferInfo</span>(<span class="ruby-ivar">@handle</span> )
22
- <span class="ruby-keyword kw">return</span> [<span class="ruby-identifier">col</span>, <span class="ruby-identifier">row</span>]
23
- <span class="ruby-keyword kw">else</span>
24
- <span class="ruby-identifier">row</span> = <span class="ruby-value">-1</span> <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">t</span>[<span class="ruby-value">1</span>]
25
- <span class="ruby-identifier">col</span> = <span class="ruby-value">-1</span> <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">t</span>[<span class="ruby-value">0</span>]
26
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">col</span> <span class="ruby-operator">&lt;</span> <span class="ruby-value">0</span> <span class="ruby-keyword kw">or</span> <span class="ruby-identifier">row</span> <span class="ruby-operator">&lt;</span> <span class="ruby-value">0</span>
27
- <span class="ruby-identifier">curr_col</span>, <span class="ruby-identifier">curr_row</span> = <span class="ruby-constant">Size</span>()
28
- <span class="ruby-identifier">col</span> = <span class="ruby-identifier">curr_col</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">col</span> <span class="ruby-operator">&lt;</span> <span class="ruby-value">0</span>
29
- <span class="ruby-identifier">row</span> = <span class="ruby-identifier">curr_row</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">row</span> <span class="ruby-operator">&lt;</span> <span class="ruby-value">0</span>
30
- <span class="ruby-keyword kw">end</span>
31
- <span class="ruby-constant">API</span>.<span class="ruby-constant">SetConsoleScreenBufferSize</span>(<span class="ruby-ivar">@handle</span>, <span class="ruby-identifier">row</span>, <span class="ruby-identifier">col</span>)
32
- <span class="ruby-keyword kw">end</span>
33
- <span class="ruby-keyword kw">end</span></pre>
34
- </body>
35
- </html>
@@ -1,28 +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
- Window (Win32::Console)
9
-
10
- -->
11
- <html>
12
- <head>
13
- <title>Window (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 813</span>
19
- <span class="ruby-keyword kw">def</span> <span class="ruby-constant">Window</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">t</span>)
20
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">t</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">!=</span> <span class="ruby-value">5</span>
21
- <span class="ruby-identifier">info</span> = <span class="ruby-constant">API</span>.<span class="ruby-constant">GetConsoleScreenBufferInfo</span>( <span class="ruby-ivar">@handle</span> )
22
- <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">info</span>[<span class="ruby-value">5</span><span class="ruby-operator">..</span><span class="ruby-value">8</span>]
23
- <span class="ruby-keyword kw">else</span>
24
- <span class="ruby-constant">API</span>.<span class="ruby-constant">SetConsoleWindowInfo</span>(<span class="ruby-ivar">@handle</span>, <span class="ruby-identifier">t</span>[<span class="ruby-value">0</span>], <span class="ruby-identifier">t</span>[<span class="ruby-value">1</span>], <span class="ruby-identifier">t</span>[<span class="ruby-value">2</span>], <span class="ruby-identifier">t</span>[<span class="ruby-value">3</span>], <span class="ruby-identifier">t</span>[<span class="ruby-value">4</span>])
25
- <span class="ruby-keyword kw">end</span>
26
- <span class="ruby-keyword kw">end</span></pre>
27
- </body>
28
- </html>
@@ -1,28 +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
- FillAttr (Win32::Console)
9
-
10
- -->
11
- <html>
12
- <head>
13
- <title>FillAttr (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 822</span>
19
- <span class="ruby-keyword kw">def</span> <span class="ruby-constant">FillAttr</span>(<span class="ruby-identifier">attr</span>, <span class="ruby-identifier">number</span> = <span class="ruby-value">1</span>, <span class="ruby-identifier">col</span> = <span class="ruby-value">-1</span>, <span class="ruby-identifier">row</span> = <span class="ruby-value">-1</span>)
20
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">col</span> <span class="ruby-operator">&lt;</span> <span class="ruby-value">0</span> <span class="ruby-keyword kw">or</span> <span class="ruby-identifier">row</span> <span class="ruby-operator">&lt;</span> <span class="ruby-value">0</span>
21
- <span class="ruby-identifier">d</span>, <span class="ruby-identifier">d</span>, <span class="ruby-identifier">curr_col</span>, <span class="ruby-identifier">curr_row</span> = <span class="ruby-constant">API</span>.<span class="ruby-constant">GetConsoleScreenBufferInfo</span>(<span class="ruby-ivar">@handle</span>)
22
- <span class="ruby-identifier">col</span> = <span class="ruby-identifier">curr_col</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">col</span> <span class="ruby-operator">&lt;</span> <span class="ruby-value">0</span>
23
- <span class="ruby-identifier">row</span> = <span class="ruby-identifier">curr_row</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">row</span> <span class="ruby-operator">&lt;</span> <span class="ruby-value">0</span>
24
- <span class="ruby-keyword kw">end</span>
25
- <span class="ruby-constant">API</span>.<span class="ruby-constant">FillConsoleOutputAttribute</span>(<span class="ruby-ivar">@handle</span>, <span class="ruby-identifier">attr</span>, <span class="ruby-identifier">number</span>, <span class="ruby-identifier">col</span>, <span class="ruby-identifier">row</span>)
26
- <span class="ruby-keyword kw">end</span></pre>
27
- </body>
28
- </html>
@@ -1,28 +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
- FillChar (Win32::Console)
9
-
10
- -->
11
- <html>
12
- <head>
13
- <title>FillChar (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 831</span>
19
- <span class="ruby-keyword kw">def</span> <span class="ruby-constant">FillChar</span>(<span class="ruby-identifier">char</span>, <span class="ruby-identifier">number</span>, <span class="ruby-identifier">col</span> = <span class="ruby-value">-1</span>, <span class="ruby-identifier">row</span> = <span class="ruby-value">-1</span>)
20
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">col</span> <span class="ruby-operator">&lt;</span> <span class="ruby-value">0</span> <span class="ruby-keyword kw">or</span> <span class="ruby-identifier">row</span> <span class="ruby-operator">&lt;</span> <span class="ruby-value">0</span>
21
- <span class="ruby-identifier">d</span>, <span class="ruby-identifier">d</span>, <span class="ruby-identifier">curr_col</span>, <span class="ruby-identifier">curr_row</span> = <span class="ruby-constant">API</span>.<span class="ruby-constant">GetConsoleScreenBufferInfo</span>(<span class="ruby-ivar">@handle</span>)
22
- <span class="ruby-identifier">col</span> = <span class="ruby-identifier">curr_col</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">col</span> <span class="ruby-operator">&lt;</span> <span class="ruby-value">0</span>
23
- <span class="ruby-identifier">row</span> = <span class="ruby-identifier">curr_row</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">row</span> <span class="ruby-operator">&lt;</span> <span class="ruby-value">0</span>
24
- <span class="ruby-keyword kw">end</span>
25
- <span class="ruby-constant">API</span>.<span class="ruby-constant">FillConsoleOutputCharacter</span>(<span class="ruby-ivar">@handle</span>, <span class="ruby-identifier">char</span>[<span class="ruby-value">0</span>], <span class="ruby-identifier">number</span>, <span class="ruby-identifier">col</span>, <span class="ruby-identifier">row</span>)
26
- <span class="ruby-keyword kw">end</span></pre>
27
- </body>
28
- </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
- Cls (Win32::Console)
9
-
10
- -->
11
- <html>
12
- <head>
13
- <title>Cls (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 840</span>
19
- <span class="ruby-keyword kw">def</span> <span class="ruby-constant">Cls</span>()
20
- <span class="ruby-identifier">attr</span> = <span class="ruby-constant">ATTR_NORMAL</span>
21
- <span class="ruby-identifier">x</span>, <span class="ruby-identifier">y</span> = <span class="ruby-constant">Size</span>()
22
- <span class="ruby-identifier">left</span>, <span class="ruby-identifier">top</span>, <span class="ruby-identifier">right</span> , <span class="ruby-identifier">bottom</span> = <span class="ruby-constant">Window</span>()
23
- <span class="ruby-identifier">vx</span> = <span class="ruby-identifier">right</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">left</span>
24
- <span class="ruby-identifier">vy</span> = <span class="ruby-identifier">bottom</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">top</span>
25
- <span class="ruby-constant">FillChar</span>(<span class="ruby-value str">' '</span>, <span class="ruby-identifier">x</span><span class="ruby-operator">*</span><span class="ruby-identifier">y</span>, <span class="ruby-value">0</span>, <span class="ruby-value">0</span>)
26
- <span class="ruby-constant">FillAttr</span>(<span class="ruby-identifier">attr</span>, <span class="ruby-identifier">x</span><span class="ruby-operator">*</span><span class="ruby-identifier">y</span>, <span class="ruby-value">0</span>, <span class="ruby-value">0</span>)
27
- <span class="ruby-constant">Cursor</span>(<span class="ruby-value">0</span>,<span class="ruby-value">0</span>)
28
- <span class="ruby-constant">Window</span>(<span class="ruby-value">1</span>,<span class="ruby-value">0</span>,<span class="ruby-value">0</span>,<span class="ruby-identifier">vx</span>,<span class="ruby-identifier">vy</span>)
29
- <span class="ruby-keyword kw">end</span></pre>
30
- </body>
31
- </html>
@@ -1,23 +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
- Free (Win32::Console)
9
-
10
- -->
11
- <html>
12
- <head>
13
- <title>Free (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 852</span>
19
- <span class="ruby-keyword kw">def</span> <span class="ruby-constant">Console</span>.<span class="ruby-constant">Free</span>()
20
- <span class="ruby-constant">API</span>.<span class="ruby-constant">FreeConsole</span>()
21
- <span class="ruby-keyword kw">end</span></pre>
22
- </body>
23
- </html>
@@ -1,23 +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
- Alloc (Win32::Console)
9
-
10
- -->
11
- <html>
12
- <head>
13
- <title>Alloc (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 856</span>
19
- <span class="ruby-keyword kw">def</span> <span class="ruby-constant">Console</span>.<span class="ruby-constant">Alloc</span>()
20
- <span class="ruby-constant">API</span>.<span class="ruby-constant">AllocConsole</span>()
21
- <span class="ruby-keyword kw">end</span></pre>
22
- </body>
23
- </html>
@@ -1,23 +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
- MouseButtons (Win32::Console)
9
-
10
- -->
11
- <html>
12
- <head>
13
- <title>MouseButtons (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 860</span>
19
- <span class="ruby-keyword kw">def</span> <span class="ruby-constant">Console</span>.<span class="ruby-constant">MouseButtons</span>()
20
- <span class="ruby-constant">API</span>.<span class="ruby-constant">GetNumberOfConsoleMouseButtons</span>()
21
- <span class="ruby-keyword kw">end</span></pre>
22
- </body>
23
- </html>
@@ -1,27 +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
- InputCP (Win32::Console)
9
-
10
- -->
11
- <html>
12
- <head>
13
- <title>InputCP (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 864</span>
19
- <span class="ruby-keyword kw">def</span> <span class="ruby-constant">Console</span>.<span class="ruby-constant">InputCP</span>(<span class="ruby-identifier">codepage</span>=<span class="ruby-keyword kw">nil</span>)
20
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">codepage</span>
21
- <span class="ruby-constant">API</span>.<span class="ruby-constant">SetConsoleCP</span>(<span class="ruby-identifier">codepage</span>)
22
- <span class="ruby-keyword kw">else</span>
23
- <span class="ruby-keyword kw">return</span> <span class="ruby-constant">API</span>.<span class="ruby-constant">GetConsoleCP</span>()
24
- <span class="ruby-keyword kw">end</span>
25
- <span class="ruby-keyword kw">end</span></pre>
26
- </body>
27
- </html>
@@ -1,27 +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
- OutputCP (Win32::Console)
9
-
10
- -->
11
- <html>
12
- <head>
13
- <title>OutputCP (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 872</span>
19
- <span class="ruby-keyword kw">def</span> <span class="ruby-constant">Console</span>.<span class="ruby-constant">OutputCP</span>(<span class="ruby-identifier">codepage</span>=<span class="ruby-keyword kw">nil</span>)
20
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">codepage</span>
21
- <span class="ruby-constant">API</span>.<span class="ruby-constant">SetConsoleOutputCP</span>(<span class="ruby-identifier">codepage</span>)
22
- <span class="ruby-keyword kw">else</span>
23
- <span class="ruby-keyword kw">return</span> <span class="ruby-constant">API</span>.<span class="ruby-constant">GetConsoleOutputCP</span>()
24
- <span class="ruby-keyword kw">end</span>
25
- <span class="ruby-keyword kw">end</span></pre>
26
- </body>
27
- </html>
@@ -1,25 +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
- GenerateCtrlEvent (Win32::Console)
9
-
10
- -->
11
- <html>
12
- <head>
13
- <title>GenerateCtrlEvent (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 880</span>
19
- <span class="ruby-keyword kw">def</span> <span class="ruby-constant">Console</span>.<span class="ruby-constant">GenerateCtrlEvent</span>( <span class="ruby-identifier">type</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">pid</span>=<span class="ruby-keyword kw">nil</span> )
20
- <span class="ruby-identifier">type</span> = <span class="ruby-constant">API</span>.<span class="ruby-identifier">constant</span>(<span class="ruby-value str">'CTRL_C_EVENT'</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">type</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">nil</span>
21
- <span class="ruby-identifier">pid</span> = <span class="ruby-value">0</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">pid</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">nil</span>
22
- <span class="ruby-constant">API</span>.<span class="ruby-constant">GenerateConsoleCtrlEvent</span>(<span class="ruby-identifier">type</span>, <span class="ruby-identifier">pid</span>)
23
- <span class="ruby-keyword kw">end</span></pre>
24
- </body>
25
- </html>
@@ -1,115 +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>Module: Win32</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 <sup class="type-note">(Module)</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
- </table>
71
- </div>
72
- <!-- banner header -->
73
-
74
- <div id="bodyContent">
75
-
76
-
77
- <div id="contextContent">
78
-
79
-
80
-
81
-
82
-
83
-
84
-
85
-
86
- <div id="class-list">
87
- <h2 class="section-bar">Classes and Modules</h2>
88
-
89
- Class <a href="Win32/Console.html" class="link">Win32::Console</a><br />
90
- &nbsp;&nbsp;::Module <a href="Win32/Console/ANSI.html" class="link">Win32::Console::ANSI</a><br />
91
- &nbsp;&nbsp;::&nbsp;&nbsp;::Class <a href="Win32/Console/ANSI/IO.html" class="link">Win32::Console::ANSI::IO</a><br />
92
- &nbsp;&nbsp;::Module <a href="Win32/Console/Constants.html" class="link">Win32::Console::Constants</a><br />
93
- &nbsp;&nbsp;::Class <a href="Win32/Console/API.html" class="link">Win32::Console::API</a><br />
94
-
95
- </div>
96
-
97
- </div>
98
-
99
-
100
-
101
- <!-- if includes -->
102
-
103
-
104
- <!-- if method_list -->
105
-
106
-
107
- </div>
108
-
109
-
110
- <div id="validator-badges">
111
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
112
- </div>
113
-
114
- </body>
115
- </html>
data/doc/created.rid DELETED
@@ -1 +0,0 @@
1
- Sat Jan 17 14:27:52 Hora est. de Sudam�rica E. 2004