diff options
author | David Walter Seikel | 2014-05-16 18:54:14 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-05-16 18:54:14 +1000 |
commit | df8680b4acdf1dc9b52768ac5d88309e8f52868c (patch) | |
tree | d341eb469393ec2bf10060de407973d7f644d891 /src/GuiLua | |
parent | Big TODO++ (diff) | |
download | SledjHamr-df8680b4acdf1dc9b52768ac5d88309e8f52868c.zip SledjHamr-df8680b4acdf1dc9b52768ac5d88309e8f52868c.tar.gz SledjHamr-df8680b4acdf1dc9b52768ac5d88309e8f52868c.tar.bz2 SledjHamr-df8680b4acdf1dc9b52768ac5d88309e8f52868c.tar.xz |
Bring back the dangerous push_lua() calls. Trying to debug this.
Diffstat (limited to '')
-rw-r--r-- | src/GuiLua/GuiLua.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/GuiLua/GuiLua.c b/src/GuiLua/GuiLua.c index d960da9..65e0d79 100644 --- a/src/GuiLua/GuiLua.c +++ b/src/GuiLua/GuiLua.c | |||
@@ -351,14 +351,14 @@ printf("**********************require GuiLua\n"); | |||
351 | push_lua(L, "@ ( = $ $ & )", skang, THINGASM, skang, "clear", "The current skin is cleared of all widgets.", clear, 0); | 351 | push_lua(L, "@ ( = $ $ & )", skang, THINGASM, skang, "clear", "The current skin is cleared of all widgets.", clear, 0); |
352 | PD("GuiLua 2"); | 352 | PD("GuiLua 2"); |
353 | // TODO - This one crashes sometimes. Figure out why later. | 353 | // TODO - This one crashes sometimes. Figure out why later. |
354 | // push_lua(L, "@ ( { = $ $ & $ } )", skang, THINGASM, skang, "widget", "Create a widget.", widget, "userdata,string,string,number,number,number,number"); | 354 | push_lua(L, "@ ( = $ $ & $ )", skang, THINGASM, skang, "widget", "Create a widget.", widget, "userdata,string,string,number,number,number,number"); |
355 | push_lua(L, "@ ( = $ $ & )", skang, THINGASM, skang, "widget", "Create a widget.", widget, 0); | 355 | /// push_lua(L, "@ ( = $ $ & )", skang, THINGASM, skang, "widget", "Create a widget.", widget, 0); |
356 | PD("GuiLua 3"); | 356 | PD("GuiLua 3"); |
357 | push_lua(L, "@ ( = $ $ & )", skang, THINGASM, skang, "action", "Add an action to a widget.", action, 0); | 357 | push_lua(L, "@ ( = $ $ & )", skang, THINGASM, skang, "action", "Add an action to a widget.", action, 0); |
358 | push_lua(L, "@ ( = $ $ & )", skang, THINGASM, skang, "Colour", "Change widget colours.", colour, 0); | 358 | push_lua(L, "@ ( = $ $ & )", skang, THINGASM, skang, "Colour", "Change widget colours.", colour, 0); |
359 | push_lua(L, "@ ( = $ $ & )", skang, THINGASM, skang, "loopWindow", "Run our windows main loop.", loopWindow, 0); | 359 | push_lua(L, "@ ( = $ $ & )", skang, THINGASM, skang, "loopWindow", "Run our windows main loop.", loopWindow, 0); |
360 | push_lua(L, "@ ( = $ $ & )", skang, THINGASM, skang, "quit", "Quit, exit, remove thyself.", quit, 0); | 360 | push_lua(L, "@ ( = $ $ & )", skang, THINGASM, skang, "quit", "Quit, exit, remove thyself.", quit, 0); |
361 | push_lua(L, "@ ( = $ $ & )", skang, THINGASM, skang, "closeWindow", "Closes a window.", closeWindow, 0); // TODO - closeWindow, "userdata"); | 361 | push_lua(L, "@ ( = $ $ & $ )", skang, THINGASM, skang, "closeWindow", "Closes a window.", closeWindow, "userdata", 0); // TODO - closeWindow, "userdata"); |
362 | 362 | ||
363 | // A test of the array building stuff. | 363 | // A test of the array building stuff. |
364 | push_lua(L, "@ ( { = $ $ % $widget !required } )", skang, THINGASM, skang, "wibble", "It's wibbly!", 1, "'edit', 'The wibblinator:', 1, 1, 10, 50", 1, 0); | 364 | push_lua(L, "@ ( { = $ $ % $widget !required } )", skang, THINGASM, skang, "wibble", "It's wibbly!", 1, "'edit', 'The wibblinator:', 1, 1, 10, 50", 1, 0); |