aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ClientHamr/GuiLua/skang.lua
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-03-30 04:27:29 +1000
committerDavid Walter Seikel2014-03-30 04:27:29 +1000
commitf9457460c96c06e2d3f3d58a0fbd7fb9469beb29 (patch)
tree929f7d9555e6cda966f1b88730041e21c2362886 /ClientHamr/GuiLua/skang.lua
parentClean up some Thing oddness. (diff)
downloadSledjHamr-f9457460c96c06e2d3f3d58a0fbd7fb9469beb29.zip
SledjHamr-f9457460c96c06e2d3f3d58a0fbd7fb9469beb29.tar.gz
SledjHamr-f9457460c96c06e2d3f3d58a0fbd7fb9469beb29.tar.bz2
SledjHamr-f9457460c96c06e2d3f3d58a0fbd7fb9469beb29.tar.xz
Move some Thing declerations to where they should be, now that the Thing oddness isn't screwing with that.
Diffstat (limited to 'ClientHamr/GuiLua/skang.lua')
-rw-r--r--ClientHamr/GuiLua/skang.lua10
1 files changed, 4 insertions, 6 deletions
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)
653 end 653 end
654end 654end
655 655
656thing('get', 'Get the current value of an existing Thing or metadata.', get, 'thing,key,name')
657thing('reset', 'Reset the current value of an existing Thing or metadata.', reset, 'thing,key,name')
658thing('set', 'Set the current value of an existing Thing or metadata.', set, 'thing,key,name,data')
659
656 660
657-- TODO - Some function stubs, for now. Fill them up later. 661-- TODO - Some function stubs, for now. Fill them up later.
658nada = function () end 662nada = function () end
@@ -669,12 +673,6 @@ end
669quit = function () 673quit = function ()
670end 674end
671 675
672
673-- Create our Things here.
674-- TODO - For some odd reason, these first three fuck up thing() if we create them before the above stubs.
675thing('get', 'Get the current value of an existing Thing or metadata.', get, 'thing,key,name')
676thing('reset', 'Reset the current value of an existing Thing or metadata.', reset, 'thing,key,name')
677thing('set', 'Set the current value of an existing Thing or metadata.', set, 'thing,key,name,data')
678thing('nada', 'Do nothing.', nada) 676thing('nada', 'Do nothing.', nada)
679thing('clear', 'The current skin is cleared of all widgets.', clear) 677thing('clear', 'The current skin is cleared of all widgets.', clear)
680thing('window', 'The size and title of the application Frame.', window, 'x,y,name', nil, nil, 'GGG') 678thing('window', 'The size and title of the application Frame.', window, 'x,y,name', nil, nil, 'GGG')