-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4839b5c
commit 492c3e0
Showing
14 changed files
with
4,823 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||
<html> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||
<head> | ||
<title>lua-fort docs v1.0.0</title> | ||
<link rel="stylesheet" href="../ldoc_fixed.css" type="text/css" /> | ||
</head> | ||
<body> | ||
<div id="container"> | ||
<div id="product"> | ||
<div id="product_logo"></div> | ||
<div id="product_name"><big><b></b></big></div> | ||
<div id="product_description"></div> | ||
</div> <!-- id="product" --> | ||
<div id="main"> | ||
<!-- Menu --> | ||
<div id="navigation"> | ||
<br/> | ||
<h1>lua-fort</h1> | ||
|
||
<ul> | ||
<li><a href="https://github.com/nathanrpage97/lua-fort">Github</a></li> | ||
</ul> | ||
|
||
<h2>Examples</h2> | ||
<ul class="nowrap"> | ||
<li><strong>1-simple-table.lua</strong></li> | ||
<li><a href="../examples/2-custom-table.lua.html">2-custom-table.lua</a></li> | ||
<li><a href="../examples/3-complex-layout.lua.html">3-complex-layout.lua</a></li> | ||
<li><a href="../examples/4-fill-table.lua.html">4-fill-table.lua</a></li> | ||
<li><a href="../examples/5-beautiful-table.lua.html">5-beautiful-table.lua</a></li> | ||
<li><a href="../examples/6-print-styles.lua.html">6-print-styles.lua</a></li> | ||
<li><a href="../examples/8-math-table.lua.html">8-math-table.lua</a></li> | ||
<li><a href="../examples/9-table-grid.lua.html">9-table-grid.lua</a></li> | ||
</ul> | ||
<h2>Classes</h2> | ||
<ul class="nowrap"> | ||
<li><a href="../index.html">fort</a></li> | ||
</ul> | ||
<h2>Manual</h2> | ||
<ul class="nowrap"> | ||
<li><a href="../manual/README.md.html">lua-fort</a></li> | ||
<li><a href="../manual/CHANGELOG.md.html">Changelog</a></li> | ||
</ul> | ||
</div> | ||
<div id="content"> | ||
<h2>1-simple-table.lua</h2> | ||
<pre> | ||
<span class="keyword">local</span> ft = <span class="global">require</span> <span class="string">"fort"</span> | ||
|
||
<span class="keyword">local</span> ftable = ft.<span class="function-name">new</span>() | ||
|
||
<span class="comment">-- setup header | ||
</span>ftable:<span class="function-name">set_cell_prop</span>(<span class="number">1</span>, ft.ANY_COLUMN, ft.CPROP_ROW_TYPE, ft.ROW_HEADER) | ||
ftable:<span class="function-name">write_ln</span>(<span class="string">"N"</span>, <span class="string">"Driver"</span>, <span class="string">"Time"</span>, <span class="string">"Avg Speed"</span>) | ||
ftable:<span class="function-name">write_ln</span>(<span class="string">"1"</span>, <span class="string">"Ricciardo"</span>, <span class="string">"1:25.945"</span>, <span class="string">"222.128"</span>) | ||
ftable:<span class="function-name">write_ln</span>(<span class="string">"2"</span>, <span class="string">"Hamilton"</span>, <span class="string">"1:26.373"</span>, <span class="string">"221.027"</span>) | ||
ftable:<span class="function-name">write_ln</span>(<span class="string">"3"</span>, <span class="string">"Verstappen"</span>, <span class="string">"1:26.469"</span>, <span class="string">"220.782"</span>) | ||
|
||
<span class="global">print</span>(ftable)</pre> | ||
|
||
</div> <!-- id="content" --> | ||
</div> <!-- id="main" --> | ||
<div id="about"> | ||
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.5.0</a></i> | ||
</div> <!-- id="about" --> | ||
</div> <!-- id="container" --> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||
<html> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||
<head> | ||
<title>lua-fort docs v0.3.0</title> | ||
<link rel="stylesheet" href="../ldoc_fixed.css" type="text/css" /> | ||
</head> | ||
<body> | ||
<div id="container"> | ||
<div id="product"> | ||
<div id="product_logo"></div> | ||
<div id="product_name"><big><b></b></big></div> | ||
<div id="product_description"></div> | ||
</div> <!-- id="product" --> | ||
<div id="main"> | ||
<!-- Menu --> | ||
<div id="navigation"> | ||
<br/> | ||
<h1>lua-fort</h1> | ||
|
||
<ul> | ||
<li><a href="https://github.com/nathanrpage97/lua-fort">Github</a></li> | ||
</ul> | ||
|
||
<h2>Examples</h2> | ||
<ul class="nowrap"> | ||
<li><a href="../examples/1-simple-table.lua.html">1-simple-table.lua</a></li> | ||
<li><strong>1a-simple-table.lua</strong></li> | ||
<li><a href="../examples/2-custom-table.lua.html">2-custom-table.lua</a></li> | ||
<li><a href="../examples/3-complex-layout.lua.html">3-complex-layout.lua</a></li> | ||
<li><a href="../examples/4-fill-table.lua.html">4-fill-table.lua</a></li> | ||
<li><a href="../examples/5-beautiful-table.lua.html">5-beautiful-table.lua</a></li> | ||
<li><a href="../examples/6-print-styles.lua.html">6-print-styles.lua</a></li> | ||
<li><a href="../examples/8-math-table.lua.html">8-math-table.lua</a></li> | ||
<li><a href="../examples/9-table-grid.lua.html">9-table-grid.lua</a></li> | ||
</ul> | ||
<h2>Classes</h2> | ||
<ul class="nowrap"> | ||
<li><a href="../index.html">fort</a></li> | ||
</ul> | ||
<h2>Manual</h2> | ||
<ul class="nowrap"> | ||
<li><a href="../manual/README.md.html">lua-fort</a></li> | ||
<li><a href="../manual/CHANGELOG.md.html">Changelog</a></li> | ||
</ul> | ||
</div> | ||
<div id="content"> | ||
<h2>1a-simple-table.lua</h2> | ||
<pre> | ||
<span class="keyword">local</span> ft = <span class="global">require</span> <span class="string">"fort"</span> | ||
|
||
<span class="keyword">local</span> ftable = ft.create_table() | ||
|
||
<span class="comment">-- setup header | ||
</span>ftable:set_cell_prop(<span class="number">1</span>, ft.ANY_COLUMN, ft.CPROP_ROW_TYPE, ft.ROW_HEADER) | ||
ftable:write_ln(<span class="string">"N"</span>, <span class="string">"Driver"</span>, <span class="string">"Time"</span>, <span class="string">"Avg Speed"</span>) | ||
ftable:write_ln(<span class="string">"1"</span>, <span class="string">"Ricciardo"</span>, <span class="string">"1:25.945"</span>, <span class="string">"222.128"</span>) | ||
ftable:write_ln(<span class="string">"2"</span>, <span class="string">"Hamilton"</span>, <span class="string">"1:26.373"</span>, <span class="string">"221.027"</span>) | ||
ftable:write_ln(<span class="string">"3"</span>, <span class="string">"Verstappen"</span>, <span class="string">"1:26.469"</span>, <span class="string">"220.782"</span>) | ||
|
||
<span class="global">print</span>(ftable)</pre> | ||
|
||
</div> <!-- id="content" --> | ||
</div> <!-- id="main" --> | ||
<div id="about"> | ||
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i> | ||
</div> <!-- id="about" --> | ||
</div> <!-- id="container" --> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||
<html> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||
<head> | ||
<title>lua-fort docs v1.0.0</title> | ||
<link rel="stylesheet" href="../ldoc_fixed.css" type="text/css" /> | ||
</head> | ||
<body> | ||
<div id="container"> | ||
<div id="product"> | ||
<div id="product_logo"></div> | ||
<div id="product_name"><big><b></b></big></div> | ||
<div id="product_description"></div> | ||
</div> <!-- id="product" --> | ||
<div id="main"> | ||
<!-- Menu --> | ||
<div id="navigation"> | ||
<br/> | ||
<h1>lua-fort</h1> | ||
|
||
<ul> | ||
<li><a href="https://github.com/nathanrpage97/lua-fort">Github</a></li> | ||
</ul> | ||
|
||
<h2>Examples</h2> | ||
<ul class="nowrap"> | ||
<li><a href="../examples/1-simple-table.lua.html">1-simple-table.lua</a></li> | ||
<li><strong>2-custom-table.lua</strong></li> | ||
<li><a href="../examples/3-complex-layout.lua.html">3-complex-layout.lua</a></li> | ||
<li><a href="../examples/4-fill-table.lua.html">4-fill-table.lua</a></li> | ||
<li><a href="../examples/5-beautiful-table.lua.html">5-beautiful-table.lua</a></li> | ||
<li><a href="../examples/6-print-styles.lua.html">6-print-styles.lua</a></li> | ||
<li><a href="../examples/8-math-table.lua.html">8-math-table.lua</a></li> | ||
<li><a href="../examples/9-table-grid.lua.html">9-table-grid.lua</a></li> | ||
</ul> | ||
<h2>Classes</h2> | ||
<ul class="nowrap"> | ||
<li><a href="../index.html">fort</a></li> | ||
</ul> | ||
<h2>Manual</h2> | ||
<ul class="nowrap"> | ||
<li><a href="../manual/README.md.html">lua-fort</a></li> | ||
<li><a href="../manual/CHANGELOG.md.html">Changelog</a></li> | ||
</ul> | ||
</div> | ||
<div id="content"> | ||
<h2>2-custom-table.lua</h2> | ||
<pre> | ||
<span class="keyword">local</span> ft = <span class="global">require</span> <span class="string">"fort"</span> | ||
|
||
<span class="keyword">local</span> ftable = ft.<span class="function-name">new</span>() | ||
|
||
<span class="comment">-- Setup header | ||
</span>ftable:<span class="function-name">set_cell_prop</span>(<span class="number">1</span>, ft.ANY_COLUMN, ft.CPROP_ROW_TYPE, ft.ROW_HEADER) | ||
ftable:<span class="function-name">write_ln</span>(<span class="string">"Rank"</span>, <span class="string">"Title"</span>, <span class="string">"Year"</span>, <span class="string">"Rating"</span>) | ||
|
||
<span class="comment">-- Fill table | ||
</span>ftable:<span class="function-name">write_ln</span>(<span class="string">"1"</span>, <span class="string">"The Shawshank Redemption"</span>, <span class="string">"1994"</span>, <span class="string">"9.5"</span>) | ||
ftable:<span class="function-name">write_ln</span>(<span class="string">"2"</span>, <span class="string">"12 Angry Men"</span>, <span class="string">"1957"</span>, <span class="string">"8.8"</span>) | ||
ftable:<span class="function-name">write_ln</span>(<span class="string">"3"</span>, <span class="string">"It's a Wonderful Life"</span>, <span class="string">"1946"</span>, <span class="string">"8.6"</span>) | ||
ftable:<span class="function-name">add_separator</span>() | ||
ftable:<span class="function-name">write_ln</span>(<span class="string">"4"</span>, <span class="string">"2001: A Space Odyssey"</span>, <span class="string">"1968"</span>, <span class="string">"8.5"</span>) | ||
ftable:<span class="function-name">write_ln</span>(<span class="string">"5"</span>, <span class="string">"Blade Runner"</span>, <span class="string">"1982"</span>, <span class="string">"8.1"</span>) | ||
|
||
<span class="comment">-- Set alignment for columns | ||
</span>ftable:<span class="function-name">set_cell_prop</span>(ft.ANY_ROW, <span class="number">1</span>, ft.CPROP_TEXT_ALIGN, ft.ALIGNED_CENTER) | ||
ftable:<span class="function-name">set_cell_prop</span>(ft.ANY_ROW, <span class="number">2</span>, ft.CPROP_TEXT_ALIGN, ft.ALIGNED_LEFT) | ||
ftable:<span class="function-name">set_cell_prop</span>(ft.ANY_ROW, <span class="number">4</span>, ft.CPROP_TEXT_ALIGN, ft.ALIGNED_CENTER) | ||
|
||
<span class="global">print</span>(ftable)</pre> | ||
|
||
</div> <!-- id="content" --> | ||
</div> <!-- id="main" --> | ||
<div id="about"> | ||
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.5.0</a></i> | ||
</div> <!-- id="about" --> | ||
</div> <!-- id="container" --> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||
<html> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||
<head> | ||
<title>lua-fort docs v1.0.0</title> | ||
<link rel="stylesheet" href="../ldoc_fixed.css" type="text/css" /> | ||
</head> | ||
<body> | ||
<div id="container"> | ||
<div id="product"> | ||
<div id="product_logo"></div> | ||
<div id="product_name"><big><b></b></big></div> | ||
<div id="product_description"></div> | ||
</div> <!-- id="product" --> | ||
<div id="main"> | ||
<!-- Menu --> | ||
<div id="navigation"> | ||
<br/> | ||
<h1>lua-fort</h1> | ||
|
||
<ul> | ||
<li><a href="https://github.com/nathanrpage97/lua-fort">Github</a></li> | ||
</ul> | ||
|
||
<h2>Examples</h2> | ||
<ul class="nowrap"> | ||
<li><a href="../examples/1-simple-table.lua.html">1-simple-table.lua</a></li> | ||
<li><a href="../examples/2-custom-table.lua.html">2-custom-table.lua</a></li> | ||
<li><strong>3-complex-layout.lua</strong></li> | ||
<li><a href="../examples/4-fill-table.lua.html">4-fill-table.lua</a></li> | ||
<li><a href="../examples/5-beautiful-table.lua.html">5-beautiful-table.lua</a></li> | ||
<li><a href="../examples/6-print-styles.lua.html">6-print-styles.lua</a></li> | ||
<li><a href="../examples/8-math-table.lua.html">8-math-table.lua</a></li> | ||
<li><a href="../examples/9-table-grid.lua.html">9-table-grid.lua</a></li> | ||
</ul> | ||
<h2>Classes</h2> | ||
<ul class="nowrap"> | ||
<li><a href="../index.html">fort</a></li> | ||
</ul> | ||
<h2>Manual</h2> | ||
<ul class="nowrap"> | ||
<li><a href="../manual/README.md.html">lua-fort</a></li> | ||
<li><a href="../manual/CHANGELOG.md.html">Changelog</a></li> | ||
</ul> | ||
</div> | ||
<div id="content"> | ||
<h2>3-complex-layout.lua</h2> | ||
<pre> | ||
<span class="keyword">local</span> ft = <span class="global">require</span> <span class="string">"fort"</span> | ||
|
||
<span class="keyword">local</span> ftable = ft.<span class="function-name">new</span>() | ||
|
||
<span class="comment">-- Change border style | ||
</span>ftable:<span class="function-name">set_border_style</span>(ft.DOUBLE2_STYLE) | ||
|
||
<span class="comment">-- Setup header | ||
</span>ftable:<span class="function-name">set_cell_prop</span>(<span class="number">1</span>, ft.ANY_COLUMN, ft.CPROP_ROW_TYPE, ft.ROW_HEADER) | ||
ftable:<span class="function-name">write_ln</span>(<span class="string">"Sed"</span>, <span class="string">"Aenean"</span>, <span class="string">"Text"</span>) | ||
|
||
<span class="comment">-- Fill table | ||
</span>ftable:<span class="function-name">write_ln</span>(<span class="string">"Duis"</span>, <span class="string">"Aliquam"</span>, | ||
<span class="string">"Lorem ipsum dolor sit amet, consectetur adipiscing elit.\n"</span> .. | ||
<span class="string">"In accumsan felis eros, nec malesuada sapien bibendum eget."</span>) | ||
ftable:<span class="function-name">write_ln</span>(<span class="string">"Mauris"</span>, <span class="string">"Curabitur"</span>, | ||
<span class="string">"Proin condimentum eros viverra nunc ultricies, at fringilla \n"</span> .. | ||
<span class="string">"quam pellentesque."</span>) | ||
ftable:<span class="function-name">write_ln</span>(<span class="string">"Summary"</span>, <span class="string">""</span>, <span class="string">"Sed tempor est eget odio varius dignissim."</span>) | ||
|
||
<span class="comment">-- Setup alignments and cell span | ||
</span>ftable:<span class="function-name">set_cell_prop</span>(<span class="number">1</span>, <span class="number">3</span>, ft.CPROP_TEXT_ALIGN, ft.ALIGNED_CENTER) | ||
ftable:<span class="function-name">set_cell_prop</span>(<span class="number">4</span>, <span class="number">1</span>, ft.CPROP_TEXT_ALIGN, ft.ALIGNED_CENTER) | ||
ftable:<span class="function-name">set_cell_span</span>(<span class="number">4</span>, <span class="number">1</span>, <span class="number">2</span>) | ||
|
||
<span class="global">print</span>(ftable)</pre> | ||
|
||
</div> <!-- id="content" --> | ||
</div> <!-- id="main" --> | ||
<div id="about"> | ||
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.5.0</a></i> | ||
</div> <!-- id="about" --> | ||
</div> <!-- id="container" --> | ||
</body> | ||
</html> |
Oops, something went wrong.