From 8e06e56e16183c18b01bf6941fde8c35b5562655 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Fri, 18 Apr 2014 00:37:17 +1000 Subject: Merge the widget module into the skang module, and some related clean ups. So now the skang module is a mix of C and Lua. --- ClientHamr/GuiLua/test.skang | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ClientHamr/GuiLua/test.skang') 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 @@ -- There's an implied local this = require 'test' -- There's an implied local skang = require 'skang' -local widget = require 'widget' -- local other = require 'otherPackageName' skang.clear() -widget.window(500, 500, "G'day planet.") +skang.window(500, 500, "G'day planet.") ---quitter = widget.button('Quit', 0.5, 0.5, 0.5, 0.5) +--quitter = skang.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