aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ClientHamr/GuiLua/test.skang
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-04-17 15:11:16 +1000
committerDavid Walter Seikel2014-04-17 15:11:16 +1000
commitd3774aa29ab94d763a3276a23ea0f59c550c9dc5 (patch)
tree51974fd5af823f7100ca8dd9d9124cab79cb85bd /ClientHamr/GuiLua/test.skang
parentGive more info in dumpStack(). (diff)
downloadSledjHamr-d3774aa29ab94d763a3276a23ea0f59c550c9dc5.zip
SledjHamr-d3774aa29ab94d763a3276a23ea0f59c550c9dc5.tar.gz
SledjHamr-d3774aa29ab94d763a3276a23ea0f59c550c9dc5.tar.bz2
SledjHamr-d3774aa29ab94d763a3276a23ea0f59c550c9dc5.tar.xz
Move skang.window() to widget.window(), and make it work.
Diffstat (limited to 'ClientHamr/GuiLua/test.skang')
-rw-r--r--ClientHamr/GuiLua/test.skang2
1 files changed, 1 insertions, 1 deletions
diff --git a/ClientHamr/GuiLua/test.skang b/ClientHamr/GuiLua/test.skang
index 015b3b9..6d7aab7 100644
--- a/ClientHamr/GuiLua/test.skang
+++ b/ClientHamr/GuiLua/test.skang
@@ -7,7 +7,7 @@ local widget = require 'widget'
7-- local other = require 'otherPackageName' 7-- local other = require 'otherPackageName'
8 8
9skang.clear() 9skang.clear()
10skang.window(200, 200, "G'day planet.") 10widget.window(500, 500, "G'day planet.")
11 11
12--quitter = widget.button('Quit', 0.5, 0.5, 0.5, 0.5) 12--quitter = widget.button('Quit', 0.5, 0.5, 0.5, 0.5)
13--quitter:action('quit') -- 'quit' is looked up in ThingSpace.commands, and translated into the Lua 'skang.quit()'. 13--quitter:action('quit') -- 'quit' is looked up in ThingSpace.commands, and translated into the Lua 'skang.quit()'.