diff options
author | David Walter Seikel | 2014-05-08 09:05:01 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-05-08 09:05:01 +1000 |
commit | b4e8ab19c4f232c68ba511534880d22ef35a04b0 (patch) | |
tree | a0ed2d296e20e3ec18187a7e2ad9c75b320982c9 /src/extantz | |
parent | Setup all the Lua paths in a central place. (diff) | |
download | SledjHamr-b4e8ab19c4f232c68ba511534880d22ef35a04b0.zip SledjHamr-b4e8ab19c4f232c68ba511534880d22ef35a04b0.tar.gz SledjHamr-b4e8ab19c4f232c68ba511534880d22ef35a04b0.tar.bz2 SledjHamr-b4e8ab19c4f232c68ba511534880d22ef35a04b0.tar.xz |
A new function to load GuiLua skang modules.
Diffstat (limited to 'src/extantz')
-rw-r--r-- | src/extantz/extantz.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/extantz/extantz.c b/src/extantz/extantz.c index 590770d..5fb88f4 100644 --- a/src/extantz/extantz.c +++ b/src/extantz/extantz.c | |||
@@ -515,11 +515,9 @@ EAPI_MAIN int elm_main(int argc, char **argv) | |||
515 | makeMainMenu(&ourGlobals); | 515 | makeMainMenu(&ourGlobals); |
516 | 516 | ||
517 | // overlay_add(&ourGlobals); | 517 | // overlay_add(&ourGlobals); |
518 | char *args[] = {"extantz", "-l", "test", "-foo", "COMBINED!", NULL}; | 518 | GuiLuaLoad("test", ourGlobals.mainWindow); |
519 | GuiLuaDo(5, args, ourGlobals.mainWindow); | ||
520 | woMan_add(&ourGlobals); | 519 | woMan_add(&ourGlobals); |
521 | args[2] = "purkle"; | 520 | GuiLuaLoad("purkle", ourGlobals.mainWindow); |
522 | GuiLuaDo(3, args, ourGlobals.mainWindow); | ||
523 | ourGlobals.files = filesAdd(&ourGlobals, (char *) elm_app_data_dir_get(), EINA_TRUE, EINA_FALSE); | 521 | ourGlobals.files = filesAdd(&ourGlobals, (char *) elm_app_data_dir_get(), EINA_TRUE, EINA_FALSE); |
524 | 522 | ||
525 | #if USE_PHYSICS | 523 | #if USE_PHYSICS |