mirror of
https://github.com/celisej567/wiki.git
synced 2026-09-15 20:09:39 +03:00
SOURCEBOX SOURCEBOX SOURCEBOX SOURCEBOX SOURCEBOX
This commit is contained in:
@@ -40,6 +40,7 @@ for root, subdirs, files in os.walk(src):
|
||||
|
||||
def IterateFileTree(filedict,path,parentexpanded):
|
||||
global filetree
|
||||
currentfile = path[1:].replace(".md","")
|
||||
for key, value in filedict.items():
|
||||
if isinstance(value, dict):
|
||||
classname = "nested"
|
||||
@@ -50,12 +51,15 @@ def IterateFileTree(filedict,path,parentexpanded):
|
||||
expandicon = "-"
|
||||
expanded = True
|
||||
|
||||
filetree += f"<li><small class=\"liicon\">{expandicon}</small><b onclick=\"toggleTree(this);\">{key}</b>\n<ul class=\"{classname}\">\n"
|
||||
filetree += f"<li class=\"sidebar\"><small class=\"liicon\">{expandicon}</small><span onmousedown=\"toggleTree(this);\" onmouseleave=\"unPress(this);\" onmouseup=\"unPress(this);\"><span onmousedown=\"Press(this);\" onmouseleave=\"unPress(this);\" onmouseup=\"unPress(this);\">{key}</span></span>\n<ul class=\"sidebar {classname}\">\n"
|
||||
IterateFileTree(value,path,expanded)
|
||||
filetree += f"</ul>\n</li>\n"
|
||||
else:
|
||||
for file in value:
|
||||
filetree += f"<li><a href=\"/wiki/{file[0]}.html\">{file[1]}</a></li>\n"
|
||||
if file[0] == currentfile:
|
||||
filetree += f"<li class=\"sidebar\"><b>{file[1]}</b></li>\n"
|
||||
else:
|
||||
filetree += f"<li class=\"sidebar\"><a href=\"/wiki/{file[0]}.html\">{file[1]}</a></li>\n"
|
||||
|
||||
def FindFile(name):
|
||||
for root, subdirs, files in os.walk(src):
|
||||
|
||||
@@ -9,25 +9,50 @@
|
||||
nested = element.parentNode.childNodes[3];
|
||||
if(nested.className.indexOf("active",0) != -1)
|
||||
{
|
||||
nested.className = "nested";
|
||||
nested.className = "sidebar nested";
|
||||
element.parentNode.childNodes[0].innerHTML = "+";
|
||||
}
|
||||
else
|
||||
{
|
||||
nested.className = "nested active";
|
||||
nested.className = "sidebar nested active";
|
||||
element.parentNode.childNodes[0].innerHTML = "-";
|
||||
}
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = ""
|
||||
element.className = "spanactive"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "active"
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch() {
|
||||
function Press(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "spanactive"
|
||||
}
|
||||
}
|
||||
|
||||
function unPress(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = ""
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch()
|
||||
{
|
||||
searchtext = document.getElementById("searchbox").value.toLowerCase();
|
||||
var res = [];
|
||||
var searchresults = document.getElementById("searchresults")
|
||||
@@ -45,6 +70,7 @@
|
||||
{
|
||||
if(namelist[i].toLowerCase().indexOf(searchtext) == -1) continue;
|
||||
var searchelement = document.createElement("li");
|
||||
searchelement.className = "sidebar"
|
||||
var link = document.createElement("a");
|
||||
searchelement.appendChild(link);
|
||||
link.setAttribute("href", documentlist[i]);
|
||||
@@ -57,104 +83,225 @@
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
pre {
|
||||
margin-left:16px;
|
||||
background-color: #EEE;
|
||||
border-color: #CCC;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
}
|
||||
.nested {
|
||||
display: none;
|
||||
border-left: 1px solid #000;
|
||||
|
||||
hr
|
||||
{
|
||||
color: #463c2a;
|
||||
}
|
||||
|
||||
ul.active {
|
||||
pre
|
||||
{
|
||||
margin-left:16px;
|
||||
background-color: #473c29;
|
||||
border-color: #3b3221;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.nested
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
ul.sidebar.active
|
||||
{
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 8px;
|
||||
ul.sidebar
|
||||
{
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
li ::marker {
|
||||
li.sidebar ::marker
|
||||
{
|
||||
color:#00000000;
|
||||
display:none;
|
||||
}
|
||||
|
||||
li {
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
padding-bottom:2px;
|
||||
padding-top:2px;
|
||||
margin-right:2px;
|
||||
}
|
||||
|
||||
li b {
|
||||
li.sidebar span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 1;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
border: black 1px solid;
|
||||
border-left-color: white;
|
||||
border-top-color: white;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.liicon {
|
||||
li.sidebar span span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 0;
|
||||
border: #463c2a 1px solid;
|
||||
background-color: #63553b;
|
||||
color: white;
|
||||
border-left-color: #8d8881;
|
||||
border-top-color: #8d8881;
|
||||
margin: 0px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
li.sidebar .spanactive
|
||||
{
|
||||
border-left-color: black;
|
||||
border-top-color: black;
|
||||
border-right-color: white;
|
||||
border-bottom-color: white;
|
||||
}
|
||||
|
||||
li.sidebar span .spanactive
|
||||
{
|
||||
border: #463c2a 1px solid;
|
||||
border-right-color: #8d8881;
|
||||
border-bottom-color: #8d8881;
|
||||
}
|
||||
|
||||
|
||||
.liicon
|
||||
{
|
||||
display:inline-block;
|
||||
width:12px;
|
||||
height:100%;
|
||||
font-family: monospace;
|
||||
font-size: 16px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
nav
|
||||
{
|
||||
background-color: #63553b;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
a
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
a:visited
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
background-color: #63553b;
|
||||
color:white;
|
||||
font-family:"Tahoma", sans-serif;
|
||||
font-size:9pt;
|
||||
}
|
||||
|
||||
.searchbox
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: #403624 1px solid;
|
||||
border-bottom-color: #837f7a;
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.searchboxcontainer
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: black 1px solid;
|
||||
border-bottom-color: white;
|
||||
border-right-color: white;
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
</style>
|
||||
<div style="position:fixed; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" style="width:192px;">
|
||||
<div style="position:absolute; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul id="searchresults">
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul id="filetree">
|
||||
<li><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">QScript</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">Contributing</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">API</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">Structs</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">QScript</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Contributing</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">API</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Structs</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><b>QCFunc</b></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Lua</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Lua</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Python</b>
|
||||
<ul class="nested">
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Squirrel</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Squirrel</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Tutorial</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Tutorial</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -164,7 +311,6 @@ li b {
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
<p id="errorp"></p>
|
||||
<h1>QCFunc</h1>
|
||||
|
||||
</div>
|
||||
@@ -9,25 +9,50 @@
|
||||
nested = element.parentNode.childNodes[3];
|
||||
if(nested.className.indexOf("active",0) != -1)
|
||||
{
|
||||
nested.className = "nested";
|
||||
nested.className = "sidebar nested";
|
||||
element.parentNode.childNodes[0].innerHTML = "+";
|
||||
}
|
||||
else
|
||||
{
|
||||
nested.className = "nested active";
|
||||
nested.className = "sidebar nested active";
|
||||
element.parentNode.childNodes[0].innerHTML = "-";
|
||||
}
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = ""
|
||||
element.className = "spanactive"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "active"
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch() {
|
||||
function Press(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "spanactive"
|
||||
}
|
||||
}
|
||||
|
||||
function unPress(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = ""
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch()
|
||||
{
|
||||
searchtext = document.getElementById("searchbox").value.toLowerCase();
|
||||
var res = [];
|
||||
var searchresults = document.getElementById("searchresults")
|
||||
@@ -45,6 +70,7 @@
|
||||
{
|
||||
if(namelist[i].toLowerCase().indexOf(searchtext) == -1) continue;
|
||||
var searchelement = document.createElement("li");
|
||||
searchelement.className = "sidebar"
|
||||
var link = document.createElement("a");
|
||||
searchelement.appendChild(link);
|
||||
link.setAttribute("href", documentlist[i]);
|
||||
@@ -57,104 +83,225 @@
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
pre {
|
||||
margin-left:16px;
|
||||
background-color: #EEE;
|
||||
border-color: #CCC;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
}
|
||||
.nested {
|
||||
display: none;
|
||||
border-left: 1px solid #000;
|
||||
|
||||
hr
|
||||
{
|
||||
color: #463c2a;
|
||||
}
|
||||
|
||||
ul.active {
|
||||
pre
|
||||
{
|
||||
margin-left:16px;
|
||||
background-color: #473c29;
|
||||
border-color: #3b3221;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.nested
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
ul.sidebar.active
|
||||
{
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 8px;
|
||||
ul.sidebar
|
||||
{
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
li ::marker {
|
||||
li.sidebar ::marker
|
||||
{
|
||||
color:#00000000;
|
||||
display:none;
|
||||
}
|
||||
|
||||
li {
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
padding-bottom:2px;
|
||||
padding-top:2px;
|
||||
margin-right:2px;
|
||||
}
|
||||
|
||||
li b {
|
||||
li.sidebar span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 1;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
border: black 1px solid;
|
||||
border-left-color: white;
|
||||
border-top-color: white;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.liicon {
|
||||
li.sidebar span span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 0;
|
||||
border: #463c2a 1px solid;
|
||||
background-color: #63553b;
|
||||
color: white;
|
||||
border-left-color: #8d8881;
|
||||
border-top-color: #8d8881;
|
||||
margin: 0px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
li.sidebar .spanactive
|
||||
{
|
||||
border-left-color: black;
|
||||
border-top-color: black;
|
||||
border-right-color: white;
|
||||
border-bottom-color: white;
|
||||
}
|
||||
|
||||
li.sidebar span .spanactive
|
||||
{
|
||||
border: #463c2a 1px solid;
|
||||
border-right-color: #8d8881;
|
||||
border-bottom-color: #8d8881;
|
||||
}
|
||||
|
||||
|
||||
.liicon
|
||||
{
|
||||
display:inline-block;
|
||||
width:12px;
|
||||
height:100%;
|
||||
font-family: monospace;
|
||||
font-size: 16px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
nav
|
||||
{
|
||||
background-color: #63553b;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
a
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
a:visited
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
background-color: #63553b;
|
||||
color:white;
|
||||
font-family:"Tahoma", sans-serif;
|
||||
font-size:9pt;
|
||||
}
|
||||
|
||||
.searchbox
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: #403624 1px solid;
|
||||
border-bottom-color: #837f7a;
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.searchboxcontainer
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: black 1px solid;
|
||||
border-bottom-color: white;
|
||||
border-right-color: white;
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
</style>
|
||||
<div style="position:fixed; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" style="width:192px;">
|
||||
<div style="position:absolute; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul id="searchresults">
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul id="filetree">
|
||||
<li><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">QScript</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">Contributing</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">API</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">Structs</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">QScript</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Contributing</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">API</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Structs</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li class="sidebar"><b>QModuleDefFunc</b></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Lua</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Lua</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Python</b>
|
||||
<ul class="nested">
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Squirrel</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Squirrel</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Tutorial</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Tutorial</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -164,7 +311,6 @@ li b {
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
<p id="errorp"></p>
|
||||
<h1>QModuleDefFunc</h1>
|
||||
|
||||
</div>
|
||||
@@ -9,25 +9,50 @@
|
||||
nested = element.parentNode.childNodes[3];
|
||||
if(nested.className.indexOf("active",0) != -1)
|
||||
{
|
||||
nested.className = "nested";
|
||||
nested.className = "sidebar nested";
|
||||
element.parentNode.childNodes[0].innerHTML = "+";
|
||||
}
|
||||
else
|
||||
{
|
||||
nested.className = "nested active";
|
||||
nested.className = "sidebar nested active";
|
||||
element.parentNode.childNodes[0].innerHTML = "-";
|
||||
}
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = ""
|
||||
element.className = "spanactive"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "active"
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch() {
|
||||
function Press(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "spanactive"
|
||||
}
|
||||
}
|
||||
|
||||
function unPress(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = ""
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch()
|
||||
{
|
||||
searchtext = document.getElementById("searchbox").value.toLowerCase();
|
||||
var res = [];
|
||||
var searchresults = document.getElementById("searchresults")
|
||||
@@ -45,6 +70,7 @@
|
||||
{
|
||||
if(namelist[i].toLowerCase().indexOf(searchtext) == -1) continue;
|
||||
var searchelement = document.createElement("li");
|
||||
searchelement.className = "sidebar"
|
||||
var link = document.createElement("a");
|
||||
searchelement.appendChild(link);
|
||||
link.setAttribute("href", documentlist[i]);
|
||||
@@ -57,104 +83,225 @@
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
pre {
|
||||
margin-left:16px;
|
||||
background-color: #EEE;
|
||||
border-color: #CCC;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
}
|
||||
.nested {
|
||||
display: none;
|
||||
border-left: 1px solid #000;
|
||||
|
||||
hr
|
||||
{
|
||||
color: #463c2a;
|
||||
}
|
||||
|
||||
ul.active {
|
||||
pre
|
||||
{
|
||||
margin-left:16px;
|
||||
background-color: #473c29;
|
||||
border-color: #3b3221;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.nested
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
ul.sidebar.active
|
||||
{
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 8px;
|
||||
ul.sidebar
|
||||
{
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
li ::marker {
|
||||
li.sidebar ::marker
|
||||
{
|
||||
color:#00000000;
|
||||
display:none;
|
||||
}
|
||||
|
||||
li {
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
padding-bottom:2px;
|
||||
padding-top:2px;
|
||||
margin-right:2px;
|
||||
}
|
||||
|
||||
li b {
|
||||
li.sidebar span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 1;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
border: black 1px solid;
|
||||
border-left-color: white;
|
||||
border-top-color: white;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.liicon {
|
||||
li.sidebar span span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 0;
|
||||
border: #463c2a 1px solid;
|
||||
background-color: #63553b;
|
||||
color: white;
|
||||
border-left-color: #8d8881;
|
||||
border-top-color: #8d8881;
|
||||
margin: 0px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
li.sidebar .spanactive
|
||||
{
|
||||
border-left-color: black;
|
||||
border-top-color: black;
|
||||
border-right-color: white;
|
||||
border-bottom-color: white;
|
||||
}
|
||||
|
||||
li.sidebar span .spanactive
|
||||
{
|
||||
border: #463c2a 1px solid;
|
||||
border-right-color: #8d8881;
|
||||
border-bottom-color: #8d8881;
|
||||
}
|
||||
|
||||
|
||||
.liicon
|
||||
{
|
||||
display:inline-block;
|
||||
width:12px;
|
||||
height:100%;
|
||||
font-family: monospace;
|
||||
font-size: 16px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
nav
|
||||
{
|
||||
background-color: #63553b;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
a
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
a:visited
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
background-color: #63553b;
|
||||
color:white;
|
||||
font-family:"Tahoma", sans-serif;
|
||||
font-size:9pt;
|
||||
}
|
||||
|
||||
.searchbox
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: #403624 1px solid;
|
||||
border-bottom-color: #837f7a;
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.searchboxcontainer
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: black 1px solid;
|
||||
border-bottom-color: white;
|
||||
border-right-color: white;
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
</style>
|
||||
<div style="position:fixed; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" style="width:192px;">
|
||||
<div style="position:absolute; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul id="searchresults">
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul id="filetree">
|
||||
<li><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">QScript</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">Contributing</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">API</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">Structs</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">QScript</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Contributing</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">API</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Structs</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li class="sidebar"><b>QScriptCallback</b></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Lua</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Lua</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Python</b>
|
||||
<ul class="nested">
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Squirrel</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Squirrel</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Tutorial</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Tutorial</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -164,7 +311,6 @@ li b {
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
<p id="errorp"></p>
|
||||
<h1>QScriptCallback</h1>
|
||||
|
||||
</div>
|
||||
@@ -9,25 +9,50 @@
|
||||
nested = element.parentNode.childNodes[3];
|
||||
if(nested.className.indexOf("active",0) != -1)
|
||||
{
|
||||
nested.className = "nested";
|
||||
nested.className = "sidebar nested";
|
||||
element.parentNode.childNodes[0].innerHTML = "+";
|
||||
}
|
||||
else
|
||||
{
|
||||
nested.className = "nested active";
|
||||
nested.className = "sidebar nested active";
|
||||
element.parentNode.childNodes[0].innerHTML = "-";
|
||||
}
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = ""
|
||||
element.className = "spanactive"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "active"
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch() {
|
||||
function Press(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "spanactive"
|
||||
}
|
||||
}
|
||||
|
||||
function unPress(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = ""
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch()
|
||||
{
|
||||
searchtext = document.getElementById("searchbox").value.toLowerCase();
|
||||
var res = [];
|
||||
var searchresults = document.getElementById("searchresults")
|
||||
@@ -45,6 +70,7 @@
|
||||
{
|
||||
if(namelist[i].toLowerCase().indexOf(searchtext) == -1) continue;
|
||||
var searchelement = document.createElement("li");
|
||||
searchelement.className = "sidebar"
|
||||
var link = document.createElement("a");
|
||||
searchelement.appendChild(link);
|
||||
link.setAttribute("href", documentlist[i]);
|
||||
@@ -57,104 +83,225 @@
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
pre {
|
||||
margin-left:16px;
|
||||
background-color: #EEE;
|
||||
border-color: #CCC;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
}
|
||||
.nested {
|
||||
display: none;
|
||||
border-left: 1px solid #000;
|
||||
|
||||
hr
|
||||
{
|
||||
color: #463c2a;
|
||||
}
|
||||
|
||||
ul.active {
|
||||
pre
|
||||
{
|
||||
margin-left:16px;
|
||||
background-color: #473c29;
|
||||
border-color: #3b3221;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.nested
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
ul.sidebar.active
|
||||
{
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 8px;
|
||||
ul.sidebar
|
||||
{
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
li ::marker {
|
||||
li.sidebar ::marker
|
||||
{
|
||||
color:#00000000;
|
||||
display:none;
|
||||
}
|
||||
|
||||
li {
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
padding-bottom:2px;
|
||||
padding-top:2px;
|
||||
margin-right:2px;
|
||||
}
|
||||
|
||||
li b {
|
||||
li.sidebar span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 1;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
border: black 1px solid;
|
||||
border-left-color: white;
|
||||
border-top-color: white;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.liicon {
|
||||
li.sidebar span span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 0;
|
||||
border: #463c2a 1px solid;
|
||||
background-color: #63553b;
|
||||
color: white;
|
||||
border-left-color: #8d8881;
|
||||
border-top-color: #8d8881;
|
||||
margin: 0px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
li.sidebar .spanactive
|
||||
{
|
||||
border-left-color: black;
|
||||
border-top-color: black;
|
||||
border-right-color: white;
|
||||
border-bottom-color: white;
|
||||
}
|
||||
|
||||
li.sidebar span .spanactive
|
||||
{
|
||||
border: #463c2a 1px solid;
|
||||
border-right-color: #8d8881;
|
||||
border-bottom-color: #8d8881;
|
||||
}
|
||||
|
||||
|
||||
.liicon
|
||||
{
|
||||
display:inline-block;
|
||||
width:12px;
|
||||
height:100%;
|
||||
font-family: monospace;
|
||||
font-size: 16px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
nav
|
||||
{
|
||||
background-color: #63553b;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
a
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
a:visited
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
background-color: #63553b;
|
||||
color:white;
|
||||
font-family:"Tahoma", sans-serif;
|
||||
font-size:9pt;
|
||||
}
|
||||
|
||||
.searchbox
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: #403624 1px solid;
|
||||
border-bottom-color: #837f7a;
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.searchboxcontainer
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: black 1px solid;
|
||||
border-bottom-color: white;
|
||||
border-right-color: white;
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
</style>
|
||||
<div style="position:fixed; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" style="width:192px;">
|
||||
<div style="position:absolute; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul id="searchresults">
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul id="filetree">
|
||||
<li><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">QScript</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">Contributing</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">API</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">Structs</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">QScript</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Contributing</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">API</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Structs</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li class="sidebar"><b>QScriptClass</b></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Lua</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Lua</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Python</b>
|
||||
<ul class="nested">
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Squirrel</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Squirrel</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Tutorial</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Tutorial</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -164,7 +311,6 @@ li b {
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
<p id="errorp"></p>
|
||||
<h1>QScriptClass</h1>
|
||||
|
||||
</div>
|
||||
@@ -9,25 +9,50 @@
|
||||
nested = element.parentNode.childNodes[3];
|
||||
if(nested.className.indexOf("active",0) != -1)
|
||||
{
|
||||
nested.className = "nested";
|
||||
nested.className = "sidebar nested";
|
||||
element.parentNode.childNodes[0].innerHTML = "+";
|
||||
}
|
||||
else
|
||||
{
|
||||
nested.className = "nested active";
|
||||
nested.className = "sidebar nested active";
|
||||
element.parentNode.childNodes[0].innerHTML = "-";
|
||||
}
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = ""
|
||||
element.className = "spanactive"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "active"
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch() {
|
||||
function Press(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "spanactive"
|
||||
}
|
||||
}
|
||||
|
||||
function unPress(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = ""
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch()
|
||||
{
|
||||
searchtext = document.getElementById("searchbox").value.toLowerCase();
|
||||
var res = [];
|
||||
var searchresults = document.getElementById("searchresults")
|
||||
@@ -45,6 +70,7 @@
|
||||
{
|
||||
if(namelist[i].toLowerCase().indexOf(searchtext) == -1) continue;
|
||||
var searchelement = document.createElement("li");
|
||||
searchelement.className = "sidebar"
|
||||
var link = document.createElement("a");
|
||||
searchelement.appendChild(link);
|
||||
link.setAttribute("href", documentlist[i]);
|
||||
@@ -57,104 +83,225 @@
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
pre {
|
||||
margin-left:16px;
|
||||
background-color: #EEE;
|
||||
border-color: #CCC;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
}
|
||||
.nested {
|
||||
display: none;
|
||||
border-left: 1px solid #000;
|
||||
|
||||
hr
|
||||
{
|
||||
color: #463c2a;
|
||||
}
|
||||
|
||||
ul.active {
|
||||
pre
|
||||
{
|
||||
margin-left:16px;
|
||||
background-color: #473c29;
|
||||
border-color: #3b3221;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.nested
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
ul.sidebar.active
|
||||
{
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 8px;
|
||||
ul.sidebar
|
||||
{
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
li ::marker {
|
||||
li.sidebar ::marker
|
||||
{
|
||||
color:#00000000;
|
||||
display:none;
|
||||
}
|
||||
|
||||
li {
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
padding-bottom:2px;
|
||||
padding-top:2px;
|
||||
margin-right:2px;
|
||||
}
|
||||
|
||||
li b {
|
||||
li.sidebar span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 1;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
border: black 1px solid;
|
||||
border-left-color: white;
|
||||
border-top-color: white;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.liicon {
|
||||
li.sidebar span span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 0;
|
||||
border: #463c2a 1px solid;
|
||||
background-color: #63553b;
|
||||
color: white;
|
||||
border-left-color: #8d8881;
|
||||
border-top-color: #8d8881;
|
||||
margin: 0px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
li.sidebar .spanactive
|
||||
{
|
||||
border-left-color: black;
|
||||
border-top-color: black;
|
||||
border-right-color: white;
|
||||
border-bottom-color: white;
|
||||
}
|
||||
|
||||
li.sidebar span .spanactive
|
||||
{
|
||||
border: #463c2a 1px solid;
|
||||
border-right-color: #8d8881;
|
||||
border-bottom-color: #8d8881;
|
||||
}
|
||||
|
||||
|
||||
.liicon
|
||||
{
|
||||
display:inline-block;
|
||||
width:12px;
|
||||
height:100%;
|
||||
font-family: monospace;
|
||||
font-size: 16px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
nav
|
||||
{
|
||||
background-color: #63553b;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
a
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
a:visited
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
background-color: #63553b;
|
||||
color:white;
|
||||
font-family:"Tahoma", sans-serif;
|
||||
font-size:9pt;
|
||||
}
|
||||
|
||||
.searchbox
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: #403624 1px solid;
|
||||
border-bottom-color: #837f7a;
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.searchboxcontainer
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: black 1px solid;
|
||||
border-bottom-color: white;
|
||||
border-right-color: white;
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
</style>
|
||||
<div style="position:fixed; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" style="width:192px;">
|
||||
<div style="position:absolute; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul id="searchresults">
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul id="filetree">
|
||||
<li><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">QScript</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">Contributing</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">API</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">Structs</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">QScript</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Contributing</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">API</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Structs</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li class="sidebar"><b>QScriptClassCreator</b></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Lua</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Lua</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Python</b>
|
||||
<ul class="nested">
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Squirrel</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Squirrel</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Tutorial</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Tutorial</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -164,7 +311,6 @@ li b {
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
<p id="errorp"></p>
|
||||
<h1>QScriptClassCreator</h1>
|
||||
|
||||
</div>
|
||||
@@ -9,25 +9,50 @@
|
||||
nested = element.parentNode.childNodes[3];
|
||||
if(nested.className.indexOf("active",0) != -1)
|
||||
{
|
||||
nested.className = "nested";
|
||||
nested.className = "sidebar nested";
|
||||
element.parentNode.childNodes[0].innerHTML = "+";
|
||||
}
|
||||
else
|
||||
{
|
||||
nested.className = "nested active";
|
||||
nested.className = "sidebar nested active";
|
||||
element.parentNode.childNodes[0].innerHTML = "-";
|
||||
}
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = ""
|
||||
element.className = "spanactive"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "active"
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch() {
|
||||
function Press(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "spanactive"
|
||||
}
|
||||
}
|
||||
|
||||
function unPress(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = ""
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch()
|
||||
{
|
||||
searchtext = document.getElementById("searchbox").value.toLowerCase();
|
||||
var res = [];
|
||||
var searchresults = document.getElementById("searchresults")
|
||||
@@ -45,6 +70,7 @@
|
||||
{
|
||||
if(namelist[i].toLowerCase().indexOf(searchtext) == -1) continue;
|
||||
var searchelement = document.createElement("li");
|
||||
searchelement.className = "sidebar"
|
||||
var link = document.createElement("a");
|
||||
searchelement.appendChild(link);
|
||||
link.setAttribute("href", documentlist[i]);
|
||||
@@ -57,104 +83,225 @@
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
pre {
|
||||
margin-left:16px;
|
||||
background-color: #EEE;
|
||||
border-color: #CCC;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
}
|
||||
.nested {
|
||||
display: none;
|
||||
border-left: 1px solid #000;
|
||||
|
||||
hr
|
||||
{
|
||||
color: #463c2a;
|
||||
}
|
||||
|
||||
ul.active {
|
||||
pre
|
||||
{
|
||||
margin-left:16px;
|
||||
background-color: #473c29;
|
||||
border-color: #3b3221;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.nested
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
ul.sidebar.active
|
||||
{
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 8px;
|
||||
ul.sidebar
|
||||
{
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
li ::marker {
|
||||
li.sidebar ::marker
|
||||
{
|
||||
color:#00000000;
|
||||
display:none;
|
||||
}
|
||||
|
||||
li {
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
padding-bottom:2px;
|
||||
padding-top:2px;
|
||||
margin-right:2px;
|
||||
}
|
||||
|
||||
li b {
|
||||
li.sidebar span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 1;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
border: black 1px solid;
|
||||
border-left-color: white;
|
||||
border-top-color: white;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.liicon {
|
||||
li.sidebar span span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 0;
|
||||
border: #463c2a 1px solid;
|
||||
background-color: #63553b;
|
||||
color: white;
|
||||
border-left-color: #8d8881;
|
||||
border-top-color: #8d8881;
|
||||
margin: 0px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
li.sidebar .spanactive
|
||||
{
|
||||
border-left-color: black;
|
||||
border-top-color: black;
|
||||
border-right-color: white;
|
||||
border-bottom-color: white;
|
||||
}
|
||||
|
||||
li.sidebar span .spanactive
|
||||
{
|
||||
border: #463c2a 1px solid;
|
||||
border-right-color: #8d8881;
|
||||
border-bottom-color: #8d8881;
|
||||
}
|
||||
|
||||
|
||||
.liicon
|
||||
{
|
||||
display:inline-block;
|
||||
width:12px;
|
||||
height:100%;
|
||||
font-family: monospace;
|
||||
font-size: 16px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
nav
|
||||
{
|
||||
background-color: #63553b;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
a
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
a:visited
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
background-color: #63553b;
|
||||
color:white;
|
||||
font-family:"Tahoma", sans-serif;
|
||||
font-size:9pt;
|
||||
}
|
||||
|
||||
.searchbox
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: #403624 1px solid;
|
||||
border-bottom-color: #837f7a;
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.searchboxcontainer
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: black 1px solid;
|
||||
border-bottom-color: white;
|
||||
border-right-color: white;
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
</style>
|
||||
<div style="position:fixed; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" style="width:192px;">
|
||||
<div style="position:absolute; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul id="searchresults">
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul id="filetree">
|
||||
<li><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">QScript</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">Contributing</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">API</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">Structs</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">QScript</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Contributing</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">API</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Structs</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li class="sidebar"><b>QType</b></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Lua</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Lua</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Python</b>
|
||||
<ul class="nested">
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Squirrel</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Squirrel</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Tutorial</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Tutorial</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -164,7 +311,6 @@ li b {
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
<p id="errorp"></p>
|
||||
<h1>QType</h1>
|
||||
|
||||
</div>
|
||||
@@ -9,25 +9,50 @@
|
||||
nested = element.parentNode.childNodes[3];
|
||||
if(nested.className.indexOf("active",0) != -1)
|
||||
{
|
||||
nested.className = "nested";
|
||||
nested.className = "sidebar nested";
|
||||
element.parentNode.childNodes[0].innerHTML = "+";
|
||||
}
|
||||
else
|
||||
{
|
||||
nested.className = "nested active";
|
||||
nested.className = "sidebar nested active";
|
||||
element.parentNode.childNodes[0].innerHTML = "-";
|
||||
}
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = ""
|
||||
element.className = "spanactive"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "active"
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch() {
|
||||
function Press(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "spanactive"
|
||||
}
|
||||
}
|
||||
|
||||
function unPress(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = ""
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch()
|
||||
{
|
||||
searchtext = document.getElementById("searchbox").value.toLowerCase();
|
||||
var res = [];
|
||||
var searchresults = document.getElementById("searchresults")
|
||||
@@ -45,6 +70,7 @@
|
||||
{
|
||||
if(namelist[i].toLowerCase().indexOf(searchtext) == -1) continue;
|
||||
var searchelement = document.createElement("li");
|
||||
searchelement.className = "sidebar"
|
||||
var link = document.createElement("a");
|
||||
searchelement.appendChild(link);
|
||||
link.setAttribute("href", documentlist[i]);
|
||||
@@ -57,104 +83,225 @@
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
pre {
|
||||
margin-left:16px;
|
||||
background-color: #EEE;
|
||||
border-color: #CCC;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
}
|
||||
.nested {
|
||||
display: none;
|
||||
border-left: 1px solid #000;
|
||||
|
||||
hr
|
||||
{
|
||||
color: #463c2a;
|
||||
}
|
||||
|
||||
ul.active {
|
||||
pre
|
||||
{
|
||||
margin-left:16px;
|
||||
background-color: #473c29;
|
||||
border-color: #3b3221;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.nested
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
ul.sidebar.active
|
||||
{
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 8px;
|
||||
ul.sidebar
|
||||
{
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
li ::marker {
|
||||
li.sidebar ::marker
|
||||
{
|
||||
color:#00000000;
|
||||
display:none;
|
||||
}
|
||||
|
||||
li {
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
padding-bottom:2px;
|
||||
padding-top:2px;
|
||||
margin-right:2px;
|
||||
}
|
||||
|
||||
li b {
|
||||
li.sidebar span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 1;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
border: black 1px solid;
|
||||
border-left-color: white;
|
||||
border-top-color: white;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.liicon {
|
||||
li.sidebar span span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 0;
|
||||
border: #463c2a 1px solid;
|
||||
background-color: #63553b;
|
||||
color: white;
|
||||
border-left-color: #8d8881;
|
||||
border-top-color: #8d8881;
|
||||
margin: 0px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
li.sidebar .spanactive
|
||||
{
|
||||
border-left-color: black;
|
||||
border-top-color: black;
|
||||
border-right-color: white;
|
||||
border-bottom-color: white;
|
||||
}
|
||||
|
||||
li.sidebar span .spanactive
|
||||
{
|
||||
border: #463c2a 1px solid;
|
||||
border-right-color: #8d8881;
|
||||
border-bottom-color: #8d8881;
|
||||
}
|
||||
|
||||
|
||||
.liicon
|
||||
{
|
||||
display:inline-block;
|
||||
width:12px;
|
||||
height:100%;
|
||||
font-family: monospace;
|
||||
font-size: 16px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
nav
|
||||
{
|
||||
background-color: #63553b;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
a
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
a:visited
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
background-color: #63553b;
|
||||
color:white;
|
||||
font-family:"Tahoma", sans-serif;
|
||||
font-size:9pt;
|
||||
}
|
||||
|
||||
.searchbox
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: #403624 1px solid;
|
||||
border-bottom-color: #837f7a;
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.searchboxcontainer
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: black 1px solid;
|
||||
border-bottom-color: white;
|
||||
border-right-color: white;
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
</style>
|
||||
<div style="position:fixed; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" style="width:192px;">
|
||||
<div style="position:absolute; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul id="searchresults">
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul id="filetree">
|
||||
<li><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">QScript</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">Contributing</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">API</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">Structs</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">QScript</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Contributing</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">API</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Structs</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li class="sidebar"><b>QValue</b></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Lua</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Lua</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Python</b>
|
||||
<ul class="nested">
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Squirrel</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Squirrel</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Tutorial</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Tutorial</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -164,7 +311,6 @@ li b {
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
<p id="errorp"></p>
|
||||
<h1>QValue</h1>
|
||||
|
||||
</div>
|
||||
@@ -9,25 +9,50 @@
|
||||
nested = element.parentNode.childNodes[3];
|
||||
if(nested.className.indexOf("active",0) != -1)
|
||||
{
|
||||
nested.className = "nested";
|
||||
nested.className = "sidebar nested";
|
||||
element.parentNode.childNodes[0].innerHTML = "+";
|
||||
}
|
||||
else
|
||||
{
|
||||
nested.className = "nested active";
|
||||
nested.className = "sidebar nested active";
|
||||
element.parentNode.childNodes[0].innerHTML = "-";
|
||||
}
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = ""
|
||||
element.className = "spanactive"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "active"
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch() {
|
||||
function Press(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "spanactive"
|
||||
}
|
||||
}
|
||||
|
||||
function unPress(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = ""
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch()
|
||||
{
|
||||
searchtext = document.getElementById("searchbox").value.toLowerCase();
|
||||
var res = [];
|
||||
var searchresults = document.getElementById("searchresults")
|
||||
@@ -45,6 +70,7 @@
|
||||
{
|
||||
if(namelist[i].toLowerCase().indexOf(searchtext) == -1) continue;
|
||||
var searchelement = document.createElement("li");
|
||||
searchelement.className = "sidebar"
|
||||
var link = document.createElement("a");
|
||||
searchelement.appendChild(link);
|
||||
link.setAttribute("href", documentlist[i]);
|
||||
@@ -57,104 +83,225 @@
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
pre {
|
||||
margin-left:16px;
|
||||
background-color: #EEE;
|
||||
border-color: #CCC;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
}
|
||||
.nested {
|
||||
display: none;
|
||||
border-left: 1px solid #000;
|
||||
|
||||
hr
|
||||
{
|
||||
color: #463c2a;
|
||||
}
|
||||
|
||||
ul.active {
|
||||
pre
|
||||
{
|
||||
margin-left:16px;
|
||||
background-color: #473c29;
|
||||
border-color: #3b3221;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.nested
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
ul.sidebar.active
|
||||
{
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 8px;
|
||||
ul.sidebar
|
||||
{
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
li ::marker {
|
||||
li.sidebar ::marker
|
||||
{
|
||||
color:#00000000;
|
||||
display:none;
|
||||
}
|
||||
|
||||
li {
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
padding-bottom:2px;
|
||||
padding-top:2px;
|
||||
margin-right:2px;
|
||||
}
|
||||
|
||||
li b {
|
||||
li.sidebar span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 1;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
border: black 1px solid;
|
||||
border-left-color: white;
|
||||
border-top-color: white;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.liicon {
|
||||
li.sidebar span span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 0;
|
||||
border: #463c2a 1px solid;
|
||||
background-color: #63553b;
|
||||
color: white;
|
||||
border-left-color: #8d8881;
|
||||
border-top-color: #8d8881;
|
||||
margin: 0px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
li.sidebar .spanactive
|
||||
{
|
||||
border-left-color: black;
|
||||
border-top-color: black;
|
||||
border-right-color: white;
|
||||
border-bottom-color: white;
|
||||
}
|
||||
|
||||
li.sidebar span .spanactive
|
||||
{
|
||||
border: #463c2a 1px solid;
|
||||
border-right-color: #8d8881;
|
||||
border-bottom-color: #8d8881;
|
||||
}
|
||||
|
||||
|
||||
.liicon
|
||||
{
|
||||
display:inline-block;
|
||||
width:12px;
|
||||
height:100%;
|
||||
font-family: monospace;
|
||||
font-size: 16px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
nav
|
||||
{
|
||||
background-color: #63553b;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
a
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
a:visited
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
background-color: #63553b;
|
||||
color:white;
|
||||
font-family:"Tahoma", sans-serif;
|
||||
font-size:9pt;
|
||||
}
|
||||
|
||||
.searchbox
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: #403624 1px solid;
|
||||
border-bottom-color: #837f7a;
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.searchboxcontainer
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: black 1px solid;
|
||||
border-bottom-color: white;
|
||||
border-right-color: white;
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
</style>
|
||||
<div style="position:fixed; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" style="width:192px;">
|
||||
<div style="position:absolute; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul id="searchresults">
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul id="filetree">
|
||||
<li><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">QScript</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">Contributing</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">API</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Structs</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">QScript</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Contributing</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">API</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><b>QScript API</b></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Structs</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Lua</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Lua</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Python</b>
|
||||
<ul class="nested">
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Squirrel</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Squirrel</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Tutorial</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Tutorial</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -164,7 +311,6 @@ li b {
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
<p id="errorp"></p>
|
||||
<h1>QScript API</h1>
|
||||
|
||||
<hr />
|
||||
|
||||
@@ -9,25 +9,50 @@
|
||||
nested = element.parentNode.childNodes[3];
|
||||
if(nested.className.indexOf("active",0) != -1)
|
||||
{
|
||||
nested.className = "nested";
|
||||
nested.className = "sidebar nested";
|
||||
element.parentNode.childNodes[0].innerHTML = "+";
|
||||
}
|
||||
else
|
||||
{
|
||||
nested.className = "nested active";
|
||||
nested.className = "sidebar nested active";
|
||||
element.parentNode.childNodes[0].innerHTML = "-";
|
||||
}
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = ""
|
||||
element.className = "spanactive"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "active"
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch() {
|
||||
function Press(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "spanactive"
|
||||
}
|
||||
}
|
||||
|
||||
function unPress(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = ""
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch()
|
||||
{
|
||||
searchtext = document.getElementById("searchbox").value.toLowerCase();
|
||||
var res = [];
|
||||
var searchresults = document.getElementById("searchresults")
|
||||
@@ -45,6 +70,7 @@
|
||||
{
|
||||
if(namelist[i].toLowerCase().indexOf(searchtext) == -1) continue;
|
||||
var searchelement = document.createElement("li");
|
||||
searchelement.className = "sidebar"
|
||||
var link = document.createElement("a");
|
||||
searchelement.appendChild(link);
|
||||
link.setAttribute("href", documentlist[i]);
|
||||
@@ -57,104 +83,225 @@
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
pre {
|
||||
margin-left:16px;
|
||||
background-color: #EEE;
|
||||
border-color: #CCC;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
}
|
||||
.nested {
|
||||
display: none;
|
||||
border-left: 1px solid #000;
|
||||
|
||||
hr
|
||||
{
|
||||
color: #463c2a;
|
||||
}
|
||||
|
||||
ul.active {
|
||||
pre
|
||||
{
|
||||
margin-left:16px;
|
||||
background-color: #473c29;
|
||||
border-color: #3b3221;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.nested
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
ul.sidebar.active
|
||||
{
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 8px;
|
||||
ul.sidebar
|
||||
{
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
li ::marker {
|
||||
li.sidebar ::marker
|
||||
{
|
||||
color:#00000000;
|
||||
display:none;
|
||||
}
|
||||
|
||||
li {
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
padding-bottom:2px;
|
||||
padding-top:2px;
|
||||
margin-right:2px;
|
||||
}
|
||||
|
||||
li b {
|
||||
li.sidebar span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 1;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
border: black 1px solid;
|
||||
border-left-color: white;
|
||||
border-top-color: white;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.liicon {
|
||||
li.sidebar span span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 0;
|
||||
border: #463c2a 1px solid;
|
||||
background-color: #63553b;
|
||||
color: white;
|
||||
border-left-color: #8d8881;
|
||||
border-top-color: #8d8881;
|
||||
margin: 0px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
li.sidebar .spanactive
|
||||
{
|
||||
border-left-color: black;
|
||||
border-top-color: black;
|
||||
border-right-color: white;
|
||||
border-bottom-color: white;
|
||||
}
|
||||
|
||||
li.sidebar span .spanactive
|
||||
{
|
||||
border: #463c2a 1px solid;
|
||||
border-right-color: #8d8881;
|
||||
border-bottom-color: #8d8881;
|
||||
}
|
||||
|
||||
|
||||
.liicon
|
||||
{
|
||||
display:inline-block;
|
||||
width:12px;
|
||||
height:100%;
|
||||
font-family: monospace;
|
||||
font-size: 16px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
nav
|
||||
{
|
||||
background-color: #63553b;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
a
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
a:visited
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
background-color: #63553b;
|
||||
color:white;
|
||||
font-family:"Tahoma", sans-serif;
|
||||
font-size:9pt;
|
||||
}
|
||||
|
||||
.searchbox
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: #403624 1px solid;
|
||||
border-bottom-color: #837f7a;
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.searchboxcontainer
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: black 1px solid;
|
||||
border-bottom-color: white;
|
||||
border-right-color: white;
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
</style>
|
||||
<div style="position:fixed; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" style="width:192px;">
|
||||
<div style="position:absolute; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul id="searchresults">
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul id="filetree">
|
||||
<li><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">QScript</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">Contributing</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">API</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Structs</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">QScript</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Contributing</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><b>Contributing</b></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">API</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Structs</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Lua</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Lua</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Python</b>
|
||||
<ul class="nested">
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Squirrel</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Squirrel</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Tutorial</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Tutorial</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -164,7 +311,6 @@ li b {
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
<p id="errorp"></p>
|
||||
<h1>Contributing</h1>
|
||||
|
||||
<p>QScript operates independently of the game, meaning that there is no clear divide between server and client. Game parts can call into QScript to add bindings or call scripting callbacks.</p>
|
||||
|
||||
@@ -9,25 +9,50 @@
|
||||
nested = element.parentNode.childNodes[3];
|
||||
if(nested.className.indexOf("active",0) != -1)
|
||||
{
|
||||
nested.className = "nested";
|
||||
nested.className = "sidebar nested";
|
||||
element.parentNode.childNodes[0].innerHTML = "+";
|
||||
}
|
||||
else
|
||||
{
|
||||
nested.className = "nested active";
|
||||
nested.className = "sidebar nested active";
|
||||
element.parentNode.childNodes[0].innerHTML = "-";
|
||||
}
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = ""
|
||||
element.className = "spanactive"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "active"
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch() {
|
||||
function Press(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "spanactive"
|
||||
}
|
||||
}
|
||||
|
||||
function unPress(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = ""
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch()
|
||||
{
|
||||
searchtext = document.getElementById("searchbox").value.toLowerCase();
|
||||
var res = [];
|
||||
var searchresults = document.getElementById("searchresults")
|
||||
@@ -45,6 +70,7 @@
|
||||
{
|
||||
if(namelist[i].toLowerCase().indexOf(searchtext) == -1) continue;
|
||||
var searchelement = document.createElement("li");
|
||||
searchelement.className = "sidebar"
|
||||
var link = document.createElement("a");
|
||||
searchelement.appendChild(link);
|
||||
link.setAttribute("href", documentlist[i]);
|
||||
@@ -57,104 +83,225 @@
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
pre {
|
||||
margin-left:16px;
|
||||
background-color: #EEE;
|
||||
border-color: #CCC;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
}
|
||||
.nested {
|
||||
display: none;
|
||||
border-left: 1px solid #000;
|
||||
|
||||
hr
|
||||
{
|
||||
color: #463c2a;
|
||||
}
|
||||
|
||||
ul.active {
|
||||
pre
|
||||
{
|
||||
margin-left:16px;
|
||||
background-color: #473c29;
|
||||
border-color: #3b3221;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.nested
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
ul.sidebar.active
|
||||
{
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 8px;
|
||||
ul.sidebar
|
||||
{
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
li ::marker {
|
||||
li.sidebar ::marker
|
||||
{
|
||||
color:#00000000;
|
||||
display:none;
|
||||
}
|
||||
|
||||
li {
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
padding-bottom:2px;
|
||||
padding-top:2px;
|
||||
margin-right:2px;
|
||||
}
|
||||
|
||||
li b {
|
||||
li.sidebar span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 1;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
border: black 1px solid;
|
||||
border-left-color: white;
|
||||
border-top-color: white;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.liicon {
|
||||
li.sidebar span span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 0;
|
||||
border: #463c2a 1px solid;
|
||||
background-color: #63553b;
|
||||
color: white;
|
||||
border-left-color: #8d8881;
|
||||
border-top-color: #8d8881;
|
||||
margin: 0px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
li.sidebar .spanactive
|
||||
{
|
||||
border-left-color: black;
|
||||
border-top-color: black;
|
||||
border-right-color: white;
|
||||
border-bottom-color: white;
|
||||
}
|
||||
|
||||
li.sidebar span .spanactive
|
||||
{
|
||||
border: #463c2a 1px solid;
|
||||
border-right-color: #8d8881;
|
||||
border-bottom-color: #8d8881;
|
||||
}
|
||||
|
||||
|
||||
.liicon
|
||||
{
|
||||
display:inline-block;
|
||||
width:12px;
|
||||
height:100%;
|
||||
font-family: monospace;
|
||||
font-size: 16px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
nav
|
||||
{
|
||||
background-color: #63553b;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
a
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
a:visited
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
background-color: #63553b;
|
||||
color:white;
|
||||
font-family:"Tahoma", sans-serif;
|
||||
font-size:9pt;
|
||||
}
|
||||
|
||||
.searchbox
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: #403624 1px solid;
|
||||
border-bottom-color: #837f7a;
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.searchboxcontainer
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: black 1px solid;
|
||||
border-bottom-color: white;
|
||||
border-right-color: white;
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
</style>
|
||||
<div style="position:fixed; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" style="width:192px;">
|
||||
<div style="position:absolute; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul id="searchresults">
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul id="filetree">
|
||||
<li><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">QScript</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Contributing</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">API</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Structs</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">QScript</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><b>QScript Intro</b></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Contributing</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">API</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Structs</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Lua</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Lua</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Python</b>
|
||||
<ul class="nested">
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Squirrel</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Squirrel</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Tutorial</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Tutorial</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -164,7 +311,6 @@ li b {
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
<p id="errorp"></p>
|
||||
<h1>QScript Intro</h1>
|
||||
|
||||
<p>QScript is a multi-language scripting system designed with security and stability in mind.
|
||||
|
||||
@@ -9,25 +9,50 @@
|
||||
nested = element.parentNode.childNodes[3];
|
||||
if(nested.className.indexOf("active",0) != -1)
|
||||
{
|
||||
nested.className = "nested";
|
||||
nested.className = "sidebar nested";
|
||||
element.parentNode.childNodes[0].innerHTML = "+";
|
||||
}
|
||||
else
|
||||
{
|
||||
nested.className = "nested active";
|
||||
nested.className = "sidebar nested active";
|
||||
element.parentNode.childNodes[0].innerHTML = "-";
|
||||
}
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = ""
|
||||
element.className = "spanactive"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "active"
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch() {
|
||||
function Press(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "spanactive"
|
||||
}
|
||||
}
|
||||
|
||||
function unPress(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = ""
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch()
|
||||
{
|
||||
searchtext = document.getElementById("searchbox").value.toLowerCase();
|
||||
var res = [];
|
||||
var searchresults = document.getElementById("searchresults")
|
||||
@@ -45,6 +70,7 @@
|
||||
{
|
||||
if(namelist[i].toLowerCase().indexOf(searchtext) == -1) continue;
|
||||
var searchelement = document.createElement("li");
|
||||
searchelement.className = "sidebar"
|
||||
var link = document.createElement("a");
|
||||
searchelement.appendChild(link);
|
||||
link.setAttribute("href", documentlist[i]);
|
||||
@@ -57,104 +83,225 @@
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
pre {
|
||||
margin-left:16px;
|
||||
background-color: #EEE;
|
||||
border-color: #CCC;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
}
|
||||
.nested {
|
||||
display: none;
|
||||
border-left: 1px solid #000;
|
||||
|
||||
hr
|
||||
{
|
||||
color: #463c2a;
|
||||
}
|
||||
|
||||
ul.active {
|
||||
pre
|
||||
{
|
||||
margin-left:16px;
|
||||
background-color: #473c29;
|
||||
border-color: #3b3221;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.nested
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
ul.sidebar.active
|
||||
{
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 8px;
|
||||
ul.sidebar
|
||||
{
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
li ::marker {
|
||||
li.sidebar ::marker
|
||||
{
|
||||
color:#00000000;
|
||||
display:none;
|
||||
}
|
||||
|
||||
li {
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
padding-bottom:2px;
|
||||
padding-top:2px;
|
||||
margin-right:2px;
|
||||
}
|
||||
|
||||
li b {
|
||||
li.sidebar span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 1;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
border: black 1px solid;
|
||||
border-left-color: white;
|
||||
border-top-color: white;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.liicon {
|
||||
li.sidebar span span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 0;
|
||||
border: #463c2a 1px solid;
|
||||
background-color: #63553b;
|
||||
color: white;
|
||||
border-left-color: #8d8881;
|
||||
border-top-color: #8d8881;
|
||||
margin: 0px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
li.sidebar .spanactive
|
||||
{
|
||||
border-left-color: black;
|
||||
border-top-color: black;
|
||||
border-right-color: white;
|
||||
border-bottom-color: white;
|
||||
}
|
||||
|
||||
li.sidebar span .spanactive
|
||||
{
|
||||
border: #463c2a 1px solid;
|
||||
border-right-color: #8d8881;
|
||||
border-bottom-color: #8d8881;
|
||||
}
|
||||
|
||||
|
||||
.liicon
|
||||
{
|
||||
display:inline-block;
|
||||
width:12px;
|
||||
height:100%;
|
||||
font-family: monospace;
|
||||
font-size: 16px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
nav
|
||||
{
|
||||
background-color: #63553b;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
a
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
a:visited
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
background-color: #63553b;
|
||||
color:white;
|
||||
font-family:"Tahoma", sans-serif;
|
||||
font-size:9pt;
|
||||
}
|
||||
|
||||
.searchbox
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: #403624 1px solid;
|
||||
border-bottom-color: #837f7a;
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.searchboxcontainer
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: black 1px solid;
|
||||
border-bottom-color: white;
|
||||
border-right-color: white;
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
</style>
|
||||
<div style="position:fixed; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" style="width:192px;">
|
||||
<div style="position:absolute; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul id="searchresults">
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul id="filetree">
|
||||
<li><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">QScript</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Contributing</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">API</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Structs</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">QScript</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Contributing</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">API</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Structs</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">Lua</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Lua</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><b>Lua Classes</b></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Python</b>
|
||||
<ul class="nested">
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Squirrel</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Squirrel</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Tutorial</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Tutorial</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -164,7 +311,6 @@ li b {
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
<p id="errorp"></p>
|
||||
<h1>Lua Classes</h1>
|
||||
|
||||
<p>Let's start with an analogy. Imagine you want to make star-shaped cookies. You could of course, manually cut the baked cookie and then be left with a mess, or you could use a cookie cutter before baking it. In this analogy, the cookie is an object, the manual cutting method is using tables, and the cookie cutter is a class.</p>
|
||||
|
||||
@@ -9,25 +9,50 @@
|
||||
nested = element.parentNode.childNodes[3];
|
||||
if(nested.className.indexOf("active",0) != -1)
|
||||
{
|
||||
nested.className = "nested";
|
||||
nested.className = "sidebar nested";
|
||||
element.parentNode.childNodes[0].innerHTML = "+";
|
||||
}
|
||||
else
|
||||
{
|
||||
nested.className = "nested active";
|
||||
nested.className = "sidebar nested active";
|
||||
element.parentNode.childNodes[0].innerHTML = "-";
|
||||
}
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = ""
|
||||
element.className = "spanactive"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "active"
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch() {
|
||||
function Press(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "spanactive"
|
||||
}
|
||||
}
|
||||
|
||||
function unPress(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = ""
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch()
|
||||
{
|
||||
searchtext = document.getElementById("searchbox").value.toLowerCase();
|
||||
var res = [];
|
||||
var searchresults = document.getElementById("searchresults")
|
||||
@@ -45,6 +70,7 @@
|
||||
{
|
||||
if(namelist[i].toLowerCase().indexOf(searchtext) == -1) continue;
|
||||
var searchelement = document.createElement("li");
|
||||
searchelement.className = "sidebar"
|
||||
var link = document.createElement("a");
|
||||
searchelement.appendChild(link);
|
||||
link.setAttribute("href", documentlist[i]);
|
||||
@@ -57,104 +83,225 @@
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
pre {
|
||||
margin-left:16px;
|
||||
background-color: #EEE;
|
||||
border-color: #CCC;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
}
|
||||
.nested {
|
||||
display: none;
|
||||
border-left: 1px solid #000;
|
||||
|
||||
hr
|
||||
{
|
||||
color: #463c2a;
|
||||
}
|
||||
|
||||
ul.active {
|
||||
pre
|
||||
{
|
||||
margin-left:16px;
|
||||
background-color: #473c29;
|
||||
border-color: #3b3221;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.nested
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
ul.sidebar.active
|
||||
{
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 8px;
|
||||
ul.sidebar
|
||||
{
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
li ::marker {
|
||||
li.sidebar ::marker
|
||||
{
|
||||
color:#00000000;
|
||||
display:none;
|
||||
}
|
||||
|
||||
li {
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
padding-bottom:2px;
|
||||
padding-top:2px;
|
||||
margin-right:2px;
|
||||
}
|
||||
|
||||
li b {
|
||||
li.sidebar span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 1;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
border: black 1px solid;
|
||||
border-left-color: white;
|
||||
border-top-color: white;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.liicon {
|
||||
li.sidebar span span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 0;
|
||||
border: #463c2a 1px solid;
|
||||
background-color: #63553b;
|
||||
color: white;
|
||||
border-left-color: #8d8881;
|
||||
border-top-color: #8d8881;
|
||||
margin: 0px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
li.sidebar .spanactive
|
||||
{
|
||||
border-left-color: black;
|
||||
border-top-color: black;
|
||||
border-right-color: white;
|
||||
border-bottom-color: white;
|
||||
}
|
||||
|
||||
li.sidebar span .spanactive
|
||||
{
|
||||
border: #463c2a 1px solid;
|
||||
border-right-color: #8d8881;
|
||||
border-bottom-color: #8d8881;
|
||||
}
|
||||
|
||||
|
||||
.liicon
|
||||
{
|
||||
display:inline-block;
|
||||
width:12px;
|
||||
height:100%;
|
||||
font-family: monospace;
|
||||
font-size: 16px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
nav
|
||||
{
|
||||
background-color: #63553b;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
a
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
a:visited
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
background-color: #63553b;
|
||||
color:white;
|
||||
font-family:"Tahoma", sans-serif;
|
||||
font-size:9pt;
|
||||
}
|
||||
|
||||
.searchbox
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: #403624 1px solid;
|
||||
border-bottom-color: #837f7a;
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.searchboxcontainer
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: black 1px solid;
|
||||
border-bottom-color: white;
|
||||
border-right-color: white;
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
</style>
|
||||
<div style="position:fixed; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" style="width:192px;">
|
||||
<div style="position:absolute; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul id="searchresults">
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul id="filetree">
|
||||
<li><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">QScript</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Contributing</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">API</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Structs</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">QScript</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Contributing</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">API</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Structs</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">Lua</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Lua</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li class="sidebar"><b>Lua Exports</b></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Python</b>
|
||||
<ul class="nested">
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Squirrel</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Squirrel</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Tutorial</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Tutorial</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -164,7 +311,6 @@ li b {
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
<p id="errorp"></p>
|
||||
<h1>Lua Exports</h1>
|
||||
|
||||
<p>Here is the real meat and potatoes of QScript. The import/export system allows you to share objects, functions and classes between scripts and other languages! The system is stupidly simple to understand.</p>
|
||||
|
||||
@@ -9,25 +9,50 @@
|
||||
nested = element.parentNode.childNodes[3];
|
||||
if(nested.className.indexOf("active",0) != -1)
|
||||
{
|
||||
nested.className = "nested";
|
||||
nested.className = "sidebar nested";
|
||||
element.parentNode.childNodes[0].innerHTML = "+";
|
||||
}
|
||||
else
|
||||
{
|
||||
nested.className = "nested active";
|
||||
nested.className = "sidebar nested active";
|
||||
element.parentNode.childNodes[0].innerHTML = "-";
|
||||
}
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = ""
|
||||
element.className = "spanactive"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "active"
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch() {
|
||||
function Press(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "spanactive"
|
||||
}
|
||||
}
|
||||
|
||||
function unPress(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = ""
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch()
|
||||
{
|
||||
searchtext = document.getElementById("searchbox").value.toLowerCase();
|
||||
var res = [];
|
||||
var searchresults = document.getElementById("searchresults")
|
||||
@@ -45,6 +70,7 @@
|
||||
{
|
||||
if(namelist[i].toLowerCase().indexOf(searchtext) == -1) continue;
|
||||
var searchelement = document.createElement("li");
|
||||
searchelement.className = "sidebar"
|
||||
var link = document.createElement("a");
|
||||
searchelement.appendChild(link);
|
||||
link.setAttribute("href", documentlist[i]);
|
||||
@@ -57,104 +83,225 @@
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
pre {
|
||||
margin-left:16px;
|
||||
background-color: #EEE;
|
||||
border-color: #CCC;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
}
|
||||
.nested {
|
||||
display: none;
|
||||
border-left: 1px solid #000;
|
||||
|
||||
hr
|
||||
{
|
||||
color: #463c2a;
|
||||
}
|
||||
|
||||
ul.active {
|
||||
pre
|
||||
{
|
||||
margin-left:16px;
|
||||
background-color: #473c29;
|
||||
border-color: #3b3221;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.nested
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
ul.sidebar.active
|
||||
{
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 8px;
|
||||
ul.sidebar
|
||||
{
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
li ::marker {
|
||||
li.sidebar ::marker
|
||||
{
|
||||
color:#00000000;
|
||||
display:none;
|
||||
}
|
||||
|
||||
li {
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
padding-bottom:2px;
|
||||
padding-top:2px;
|
||||
margin-right:2px;
|
||||
}
|
||||
|
||||
li b {
|
||||
li.sidebar span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 1;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
border: black 1px solid;
|
||||
border-left-color: white;
|
||||
border-top-color: white;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.liicon {
|
||||
li.sidebar span span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 0;
|
||||
border: #463c2a 1px solid;
|
||||
background-color: #63553b;
|
||||
color: white;
|
||||
border-left-color: #8d8881;
|
||||
border-top-color: #8d8881;
|
||||
margin: 0px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
li.sidebar .spanactive
|
||||
{
|
||||
border-left-color: black;
|
||||
border-top-color: black;
|
||||
border-right-color: white;
|
||||
border-bottom-color: white;
|
||||
}
|
||||
|
||||
li.sidebar span .spanactive
|
||||
{
|
||||
border: #463c2a 1px solid;
|
||||
border-right-color: #8d8881;
|
||||
border-bottom-color: #8d8881;
|
||||
}
|
||||
|
||||
|
||||
.liicon
|
||||
{
|
||||
display:inline-block;
|
||||
width:12px;
|
||||
height:100%;
|
||||
font-family: monospace;
|
||||
font-size: 16px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
nav
|
||||
{
|
||||
background-color: #63553b;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
a
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
a:visited
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
background-color: #63553b;
|
||||
color:white;
|
||||
font-family:"Tahoma", sans-serif;
|
||||
font-size:9pt;
|
||||
}
|
||||
|
||||
.searchbox
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: #403624 1px solid;
|
||||
border-bottom-color: #837f7a;
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.searchboxcontainer
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: black 1px solid;
|
||||
border-bottom-color: white;
|
||||
border-right-color: white;
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
</style>
|
||||
<div style="position:fixed; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" style="width:192px;">
|
||||
<div style="position:absolute; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul id="searchresults">
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul id="filetree">
|
||||
<li><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">QScript</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Contributing</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">API</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Structs</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">QScript</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Contributing</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">API</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Structs</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">Lua</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Lua</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li class="sidebar"><b>Lua Imports</b></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Python</b>
|
||||
<ul class="nested">
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Squirrel</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Squirrel</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Tutorial</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Tutorial</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -164,7 +311,6 @@ li b {
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
<p id="errorp"></p>
|
||||
<h1>Lua Imports</h1>
|
||||
|
||||
<p>Now that you have exported some variables, something's gotta import them! As always, it is very simple to do.</p>
|
||||
|
||||
@@ -9,25 +9,50 @@
|
||||
nested = element.parentNode.childNodes[3];
|
||||
if(nested.className.indexOf("active",0) != -1)
|
||||
{
|
||||
nested.className = "nested";
|
||||
nested.className = "sidebar nested";
|
||||
element.parentNode.childNodes[0].innerHTML = "+";
|
||||
}
|
||||
else
|
||||
{
|
||||
nested.className = "nested active";
|
||||
nested.className = "sidebar nested active";
|
||||
element.parentNode.childNodes[0].innerHTML = "-";
|
||||
}
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = ""
|
||||
element.className = "spanactive"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "active"
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch() {
|
||||
function Press(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "spanactive"
|
||||
}
|
||||
}
|
||||
|
||||
function unPress(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = ""
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch()
|
||||
{
|
||||
searchtext = document.getElementById("searchbox").value.toLowerCase();
|
||||
var res = [];
|
||||
var searchresults = document.getElementById("searchresults")
|
||||
@@ -45,6 +70,7 @@
|
||||
{
|
||||
if(namelist[i].toLowerCase().indexOf(searchtext) == -1) continue;
|
||||
var searchelement = document.createElement("li");
|
||||
searchelement.className = "sidebar"
|
||||
var link = document.createElement("a");
|
||||
searchelement.appendChild(link);
|
||||
link.setAttribute("href", documentlist[i]);
|
||||
@@ -57,104 +83,225 @@
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
pre {
|
||||
margin-left:16px;
|
||||
background-color: #EEE;
|
||||
border-color: #CCC;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
}
|
||||
.nested {
|
||||
display: none;
|
||||
border-left: 1px solid #000;
|
||||
|
||||
hr
|
||||
{
|
||||
color: #463c2a;
|
||||
}
|
||||
|
||||
ul.active {
|
||||
pre
|
||||
{
|
||||
margin-left:16px;
|
||||
background-color: #473c29;
|
||||
border-color: #3b3221;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.nested
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
ul.sidebar.active
|
||||
{
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 8px;
|
||||
ul.sidebar
|
||||
{
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
li ::marker {
|
||||
li.sidebar ::marker
|
||||
{
|
||||
color:#00000000;
|
||||
display:none;
|
||||
}
|
||||
|
||||
li {
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
padding-bottom:2px;
|
||||
padding-top:2px;
|
||||
margin-right:2px;
|
||||
}
|
||||
|
||||
li b {
|
||||
li.sidebar span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 1;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
border: black 1px solid;
|
||||
border-left-color: white;
|
||||
border-top-color: white;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.liicon {
|
||||
li.sidebar span span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 0;
|
||||
border: #463c2a 1px solid;
|
||||
background-color: #63553b;
|
||||
color: white;
|
||||
border-left-color: #8d8881;
|
||||
border-top-color: #8d8881;
|
||||
margin: 0px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
li.sidebar .spanactive
|
||||
{
|
||||
border-left-color: black;
|
||||
border-top-color: black;
|
||||
border-right-color: white;
|
||||
border-bottom-color: white;
|
||||
}
|
||||
|
||||
li.sidebar span .spanactive
|
||||
{
|
||||
border: #463c2a 1px solid;
|
||||
border-right-color: #8d8881;
|
||||
border-bottom-color: #8d8881;
|
||||
}
|
||||
|
||||
|
||||
.liicon
|
||||
{
|
||||
display:inline-block;
|
||||
width:12px;
|
||||
height:100%;
|
||||
font-family: monospace;
|
||||
font-size: 16px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
nav
|
||||
{
|
||||
background-color: #63553b;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
a
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
a:visited
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
background-color: #63553b;
|
||||
color:white;
|
||||
font-family:"Tahoma", sans-serif;
|
||||
font-size:9pt;
|
||||
}
|
||||
|
||||
.searchbox
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: #403624 1px solid;
|
||||
border-bottom-color: #837f7a;
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.searchboxcontainer
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: black 1px solid;
|
||||
border-bottom-color: white;
|
||||
border-right-color: white;
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
</style>
|
||||
<div style="position:fixed; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" style="width:192px;">
|
||||
<div style="position:absolute; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul id="searchresults">
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul id="filetree">
|
||||
<li><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">QScript</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Contributing</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">API</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Structs</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">QScript</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Contributing</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">API</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Structs</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">Lua</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Lua</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li class="sidebar"><b>Lua Intro</b></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Python</b>
|
||||
<ul class="nested">
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Squirrel</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Squirrel</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Tutorial</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Tutorial</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -164,7 +311,6 @@ li b {
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
<p id="errorp"></p>
|
||||
<h1>Lua Intro</h1>
|
||||
|
||||
<p>The tutorial will assume that you already know the basics of Lua. If you do not know anything about it, then you can go to <a href="https://www.lua.org/pil/contents.html">the official PIL</a></p>
|
||||
|
||||
@@ -9,25 +9,50 @@
|
||||
nested = element.parentNode.childNodes[3];
|
||||
if(nested.className.indexOf("active",0) != -1)
|
||||
{
|
||||
nested.className = "nested";
|
||||
nested.className = "sidebar nested";
|
||||
element.parentNode.childNodes[0].innerHTML = "+";
|
||||
}
|
||||
else
|
||||
{
|
||||
nested.className = "nested active";
|
||||
nested.className = "sidebar nested active";
|
||||
element.parentNode.childNodes[0].innerHTML = "-";
|
||||
}
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = ""
|
||||
element.className = "spanactive"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "active"
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch() {
|
||||
function Press(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "spanactive"
|
||||
}
|
||||
}
|
||||
|
||||
function unPress(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = ""
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch()
|
||||
{
|
||||
searchtext = document.getElementById("searchbox").value.toLowerCase();
|
||||
var res = [];
|
||||
var searchresults = document.getElementById("searchresults")
|
||||
@@ -45,6 +70,7 @@
|
||||
{
|
||||
if(namelist[i].toLowerCase().indexOf(searchtext) == -1) continue;
|
||||
var searchelement = document.createElement("li");
|
||||
searchelement.className = "sidebar"
|
||||
var link = document.createElement("a");
|
||||
searchelement.appendChild(link);
|
||||
link.setAttribute("href", documentlist[i]);
|
||||
@@ -57,104 +83,225 @@
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
pre {
|
||||
margin-left:16px;
|
||||
background-color: #EEE;
|
||||
border-color: #CCC;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
}
|
||||
.nested {
|
||||
display: none;
|
||||
border-left: 1px solid #000;
|
||||
|
||||
hr
|
||||
{
|
||||
color: #463c2a;
|
||||
}
|
||||
|
||||
ul.active {
|
||||
pre
|
||||
{
|
||||
margin-left:16px;
|
||||
background-color: #473c29;
|
||||
border-color: #3b3221;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.nested
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
ul.sidebar.active
|
||||
{
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 8px;
|
||||
ul.sidebar
|
||||
{
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
li ::marker {
|
||||
li.sidebar ::marker
|
||||
{
|
||||
color:#00000000;
|
||||
display:none;
|
||||
}
|
||||
|
||||
li {
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
padding-bottom:2px;
|
||||
padding-top:2px;
|
||||
margin-right:2px;
|
||||
}
|
||||
|
||||
li b {
|
||||
li.sidebar span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 1;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
border: black 1px solid;
|
||||
border-left-color: white;
|
||||
border-top-color: white;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.liicon {
|
||||
li.sidebar span span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 0;
|
||||
border: #463c2a 1px solid;
|
||||
background-color: #63553b;
|
||||
color: white;
|
||||
border-left-color: #8d8881;
|
||||
border-top-color: #8d8881;
|
||||
margin: 0px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
li.sidebar .spanactive
|
||||
{
|
||||
border-left-color: black;
|
||||
border-top-color: black;
|
||||
border-right-color: white;
|
||||
border-bottom-color: white;
|
||||
}
|
||||
|
||||
li.sidebar span .spanactive
|
||||
{
|
||||
border: #463c2a 1px solid;
|
||||
border-right-color: #8d8881;
|
||||
border-bottom-color: #8d8881;
|
||||
}
|
||||
|
||||
|
||||
.liicon
|
||||
{
|
||||
display:inline-block;
|
||||
width:12px;
|
||||
height:100%;
|
||||
font-family: monospace;
|
||||
font-size: 16px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
nav
|
||||
{
|
||||
background-color: #63553b;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
a
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
a:visited
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
background-color: #63553b;
|
||||
color:white;
|
||||
font-family:"Tahoma", sans-serif;
|
||||
font-size:9pt;
|
||||
}
|
||||
|
||||
.searchbox
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: #403624 1px solid;
|
||||
border-bottom-color: #837f7a;
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.searchboxcontainer
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: black 1px solid;
|
||||
border-bottom-color: white;
|
||||
border-right-color: white;
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
</style>
|
||||
<div style="position:fixed; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" style="width:192px;">
|
||||
<div style="position:absolute; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul id="searchresults">
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul id="filetree">
|
||||
<li><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">QScript</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Contributing</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">API</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Structs</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">QScript</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Contributing</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">API</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Structs</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">Lua</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Lua</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li class="sidebar"><b>Lua Objects</b></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Python</b>
|
||||
<ul class="nested">
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Squirrel</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Squirrel</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Tutorial</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Tutorial</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -164,7 +311,6 @@ li b {
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
<p id="errorp"></p>
|
||||
<h1>Lua Objects</h1>
|
||||
|
||||
<p>Objects store a number of variables and functions which are defined in the class the object comes from. They kind of act like tables but are not modifiable. Meaning, if you wanted to make a new variable or function inside an object, you would get an error.</p>
|
||||
|
||||
@@ -9,25 +9,50 @@
|
||||
nested = element.parentNode.childNodes[3];
|
||||
if(nested.className.indexOf("active",0) != -1)
|
||||
{
|
||||
nested.className = "nested";
|
||||
nested.className = "sidebar nested";
|
||||
element.parentNode.childNodes[0].innerHTML = "+";
|
||||
}
|
||||
else
|
||||
{
|
||||
nested.className = "nested active";
|
||||
nested.className = "sidebar nested active";
|
||||
element.parentNode.childNodes[0].innerHTML = "-";
|
||||
}
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = ""
|
||||
element.className = "spanactive"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "active"
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch() {
|
||||
function Press(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "spanactive"
|
||||
}
|
||||
}
|
||||
|
||||
function unPress(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = ""
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch()
|
||||
{
|
||||
searchtext = document.getElementById("searchbox").value.toLowerCase();
|
||||
var res = [];
|
||||
var searchresults = document.getElementById("searchresults")
|
||||
@@ -45,6 +70,7 @@
|
||||
{
|
||||
if(namelist[i].toLowerCase().indexOf(searchtext) == -1) continue;
|
||||
var searchelement = document.createElement("li");
|
||||
searchelement.className = "sidebar"
|
||||
var link = document.createElement("a");
|
||||
searchelement.appendChild(link);
|
||||
link.setAttribute("href", documentlist[i]);
|
||||
@@ -57,104 +83,225 @@
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
pre {
|
||||
margin-left:16px;
|
||||
background-color: #EEE;
|
||||
border-color: #CCC;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
}
|
||||
.nested {
|
||||
display: none;
|
||||
border-left: 1px solid #000;
|
||||
|
||||
hr
|
||||
{
|
||||
color: #463c2a;
|
||||
}
|
||||
|
||||
ul.active {
|
||||
pre
|
||||
{
|
||||
margin-left:16px;
|
||||
background-color: #473c29;
|
||||
border-color: #3b3221;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.nested
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
ul.sidebar.active
|
||||
{
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 8px;
|
||||
ul.sidebar
|
||||
{
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
li ::marker {
|
||||
li.sidebar ::marker
|
||||
{
|
||||
color:#00000000;
|
||||
display:none;
|
||||
}
|
||||
|
||||
li {
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
padding-bottom:2px;
|
||||
padding-top:2px;
|
||||
margin-right:2px;
|
||||
}
|
||||
|
||||
li b {
|
||||
li.sidebar span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 1;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
border: black 1px solid;
|
||||
border-left-color: white;
|
||||
border-top-color: white;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.liicon {
|
||||
li.sidebar span span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 0;
|
||||
border: #463c2a 1px solid;
|
||||
background-color: #63553b;
|
||||
color: white;
|
||||
border-left-color: #8d8881;
|
||||
border-top-color: #8d8881;
|
||||
margin: 0px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
li.sidebar .spanactive
|
||||
{
|
||||
border-left-color: black;
|
||||
border-top-color: black;
|
||||
border-right-color: white;
|
||||
border-bottom-color: white;
|
||||
}
|
||||
|
||||
li.sidebar span .spanactive
|
||||
{
|
||||
border: #463c2a 1px solid;
|
||||
border-right-color: #8d8881;
|
||||
border-bottom-color: #8d8881;
|
||||
}
|
||||
|
||||
|
||||
.liicon
|
||||
{
|
||||
display:inline-block;
|
||||
width:12px;
|
||||
height:100%;
|
||||
font-family: monospace;
|
||||
font-size: 16px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
nav
|
||||
{
|
||||
background-color: #63553b;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
a
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
a:visited
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
background-color: #63553b;
|
||||
color:white;
|
||||
font-family:"Tahoma", sans-serif;
|
||||
font-size:9pt;
|
||||
}
|
||||
|
||||
.searchbox
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: #403624 1px solid;
|
||||
border-bottom-color: #837f7a;
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.searchboxcontainer
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: black 1px solid;
|
||||
border-bottom-color: white;
|
||||
border-right-color: white;
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
</style>
|
||||
<div style="position:fixed; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" style="width:192px;">
|
||||
<div style="position:absolute; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul id="searchresults">
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul id="filetree">
|
||||
<li><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">QScript</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Contributing</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">API</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Structs</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">QScript</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li class="sidebar"><b>Private Members</b></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Contributing</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">API</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Structs</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Lua</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Lua</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Python</b>
|
||||
<ul class="nested">
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Squirrel</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Squirrel</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Tutorial</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Tutorial</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -164,7 +311,6 @@ li b {
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
<p id="errorp"></p>
|
||||
<h1>Private Members</h1>
|
||||
|
||||
<p>Classes can have private members. They are inaccessible to anything else than the methods inside the class.</p>
|
||||
|
||||
@@ -9,25 +9,50 @@
|
||||
nested = element.parentNode.childNodes[3];
|
||||
if(nested.className.indexOf("active",0) != -1)
|
||||
{
|
||||
nested.className = "nested";
|
||||
nested.className = "sidebar nested";
|
||||
element.parentNode.childNodes[0].innerHTML = "+";
|
||||
}
|
||||
else
|
||||
{
|
||||
nested.className = "nested active";
|
||||
nested.className = "sidebar nested active";
|
||||
element.parentNode.childNodes[0].innerHTML = "-";
|
||||
}
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = ""
|
||||
element.className = "spanactive"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "active"
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch() {
|
||||
function Press(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "spanactive"
|
||||
}
|
||||
}
|
||||
|
||||
function unPress(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = ""
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch()
|
||||
{
|
||||
searchtext = document.getElementById("searchbox").value.toLowerCase();
|
||||
var res = [];
|
||||
var searchresults = document.getElementById("searchresults")
|
||||
@@ -45,6 +70,7 @@
|
||||
{
|
||||
if(namelist[i].toLowerCase().indexOf(searchtext) == -1) continue;
|
||||
var searchelement = document.createElement("li");
|
||||
searchelement.className = "sidebar"
|
||||
var link = document.createElement("a");
|
||||
searchelement.appendChild(link);
|
||||
link.setAttribute("href", documentlist[i]);
|
||||
@@ -57,104 +83,225 @@
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
pre {
|
||||
margin-left:16px;
|
||||
background-color: #EEE;
|
||||
border-color: #CCC;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
}
|
||||
.nested {
|
||||
display: none;
|
||||
border-left: 1px solid #000;
|
||||
|
||||
hr
|
||||
{
|
||||
color: #463c2a;
|
||||
}
|
||||
|
||||
ul.active {
|
||||
pre
|
||||
{
|
||||
margin-left:16px;
|
||||
background-color: #473c29;
|
||||
border-color: #3b3221;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.nested
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
ul.sidebar.active
|
||||
{
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 8px;
|
||||
ul.sidebar
|
||||
{
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
li ::marker {
|
||||
li.sidebar ::marker
|
||||
{
|
||||
color:#00000000;
|
||||
display:none;
|
||||
}
|
||||
|
||||
li {
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
padding-bottom:2px;
|
||||
padding-top:2px;
|
||||
margin-right:2px;
|
||||
}
|
||||
|
||||
li b {
|
||||
li.sidebar span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 1;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
border: black 1px solid;
|
||||
border-left-color: white;
|
||||
border-top-color: white;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.liicon {
|
||||
li.sidebar span span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 0;
|
||||
border: #463c2a 1px solid;
|
||||
background-color: #63553b;
|
||||
color: white;
|
||||
border-left-color: #8d8881;
|
||||
border-top-color: #8d8881;
|
||||
margin: 0px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
li.sidebar .spanactive
|
||||
{
|
||||
border-left-color: black;
|
||||
border-top-color: black;
|
||||
border-right-color: white;
|
||||
border-bottom-color: white;
|
||||
}
|
||||
|
||||
li.sidebar span .spanactive
|
||||
{
|
||||
border: #463c2a 1px solid;
|
||||
border-right-color: #8d8881;
|
||||
border-bottom-color: #8d8881;
|
||||
}
|
||||
|
||||
|
||||
.liicon
|
||||
{
|
||||
display:inline-block;
|
||||
width:12px;
|
||||
height:100%;
|
||||
font-family: monospace;
|
||||
font-size: 16px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
nav
|
||||
{
|
||||
background-color: #63553b;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
a
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
a:visited
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
background-color: #63553b;
|
||||
color:white;
|
||||
font-family:"Tahoma", sans-serif;
|
||||
font-size:9pt;
|
||||
}
|
||||
|
||||
.searchbox
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: #403624 1px solid;
|
||||
border-bottom-color: #837f7a;
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.searchboxcontainer
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: black 1px solid;
|
||||
border-bottom-color: white;
|
||||
border-right-color: white;
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
</style>
|
||||
<div style="position:fixed; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" style="width:192px;">
|
||||
<div style="position:absolute; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul id="searchresults">
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul id="filetree">
|
||||
<li><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">QScript</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Contributing</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">API</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Structs</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">QScript</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Contributing</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">API</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Structs</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Lua</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Lua</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Python</b>
|
||||
<ul class="nested">
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">Squirrel</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Squirrel</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><b>Squirrel Exports and Imports</b></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Tutorial</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Tutorial</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -164,7 +311,6 @@ li b {
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
<p id="errorp"></p>
|
||||
<h1>Squirrel Exports and Imports</h1>
|
||||
|
||||
<p>The main big feature of QScript is the export system. It lets you export classes, objects and functions which other files can import from your script.</p>
|
||||
|
||||
@@ -9,25 +9,50 @@
|
||||
nested = element.parentNode.childNodes[3];
|
||||
if(nested.className.indexOf("active",0) != -1)
|
||||
{
|
||||
nested.className = "nested";
|
||||
nested.className = "sidebar nested";
|
||||
element.parentNode.childNodes[0].innerHTML = "+";
|
||||
}
|
||||
else
|
||||
{
|
||||
nested.className = "nested active";
|
||||
nested.className = "sidebar nested active";
|
||||
element.parentNode.childNodes[0].innerHTML = "-";
|
||||
}
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = ""
|
||||
element.className = "spanactive"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "active"
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch() {
|
||||
function Press(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "spanactive"
|
||||
}
|
||||
}
|
||||
|
||||
function unPress(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = ""
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch()
|
||||
{
|
||||
searchtext = document.getElementById("searchbox").value.toLowerCase();
|
||||
var res = [];
|
||||
var searchresults = document.getElementById("searchresults")
|
||||
@@ -45,6 +70,7 @@
|
||||
{
|
||||
if(namelist[i].toLowerCase().indexOf(searchtext) == -1) continue;
|
||||
var searchelement = document.createElement("li");
|
||||
searchelement.className = "sidebar"
|
||||
var link = document.createElement("a");
|
||||
searchelement.appendChild(link);
|
||||
link.setAttribute("href", documentlist[i]);
|
||||
@@ -57,104 +83,225 @@
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
pre {
|
||||
margin-left:16px;
|
||||
background-color: #EEE;
|
||||
border-color: #CCC;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
}
|
||||
.nested {
|
||||
display: none;
|
||||
border-left: 1px solid #000;
|
||||
|
||||
hr
|
||||
{
|
||||
color: #463c2a;
|
||||
}
|
||||
|
||||
ul.active {
|
||||
pre
|
||||
{
|
||||
margin-left:16px;
|
||||
background-color: #473c29;
|
||||
border-color: #3b3221;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.nested
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
ul.sidebar.active
|
||||
{
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 8px;
|
||||
ul.sidebar
|
||||
{
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
li ::marker {
|
||||
li.sidebar ::marker
|
||||
{
|
||||
color:#00000000;
|
||||
display:none;
|
||||
}
|
||||
|
||||
li {
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
padding-bottom:2px;
|
||||
padding-top:2px;
|
||||
margin-right:2px;
|
||||
}
|
||||
|
||||
li b {
|
||||
li.sidebar span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 1;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
border: black 1px solid;
|
||||
border-left-color: white;
|
||||
border-top-color: white;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.liicon {
|
||||
li.sidebar span span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 0;
|
||||
border: #463c2a 1px solid;
|
||||
background-color: #63553b;
|
||||
color: white;
|
||||
border-left-color: #8d8881;
|
||||
border-top-color: #8d8881;
|
||||
margin: 0px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
li.sidebar .spanactive
|
||||
{
|
||||
border-left-color: black;
|
||||
border-top-color: black;
|
||||
border-right-color: white;
|
||||
border-bottom-color: white;
|
||||
}
|
||||
|
||||
li.sidebar span .spanactive
|
||||
{
|
||||
border: #463c2a 1px solid;
|
||||
border-right-color: #8d8881;
|
||||
border-bottom-color: #8d8881;
|
||||
}
|
||||
|
||||
|
||||
.liicon
|
||||
{
|
||||
display:inline-block;
|
||||
width:12px;
|
||||
height:100%;
|
||||
font-family: monospace;
|
||||
font-size: 16px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
nav
|
||||
{
|
||||
background-color: #63553b;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
a
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
a:visited
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
background-color: #63553b;
|
||||
color:white;
|
||||
font-family:"Tahoma", sans-serif;
|
||||
font-size:9pt;
|
||||
}
|
||||
|
||||
.searchbox
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: #403624 1px solid;
|
||||
border-bottom-color: #837f7a;
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.searchboxcontainer
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: black 1px solid;
|
||||
border-bottom-color: white;
|
||||
border-right-color: white;
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
</style>
|
||||
<div style="position:fixed; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" style="width:192px;">
|
||||
<div style="position:absolute; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul id="searchresults">
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul id="filetree">
|
||||
<li><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">QScript</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Contributing</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">API</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Structs</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">QScript</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Contributing</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">API</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Structs</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Lua</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Lua</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Python</b>
|
||||
<ul class="nested">
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">Squirrel</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Squirrel</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li class="sidebar"><b>Squirrel Intro</b></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Tutorial</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Tutorial</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -164,7 +311,6 @@ li b {
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
<p id="errorp"></p>
|
||||
<h1>Squirrel Intro</h1>
|
||||
|
||||
<p>The following pages will assume that you know the basics of Squirrel. If you need a refresher, go to the official documentation linked <a href="https://squirrel-lang.org/squirreldoc/reference/index.html">here</a></p>
|
||||
|
||||
@@ -9,25 +9,50 @@
|
||||
nested = element.parentNode.childNodes[3];
|
||||
if(nested.className.indexOf("active",0) != -1)
|
||||
{
|
||||
nested.className = "nested";
|
||||
nested.className = "sidebar nested";
|
||||
element.parentNode.childNodes[0].innerHTML = "+";
|
||||
}
|
||||
else
|
||||
{
|
||||
nested.className = "nested active";
|
||||
nested.className = "sidebar nested active";
|
||||
element.parentNode.childNodes[0].innerHTML = "-";
|
||||
}
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = ""
|
||||
element.className = "spanactive"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "active"
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch() {
|
||||
function Press(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "spanactive"
|
||||
}
|
||||
}
|
||||
|
||||
function unPress(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = ""
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch()
|
||||
{
|
||||
searchtext = document.getElementById("searchbox").value.toLowerCase();
|
||||
var res = [];
|
||||
var searchresults = document.getElementById("searchresults")
|
||||
@@ -45,6 +70,7 @@
|
||||
{
|
||||
if(namelist[i].toLowerCase().indexOf(searchtext) == -1) continue;
|
||||
var searchelement = document.createElement("li");
|
||||
searchelement.className = "sidebar"
|
||||
var link = document.createElement("a");
|
||||
searchelement.appendChild(link);
|
||||
link.setAttribute("href", documentlist[i]);
|
||||
@@ -57,104 +83,225 @@
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
pre {
|
||||
margin-left:16px;
|
||||
background-color: #EEE;
|
||||
border-color: #CCC;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
}
|
||||
.nested {
|
||||
display: none;
|
||||
border-left: 1px solid #000;
|
||||
|
||||
hr
|
||||
{
|
||||
color: #463c2a;
|
||||
}
|
||||
|
||||
ul.active {
|
||||
pre
|
||||
{
|
||||
margin-left:16px;
|
||||
background-color: #473c29;
|
||||
border-color: #3b3221;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.nested
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
ul.sidebar.active
|
||||
{
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 8px;
|
||||
ul.sidebar
|
||||
{
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
li ::marker {
|
||||
li.sidebar ::marker
|
||||
{
|
||||
color:#00000000;
|
||||
display:none;
|
||||
}
|
||||
|
||||
li {
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
padding-bottom:2px;
|
||||
padding-top:2px;
|
||||
margin-right:2px;
|
||||
}
|
||||
|
||||
li b {
|
||||
li.sidebar span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 1;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
border: black 1px solid;
|
||||
border-left-color: white;
|
||||
border-top-color: white;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.liicon {
|
||||
li.sidebar span span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 0;
|
||||
border: #463c2a 1px solid;
|
||||
background-color: #63553b;
|
||||
color: white;
|
||||
border-left-color: #8d8881;
|
||||
border-top-color: #8d8881;
|
||||
margin: 0px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
li.sidebar .spanactive
|
||||
{
|
||||
border-left-color: black;
|
||||
border-top-color: black;
|
||||
border-right-color: white;
|
||||
border-bottom-color: white;
|
||||
}
|
||||
|
||||
li.sidebar span .spanactive
|
||||
{
|
||||
border: #463c2a 1px solid;
|
||||
border-right-color: #8d8881;
|
||||
border-bottom-color: #8d8881;
|
||||
}
|
||||
|
||||
|
||||
.liicon
|
||||
{
|
||||
display:inline-block;
|
||||
width:12px;
|
||||
height:100%;
|
||||
font-family: monospace;
|
||||
font-size: 16px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
nav
|
||||
{
|
||||
background-color: #63553b;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
a
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
a:visited
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
background-color: #63553b;
|
||||
color:white;
|
||||
font-family:"Tahoma", sans-serif;
|
||||
font-size:9pt;
|
||||
}
|
||||
|
||||
.searchbox
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: #403624 1px solid;
|
||||
border-bottom-color: #837f7a;
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.searchboxcontainer
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: black 1px solid;
|
||||
border-bottom-color: white;
|
||||
border-right-color: white;
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
</style>
|
||||
<div style="position:fixed; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" style="width:192px;">
|
||||
<div style="position:absolute; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul id="searchresults">
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul id="filetree">
|
||||
<li><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">QScript</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Contributing</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">API</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Structs</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">QScript</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Contributing</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">API</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Structs</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Lua</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Lua</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Python</b>
|
||||
<ul class="nested">
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Squirrel</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Squirrel</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">Tutorial</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Tutorial</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><b>QScript Tutorial Page 1: Mods</b></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -164,7 +311,6 @@ li b {
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
<p id="errorp"></p>
|
||||
<h1>QScript Tutorial Page 1: Mods</h1>
|
||||
|
||||
<p>QScript operates on "mods" which are folders inside the <code>sourcebox/mods/</code> directory.</p>
|
||||
|
||||
@@ -9,25 +9,50 @@
|
||||
nested = element.parentNode.childNodes[3];
|
||||
if(nested.className.indexOf("active",0) != -1)
|
||||
{
|
||||
nested.className = "nested";
|
||||
nested.className = "sidebar nested";
|
||||
element.parentNode.childNodes[0].innerHTML = "+";
|
||||
}
|
||||
else
|
||||
{
|
||||
nested.className = "nested active";
|
||||
nested.className = "sidebar nested active";
|
||||
element.parentNode.childNodes[0].innerHTML = "-";
|
||||
}
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = ""
|
||||
element.className = "spanactive"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "active"
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch() {
|
||||
function Press(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "spanactive"
|
||||
}
|
||||
}
|
||||
|
||||
function unPress(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = ""
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch()
|
||||
{
|
||||
searchtext = document.getElementById("searchbox").value.toLowerCase();
|
||||
var res = [];
|
||||
var searchresults = document.getElementById("searchresults")
|
||||
@@ -45,6 +70,7 @@
|
||||
{
|
||||
if(namelist[i].toLowerCase().indexOf(searchtext) == -1) continue;
|
||||
var searchelement = document.createElement("li");
|
||||
searchelement.className = "sidebar"
|
||||
var link = document.createElement("a");
|
||||
searchelement.appendChild(link);
|
||||
link.setAttribute("href", documentlist[i]);
|
||||
@@ -57,104 +83,225 @@
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
pre {
|
||||
margin-left:16px;
|
||||
background-color: #EEE;
|
||||
border-color: #CCC;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
}
|
||||
.nested {
|
||||
display: none;
|
||||
border-left: 1px solid #000;
|
||||
|
||||
hr
|
||||
{
|
||||
color: #463c2a;
|
||||
}
|
||||
|
||||
ul.active {
|
||||
pre
|
||||
{
|
||||
margin-left:16px;
|
||||
background-color: #473c29;
|
||||
border-color: #3b3221;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.nested
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
ul.sidebar.active
|
||||
{
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 8px;
|
||||
ul.sidebar
|
||||
{
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
li ::marker {
|
||||
li.sidebar ::marker
|
||||
{
|
||||
color:#00000000;
|
||||
display:none;
|
||||
}
|
||||
|
||||
li {
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
padding-bottom:2px;
|
||||
padding-top:2px;
|
||||
margin-right:2px;
|
||||
}
|
||||
|
||||
li b {
|
||||
li.sidebar span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 1;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
border: black 1px solid;
|
||||
border-left-color: white;
|
||||
border-top-color: white;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.liicon {
|
||||
li.sidebar span span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 0;
|
||||
border: #463c2a 1px solid;
|
||||
background-color: #63553b;
|
||||
color: white;
|
||||
border-left-color: #8d8881;
|
||||
border-top-color: #8d8881;
|
||||
margin: 0px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
li.sidebar .spanactive
|
||||
{
|
||||
border-left-color: black;
|
||||
border-top-color: black;
|
||||
border-right-color: white;
|
||||
border-bottom-color: white;
|
||||
}
|
||||
|
||||
li.sidebar span .spanactive
|
||||
{
|
||||
border: #463c2a 1px solid;
|
||||
border-right-color: #8d8881;
|
||||
border-bottom-color: #8d8881;
|
||||
}
|
||||
|
||||
|
||||
.liicon
|
||||
{
|
||||
display:inline-block;
|
||||
width:12px;
|
||||
height:100%;
|
||||
font-family: monospace;
|
||||
font-size: 16px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
nav
|
||||
{
|
||||
background-color: #63553b;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
a
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
a:visited
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
background-color: #63553b;
|
||||
color:white;
|
||||
font-family:"Tahoma", sans-serif;
|
||||
font-size:9pt;
|
||||
}
|
||||
|
||||
.searchbox
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: #403624 1px solid;
|
||||
border-bottom-color: #837f7a;
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.searchboxcontainer
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: black 1px solid;
|
||||
border-bottom-color: white;
|
||||
border-right-color: white;
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
</style>
|
||||
<div style="position:fixed; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" style="width:192px;">
|
||||
<div style="position:absolute; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul id="searchresults">
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul id="filetree">
|
||||
<li><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">QScript</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Contributing</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">API</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Structs</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">QScript</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Contributing</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">API</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Structs</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Lua</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Lua</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Python</b>
|
||||
<ul class="nested">
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Squirrel</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Squirrel</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">-</small><b onclick="toggleTree(this);">Tutorial</b>
|
||||
<ul class="nested active">
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
<li class="sidebar"><small class="liicon">-</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Tutorial</span></span>
|
||||
<ul class="sidebar nested active">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li class="sidebar"><b>QScript Tutorial Page 2: Getting to work</b></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -164,7 +311,6 @@ li b {
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
<p id="errorp"></p>
|
||||
<h1>QScript Tutorial Page 2: Getting to work</h1>
|
||||
|
||||
<p>In your freshly created folder, make a new file called <code>autorun_client</code> with the extension of your favorite programming language that QScript supports.</p>
|
||||
|
||||
274
dst/index.html
274
dst/index.html
@@ -9,25 +9,50 @@
|
||||
nested = element.parentNode.childNodes[3];
|
||||
if(nested.className.indexOf("active",0) != -1)
|
||||
{
|
||||
nested.className = "nested";
|
||||
nested.className = "sidebar nested";
|
||||
element.parentNode.childNodes[0].innerHTML = "+";
|
||||
}
|
||||
else
|
||||
{
|
||||
nested.className = "nested active";
|
||||
nested.className = "sidebar nested active";
|
||||
element.parentNode.childNodes[0].innerHTML = "-";
|
||||
}
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = ""
|
||||
element.className = "spanactive"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "active"
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch() {
|
||||
function Press(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "spanactive"
|
||||
}
|
||||
}
|
||||
|
||||
function unPress(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = ""
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch()
|
||||
{
|
||||
searchtext = document.getElementById("searchbox").value.toLowerCase();
|
||||
var res = [];
|
||||
var searchresults = document.getElementById("searchresults")
|
||||
@@ -45,6 +70,7 @@
|
||||
{
|
||||
if(namelist[i].toLowerCase().indexOf(searchtext) == -1) continue;
|
||||
var searchelement = document.createElement("li");
|
||||
searchelement.className = "sidebar"
|
||||
var link = document.createElement("a");
|
||||
searchelement.appendChild(link);
|
||||
link.setAttribute("href", documentlist[i]);
|
||||
@@ -57,104 +83,225 @@
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
pre {
|
||||
margin-left:16px;
|
||||
background-color: #EEE;
|
||||
border-color: #CCC;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
}
|
||||
.nested {
|
||||
display: none;
|
||||
border-left: 1px solid #000;
|
||||
|
||||
hr
|
||||
{
|
||||
color: #463c2a;
|
||||
}
|
||||
|
||||
ul.active {
|
||||
pre
|
||||
{
|
||||
margin-left:16px;
|
||||
background-color: #473c29;
|
||||
border-color: #3b3221;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.nested
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
ul.sidebar.active
|
||||
{
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 8px;
|
||||
ul.sidebar
|
||||
{
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
li ::marker {
|
||||
li.sidebar ::marker
|
||||
{
|
||||
color:#00000000;
|
||||
display:none;
|
||||
}
|
||||
|
||||
li {
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
padding-bottom:2px;
|
||||
padding-top:2px;
|
||||
margin-right:2px;
|
||||
}
|
||||
|
||||
li b {
|
||||
li.sidebar span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 1;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
border: black 1px solid;
|
||||
border-left-color: white;
|
||||
border-top-color: white;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.liicon {
|
||||
li.sidebar span span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 0;
|
||||
border: #463c2a 1px solid;
|
||||
background-color: #63553b;
|
||||
color: white;
|
||||
border-left-color: #8d8881;
|
||||
border-top-color: #8d8881;
|
||||
margin: 0px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
li.sidebar .spanactive
|
||||
{
|
||||
border-left-color: black;
|
||||
border-top-color: black;
|
||||
border-right-color: white;
|
||||
border-bottom-color: white;
|
||||
}
|
||||
|
||||
li.sidebar span .spanactive
|
||||
{
|
||||
border: #463c2a 1px solid;
|
||||
border-right-color: #8d8881;
|
||||
border-bottom-color: #8d8881;
|
||||
}
|
||||
|
||||
|
||||
.liicon
|
||||
{
|
||||
display:inline-block;
|
||||
width:12px;
|
||||
height:100%;
|
||||
font-family: monospace;
|
||||
font-size: 16px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
nav
|
||||
{
|
||||
background-color: #63553b;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
a
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
a:visited
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
background-color: #63553b;
|
||||
color:white;
|
||||
font-family:"Tahoma", sans-serif;
|
||||
font-size:9pt;
|
||||
}
|
||||
|
||||
.searchbox
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: #403624 1px solid;
|
||||
border-bottom-color: #837f7a;
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.searchboxcontainer
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: black 1px solid;
|
||||
border-bottom-color: white;
|
||||
border-right-color: white;
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
</style>
|
||||
<div style="position:fixed; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" style="width:192px;">
|
||||
<div style="position:absolute; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul id="searchresults">
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul id="filetree">
|
||||
<li><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">QScript</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Contributing</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">API</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Structs</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><b>Wiki Intro</b></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">QScript</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Introduction.html">QScript Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Private_Members.html">Private Members</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Contributing</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/Contributing.html">Contributing</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">API</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/qscript.html">QScript API</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Structs</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QCFunc.html">QCFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QModuleDefFunc.html">QModuleDefFunc</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptCallback.html">QScriptCallback</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClass.html">QScriptClass</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QScriptClassCreator.html">QScriptClassCreator</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QType.html">QType</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Contributing/API/Structs/QValue.html">QValue</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Lua</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Lua</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Classes.html">Lua Classes</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Exports.html">Lua Exports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Imports.html">Lua Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Intro.html">Lua Intro</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Python</b>
|
||||
<ul class="nested">
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Squirrel</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Squirrel</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Exports_And_Imports.html">Squirrel Exports and Imports</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Squirrel/Intro.html">Squirrel Intro</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><small class="liicon">+</small><b onclick="toggleTree(this);">Tutorial</b>
|
||||
<ul class="nested">
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
<li class="sidebar"><small class="liicon">+</small><span onmousedown="toggleTree(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);"><span onmousedown="Press(this);" onmouseleave="unPress(this);" onmouseup="unPress(this);">Tutorial</span></span>
|
||||
<ul class="sidebar nested">
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter1.html">QScript Tutorial Page 1: Mods</a></li>
|
||||
<li class="sidebar"><a href="/wiki/QScript/Tutorial/Chapter2.html">QScript Tutorial Page 2: Getting to work</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -164,7 +311,6 @@ li b {
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
<p id="errorp"></p>
|
||||
<h1>Wiki Intro</h1>
|
||||
|
||||
<p>Welcome to the SourceBox wiki!</p>
|
||||
|
||||
200
template.html
200
template.html
@@ -9,25 +9,50 @@
|
||||
nested = element.parentNode.childNodes[3];
|
||||
if(nested.className.indexOf("active",0) != -1)
|
||||
{
|
||||
nested.className = "nested";
|
||||
nested.className = "sidebar nested";
|
||||
element.parentNode.childNodes[0].innerHTML = "+";
|
||||
}
|
||||
else
|
||||
{
|
||||
nested.className = "nested active";
|
||||
nested.className = "sidebar nested active";
|
||||
element.parentNode.childNodes[0].innerHTML = "-";
|
||||
}
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = ""
|
||||
element.className = "spanactive"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "active"
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch() {
|
||||
function Press(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "spanactive active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "spanactive"
|
||||
}
|
||||
}
|
||||
|
||||
function unPress(element)
|
||||
{
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = "active"
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = ""
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch()
|
||||
{
|
||||
searchtext = document.getElementById("searchbox").value.toLowerCase();
|
||||
var res = [];
|
||||
var searchresults = document.getElementById("searchresults")
|
||||
@@ -45,6 +70,7 @@
|
||||
{
|
||||
if(namelist[i].toLowerCase().indexOf(searchtext) == -1) continue;
|
||||
var searchelement = document.createElement("li");
|
||||
searchelement.className = "sidebar"
|
||||
var link = document.createElement("a");
|
||||
searchelement.appendChild(link);
|
||||
link.setAttribute("href", documentlist[i]);
|
||||
@@ -57,60 +83,180 @@
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
pre {
|
||||
margin-left:16px;
|
||||
background-color: #EEE;
|
||||
border-color: #CCC;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
}
|
||||
.nested {
|
||||
display: none;
|
||||
border-left: 1px solid #000;
|
||||
|
||||
hr
|
||||
{
|
||||
color: #463c2a;
|
||||
}
|
||||
|
||||
ul.active {
|
||||
pre
|
||||
{
|
||||
margin-left:16px;
|
||||
background-color: #473c29;
|
||||
border-color: #3b3221;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.nested
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
ul.sidebar.active
|
||||
{
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 8px;
|
||||
ul.sidebar
|
||||
{
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
li ::marker {
|
||||
li.sidebar ::marker
|
||||
{
|
||||
color:#00000000;
|
||||
display:none;
|
||||
}
|
||||
|
||||
li {
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
padding-bottom:2px;
|
||||
padding-top:2px;
|
||||
margin-right:2px;
|
||||
}
|
||||
|
||||
li b {
|
||||
li.sidebar span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 1;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
border: black 1px solid;
|
||||
border-left-color: white;
|
||||
border-top-color: white;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.liicon {
|
||||
li.sidebar span span
|
||||
{
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
z-index: 0;
|
||||
border: #463c2a 1px solid;
|
||||
background-color: #63553b;
|
||||
color: white;
|
||||
border-left-color: #8d8881;
|
||||
border-top-color: #8d8881;
|
||||
margin: 0px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
li.sidebar .spanactive
|
||||
{
|
||||
border-left-color: black;
|
||||
border-top-color: black;
|
||||
border-right-color: white;
|
||||
border-bottom-color: white;
|
||||
}
|
||||
|
||||
li.sidebar span .spanactive
|
||||
{
|
||||
border: #463c2a 1px solid;
|
||||
border-right-color: #8d8881;
|
||||
border-bottom-color: #8d8881;
|
||||
}
|
||||
|
||||
|
||||
.liicon
|
||||
{
|
||||
display:inline-block;
|
||||
width:12px;
|
||||
height:100%;
|
||||
font-family: monospace;
|
||||
font-size: 16px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
nav
|
||||
{
|
||||
background-color: #63553b;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
a
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
a:visited
|
||||
{
|
||||
color: #f79b08;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
background-color: #63553b;
|
||||
color:white;
|
||||
font-family:"Tahoma", sans-serif;
|
||||
font-size:9pt;
|
||||
}
|
||||
|
||||
.searchbox
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: #403624 1px solid;
|
||||
border-bottom-color: #837f7a;
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.searchboxcontainer
|
||||
{
|
||||
background-color: #473c29;
|
||||
border: black 1px solid;
|
||||
border-bottom-color: white;
|
||||
border-right-color: white;
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
</style>
|
||||
<div style="position:fixed; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" style="width:192px;">
|
||||
<div style="position:absolute; display:block; top: 0px; left: 0px; height:100%; width:200px;border-color: black; border-width: 1px; border-style:solid;">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul id="searchresults">
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul id="filetree">
|
||||
<ul class="sidebar" id="filetree">
|
||||
@FILETREE
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
<p id="errorp"></p>
|
||||
@CONTENT
|
||||
</div>
|
||||
Reference in New Issue
Block a user