From 047ae907c21f19ff5a7b59e19f4b9d3061f611d8 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Fri, 18 Apr 2014 14:15:24 +1000 Subject: Clean up test.skang a little. --- ClientHamr/GuiLua/test.skang | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ClientHamr') diff --git a/ClientHamr/GuiLua/test.skang b/ClientHamr/GuiLua/test.skang index 99d27e2..ebf5b53 100644 --- a/ClientHamr/GuiLua/test.skang +++ b/ClientHamr/GuiLua/test.skang @@ -1,4 +1,4 @@ -#!/usr/bin/env skang -- Lua allows this shell hack. +#!/usr/bin/env skang -l test -- Lua allows this shell hack. -- There's an implied local this = require 'test' -- There's an implied local skang = require 'skang' @@ -8,7 +8,7 @@ skang.clear() skang.window(500, 500, "G'day planet.") ---quitter = skang.button('Quit', 0.5, 0.5, 0.5, 0.5) +--quitter = skang.widget('button', 'Quit', 0.5, 0.5, 0.5, 0.5) --quitter:action('quit') -- 'quit' is looked up in ThingSpace.commands, and translated into the Lua 'skang.quit()'. --other.foo = 'stuff' -- cgit v1.1