diff options
Diffstat (limited to '')
-rw-r--r-- | ClientHamr/GuiLua/test.skang | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ClientHamr/GuiLua/test.skang b/ClientHamr/GuiLua/test.skang index 20430e1..015b3b9 100644 --- a/ClientHamr/GuiLua/test.skang +++ b/ClientHamr/GuiLua/test.skang | |||
@@ -6,12 +6,12 @@ | |||
6 | local widget = require 'widget' | 6 | 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 | skang.window(200, 200, "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()'. |
14 | 14 | ||
15 | --other.foo = 'stuff' | 15 | --other.foo = 'stuff' |
16 | this.bar = 'things' | 16 | this.bar = 'things' |
17 | this.func(1, 'two') | 17 | this.ffunc(1, 'two') |