aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-05-16 20:07:10 +1000
committerDavid Walter Seikel2014-05-16 20:07:10 +1000
commitf7ae7ae327c0bb54769d9b2e77fd84adc9b40d9c (patch)
tree1ee86e41206a30cc6e19133a83945067cfccd94d /src
parentTry to do actions in the environment of the window that owns the widget this ... (diff)
downloadSledjHamr-f7ae7ae327c0bb54769d9b2e77fd84adc9b40d9c.zip
SledjHamr-f7ae7ae327c0bb54769d9b2e77fd84adc9b40d9c.tar.gz
SledjHamr-f7ae7ae327c0bb54769d9b2e77fd84adc9b40d9c.tar.bz2
SledjHamr-f7ae7ae327c0bb54769d9b2e77fd84adc9b40d9c.tar.xz
OK, put the safe one back, for now.
Diffstat (limited to 'src')
-rw-r--r--src/GuiLua/GuiLua.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GuiLua/GuiLua.c b/src/GuiLua/GuiLua.c
index a3b5a58..d76e87b 100644
--- a/src/GuiLua/GuiLua.c
+++ b/src/GuiLua/GuiLua.c
@@ -429,8 +429,8 @@ printf("**********************require GuiLua\n");
429 push_lua(L, "@ ( = $ $ & )", skang, THINGASM, skang, "clear", "The current skin is cleared of all widgets.", clear, 0); 429 push_lua(L, "@ ( = $ $ & )", skang, THINGASM, skang, "clear", "The current skin is cleared of all widgets.", clear, 0);
430PD("GuiLua 2"); 430PD("GuiLua 2");
431// TODO - This one crashes sometimes. Figure out why later. 431// TODO - This one crashes sometimes. Figure out why later.
432 push_lua(L, "@ ( = $ $ & $ )", skang, THINGASM, skang, "widget", "Create a widget.", widget, "userdata,string,string,number,number,number,number"); 432// push_lua(L, "@ ( = $ $ & $ )", skang, THINGASM, skang, "widget", "Create a widget.", widget, "userdata,string,string,number,number,number,number");
433/// push_lua(L, "@ ( = $ $ & )", skang, THINGASM, skang, "widget", "Create a widget.", widget, 0); 433 push_lua(L, "@ ( = $ $ & )", skang, THINGASM, skang, "widget", "Create a widget.", widget, 0);
434PD("GuiLua 3"); 434PD("GuiLua 3");
435 push_lua(L, "@ ( = $ $ & )", skang, THINGASM, skang, "action", "Add an action to a widget.", action, 0); 435 push_lua(L, "@ ( = $ $ & )", skang, THINGASM, skang, "action", "Add an action to a widget.", action, 0);
436 push_lua(L, "@ ( = $ $ & )", skang, THINGASM, skang, "Colour", "Change widget colours.", colour, 0); 436 push_lua(L, "@ ( = $ $ & )", skang, THINGASM, skang, "Colour", "Change widget colours.", colour, 0);