diff options
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') |