diff options
Diffstat (limited to 'ClientHamr')
-rw-r--r-- | ClientHamr/GuiLua/skang.lua | 18 |
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. |
176 | module = function (name) | 176 | get = function (name) |
177 | end | ||
178 | set = function (name, value) | ||
177 | end | 179 | end |
180 | |||
178 | clear = function () | 181 | clear = function () |
179 | end | 182 | end |
180 | window = function (width, height, title) | 183 | window = function (width, height, title) |
181 | end | 184 | end |
182 | skang = function (name) | 185 | |
183 | end | 186 | module = function (name) |
184 | get = function (name) | ||
185 | end | 187 | end |
186 | set = function (name, value) | 188 | skang = function (name) |
187 | end | 189 | end |
188 | quit = function () | 190 | quit = function () |
189 | end | 191 | end |
190 | 192 | ||
191 | newCommand(_M, 'module', 'file,acl', 'Load a module.', module) | 193 | newCommand(_M, 'get', 'name', 'Get the current value of an existing thing.', get) -- This should be in Thing, not actually here? |
194 | newCommand(_M, 'set', 'name,data', 'Set the current value of an existing Thing.', set) -- This should be in Thing, not actually here? | ||
192 | newCommand(_M, 'clear', '', 'The current skin is cleared of all widgets.', clear) -- Was in SkangAWT in Java. | 195 | newCommand(_M, 'clear', '', 'The current skin is cleared of all widgets.', clear) -- Was in SkangAWT in Java. |
193 | newCommand(_M, 'window', 'x,y,name', 'Specifies the size and title of the application Frame.', window, 'GGG') -- Was in SkangAWT in Java. | 196 | newCommand(_M, 'window', 'x,y,name', 'Specifies the size and title of the application Frame.', window, 'GGG') -- Was in SkangAWT in Java. |
197 | newCommand(_M, 'module', 'file,acl', 'Load a module.', module) | ||
194 | newCommand(_M, 'skang', 'URL', 'Parse the contents of a skang file or URL.', skang) | 198 | newCommand(_M, 'skang', 'URL', 'Parse the contents of a skang file or URL.', skang) |
195 | newCommand(_M, 'get', 'name', 'Get the current value of an existing thing.', get) -- This should be in the modules, not actually here? | ||
196 | newCommand(_M, 'set', 'name,data', 'Set the current value of an existing Thing.', set) -- This should be in the modules, not actually here? | ||
197 | newCommand(_M, 'quit', '', 'Quit, exit, remove thyself.', quit) | 199 | newCommand(_M, 'quit', '', 'Quit, exit, remove thyself.', quit) |
198 | 200 | ||
199 | 201 | ||