1
0
mirror of https://github.com/elua/elua.git synced 2025-01-25 01:02:54 +08:00

Files updated for two language (English and Portuguese) structure

This commit is contained in:
Dado Sutter 2009-02-02 23:03:37 +00:00
parent 4d7da08259
commit d2c4225b14
13 changed files with 818 additions and 16 deletions

28
doc/index_en.html Normal file
View File

@ -0,0 +1,28 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<title>eLua Doc</title>
</head>
<frameset rows="51,*" frameborder="0" framespacing="0" bordercolor="#0B6DCE">
<frame name="wb_title" scrolling="no" noresize="noresize" src="wb_title_en.html"
frameborder="0" marginheight="0" marginwidth="0" target="wb_cont">
<frameset cols="200,*" frameborder="1" framespacing="4" bordercolor="#0B6DCE" border="4">
<frameset rows="27,*" frameborder="0" framespacing="0" bordercolor="#0B6DCE">
<frame name="wb_bar" scrolling="no" src="wb_bar_en.html" frameborder="0" target="wb_cont">
<frame name="wb_tree" src="wb_tree_en.html" frameborder="1" target="wb_cont">
</frameset>
<frame name="wb_cont" src="en/api_doc.html" frameborder="0">
</frameset>
<noframes>
<body>
<p>This page uses frames, but your browser doesn&#39;t support them.</p>
</body>
</noframes>
</frameset>
</html>

28
doc/index_pt.html Normal file
View File

@ -0,0 +1,28 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<title>eLua Doc</title>
</head>
<frameset rows="51,*" frameborder="0" framespacing="0" bordercolor="#0B6DCE">
<frame name="wb_title" scrolling="no" noresize="noresize" src="wb_title_pt.html"
frameborder="0" marginheight="0" marginwidth="0" target="wb_cont">
<frameset cols="200,*" frameborder="1" framespacing="4" bordercolor="#0B6DCE" border="4">
<frameset rows="27,*" frameborder="0" framespacing="0" bordercolor="#0B6DCE">
<frame name="wb_bar" scrolling="no" src="wb_bar_pt.html" frameborder="0" target="wb_cont">
<frame name="wb_tree" src="wb_tree_pt.html" frameborder="1" target="wb_cont">
</frameset>
<frame name="wb_cont" src="pt/api_doc.html" frameborder="0">
</frameset>
<noframes>
<body>
<p>This page uses frames, but your browser doesn&#39;t support them.</p>
</body>
</noframes>
</frameset>
</html>

25
doc/ssSearch_en.html Normal file
View File

@ -0,0 +1,25 @@
<html>
<head>
<title>ssSearch</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<h3>Simple Search</h3>
<blockquote>
<center>
<applet code="ssSearch.class" width="640" height="480">
<param name="BGCOLOR" value="0B6DCE">
<param name="LISTAREACOLOR" value="ffffff">
<!-- Use "_self", "_blank", "_parent", "_top" or any other user-defined name -->
<param name="TARGETFRAME" value="_self">
<param name="DATAFILE" value="wb_search_en.txt">
<!-- The APPLETHOME param is just an acknowledgement -->
<!-- Do not edit the value of APPLETHOME param -->
<param name="APPLETHOME" value="http://www.geocities.com/SiliconValley/Lakes/5365/index.html">
</applet>
</center>
</blockquote>
<p>Powered by <a href="http://us.geocities.com/nsenthil/ssSearch.html">ssSearch</a>
from Nalla
Senthilnathan.</p>
</body></html>

25
doc/ssSearch_pt.html Normal file
View File

@ -0,0 +1,25 @@
<html>
<head>
<title>ssSearch</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<h3>Busca Simples</h3>
<blockquote>
<center>
<applet code="ssSearch.class" width="640" height="480">
<param name="BGCOLOR" value="0B6DCE">
<param name="LISTAREACOLOR" value="ffffff">
<!-- Use "_self", "_blank", "_parent", "_top" or any other user-defined name -->
<param name="TARGETFRAME" value="_self">
<param name="DATAFILE" value="wb_search_pt.txt">
<!-- The APPLETHOME param is just an acknowledgement -->
<!-- Do not edit the value of APPLETHOME param -->
<param name="APPLETHOME" value="http://www.geocities.com/SiliconValley/Lakes/5365/index.html">
</applet>
</center>
</blockquote>
<p>Powered by <a href="http://us.geocities.com/nsenthil/ssSearch.html">ssSearch</a>
from Nalla
Senthilnathan.</p>
</body></html>

View File

@ -47,23 +47,23 @@ wb_usr.tree =
folder =
{
{
name ={ en ="configpin()", pt ="configpin()" },
name ={ en ="configpin", pt ="configpin" },
link ="gpio_ref.html#configpin"
},
{
name ={ en ="setpinvalue()", pt ="setpinvalue()" },
name ={ en ="setpinvalue", pt ="setpinvalue" },
link ="gpio_ref.html#setpinvalue"
},
{
name ={ en ="getpinvalue()", pt ="getpinvalue()" },
name ={ en ="getpinvalue", pt ="getpinvalue" },
link ="gpio_ref.html#getpinvalue"
},
{
name ={ en ="setpinhigh()", pt ="setpinhigh()" },
name ={ en ="setpinhigh", pt ="setpinhigh" },
link ="gpio_ref.html#setpinhigh"
},
{
name ={ en ="setpinlow()", pt ="setpinlow()" },
name ={ en ="setpinlow", pt ="setpinlow" },
link ="gpio_ref.html#setpinlow"
}
},
@ -74,15 +74,15 @@ wb_usr.tree =
folder =
{
{
name ={ en ="setup()", pt ="setup()" },
name ={ en ="setup", pt ="setup" },
link ="uart_ref.html#setup"
},
{
name ={ en ="send()", pt ="send()" },
name ={ en ="send", pt ="send" },
link ="uart_ref.html#send"
},
{
name ={ en ="recv()", pt ="recv()" },
name ={ en ="recv", pt ="recv" },
link ="uart_ref.html#recv"
}
},
@ -93,23 +93,23 @@ wb_usr.tree =
folder =
{
{
name ={ en ="setup()", pt ="setup()" },
name ={ en ="setup", pt ="setup" },
link ="spi_ref.html#setup"
},
{
name ={ en ="select()", pt ="select()" },
name ={ en ="select", pt ="select" },
link ="spi_ref.html#select"
},
{
name ={ en ="unselect()", pt ="unselect()" },
name ={ en ="unselect", pt ="unselect" },
link ="spi_ref.html#unselect"
},
{
name ={ en ="send()", pt ="send()" },
name ={ en ="send", pt ="send" },
link ="spi_ref.html#send"
},
{
name ={ en ="sendrecv()", pt ="sendrecv()" },
name ={ en ="sendrecv", pt ="sendrecv" },
link ="spi_ref.html#sendrecv"
}
},
@ -126,15 +126,15 @@ wb_usr.tree =
folder =
{
{
name ={ en ="init()", pt ="init()" },
name ={ en ="init", pt ="init" },
link ="disp_ref.html#init"
},
{
name = { en = "enable()", pt = "enable()" },
name = { en = "enable", pt = "enable" },
link = "disp_ref.html#enable"
},
{
name = { en = "disable()", pt = "disable()" },
name = { en = "disable", pt = "disable" },
link = "disp_ref.html#disable"
}
},

26
doc/wb_bar_en.html Normal file
View File

@ -0,0 +1,26 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
<html>
<head>
<meta http-equiv="Content-Language" content="en-us" >
<title>Bar</title>
<base target="wb_cont">
<style type="text/css">
.navigation{
padding: 0;
margin: 0;
white-space: nowrap;
border: 1px solid #7F93C7;
background-color: #FFFFFF;
line-height: 19px;
}
.navigation p { margin: 1px; white-space: nowrap; }
.navigation img { vertical-align: middle; }
</style>
</head>
<body style="margin: 2px; background-color: #F1F1F1">
<div class="navigation">
<p><a target="_blank" href="http://www.tecgraf.puc-rio.br/webbook"><img src="wb_img/webbook.png" onmouseover="this.src='wb_img/webbook_over.png'" onmouseout="this.src='wb_img/webbook.png'" style="border-width: 0px"></a><img src="wb_img/barlineleft.png"><img alt="Expand All Nodes" src="wb_img/showall.png" onclick="parent.wb_tree.showAllFolders()" onmouseover="this.src='wb_img/showall_over.png'" onmouseout="this.src='wb_img/showall.png'"><img alt="Contract All Nodes" src="wb_img/hideall.png" onclick="parent.wb_tree.hideAllFolders()" onmouseover="this.src='wb_img/hideall_over.png'" onmouseout="this.src='wb_img/hideall.png'"><img alt="Sync Tree with Contents" src="wb_img/sync.png" onclick="parent.wb_tree.syncContents()" onmouseover="this.src='wb_img/sync_over.png'" onmouseout="this.src='wb_img/sync.png'"><img alt="Next Link" src="wb_img/next.png" onclick="parent.wb_tree.nextContents()" onmouseover="this.src='wb_img/next_over.png'" onmouseout="this.src='wb_img/next.png'"><img alt="Previous Link" src="wb_img/previous.png" onclick="parent.wb_tree.prevContents()" onmouseover="this.src='wb_img/previous_over.png'" onmouseout="this.src='wb_img/previous.png'"><img src="wb_img/barlineright.png"><a target="_top" href="index_pt.html"><img alt="Switch Language" src="wb_img/lng_en.png" onmouseover="this.src='wb_img/lng_en_over.png'" onmouseout="this.src='wb_img/lng_en.png'" style="border-width: 0px"></a></p>
</div>
</body>
</html>

26
doc/wb_bar_pt.html Normal file
View File

@ -0,0 +1,26 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
<html>
<head>
<meta http-equiv="Content-Language" content="en-us" >
<title>Bar</title>
<base target="wb_cont">
<style type="text/css">
.navigation{
padding: 0;
margin: 0;
white-space: nowrap;
border: 1px solid #7F93C7;
background-color: #FFFFFF;
line-height: 19px;
}
.navigation p { margin: 1px; white-space: nowrap; }
.navigation img { vertical-align: middle; }
</style>
</head>
<body style="margin: 2px; background-color: #F1F1F1">
<div class="navigation">
<p><a target="_blank" href="http://www.tecgraf.puc-rio.br/webbook"><img src="wb_img/webbook.png" onmouseover="this.src='wb_img/webbook_over.png'" onmouseout="this.src='wb_img/webbook.png'" style="border-width: 0px"></a><img src="wb_img/barlineleft.png"><img alt="Expande Todos os N<>s" src="wb_img/showall.png" onclick="parent.wb_tree.showAllFolders()" onmouseover="this.src='wb_img/showall_over.png'" onmouseout="this.src='wb_img/showall.png'"><img alt="Contrai Todos os N<>s" src="wb_img/hideall.png" onclick="parent.wb_tree.hideAllFolders()" onmouseover="this.src='wb_img/hideall_over.png'" onmouseout="this.src='wb_img/hideall.png'"><img alt="Sincroniza <20>rvore com Conte<74>do" src="wb_img/sync.png" onclick="parent.wb_tree.syncContents()" onmouseover="this.src='wb_img/sync_over.png'" onmouseout="this.src='wb_img/sync.png'"><img alt="Pr<50>ximo Link" src="wb_img/next.png" onclick="parent.wb_tree.nextContents()" onmouseover="this.src='wb_img/next_over.png'" onmouseout="this.src='wb_img/next.png'"><img alt="Link Anterior" src="wb_img/previous.png" onclick="parent.wb_tree.prevContents()" onmouseover="this.src='wb_img/previous_over.png'" onmouseout="this.src='wb_img/previous.png'"><img src="wb_img/barlineright.png"><a target="_top" href="index_en.html"><img alt="Troca Idioma" src="wb_img/lng_pt.png" onmouseover="this.src='wb_img/lng_pt_over.png'" onmouseout="this.src='wb_img/lng_pt.png'" style="border-width: 0px"></a></p>
</div>
</body>
</html>

6
doc/wb_search_en.txt Normal file
View File

@ -0,0 +1,6 @@
en/gpio_ref.html
en/spi_ref.html
en/platdependentmodules.html
en/uart_ref.html
en/api_doc.html
en/genericmodules.html

6
doc/wb_search_pt.txt Normal file
View File

@ -0,0 +1,6 @@
pt/gpio_ref.html
pt/spi_ref.html
pt/platdependentmodules.html
pt/uart_ref.html
pt/api_doc.html
pt/genericmodules.html

64
doc/wb_title_en.html Normal file
View File

@ -0,0 +1,64 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
<head>
<meta http-equiv="Content-Language" content="en-us">
<title>Title</title>
<base target="wb_cont">
<style type="text/css">
td.title {
font-family: Arial, Helvetica, sans-serif;
font-size: 16pt;
font-weight: bold;
color: #FFFFFF;
text-align: left;
vertical-align: middle;
}
td.contact {
text-align: center;
vertical-align: middle;
width: 11em;
}
a.contact {
font-family: Arial, Helvetica, sans-serif;
color: #0962BB;
font-size: 9pt;
text-decoration: none;
font-weight: bold;
}
a.contact:hover {
text-decoration: underline;
}
</style>
</head>
<body style="background-color: midnightblue; margin-left: 3px; margin-right: 3px; margin-top: 2px; margin-bottom: 0; background-image: url('wb_img/title_background.png');">
<table style="width: 100%" cellspacing="0" cellpadding="0">
<tr>
<td style="width: 50px;"><img src="logo.gif"></td>
<td class="title">eLua</td>
<td style="width: 3.5em">
<a class="contact" href="ssSearch_en.html">SimpleSearch</a>
</td>
<td style="width: 11em">
<FORM method=GET action="http://www.google.com/search" style="margin-bottom: 0; margin: 0; text-align: center; ">
<input type=hidden name=ie value=UTF-8>
<input type=hidden name=oe value=UTF-8>
<INPUT TYPE=text name=q size=21 maxlength=255 value=""><br>
<A HREF="http://www.google.com/"><IMG SRC="wb_img/google.gif" border="0" ALT="Google"></A>
<INPUT type=submit name=btnG VALUE="Search" style="height: 21px; vertical-align: top; font-size: x-small;">
<input type=hidden name=domains value="http://www.eluaproject.net/doc">
<input type=hidden name=sitesearch value="http://www.eluaproject.net/doc" checked>
<input type=hidden name=sitesearch value="">
</FORM>
</td>
<td class="contact">
<a class="contact" target="_blank" href="http://www.eluaproject.net"><EFBFBD> eLua Team</a>
<br>
<a class="contact" href="mailto:dadosutter@eluaproject.net">(dadosutter@eluaproject.net)</a>
</td>
</tr>
</table>
</body>
</html>

64
doc/wb_title_pt.html Normal file
View File

@ -0,0 +1,64 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
<head>
<meta http-equiv="Content-Language" content="en-us">
<title>Title</title>
<base target="wb_cont">
<style type="text/css">
td.title {
font-family: Arial, Helvetica, sans-serif;
font-size: 16pt;
font-weight: bold;
color: #FFFFFF;
text-align: left;
vertical-align: middle;
}
td.contact {
text-align: center;
vertical-align: middle;
width: 11em;
}
a.contact {
font-family: Arial, Helvetica, sans-serif;
color: #0962BB;
font-size: 9pt;
text-decoration: none;
font-weight: bold;
}
a.contact:hover {
text-decoration: underline;
}
</style>
</head>
<body style="background-color: midnightblue; margin-left: 3px; margin-right: 3px; margin-top: 2px; margin-bottom: 0; background-image: url('wb_img/title_background.png');">
<table style="width: 100%" cellspacing="0" cellpadding="0">
<tr>
<td style="width: 50px;"><img src="logo.gif"></td>
<td class="title">eLua</td>
<td style="width: 3.5em">
<a class="contact" href="ssSearch_pt.html">SimpleSearch</a>
</td>
<td style="width: 11em">
<FORM method=GET action="http://www.google.com/search" style="margin-bottom: 0; margin: 0; text-align: center; ">
<input type=hidden name=ie value=UTF-8>
<input type=hidden name=oe value=UTF-8>
<INPUT TYPE=text name=q size=21 maxlength=255 value=""><br>
<A HREF="http://www.google.com/"><IMG SRC="wb_img/google.gif" border="0" ALT="Google"></A>
<INPUT type=submit name=btnG VALUE="Search" style="height: 21px; vertical-align: top; font-size: x-small;">
<input type=hidden name=domains value="http://www.eluaproject.net/doc">
<input type=hidden name=sitesearch value="http://www.eluaproject.net/doc" checked>
<input type=hidden name=sitesearch value="">
</FORM>
</td>
<td class="contact">
<a class="contact" target="_blank" href="http://www.eluaproject.net"><EFBFBD> eLua Team</a>
<br>
<a class="contact" href="mailto:dadosutter@eluaproject.net">(dadosutter@eluaproject.net)</a>
</td>
</tr>
</table>
</body>
</html>

252
doc/wb_tree_en.html Normal file
View File

@ -0,0 +1,252 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
<html>
<head>
<meta http-equiv="Content-Language" content="en-us" >
<title>Tree</title>
<base target="wb_cont">
<style type="text/css">
.tree { font-family: helvetica, sans-serif; font-size: 10pt; }
.tree h3 {
margin: 5px 0px 0px 0px;
font-size: 12pt;
}
.tree p { margin: 0px; white-space: nowrap; }
.tree p.sep { margin: 0px; white-space: nowrap; line-height: 8px; font-size: 5px; }
.tree div { display: none; margin: 0px; }
.tree img { vertical-align: middle; }
.tree a.el { text-decoration: none; margin-left: 4px; color: #003366; }
.tree a:hover { text-decoration: none; background-color: #e0e0ff }
</style>
<script type="text/javascript">
lastLink = null;
function hideFolder(folder, id)
{
var imageNode = document.images["img" + id];
if (imageNode != null)
{
var len = imageNode.src.length;
if (imageNode.src.substring(len-8,len-4) == "last")
imageNode.src = "wb_img/plusnodelast.png";
else if (imageNode.src.substring(len-8,len-4) == "node")
imageNode.src = "wb_img/plusnode.png";
}
folder.style.display = "none";
}
function showFolder(folder, id)
{
var imageNode = document.images["img" + id];
if (imageNode != null)
{
var len = imageNode.src.length;
if (imageNode.src.substring(len-8,len-4) == "last")
imageNode.src = "wb_img/minusnodelast.png";
else if (imageNode.src.substring(len-8,len-4) == "node")
imageNode.src = "wb_img/minusnode.png";
}
folder.style.display = "block";
}
function toggleFolder(id)
{
var folder = document.getElementById(id);
if (folder.style.display == "block")
hideFolder(folder, id);
else
showFolder(folder, id);
}
function setFoldersAtLevel(level, show)
{
var i = 1;
do
{
var folder_id = level + "." + i;
var id = "folder" + folder_id;
var folder = document.getElementById(id);
if (folder != null)
{
setFoldersAtLevel(folder_id, show);
if (show)
showFolder(folder, id);
else
hideFolder(folder, id);
}
i++;
} while(folder != null);
}
function showAllFolders()
{
setFoldersAtLevel("", true);
}
function hideAllFolders()
{
setFoldersAtLevel("", false);
}
function getFolderId(name)
{
return name.substring(name.indexOf("folder"), name.length);
}
function showFolderRec(id)
{
var folder = document.getElementById(id);
if (folder != null)
{
showFolder(folder, id);
var parent_id = id.substring(0, id.lastIndexOf("."))
if (parent_id != null && parent_id != "folder")
{
showFolderRec(parent_id)
}
}
}
function clearLastLink()
{
if (lastLink != null)
{
lastLink.style.color = ""
lastLink = null;
}
}
function goToLink(link)
{
var id = getFolderId(link.name);
showFolderRec(id);
location.hash = "#" + link.name;
link.style.color = "#ff0000";
clearLastLink();
lastLink = link;
}
function syncContents()
{
var cur_topic = parent.wb_cont.location.href
for (var i = 0; i < document.links.length; i++)
{
var link = document.links[i];
if (cur_topic == link.href)
{
goToLink(link)
return
}
}
}
function nextContents()
{
var cur_topic = parent.wb_cont.location.href
for (var i = 0; i < document.links.length; i++)
{
var link = document.links[i];
if (cur_topic == link.href)
{
if (i == document.links.length-1)
link = document.links[0];
else
link = document.links[i+1];
goToLink(link)
parent.wb_cont.location.href = link.href;
return
}
}
}
function prevContents()
{
var cur_topic = parent.wb_cont.location.href
var prev_link = document.links[document.links.length-1]
for (var i = 0; i < document.links.length; i++)
{
var link = document.links[i];
if (cur_topic == link.href)
{
if (i == 0)
link = document.links[document.links.length-1];
else
link = document.links[i-1];
goToLink(link)
parent.wb_cont.location.href = link.href;
return
}
}
}
function showStartPage()
{
var full_url = parent.document.URL;
if (full_url == null)
return;
var param = full_url.substring(full_url.indexOf("?") + 1, full_url.length);
if (param == null)
return;
var param_url = param.substring(param.indexOf("url=") + 4, param.length);
if (param_url == null)
return;
var param_len = param_url.length;
for (var i = 0; i < document.links.length; i++)
{
var link = document.links[i];
var link_url = link.href.substring(link.href.length-param_len, link.href.length)
if (link_url == param_url)
{
goToLink(link)
parent.wb_cont.location.href = link.href;
return
}
}
}
</script>
</head>
<body style="margin: 2px; background-color: #F1F1F1" onload="showStartPage()">
<div class="tree" onmouseout="clearLastLink()">
<h3><a name="link0folder.0" class="el" href="en/api_doc.html">eLua API</a></h3>
<p><img name="imgfolder.1" src="wb_img/minusnode.png" onclick="toggleFolder('folder.1')"><a name="link1folder.1" class="el" href="en/genericmodules.html">Generic Modules</a></p>
<div id="folder.1" style="display:block">
<p><img src="wb_img/vertline.png"><img name="imgfolder.1.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.1.1')"><a name="link2folder.1.1" class="el" href="en/gpio_ref.html">gpio</a></p>
<div id="folder.1.1">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link3folder.1.1" href="en/gpio_ref.html#configpin">configpin</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link4folder.1.1" href="en/gpio_ref.html#setpinvalue">setpinvalue</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link5folder.1.1" href="en/gpio_ref.html#getpinvalue">getpinvalue</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link6folder.1.1" href="en/gpio_ref.html#setpinhigh">setpinhigh</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link7folder.1.1" href="en/gpio_ref.html#setpinlow">setpinlow</a></p>
</div>
<p><img src="wb_img/vertline.png"><img name="imgfolder.1.2" src="wb_img/plusnode.png" onclick="toggleFolder('folder.1.2')"><a name="link8folder.1.2" class="el" href="en/uart_ref.html">uart</a></p>
<div id="folder.1.2">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link9folder.1.2" href="en/uart_ref.html#setup">setup</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link10folder.1.2" href="en/uart_ref.html#send">send</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link11folder.1.2" href="en/uart_ref.html#recv">recv</a></p>
</div>
<p><img src="wb_img/vertline.png"><img name="imgfolder.1.3" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.1.3')"><a name="link12folder.1.3" class="el" href="en/spi_ref.html">spi</a></p>
<div id="folder.1.3">
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link13folder.1.3" href="en/spi_ref.html#setup">setup</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link14folder.1.3" href="en/spi_ref.html#select">select</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link15folder.1.3" href="en/spi_ref.html#unselect">unselect</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link16folder.1.3" href="en/spi_ref.html#send">send</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link17folder.1.3" href="en/spi_ref.html#sendrecv">sendrecv</a></p>
</div>
</div>
<p><img name="imgfolder.2" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.2')"><a name="link18folder.2" class="el" href="en/platdependentmodules.html">Platform Dependent</a></p>
<div id="folder.2">
</div>
</div>
</body>
</html>

252
doc/wb_tree_pt.html Normal file
View File

@ -0,0 +1,252 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
<html>
<head>
<meta http-equiv="Content-Language" content="en-us" >
<title>Tree</title>
<base target="wb_cont">
<style type="text/css">
.tree { font-family: helvetica, sans-serif; font-size: 10pt; }
.tree h3 {
margin: 5px 0px 0px 0px;
font-size: 12pt;
}
.tree p { margin: 0px; white-space: nowrap; }
.tree p.sep { margin: 0px; white-space: nowrap; line-height: 8px; font-size: 5px; }
.tree div { display: none; margin: 0px; }
.tree img { vertical-align: middle; }
.tree a.el { text-decoration: none; margin-left: 4px; color: #003366; }
.tree a:hover { text-decoration: none; background-color: #e0e0ff }
</style>
<script type="text/javascript">
lastLink = null;
function hideFolder(folder, id)
{
var imageNode = document.images["img" + id];
if (imageNode != null)
{
var len = imageNode.src.length;
if (imageNode.src.substring(len-8,len-4) == "last")
imageNode.src = "wb_img/plusnodelast.png";
else if (imageNode.src.substring(len-8,len-4) == "node")
imageNode.src = "wb_img/plusnode.png";
}
folder.style.display = "none";
}
function showFolder(folder, id)
{
var imageNode = document.images["img" + id];
if (imageNode != null)
{
var len = imageNode.src.length;
if (imageNode.src.substring(len-8,len-4) == "last")
imageNode.src = "wb_img/minusnodelast.png";
else if (imageNode.src.substring(len-8,len-4) == "node")
imageNode.src = "wb_img/minusnode.png";
}
folder.style.display = "block";
}
function toggleFolder(id)
{
var folder = document.getElementById(id);
if (folder.style.display == "block")
hideFolder(folder, id);
else
showFolder(folder, id);
}
function setFoldersAtLevel(level, show)
{
var i = 1;
do
{
var folder_id = level + "." + i;
var id = "folder" + folder_id;
var folder = document.getElementById(id);
if (folder != null)
{
setFoldersAtLevel(folder_id, show);
if (show)
showFolder(folder, id);
else
hideFolder(folder, id);
}
i++;
} while(folder != null);
}
function showAllFolders()
{
setFoldersAtLevel("", true);
}
function hideAllFolders()
{
setFoldersAtLevel("", false);
}
function getFolderId(name)
{
return name.substring(name.indexOf("folder"), name.length);
}
function showFolderRec(id)
{
var folder = document.getElementById(id);
if (folder != null)
{
showFolder(folder, id);
var parent_id = id.substring(0, id.lastIndexOf("."))
if (parent_id != null && parent_id != "folder")
{
showFolderRec(parent_id)
}
}
}
function clearLastLink()
{
if (lastLink != null)
{
lastLink.style.color = ""
lastLink = null;
}
}
function goToLink(link)
{
var id = getFolderId(link.name);
showFolderRec(id);
location.hash = "#" + link.name;
link.style.color = "#ff0000";
clearLastLink();
lastLink = link;
}
function syncContents()
{
var cur_topic = parent.wb_cont.location.href
for (var i = 0; i < document.links.length; i++)
{
var link = document.links[i];
if (cur_topic == link.href)
{
goToLink(link)
return
}
}
}
function nextContents()
{
var cur_topic = parent.wb_cont.location.href
for (var i = 0; i < document.links.length; i++)
{
var link = document.links[i];
if (cur_topic == link.href)
{
if (i == document.links.length-1)
link = document.links[0];
else
link = document.links[i+1];
goToLink(link)
parent.wb_cont.location.href = link.href;
return
}
}
}
function prevContents()
{
var cur_topic = parent.wb_cont.location.href
var prev_link = document.links[document.links.length-1]
for (var i = 0; i < document.links.length; i++)
{
var link = document.links[i];
if (cur_topic == link.href)
{
if (i == 0)
link = document.links[document.links.length-1];
else
link = document.links[i-1];
goToLink(link)
parent.wb_cont.location.href = link.href;
return
}
}
}
function showStartPage()
{
var full_url = parent.document.URL;
if (full_url == null)
return;
var param = full_url.substring(full_url.indexOf("?") + 1, full_url.length);
if (param == null)
return;
var param_url = param.substring(param.indexOf("url=") + 4, param.length);
if (param_url == null)
return;
var param_len = param_url.length;
for (var i = 0; i < document.links.length; i++)
{
var link = document.links[i];
var link_url = link.href.substring(link.href.length-param_len, link.href.length)
if (link_url == param_url)
{
goToLink(link)
parent.wb_cont.location.href = link.href;
return
}
}
}
</script>
</head>
<body style="margin: 2px; background-color: #F1F1F1" onload="showStartPage()">
<div class="tree" onmouseout="clearLastLink()">
<h3><a name="link0folder.0" class="el" href="pt/api_doc.html">eLua API</a></h3>
<p><img name="imgfolder.1" src="wb_img/minusnode.png" onclick="toggleFolder('folder.1')"><a name="link19folder.1" class="el" href="pt/genericmodules.html">M<EFBFBD>dulos Gen<65>ricos</a></p>
<div id="folder.1" style="display:block">
<p><img src="wb_img/vertline.png"><img name="imgfolder.1.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.1.1')"><a name="link20folder.1.1" class="el" href="pt/gpio_ref.html">gpio</a></p>
<div id="folder.1.1">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link21folder.1.1" href="pt/gpio_ref.html#configpin">configpin</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link22folder.1.1" href="pt/gpio_ref.html#setpinvalue">setpinvalue</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link23folder.1.1" href="pt/gpio_ref.html#getpinvalue">getpinvalue</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link24folder.1.1" href="pt/gpio_ref.html#setpinhigh">setpinhigh</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link25folder.1.1" href="pt/gpio_ref.html#setpinlow">setpinlow</a></p>
</div>
<p><img src="wb_img/vertline.png"><img name="imgfolder.1.2" src="wb_img/plusnode.png" onclick="toggleFolder('folder.1.2')"><a name="link26folder.1.2" class="el" href="pt/uart_ref.html">uart</a></p>
<div id="folder.1.2">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link27folder.1.2" href="pt/uart_ref.html#setup">setup</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link28folder.1.2" href="pt/uart_ref.html#send">send</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link29folder.1.2" href="pt/uart_ref.html#recv">recv</a></p>
</div>
<p><img src="wb_img/vertline.png"><img name="imgfolder.1.3" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.1.3')"><a name="link30folder.1.3" class="el" href="pt/spi_ref.html">spi</a></p>
<div id="folder.1.3">
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link31folder.1.3" href="pt/spi_ref.html#setup">setup</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link32folder.1.3" href="pt/spi_ref.html#select">select</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link33folder.1.3" href="pt/spi_ref.html#unselect">unselect</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link34folder.1.3" href="pt/spi_ref.html#send">send</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link35folder.1.3" href="pt/spi_ref.html#sendrecv">sendrecv</a></p>
</div>
</div>
<p><img name="imgfolder.2" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.2')"><a name="link36folder.2" class="el" href="pt/platdependentmodules.html">Plataformas</a></p>
<div id="folder.2">
</div>
</div>
</body>
</html>