diff options
author | David Walter Seikel | 2014-03-30 04:27:29 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-03-30 04:27:29 +1000 |
commit | f9457460c96c06e2d3f3d58a0fbd7fb9469beb29 (patch) | |
tree | 929f7d9555e6cda966f1b88730041e21c2362886 | |
parent | Clean up some Thing oddness. (diff) | |
download | SledjHamr-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 '')
-rw-r--r-- | ClientHamr/GuiLua/skang.lua | 10 |
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 |
654 | end | 654 | end |
655 | 655 | ||
656 | thing('get', 'Get the current value of an existing Thing or metadata.', get, 'thing,key,name') | ||
657 | thing('reset', 'Reset the current value of an existing Thing or metadata.', reset, 'thing,key,name') | ||
658 | thing('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. |
658 | nada = function () end | 662 | nada = function () end |
@@ -669,12 +673,6 @@ end | |||
669 | quit = function () | 673 | quit = function () |
670 | end | 674 | end |
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. | ||
675 | thing('get', 'Get the current value of an existing Thing or metadata.', get, 'thing,key,name') | ||
676 | thing('reset', 'Reset the current value of an existing Thing or metadata.', reset, 'thing,key,name') | ||
677 | thing('set', 'Set the current value of an existing Thing or metadata.', set, 'thing,key,name,data') | ||
678 | thing('nada', 'Do nothing.', nada) | 676 | thing('nada', 'Do nothing.', nada) |
679 | thing('clear', 'The current skin is cleared of all widgets.', clear) | 677 | thing('clear', 'The current skin is cleared of all widgets.', clear) |
680 | thing('window', 'The size and title of the application Frame.', window, 'x,y,name', nil, nil, 'GGG') | 678 | thing('window', 'The size and title of the application Frame.', window, 'x,y,name', nil, nil, 'GGG') |