Skip to content
Snippets Groups Projects
Commit ded7028c authored by DarkGod's avatar DarkGod
Browse files

test

parent 25686110
No related branches found
No related tags found
No related merge requests found
......@@ -499,6 +499,9 @@ void te4_web_setup(
}
}
void te4_web_initialize() {
void te4_web_initialize(const char *locales, const char *pak) {
te4_web_init_utils();
}
void te4_web_shutdown() {
}
......@@ -29,7 +29,8 @@ WEB_TE4_API void te4_web_setup(
void (*key_mods)(bool*, bool*, bool*, bool*),
void (*web_instant_js)(int handlers, const char *fct, int nb_args, WebJsValue *args, WebJsValue *ret)
);
WEB_TE4_API void te4_web_initialize();
WEB_TE4_API void te4_web_initialize(const char *locales, const char *pak);
WEB_TE4_API void te4_web_shutdown();
WEB_TE4_API void te4_web_do_update(void (*cb)(WebEvent*));
WEB_TE4_API void te4_web_new(web_view_type *view, int w, int h);
WEB_TE4_API bool te4_web_close(web_view_type *view);
......
......@@ -391,7 +391,7 @@ void te4_web_init(lua_State *L) {
auxiliar_newclass(L, "web{view}", view_reg);
luaL_openlib(L, "core.webview", weblib, 0);
lua_pushstring(L, "kind");
lua_pushstring(L, "cef3");
lua_pushstring(L, "awesomium");
lua_settable(L, -3);
lua_settop(L, 0);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment