From 122154d63af24b8bcb75e12c40974a365f0b2606 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Thu, 20 Mar 2014 16:19:05 +1000 Subject: Rejig stubs a little. --- ClientHamr/GuiLua/skang.lua | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'ClientHamr') diff --git a/ClientHamr/GuiLua/skang.lua b/ClientHamr/GuiLua/skang.lua index c3b0e33..0c10389 100644 --- a/ClientHamr/GuiLua/skang.lua +++ b/ClientHamr/GuiLua/skang.lua @@ -173,27 +173,29 @@ end -- TODO - Some function stubs, for now. Fill them up later. -module = function (name) +get = function (name) +end +set = function (name, value) end + clear = function () end window = function (width, height, title) end -skang = function (name) -end -get = function (name) + +module = function (name) end -set = function (name, value) +skang = function (name) end quit = function () end -newCommand(_M, 'module', 'file,acl', 'Load a module.', module) +newCommand(_M, 'get', 'name', 'Get the current value of an existing thing.', get) -- This should be in Thing, not actually here? +newCommand(_M, 'set', 'name,data', 'Set the current value of an existing Thing.', set) -- This should be in Thing, not actually here? newCommand(_M, 'clear', '', 'The current skin is cleared of all widgets.', clear) -- Was in SkangAWT in Java. newCommand(_M, 'window', 'x,y,name', 'Specifies the size and title of the application Frame.', window, 'GGG') -- Was in SkangAWT in Java. +newCommand(_M, 'module', 'file,acl', 'Load a module.', module) newCommand(_M, 'skang', 'URL', 'Parse the contents of a skang file or URL.', skang) -newCommand(_M, 'get', 'name', 'Get the current value of an existing thing.', get) -- This should be in the modules, not actually here? -newCommand(_M, 'set', 'name,data', 'Set the current value of an existing Thing.', set) -- This should be in the modules, not actually here? newCommand(_M, 'quit', '', 'Quit, exit, remove thyself.', quit) -- cgit v1.1