doc/classes/Coco.html in ripxplore-0.8.0 vs doc/classes/Coco.html in ripxplore-0.11.0

- old
+ new

@@ -1,344 +1,337 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head> - <title>Class: Coco</title> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> - <meta http-equiv="Content-Script-Type" content="text/javascript" /> - <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> - <script type="text/javascript"> - // <![CDATA[ - - function popupCode( url ) { - window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") - } - - function toggleCode( id ) { - if ( document.getElementById ) - elem = document.getElementById( id ); - else if ( document.all ) - elem = eval( "document.all." + id ); - else - return false; - - elemStyle = elem.style; - - if ( elemStyle.display != "block" ) { - elemStyle.display = "block" - } else { - elemStyle.display = "none" - } - - return true; - } - - // Make codeblocks hidden by default - document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) - - // ]]> - </script> - -</head> -<body> - - - - <div id="classHeader"> - <table class="header-table"> - <tr class="top-aligned-row"> - <td><strong>Class</strong></td> - <td class="class-name-in-header">Coco</td> - </tr> - <tr class="top-aligned-row"> - <td><strong>In:</strong></td> - <td> - <a href="../files/lib/host_systems/Coco_rb.html"> - lib/host_systems/Coco.rb - </a> - <br /> - </td> - </tr> - - <tr class="top-aligned-row"> - <td><strong>Parent:</strong></td> - <td> - <a href="HostSystem.html"> - HostSystem - </a> - </td> - </tr> - </table> - </div> - <!-- banner header --> - - <div id="bodyContent"> - - - - <div id="contextContent"> - <div id="diagram"> - <map id="map" name="map"> - <area shape="rect" coords="16,101,88,149" href="Coco.html" alt="Coco" /> - <area shape="rect" coords="5,5,99,53" href="HostSystem.html" alt="HostSystem" /> -</map> -<img src="../dot/f_23.png" usemap="#map" border="0" alt="dot/f_23.png"> - </div> - - - - </div> - - <div id="method-list"> - <h3 class="section-bar">Methods</h3> - - <div class="name-list"> - <a href="#M000338">default_background_colour</a>&nbsp;&nbsp; - <a href="#M000337">default_foreground_colour</a>&nbsp;&nbsp; - <a href="#M000332">default_screen_width</a>&nbsp;&nbsp; - <a href="#M000330">font_data_filename</a>&nbsp;&nbsp; - <a href="#M000335">font_height</a>&nbsp;&nbsp; - <a href="#M000334">font_width</a>&nbsp;&nbsp; - <a href="#M000327">full_name</a>&nbsp;&nbsp; - <a href="#M000333">max_screen_width</a>&nbsp;&nbsp; - <a href="#M000336">pixels_between_characters</a>&nbsp;&nbsp; - <a href="#M000331">screen_rows</a>&nbsp;&nbsp; - <a href="#M000328">start_track</a>&nbsp;&nbsp; - <a href="#M000329">to_ascii</a>&nbsp;&nbsp; - <a href="#M000339">to_screendump</a>&nbsp;&nbsp; - </div> - </div> - - </div> - - - <!-- if includes --> - - <div id="section"> - - - <div id="constants-list"> - <h3 class="section-bar">Constants</h3> - - <div class="name-list"> - <table summary="Constants"> - <tr class="top-aligned-row context-row"> - <td class="context-item-name">COCO_COLOURS</td> - <td>=</td> - <td class="context-item-value">[ PNG::Color.new(90, 211, 49,0xFF), #green PNG::Color.new(247, 227, 99,0xFF),#yellow PNG::Color.new(24, 0, 140,0xFF),#blue PNG::Color.new(140,0,16,0xFF),#red PNG::Color.new(0xff,0xfb,0xff,0xff),#white/buff PNG::Color.new(33, 195, 115,0xFF),#cyan PNG::Color.new(0x63,0x00,0x63,0xFF),#magenta PNG::Color.new(255, 146, 140,0xFF),#orange ]</td> - </tr> - <tr class="top-aligned-row context-row"> - <td class="context-item-name">COCO_BLOCK_QUADRANT_OFFSETS</td> - <td>=</td> - <td class="context-item-value">[ [4,6], [0,6], [4,0], [0,0], ]</td> - </tr> - </table> - </div> - </div> - - - - - - - <!-- if method_list --> - <div id="methods"> - <h3 class="section-bar">Public Class methods</h3> - - <div id="method-M000338" class="method-detail"> - <a name="M000338"></a> - - <div class="method-heading"> - <a href="Coco.src/M000338.html" target="Code" class="method-signature" - onclick="popupCode('Coco.src/M000338.html');return false;"> - <span class="method-name">default_background_colour</span><span class="method-args">()</span> - </a> - </div> - - <div class="method-description"> - </div> - </div> - - <div id="method-M000337" class="method-detail"> - <a name="M000337"></a> - - <div class="method-heading"> - <a href="Coco.src/M000337.html" target="Code" class="method-signature" - onclick="popupCode('Coco.src/M000337.html');return false;"> - <span class="method-name">default_foreground_colour</span><span class="method-args">()</span> - </a> - </div> - - <div class="method-description"> - </div> - </div> - - <div id="method-M000332" class="method-detail"> - <a name="M000332"></a> - - <div class="method-heading"> - <a href="Coco.src/M000332.html" target="Code" class="method-signature" - onclick="popupCode('Coco.src/M000332.html');return false;"> - <span class="method-name">default_screen_width</span><span class="method-args">()</span> - </a> - </div> - - <div class="method-description"> - </div> - </div> - - <div id="method-M000330" class="method-detail"> - <a name="M000330"></a> - - <div class="method-heading"> - <a href="Coco.src/M000330.html" target="Code" class="method-signature" - onclick="popupCode('Coco.src/M000330.html');return false;"> - <span class="method-name">font_data_filename</span><span class="method-args">()</span> - </a> - </div> - - <div class="method-description"> - </div> - </div> - - <div id="method-M000335" class="method-detail"> - <a name="M000335"></a> - - <div class="method-heading"> - <a href="Coco.src/M000335.html" target="Code" class="method-signature" - onclick="popupCode('Coco.src/M000335.html');return false;"> - <span class="method-name">font_height</span><span class="method-args">()</span> - </a> - </div> - - <div class="method-description"> - </div> - </div> - - <div id="method-M000334" class="method-detail"> - <a name="M000334"></a> - - <div class="method-heading"> - <a href="Coco.src/M000334.html" target="Code" class="method-signature" - onclick="popupCode('Coco.src/M000334.html');return false;"> - <span class="method-name">font_width</span><span class="method-args">()</span> - </a> - </div> - - <div class="method-description"> - </div> - </div> - - <div id="method-M000327" class="method-detail"> - <a name="M000327"></a> - - <div class="method-heading"> - <a href="Coco.src/M000327.html" target="Code" class="method-signature" - onclick="popupCode('Coco.src/M000327.html');return false;"> - <span class="method-name">full_name</span><span class="method-args">()</span> - </a> - </div> - - <div class="method-description"> - </div> - </div> - - <div id="method-M000333" class="method-detail"> - <a name="M000333"></a> - - <div class="method-heading"> - <a href="Coco.src/M000333.html" target="Code" class="method-signature" - onclick="popupCode('Coco.src/M000333.html');return false;"> - <span class="method-name">max_screen_width</span><span class="method-args">()</span> - </a> - </div> - - <div class="method-description"> - </div> - </div> - - <div id="method-M000336" class="method-detail"> - <a name="M000336"></a> - - <div class="method-heading"> - <a href="Coco.src/M000336.html" target="Code" class="method-signature" - onclick="popupCode('Coco.src/M000336.html');return false;"> - <span class="method-name">pixels_between_characters</span><span class="method-args">()</span> - </a> - </div> - - <div class="method-description"> - </div> - </div> - - <div id="method-M000331" class="method-detail"> - <a name="M000331"></a> - - <div class="method-heading"> - <a href="Coco.src/M000331.html" target="Code" class="method-signature" - onclick="popupCode('Coco.src/M000331.html');return false;"> - <span class="method-name">screen_rows</span><span class="method-args">()</span> - </a> - </div> - - <div class="method-description"> - </div> - </div> - - <div id="method-M000328" class="method-detail"> - <a name="M000328"></a> - - <div class="method-heading"> - <a href="Coco.src/M000328.html" target="Code" class="method-signature" - onclick="popupCode('Coco.src/M000328.html');return false;"> - <span class="method-name">start_track</span><span class="method-args">()</span> - </a> - </div> - - <div class="method-description"> - </div> - </div> - - <div id="method-M000329" class="method-detail"> - <a name="M000329"></a> - - <div class="method-heading"> - <a href="Coco.src/M000329.html" target="Code" class="method-signature" - onclick="popupCode('Coco.src/M000329.html');return false;"> - <span class="method-name">to_ascii</span><span class="method-args">(b)</span> - </a> - </div> - - <div class="method-description"> - </div> - </div> - - <div id="method-M000339" class="method-detail"> - <a name="M000339"></a> - - <div class="method-heading"> - <a href="Coco.src/M000339.html" target="Code" class="method-signature" - onclick="popupCode('Coco.src/M000339.html');return false;"> - <span class="method-name">to_screendump</span><span class="method-args">(text,screen_width)</span> - </a> - </div> - - <div class="method-description"> - </div> - </div> - - - </div> - - - </div> - - -<div id="validator-badges"> - <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> -</div> - -</body> +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>Class: Coco</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="classHeader"> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Class</strong></td> + <td class="class-name-in-header">Coco</td> + </tr> + <tr class="top-aligned-row"> + <td><strong>In:</strong></td> + <td> + <a href="../files/lib/host_systems/Coco_rb.html"> + lib/host_systems/Coco.rb + </a> + <br /> + </td> + </tr> + + <tr class="top-aligned-row"> + <td><strong>Parent:</strong></td> + <td> + <a href="HostSystem.html"> + HostSystem + </a> + </td> + </tr> + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + + + </div> + + <div id="method-list"> + <h3 class="section-bar">Methods</h3> + + <div class="name-list"> + <a href="#M000461">default_background_colour</a>&nbsp;&nbsp; + <a href="#M000460">default_foreground_colour</a>&nbsp;&nbsp; + <a href="#M000455">default_screen_width</a>&nbsp;&nbsp; + <a href="#M000453">font_data_filename</a>&nbsp;&nbsp; + <a href="#M000458">font_height</a>&nbsp;&nbsp; + <a href="#M000457">font_width</a>&nbsp;&nbsp; + <a href="#M000450">full_name</a>&nbsp;&nbsp; + <a href="#M000456">max_screen_width</a>&nbsp;&nbsp; + <a href="#M000459">pixels_between_characters</a>&nbsp;&nbsp; + <a href="#M000454">screen_rows</a>&nbsp;&nbsp; + <a href="#M000451">start_track</a>&nbsp;&nbsp; + <a href="#M000452">to_ascii</a>&nbsp;&nbsp; + <a href="#M000462">to_screendump</a>&nbsp;&nbsp; + </div> + </div> + + </div> + + + <!-- if includes --> + + <div id="section"> + + + <div id="constants-list"> + <h3 class="section-bar">Constants</h3> + + <div class="name-list"> + <table summary="Constants"> + <tr class="top-aligned-row context-row"> + <td class="context-item-name">COCO_COLOURS</td> + <td>=</td> + <td class="context-item-value">[ PNG::Color.new(90, 211, 49,0xFF), #green PNG::Color.new(247, 227, 99,0xFF),#yellow PNG::Color.new(24, 0, 140,0xFF),#blue PNG::Color.new(140,0,16,0xFF),#red PNG::Color.new(0xff,0xfb,0xff,0xff),#white/buff PNG::Color.new(33, 195, 115,0xFF),#cyan PNG::Color.new(0x63,0x00,0x63,0xFF),#magenta PNG::Color.new(255, 146, 140,0xFF),#orange ]</td> + </tr> + <tr class="top-aligned-row context-row"> + <td class="context-item-name">COCO_BLOCK_QUADRANT_OFFSETS</td> + <td>=</td> + <td class="context-item-value">[ [4,6], [0,6], [4,0], [0,0], ]</td> + </tr> + </table> + </div> + </div> + + + + + + + <!-- if method_list --> + <div id="methods"> + <h3 class="section-bar">Public Class methods</h3> + + <div id="method-M000461" class="method-detail"> + <a name="M000461"></a> + + <div class="method-heading"> + <a href="Coco.src/M000461.html" target="Code" class="method-signature" + onclick="popupCode('Coco.src/M000461.html');return false;"> + <span class="method-name">default_background_colour</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + </div> + </div> + + <div id="method-M000460" class="method-detail"> + <a name="M000460"></a> + + <div class="method-heading"> + <a href="Coco.src/M000460.html" target="Code" class="method-signature" + onclick="popupCode('Coco.src/M000460.html');return false;"> + <span class="method-name">default_foreground_colour</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + </div> + </div> + + <div id="method-M000455" class="method-detail"> + <a name="M000455"></a> + + <div class="method-heading"> + <a href="Coco.src/M000455.html" target="Code" class="method-signature" + onclick="popupCode('Coco.src/M000455.html');return false;"> + <span class="method-name">default_screen_width</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + </div> + </div> + + <div id="method-M000453" class="method-detail"> + <a name="M000453"></a> + + <div class="method-heading"> + <a href="Coco.src/M000453.html" target="Code" class="method-signature" + onclick="popupCode('Coco.src/M000453.html');return false;"> + <span class="method-name">font_data_filename</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + </div> + </div> + + <div id="method-M000458" class="method-detail"> + <a name="M000458"></a> + + <div class="method-heading"> + <a href="Coco.src/M000458.html" target="Code" class="method-signature" + onclick="popupCode('Coco.src/M000458.html');return false;"> + <span class="method-name">font_height</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + </div> + </div> + + <div id="method-M000457" class="method-detail"> + <a name="M000457"></a> + + <div class="method-heading"> + <a href="Coco.src/M000457.html" target="Code" class="method-signature" + onclick="popupCode('Coco.src/M000457.html');return false;"> + <span class="method-name">font_width</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + </div> + </div> + + <div id="method-M000450" class="method-detail"> + <a name="M000450"></a> + + <div class="method-heading"> + <a href="Coco.src/M000450.html" target="Code" class="method-signature" + onclick="popupCode('Coco.src/M000450.html');return false;"> + <span class="method-name">full_name</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + </div> + </div> + + <div id="method-M000456" class="method-detail"> + <a name="M000456"></a> + + <div class="method-heading"> + <a href="Coco.src/M000456.html" target="Code" class="method-signature" + onclick="popupCode('Coco.src/M000456.html');return false;"> + <span class="method-name">max_screen_width</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + </div> + </div> + + <div id="method-M000459" class="method-detail"> + <a name="M000459"></a> + + <div class="method-heading"> + <a href="Coco.src/M000459.html" target="Code" class="method-signature" + onclick="popupCode('Coco.src/M000459.html');return false;"> + <span class="method-name">pixels_between_characters</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + </div> + </div> + + <div id="method-M000454" class="method-detail"> + <a name="M000454"></a> + + <div class="method-heading"> + <a href="Coco.src/M000454.html" target="Code" class="method-signature" + onclick="popupCode('Coco.src/M000454.html');return false;"> + <span class="method-name">screen_rows</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + </div> + </div> + + <div id="method-M000451" class="method-detail"> + <a name="M000451"></a> + + <div class="method-heading"> + <a href="Coco.src/M000451.html" target="Code" class="method-signature" + onclick="popupCode('Coco.src/M000451.html');return false;"> + <span class="method-name">start_track</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + </div> + </div> + + <div id="method-M000452" class="method-detail"> + <a name="M000452"></a> + + <div class="method-heading"> + <a href="Coco.src/M000452.html" target="Code" class="method-signature" + onclick="popupCode('Coco.src/M000452.html');return false;"> + <span class="method-name">to_ascii</span><span class="method-args">(b)</span> + </a> + </div> + + <div class="method-description"> + </div> + </div> + + <div id="method-M000462" class="method-detail"> + <a name="M000462"></a> + + <div class="method-heading"> + <a href="Coco.src/M000462.html" target="Code" class="method-signature" + onclick="popupCode('Coco.src/M000462.html');return false;"> + <span class="method-name">to_screendump</span><span class="method-args">(text,screen_width)</span> + </a> + </div> + + <div class="method-description"> + </div> + </div> + + + </div> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> </html> \ No newline at end of file