mirror of
https://github.com/celisej567/wiki.git
synced 2025-12-31 01:49:32 +03:00
Better "sidebar" (more like cornerbar)
This commit is contained in:
@@ -97,6 +97,7 @@ pre
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
display:flex;
|
||||
}
|
||||
|
||||
.nested
|
||||
@@ -123,8 +124,9 @@ li.sidebar ::marker
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
background-color:#4A3F2C;
|
||||
border-bottom: #312A1D 1px solid;
|
||||
border-right: #312A1D 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
@@ -221,11 +223,9 @@ body
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
width:196px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
@@ -241,19 +241,35 @@ input:focus {
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
height:18px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.sidebarcontainer
|
||||
{
|
||||
float:right;
|
||||
display:block;
|
||||
top: -16px;
|
||||
right: -8px;
|
||||
margin-left: 8px;
|
||||
width:200px;
|
||||
border-color: black;
|
||||
border-width: 1px;
|
||||
border-style:solid;
|
||||
position:relative;
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
<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 class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<div>
|
||||
<div class="sidebarcontainer">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<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>
|
||||
@@ -288,10 +304,6 @@ input:focus {
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</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);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</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>
|
||||
@@ -307,10 +319,9 @@ input:focus {
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<h1>QCFunc</h1>
|
||||
|
||||
</div>
|
||||
@@ -97,6 +97,7 @@ pre
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
display:flex;
|
||||
}
|
||||
|
||||
.nested
|
||||
@@ -123,8 +124,9 @@ li.sidebar ::marker
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
background-color:#4A3F2C;
|
||||
border-bottom: #312A1D 1px solid;
|
||||
border-right: #312A1D 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
@@ -221,11 +223,9 @@ body
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
width:196px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
@@ -241,19 +241,35 @@ input:focus {
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
height:18px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.sidebarcontainer
|
||||
{
|
||||
float:right;
|
||||
display:block;
|
||||
top: -16px;
|
||||
right: -8px;
|
||||
margin-left: 8px;
|
||||
width:200px;
|
||||
border-color: black;
|
||||
border-width: 1px;
|
||||
border-style:solid;
|
||||
position:relative;
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
<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 class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<div>
|
||||
<div class="sidebarcontainer">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<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>
|
||||
@@ -288,10 +304,6 @@ input:focus {
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</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);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</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>
|
||||
@@ -307,10 +319,9 @@ input:focus {
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<h1>QModuleDefFunc</h1>
|
||||
|
||||
</div>
|
||||
@@ -97,6 +97,7 @@ pre
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
display:flex;
|
||||
}
|
||||
|
||||
.nested
|
||||
@@ -123,8 +124,9 @@ li.sidebar ::marker
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
background-color:#4A3F2C;
|
||||
border-bottom: #312A1D 1px solid;
|
||||
border-right: #312A1D 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
@@ -221,11 +223,9 @@ body
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
width:196px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
@@ -241,19 +241,35 @@ input:focus {
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
height:18px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.sidebarcontainer
|
||||
{
|
||||
float:right;
|
||||
display:block;
|
||||
top: -16px;
|
||||
right: -8px;
|
||||
margin-left: 8px;
|
||||
width:200px;
|
||||
border-color: black;
|
||||
border-width: 1px;
|
||||
border-style:solid;
|
||||
position:relative;
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
<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 class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<div>
|
||||
<div class="sidebarcontainer">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<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>
|
||||
@@ -288,10 +304,6 @@ input:focus {
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</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);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</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>
|
||||
@@ -307,10 +319,9 @@ input:focus {
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<h1>QScriptCallback</h1>
|
||||
|
||||
</div>
|
||||
@@ -97,6 +97,7 @@ pre
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
display:flex;
|
||||
}
|
||||
|
||||
.nested
|
||||
@@ -123,8 +124,9 @@ li.sidebar ::marker
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
background-color:#4A3F2C;
|
||||
border-bottom: #312A1D 1px solid;
|
||||
border-right: #312A1D 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
@@ -221,11 +223,9 @@ body
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
width:196px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
@@ -241,19 +241,35 @@ input:focus {
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
height:18px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.sidebarcontainer
|
||||
{
|
||||
float:right;
|
||||
display:block;
|
||||
top: -16px;
|
||||
right: -8px;
|
||||
margin-left: 8px;
|
||||
width:200px;
|
||||
border-color: black;
|
||||
border-width: 1px;
|
||||
border-style:solid;
|
||||
position:relative;
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
<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 class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<div>
|
||||
<div class="sidebarcontainer">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<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>
|
||||
@@ -288,10 +304,6 @@ input:focus {
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</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);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</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>
|
||||
@@ -307,10 +319,9 @@ input:focus {
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<h1>QScriptClass</h1>
|
||||
|
||||
</div>
|
||||
@@ -97,6 +97,7 @@ pre
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
display:flex;
|
||||
}
|
||||
|
||||
.nested
|
||||
@@ -123,8 +124,9 @@ li.sidebar ::marker
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
background-color:#4A3F2C;
|
||||
border-bottom: #312A1D 1px solid;
|
||||
border-right: #312A1D 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
@@ -221,11 +223,9 @@ body
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
width:196px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
@@ -241,19 +241,35 @@ input:focus {
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
height:18px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.sidebarcontainer
|
||||
{
|
||||
float:right;
|
||||
display:block;
|
||||
top: -16px;
|
||||
right: -8px;
|
||||
margin-left: 8px;
|
||||
width:200px;
|
||||
border-color: black;
|
||||
border-width: 1px;
|
||||
border-style:solid;
|
||||
position:relative;
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
<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 class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<div>
|
||||
<div class="sidebarcontainer">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<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>
|
||||
@@ -288,10 +304,6 @@ input:focus {
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</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);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</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>
|
||||
@@ -307,10 +319,9 @@ input:focus {
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<h1>QScriptClassCreator</h1>
|
||||
|
||||
</div>
|
||||
@@ -97,6 +97,7 @@ pre
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
display:flex;
|
||||
}
|
||||
|
||||
.nested
|
||||
@@ -123,8 +124,9 @@ li.sidebar ::marker
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
background-color:#4A3F2C;
|
||||
border-bottom: #312A1D 1px solid;
|
||||
border-right: #312A1D 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
@@ -221,11 +223,9 @@ body
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
width:196px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
@@ -241,19 +241,35 @@ input:focus {
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
height:18px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.sidebarcontainer
|
||||
{
|
||||
float:right;
|
||||
display:block;
|
||||
top: -16px;
|
||||
right: -8px;
|
||||
margin-left: 8px;
|
||||
width:200px;
|
||||
border-color: black;
|
||||
border-width: 1px;
|
||||
border-style:solid;
|
||||
position:relative;
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
<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 class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<div>
|
||||
<div class="sidebarcontainer">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<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>
|
||||
@@ -288,10 +304,6 @@ input:focus {
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</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);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</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>
|
||||
@@ -307,10 +319,9 @@ input:focus {
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<h1>QType</h1>
|
||||
|
||||
</div>
|
||||
@@ -97,6 +97,7 @@ pre
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
display:flex;
|
||||
}
|
||||
|
||||
.nested
|
||||
@@ -123,8 +124,9 @@ li.sidebar ::marker
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
background-color:#4A3F2C;
|
||||
border-bottom: #312A1D 1px solid;
|
||||
border-right: #312A1D 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
@@ -221,11 +223,9 @@ body
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
width:196px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
@@ -241,19 +241,35 @@ input:focus {
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
height:18px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.sidebarcontainer
|
||||
{
|
||||
float:right;
|
||||
display:block;
|
||||
top: -16px;
|
||||
right: -8px;
|
||||
margin-left: 8px;
|
||||
width:200px;
|
||||
border-color: black;
|
||||
border-width: 1px;
|
||||
border-style:solid;
|
||||
position:relative;
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
<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 class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<div>
|
||||
<div class="sidebarcontainer">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<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>
|
||||
@@ -288,10 +304,6 @@ input:focus {
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</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);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</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>
|
||||
@@ -307,10 +319,9 @@ input:focus {
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<h1>QValue</h1>
|
||||
|
||||
</div>
|
||||
@@ -97,6 +97,7 @@ pre
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
display:flex;
|
||||
}
|
||||
|
||||
.nested
|
||||
@@ -123,8 +124,9 @@ li.sidebar ::marker
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
background-color:#4A3F2C;
|
||||
border-bottom: #312A1D 1px solid;
|
||||
border-right: #312A1D 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
@@ -221,11 +223,9 @@ body
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
width:196px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
@@ -241,19 +241,35 @@ input:focus {
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
height:18px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.sidebarcontainer
|
||||
{
|
||||
float:right;
|
||||
display:block;
|
||||
top: -16px;
|
||||
right: -8px;
|
||||
margin-left: 8px;
|
||||
width:200px;
|
||||
border-color: black;
|
||||
border-width: 1px;
|
||||
border-style:solid;
|
||||
position:relative;
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
<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 class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<div>
|
||||
<div class="sidebarcontainer">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<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>
|
||||
@@ -288,10 +304,6 @@ input:focus {
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</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);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</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>
|
||||
@@ -307,10 +319,9 @@ input:focus {
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<h1>QScript API</h1>
|
||||
|
||||
<hr />
|
||||
|
||||
@@ -97,6 +97,7 @@ pre
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
display:flex;
|
||||
}
|
||||
|
||||
.nested
|
||||
@@ -123,8 +124,9 @@ li.sidebar ::marker
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
background-color:#4A3F2C;
|
||||
border-bottom: #312A1D 1px solid;
|
||||
border-right: #312A1D 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
@@ -221,11 +223,9 @@ body
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
width:196px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
@@ -241,19 +241,35 @@ input:focus {
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
height:18px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.sidebarcontainer
|
||||
{
|
||||
float:right;
|
||||
display:block;
|
||||
top: -16px;
|
||||
right: -8px;
|
||||
margin-left: 8px;
|
||||
width:200px;
|
||||
border-color: black;
|
||||
border-width: 1px;
|
||||
border-style:solid;
|
||||
position:relative;
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
<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 class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<div>
|
||||
<div class="sidebarcontainer">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<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>
|
||||
@@ -288,10 +304,6 @@ input:focus {
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</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);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</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>
|
||||
@@ -307,10 +319,9 @@ input:focus {
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<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>
|
||||
|
||||
@@ -97,6 +97,7 @@ pre
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
display:flex;
|
||||
}
|
||||
|
||||
.nested
|
||||
@@ -123,8 +124,9 @@ li.sidebar ::marker
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
background-color:#4A3F2C;
|
||||
border-bottom: #312A1D 1px solid;
|
||||
border-right: #312A1D 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
@@ -221,11 +223,9 @@ body
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
width:196px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
@@ -241,19 +241,35 @@ input:focus {
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
height:18px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.sidebarcontainer
|
||||
{
|
||||
float:right;
|
||||
display:block;
|
||||
top: -16px;
|
||||
right: -8px;
|
||||
margin-left: 8px;
|
||||
width:200px;
|
||||
border-color: black;
|
||||
border-width: 1px;
|
||||
border-style:solid;
|
||||
position:relative;
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
<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 class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<div>
|
||||
<div class="sidebarcontainer">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<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>
|
||||
@@ -288,10 +304,6 @@ input:focus {
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</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);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</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>
|
||||
@@ -307,10 +319,9 @@ input:focus {
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<h1>QScript Intro</h1>
|
||||
|
||||
<p>QScript is a multi-language scripting system designed with security and stability in mind.
|
||||
|
||||
@@ -97,6 +97,7 @@ pre
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
display:flex;
|
||||
}
|
||||
|
||||
.nested
|
||||
@@ -123,8 +124,9 @@ li.sidebar ::marker
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
background-color:#4A3F2C;
|
||||
border-bottom: #312A1D 1px solid;
|
||||
border-right: #312A1D 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
@@ -221,11 +223,9 @@ body
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
width:196px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
@@ -241,19 +241,35 @@ input:focus {
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
height:18px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.sidebarcontainer
|
||||
{
|
||||
float:right;
|
||||
display:block;
|
||||
top: -16px;
|
||||
right: -8px;
|
||||
margin-left: 8px;
|
||||
width:200px;
|
||||
border-color: black;
|
||||
border-width: 1px;
|
||||
border-style:solid;
|
||||
position:relative;
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
<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 class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<div>
|
||||
<div class="sidebarcontainer">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<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>
|
||||
@@ -288,10 +304,6 @@ input:focus {
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</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);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</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>
|
||||
@@ -307,10 +319,9 @@ input:focus {
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<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>
|
||||
|
||||
@@ -97,6 +97,7 @@ pre
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
display:flex;
|
||||
}
|
||||
|
||||
.nested
|
||||
@@ -123,8 +124,9 @@ li.sidebar ::marker
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
background-color:#4A3F2C;
|
||||
border-bottom: #312A1D 1px solid;
|
||||
border-right: #312A1D 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
@@ -221,11 +223,9 @@ body
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
width:196px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
@@ -241,19 +241,35 @@ input:focus {
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
height:18px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.sidebarcontainer
|
||||
{
|
||||
float:right;
|
||||
display:block;
|
||||
top: -16px;
|
||||
right: -8px;
|
||||
margin-left: 8px;
|
||||
width:200px;
|
||||
border-color: black;
|
||||
border-width: 1px;
|
||||
border-style:solid;
|
||||
position:relative;
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
<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 class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<div>
|
||||
<div class="sidebarcontainer">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<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>
|
||||
@@ -288,10 +304,6 @@ input:focus {
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</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);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</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>
|
||||
@@ -307,10 +319,9 @@ input:focus {
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<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>
|
||||
|
||||
@@ -97,6 +97,7 @@ pre
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
display:flex;
|
||||
}
|
||||
|
||||
.nested
|
||||
@@ -123,8 +124,9 @@ li.sidebar ::marker
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
background-color:#4A3F2C;
|
||||
border-bottom: #312A1D 1px solid;
|
||||
border-right: #312A1D 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
@@ -221,11 +223,9 @@ body
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
width:196px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
@@ -241,19 +241,35 @@ input:focus {
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
height:18px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.sidebarcontainer
|
||||
{
|
||||
float:right;
|
||||
display:block;
|
||||
top: -16px;
|
||||
right: -8px;
|
||||
margin-left: 8px;
|
||||
width:200px;
|
||||
border-color: black;
|
||||
border-width: 1px;
|
||||
border-style:solid;
|
||||
position:relative;
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
<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 class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<div>
|
||||
<div class="sidebarcontainer">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<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>
|
||||
@@ -288,10 +304,6 @@ input:focus {
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</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);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</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>
|
||||
@@ -307,10 +319,9 @@ input:focus {
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<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>
|
||||
|
||||
@@ -97,6 +97,7 @@ pre
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
display:flex;
|
||||
}
|
||||
|
||||
.nested
|
||||
@@ -123,8 +124,9 @@ li.sidebar ::marker
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
background-color:#4A3F2C;
|
||||
border-bottom: #312A1D 1px solid;
|
||||
border-right: #312A1D 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
@@ -221,11 +223,9 @@ body
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
width:196px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
@@ -241,19 +241,35 @@ input:focus {
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
height:18px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.sidebarcontainer
|
||||
{
|
||||
float:right;
|
||||
display:block;
|
||||
top: -16px;
|
||||
right: -8px;
|
||||
margin-left: 8px;
|
||||
width:200px;
|
||||
border-color: black;
|
||||
border-width: 1px;
|
||||
border-style:solid;
|
||||
position:relative;
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
<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 class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<div>
|
||||
<div class="sidebarcontainer">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<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>
|
||||
@@ -288,10 +304,6 @@ input:focus {
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</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);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</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>
|
||||
@@ -307,10 +319,9 @@ input:focus {
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<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>
|
||||
|
||||
@@ -97,6 +97,7 @@ pre
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
display:flex;
|
||||
}
|
||||
|
||||
.nested
|
||||
@@ -123,8 +124,9 @@ li.sidebar ::marker
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
background-color:#4A3F2C;
|
||||
border-bottom: #312A1D 1px solid;
|
||||
border-right: #312A1D 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
@@ -221,11 +223,9 @@ body
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
width:196px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
@@ -241,19 +241,35 @@ input:focus {
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
height:18px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.sidebarcontainer
|
||||
{
|
||||
float:right;
|
||||
display:block;
|
||||
top: -16px;
|
||||
right: -8px;
|
||||
margin-left: 8px;
|
||||
width:200px;
|
||||
border-color: black;
|
||||
border-width: 1px;
|
||||
border-style:solid;
|
||||
position:relative;
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
<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 class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<div>
|
||||
<div class="sidebarcontainer">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<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>
|
||||
@@ -288,10 +304,6 @@ input:focus {
|
||||
<li class="sidebar"><b>Lua Objects</b></li>
|
||||
</ul>
|
||||
</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);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</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>
|
||||
@@ -307,10 +319,9 @@ input:focus {
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<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>
|
||||
|
||||
@@ -97,6 +97,7 @@ pre
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
display:flex;
|
||||
}
|
||||
|
||||
.nested
|
||||
@@ -123,8 +124,9 @@ li.sidebar ::marker
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
background-color:#4A3F2C;
|
||||
border-bottom: #312A1D 1px solid;
|
||||
border-right: #312A1D 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
@@ -221,11 +223,9 @@ body
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
width:196px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
@@ -241,19 +241,35 @@ input:focus {
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
height:18px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.sidebarcontainer
|
||||
{
|
||||
float:right;
|
||||
display:block;
|
||||
top: -16px;
|
||||
right: -8px;
|
||||
margin-left: 8px;
|
||||
width:200px;
|
||||
border-color: black;
|
||||
border-width: 1px;
|
||||
border-style:solid;
|
||||
position:relative;
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
<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 class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<div>
|
||||
<div class="sidebarcontainer">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<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>
|
||||
@@ -288,10 +304,6 @@ input:focus {
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</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);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</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>
|
||||
@@ -307,10 +319,9 @@ input:focus {
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<h1>Private Members</h1>
|
||||
|
||||
<p>Classes can have private members. They are inaccessible to anything else than the methods inside the class.</p>
|
||||
|
||||
@@ -97,6 +97,7 @@ pre
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
display:flex;
|
||||
}
|
||||
|
||||
.nested
|
||||
@@ -123,8 +124,9 @@ li.sidebar ::marker
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
background-color:#4A3F2C;
|
||||
border-bottom: #312A1D 1px solid;
|
||||
border-right: #312A1D 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
@@ -221,11 +223,9 @@ body
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
width:196px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
@@ -241,19 +241,35 @@ input:focus {
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
height:18px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.sidebarcontainer
|
||||
{
|
||||
float:right;
|
||||
display:block;
|
||||
top: -16px;
|
||||
right: -8px;
|
||||
margin-left: 8px;
|
||||
width:200px;
|
||||
border-color: black;
|
||||
border-width: 1px;
|
||||
border-style:solid;
|
||||
position:relative;
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
<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 class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<div>
|
||||
<div class="sidebarcontainer">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<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>
|
||||
@@ -288,10 +304,6 @@ input:focus {
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</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);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</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>
|
||||
@@ -307,10 +319,9 @@ input:focus {
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<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>
|
||||
|
||||
@@ -97,6 +97,7 @@ pre
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
display:flex;
|
||||
}
|
||||
|
||||
.nested
|
||||
@@ -123,8 +124,9 @@ li.sidebar ::marker
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
background-color:#4A3F2C;
|
||||
border-bottom: #312A1D 1px solid;
|
||||
border-right: #312A1D 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
@@ -221,11 +223,9 @@ body
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
width:196px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
@@ -241,19 +241,35 @@ input:focus {
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
height:18px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.sidebarcontainer
|
||||
{
|
||||
float:right;
|
||||
display:block;
|
||||
top: -16px;
|
||||
right: -8px;
|
||||
margin-left: 8px;
|
||||
width:200px;
|
||||
border-color: black;
|
||||
border-width: 1px;
|
||||
border-style:solid;
|
||||
position:relative;
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
<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 class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<div>
|
||||
<div class="sidebarcontainer">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<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>
|
||||
@@ -288,10 +304,6 @@ input:focus {
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</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);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</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>
|
||||
@@ -307,10 +319,9 @@ input:focus {
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<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>
|
||||
|
||||
@@ -97,6 +97,7 @@ pre
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
display:flex;
|
||||
}
|
||||
|
||||
.nested
|
||||
@@ -123,8 +124,9 @@ li.sidebar ::marker
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
background-color:#4A3F2C;
|
||||
border-bottom: #312A1D 1px solid;
|
||||
border-right: #312A1D 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
@@ -221,11 +223,9 @@ body
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
width:196px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
@@ -241,19 +241,35 @@ input:focus {
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
height:18px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.sidebarcontainer
|
||||
{
|
||||
float:right;
|
||||
display:block;
|
||||
top: -16px;
|
||||
right: -8px;
|
||||
margin-left: 8px;
|
||||
width:200px;
|
||||
border-color: black;
|
||||
border-width: 1px;
|
||||
border-style:solid;
|
||||
position:relative;
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
<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 class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<div>
|
||||
<div class="sidebarcontainer">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<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>
|
||||
@@ -288,10 +304,6 @@ input:focus {
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</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);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</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>
|
||||
@@ -307,10 +319,9 @@ input:focus {
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<h1>QScript Tutorial Page 1: Mods</h1>
|
||||
|
||||
<p>QScript operates on "mods" which are folders inside the <code>sourcebox/mods/</code> directory.</p>
|
||||
|
||||
@@ -97,6 +97,7 @@ pre
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
display:flex;
|
||||
}
|
||||
|
||||
.nested
|
||||
@@ -123,8 +124,9 @@ li.sidebar ::marker
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
background-color:#4A3F2C;
|
||||
border-bottom: #312A1D 1px solid;
|
||||
border-right: #312A1D 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
@@ -221,11 +223,9 @@ body
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
width:196px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
@@ -241,19 +241,35 @@ input:focus {
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
height:18px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.sidebarcontainer
|
||||
{
|
||||
float:right;
|
||||
display:block;
|
||||
top: -16px;
|
||||
right: -8px;
|
||||
margin-left: 8px;
|
||||
width:200px;
|
||||
border-color: black;
|
||||
border-width: 1px;
|
||||
border-style:solid;
|
||||
position:relative;
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
<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 class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><a href="/wiki/index.html">Wiki Intro</a></li>
|
||||
<div>
|
||||
<div class="sidebarcontainer">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<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>
|
||||
@@ -288,10 +304,6 @@ input:focus {
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</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);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</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>
|
||||
@@ -307,10 +319,9 @@ input:focus {
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<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>
|
||||
|
||||
@@ -97,6 +97,7 @@ pre
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
display:flex;
|
||||
}
|
||||
|
||||
.nested
|
||||
@@ -123,8 +124,9 @@ li.sidebar ::marker
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
background-color:#4A3F2C;
|
||||
border-bottom: #312A1D 1px solid;
|
||||
border-right: #312A1D 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
@@ -221,11 +223,9 @@ body
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
width:196px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
@@ -241,19 +241,35 @@ input:focus {
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
height:18px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.sidebarcontainer
|
||||
{
|
||||
float:right;
|
||||
display:block;
|
||||
top: -16px;
|
||||
right: -8px;
|
||||
margin-left: 8px;
|
||||
width:200px;
|
||||
border-color: black;
|
||||
border-width: 1px;
|
||||
border-style:solid;
|
||||
position:relative;
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
<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 class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul class="sidebar" id="filetree">
|
||||
<li class="sidebar"><b>Wiki Intro</b></li>
|
||||
<div>
|
||||
<div class="sidebarcontainer">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<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>
|
||||
@@ -288,10 +304,6 @@ input:focus {
|
||||
<li class="sidebar"><a href="/wiki/QScript/Lua/Objects.html">Lua Objects</a></li>
|
||||
</ul>
|
||||
</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);">Python</span></span>
|
||||
<ul class="sidebar nested">
|
||||
</ul>
|
||||
</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>
|
||||
@@ -307,10 +319,9 @@ input:focus {
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<h1>Wiki Intro</h1>
|
||||
|
||||
<p>Welcome to the SourceBox wiki!</p>
|
||||
|
||||
@@ -97,6 +97,7 @@ pre
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
padding: 4px;
|
||||
display:flex;
|
||||
}
|
||||
|
||||
.nested
|
||||
@@ -123,8 +124,9 @@ li.sidebar ::marker
|
||||
li.sidebar
|
||||
{
|
||||
list-style-type: none !important;
|
||||
border-bottom: #473c29 1px solid;
|
||||
border-right: #473c29 1px solid;
|
||||
background-color:#4A3F2C;
|
||||
border-bottom: #312A1D 1px solid;
|
||||
border-right: #312A1D 1px solid;
|
||||
border-left: 1px solid #8d8881;
|
||||
border-top: 1px solid #8d8881;
|
||||
padding-left: 2px;
|
||||
@@ -221,11 +223,9 @@ body
|
||||
border-right-color: #837f7a;
|
||||
color: white;
|
||||
padding: 0px;
|
||||
width:195px;
|
||||
width:196px;
|
||||
height:16px;
|
||||
position: relative;
|
||||
top:1px;
|
||||
left:1px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
@@ -241,22 +241,37 @@ input:focus {
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
height:19px;
|
||||
height:18px;
|
||||
width:198px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.sidebarcontainer
|
||||
{
|
||||
float:right;
|
||||
display:block;
|
||||
top: -16px;
|
||||
right: -8px;
|
||||
margin-left: 8px;
|
||||
width:200px;
|
||||
border-color: black;
|
||||
border-width: 1px;
|
||||
border-style:solid;
|
||||
position:relative;
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
<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 class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul class="sidebar" id="filetree">
|
||||
@FILETREE
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
<div>
|
||||
<div class="sidebarcontainer">
|
||||
<span class="searchboxcontainer"><input type="text" placeholder="search..." autocomplete="off" id="searchbox" oninput="updateSearch();" class="searchbox"></span>
|
||||
<nav>
|
||||
<ul class="sidebar" id="searchresults">
|
||||
</ul>
|
||||
<ul class="sidebar" id="filetree">
|
||||
@FILETREE
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
@CONTENT
|
||||
</div>
|
||||
Reference in New Issue
Block a user