aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ClientHamr/GuiLua/test.lua
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-04-18 00:37:17 +1000
committerDavid Walter Seikel2014-04-18 00:37:17 +1000
commit8e06e56e16183c18b01bf6941fde8c35b5562655 (patch)
treebe350cd2d49bb52fbf9442ba9e70cfedab848b94 /ClientHamr/GuiLua/test.lua
parentConvert test_c to use GuiLua. (diff)
downloadSledjHamr-8e06e56e16183c18b01bf6941fde8c35b5562655.zip
SledjHamr-8e06e56e16183c18b01bf6941fde8c35b5562655.tar.gz
SledjHamr-8e06e56e16183c18b01bf6941fde8c35b5562655.tar.bz2
SledjHamr-8e06e56e16183c18b01bf6941fde8c35b5562655.tar.xz
Merge the widget module into the skang module, and some related clean ups.
So now the skang module is a mix of C and Lua.
Diffstat (limited to 'ClientHamr/GuiLua/test.lua')
-rw-r--r--ClientHamr/GuiLua/test.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/ClientHamr/GuiLua/test.lua b/ClientHamr/GuiLua/test.lua
index 6799154..a7e3b7f 100644
--- a/ClientHamr/GuiLua/test.lua
+++ b/ClientHamr/GuiLua/test.lua
@@ -4,11 +4,10 @@ do -- Only I'm not gonna indent this.
4 4
5local skang = require 'skang' 5local skang = require 'skang'
6local _M = skang.moduleBegin('test', nil, 'Copyright 2014 David Seikel', '0.1', '2014-03-27 03:57:00', [[ 6local _M = skang.moduleBegin('test', nil, 'Copyright 2014 David Seikel', '0.1', '2014-03-27 03:57:00', [[
7 local widget = require 'widget'
8 7
9 skang.clear 8 skang.clear
10 skang.window(200, 200, "G'day planet.") 9 skang.window(200, 200, "G'day planet.")
11 quitter = widget.button('Quit', 0.5, 0.5, 0.5, 0.5) 10 quitter = skang.button('Quit', 0.5, 0.5, 0.5, 0.5)
12 quitter:action('quit') 11 quitter:action('quit')
13]]) 12]])
14 13