aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ClientHamr/GuiLua
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-03-20 16:19:05 +1000
committerDavid Walter Seikel2014-03-20 16:19:05 +1000
commit122154d63af24b8bcb75e12c40974a365f0b2606 (patch)
tree290bd9a26bb2be9d1a790017c07f8683085db30f /ClientHamr/GuiLua
parentRewrite moduleBegin. (diff)
downloadSledjHamr-122154d63af24b8bcb75e12c40974a365f0b2606.zip
SledjHamr-122154d63af24b8bcb75e12c40974a365f0b2606.tar.gz
SledjHamr-122154d63af24b8bcb75e12c40974a365f0b2606.tar.bz2
SledjHamr-122154d63af24b8bcb75e12c40974a365f0b2606.tar.xz
Rejig stubs a little.
Diffstat (limited to 'ClientHamr/GuiLua')
-rw-r--r--ClientHamr/GuiLua/skang.lua18
1 files changed, 10 insertions, 8 deletions
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
173 173
174 174
175-- TODO - Some function stubs, for now. Fill them up later. 175-- TODO - Some function stubs, for now. Fill them up later.
176module = function (name) 176get = function (name)
177end
178set = function (name, value)
177end 179end
180
178clear = function () 181clear = function ()
179end 182end
180window = function (width, height, title) 183window = function (width, height, title)
181end 184end
182skang = function (name) 185
183end 186module = function (name)
184get = function (name)
185end 187end
186set = function (name, value) 188skang = function (name)
187end 189end
188quit = function () 190quit = function ()
189end 191end
190 192
191newCommand(_M, 'module', 'file,acl', 'Load a module.', module) 193newCommand(_M, 'get', 'name', 'Get the current value of an existing thing.', get) -- This should be in Thing, not actually here?
194newCommand(_M, 'set', 'name,data', 'Set the current value of an existing Thing.', set) -- This should be in Thing, not actually here?
192newCommand(_M, 'clear', '', 'The current skin is cleared of all widgets.', clear) -- Was in SkangAWT in Java. 195newCommand(_M, 'clear', '', 'The current skin is cleared of all widgets.', clear) -- Was in SkangAWT in Java.
193newCommand(_M, 'window', 'x,y,name', 'Specifies the size and title of the application Frame.', window, 'GGG') -- Was in SkangAWT in Java. 196newCommand(_M, 'window', 'x,y,name', 'Specifies the size and title of the application Frame.', window, 'GGG') -- Was in SkangAWT in Java.
197newCommand(_M, 'module', 'file,acl', 'Load a module.', module)
194newCommand(_M, 'skang', 'URL', 'Parse the contents of a skang file or URL.', skang) 198newCommand(_M, 'skang', 'URL', 'Parse the contents of a skang file or URL.', skang)
195newCommand(_M, 'get', 'name', 'Get the current value of an existing thing.', get) -- This should be in the modules, not actually here?
196newCommand(_M, 'set', 'name,data', 'Set the current value of an existing Thing.', set) -- This should be in the modules, not actually here?
197newCommand(_M, 'quit', '', 'Quit, exit, remove thyself.', quit) 199newCommand(_M, 'quit', '', 'Quit, exit, remove thyself.', quit)
198 200
199 201