diff options
Diffstat (limited to 'ClientHamr/GuiLua/test.skang')
-rw-r--r-- | ClientHamr/GuiLua/test.skang | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ClientHamr/GuiLua/test.skang b/ClientHamr/GuiLua/test.skang index 6d7aab7..99d27e2 100644 --- a/ClientHamr/GuiLua/test.skang +++ b/ClientHamr/GuiLua/test.skang | |||
@@ -3,13 +3,12 @@ | |||
3 | -- There's an implied local this = require 'test' | 3 | -- There's an implied local this = require 'test' |
4 | -- There's an implied local skang = require 'skang' | 4 | -- There's an implied local skang = require 'skang' |
5 | 5 | ||
6 | local widget = require 'widget' | ||
7 | -- local other = require 'otherPackageName' | 6 | -- local other = require 'otherPackageName' |
8 | 7 | ||
9 | skang.clear() | 8 | skang.clear() |
10 | widget.window(500, 500, "G'day planet.") | 9 | skang.window(500, 500, "G'day planet.") |
11 | 10 | ||
12 | --quitter = widget.button('Quit', 0.5, 0.5, 0.5, 0.5) | 11 | --quitter = skang.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()'. | 12 | --quitter:action('quit') -- 'quit' is looked up in ThingSpace.commands, and translated into the Lua 'skang.quit()'. |
14 | 13 | ||
15 | --other.foo = 'stuff' | 14 | --other.foo = 'stuff' |