diff options
author | David Walter Seikel | 2014-04-17 15:11:16 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-04-17 15:11:16 +1000 |
commit | d3774aa29ab94d763a3276a23ea0f59c550c9dc5 (patch) | |
tree | 51974fd5af823f7100ca8dd9d9124cab79cb85bd /ClientHamr/GuiLua/test.skang | |
parent | Give more info in dumpStack(). (diff) | |
download | SledjHamr-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.skang | 2 |
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 | ||
9 | skang.clear() | 9 | skang.clear() |
10 | skang.window(200, 200, "G'day planet.") | 10 | widget.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()'. |