From f9457460c96c06e2d3f3d58a0fbd7fb9469beb29 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sun, 30 Mar 2014 04:27:29 +1000 Subject: Move some Thing declerations to where they should be, now that the Thing oddness isn't screwing with that. --- ClientHamr/GuiLua/skang.lua | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'ClientHamr/GuiLua/skang.lua') diff --git a/ClientHamr/GuiLua/skang.lua b/ClientHamr/GuiLua/skang.lua index 9b31dbe..de007fc 100644 --- a/ClientHamr/GuiLua/skang.lua +++ b/ClientHamr/GuiLua/skang.lua @@ -653,6 +653,10 @@ set = function (stuff, key, name, value) end end +thing('get', 'Get the current value of an existing Thing or metadata.', get, 'thing,key,name') +thing('reset', 'Reset the current value of an existing Thing or metadata.', reset, 'thing,key,name') +thing('set', 'Set the current value of an existing Thing or metadata.', set, 'thing,key,name,data') + -- TODO - Some function stubs, for now. Fill them up later. nada = function () end @@ -669,12 +673,6 @@ end quit = function () end - --- Create our Things here. --- TODO - For some odd reason, these first three fuck up thing() if we create them before the above stubs. -thing('get', 'Get the current value of an existing Thing or metadata.', get, 'thing,key,name') -thing('reset', 'Reset the current value of an existing Thing or metadata.', reset, 'thing,key,name') -thing('set', 'Set the current value of an existing Thing or metadata.', set, 'thing,key,name,data') thing('nada', 'Do nothing.', nada) thing('clear', 'The current skin is cleared of all widgets.', clear) thing('window', 'The size and title of the application Frame.', window, 'x,y,name', nil, nil, 'GGG') -- cgit v1.1