aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorDavid Walter Seikel2015-07-09 04:19:49 +1000
committerDavid Walter Seikel2015-07-09 04:19:49 +1000
commitd562c81e21ca74d4a1e607d9e8bfb67056590767 (patch)
tree56b94e6b9cfef326d7ad1319f94fd19c1465e453 /src
parentFix some typoes, and white space. (diff)
downloadSledjHamr-d562c81e21ca74d4a1e607d9e8bfb67056590767.zip
SledjHamr-d562c81e21ca74d4a1e607d9e8bfb67056590767.tar.gz
SledjHamr-d562c81e21ca74d4a1e607d9e8bfb67056590767.tar.bz2
SledjHamr-d562c81e21ca74d4a1e607d9e8bfb67056590767.tar.xz
Add some ideas for how to make Lua Skang less verbose.
Diffstat (limited to 'src')
-rw-r--r--src/GuiLua/test.skang9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/GuiLua/test.skang b/src/GuiLua/test.skang
index 6346a4a..cbd848d 100644
--- a/src/GuiLua/test.skang
+++ b/src/GuiLua/test.skang
@@ -12,3 +12,12 @@ skang.thingasm{win, 'ffuncer', 'Calls ffunc', types = 'widget', widget='"button"
12 12
13test.bar = 'things' 13test.bar = 'things'
14test.ffunc(1, 'two') 14test.ffunc(1, 'two')
15
16
17--[[ Ideas to make this less verbose.
18
19Maybe we can leave out the "types = 'widget'" part, and assume it's a widget if there's a "widget = '...'" argument.
20
21Perhaps an actual skang.widget.button(), or even a widget.button().
22
23]] \ No newline at end of file