support vertical slider

This commit is contained in:
airstruck
2015-12-07 21:56:56 -05:00
parent 66f652b295
commit c43d8bcf22
27 changed files with 251 additions and 184 deletions

View File

@@ -68,22 +68,22 @@ but themes should give buttons an appropriate appearance.</p>
<h3>Usage:</h3>
<ul>
<pre class="example">
-- create a layout containing only a button
local layout = Layout {
type = &apos;button&apos;,
id = &apos;exampleButton&apos;,
text = &apos;Press me&apos;,
width = 100,
height = 32,
}
-- create a layout containing only a button
local layout = Layout {
type = &apos;button&apos;,
id = &apos;exampleButton&apos;,
text = &apos;Press me&apos;,
width = 100,
height = 32,
}
-- handle Press events
layout.exampleButton:onPress(function (event)
print &apos;You pressed the button.&apos;
end)
-- handle Press events
layout.exampleButton:onPress(function (event)
print &apos;You pressed the button.&apos;
end)
-- show the layout
layout:show()
-- show the layout
layout:show()
</pre>
</ul>
@@ -99,7 +99,7 @@ but themes should give buttons an appropriate appearance.</p>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2015-12-07 03:00:19 </i>
<i style="float:right;">Last updated 2015-12-07 05:47:24 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>