diff options
author | David Walter Seikel | 2014-04-27 20:37:46 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-04-27 20:37:46 +1000 |
commit | d2a6479b73af16d8265493d969abadf5b0984505 (patch) | |
tree | 4a8fa35dc66d1cba5efa07ff3f74c47393075580 /src/GuiLua/test.skang | |
parent | Convert GuiLua to EO. (diff) | |
download | SledjHamr-d2a6479b73af16d8265493d969abadf5b0984505.zip SledjHamr-d2a6479b73af16d8265493d969abadf5b0984505.tar.gz SledjHamr-d2a6479b73af16d8265493d969abadf5b0984505.tar.bz2 SledjHamr-d2a6479b73af16d8265493d969abadf5b0984505.tar.xz |
Convert the Evas 3D example stuff to EO, though it still doesn't work, but at least it compiles and runs with no error messages.
Diffstat (limited to 'src/GuiLua/test.skang')
-rw-r--r-- | src/GuiLua/test.skang | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GuiLua/test.skang b/src/GuiLua/test.skang index 10382b5..897777f 100644 --- a/src/GuiLua/test.skang +++ b/src/GuiLua/test.skang | |||
@@ -4,7 +4,7 @@ | |||
4 | -- There's an implied local test = require 'test' | 4 | -- There's an implied local test = require 'test' |
5 | 5 | ||
6 | -- This is a bit more verbose than I wanted. lol | 6 | -- This is a bit more verbose than I wanted. lol |
7 | local win = skang.window(500, 500, "G'day planet.", 'testWindow') | 7 | local win = skang.window(1024, 1024, "G'day planet.", 'testWindow') |
8 | skang.thingasm{win, 'quitter', 'Quits the skang window', types = 'widget', widget='"button", "Quit", 10, 10, 100, 30'} | 8 | skang.thingasm{win, 'quitter', 'Quits the skang window', types = 'widget', widget='"button", "Quit", 10, 10, 100, 30'} |
9 | win.W.quitter.action = 'skang.quit()' -- TODO Should look it up in ThingSpace.commands, and translate 'quit' into the Lua 'skang.quit()'? | 9 | win.W.quitter.action = 'skang.quit()' -- TODO Should look it up in ThingSpace.commands, and translate 'quit' into the Lua 'skang.quit()'? |
10 | 10 | ||