diff options
author | DS <vorunbekannt75@web.de> | 2017-05-08 00:59:57 +0200 |
---|---|---|
committer | numberZero <silverunicorn2011@yandex.ru> | 2017-05-08 02:59:57 +0400 |
commit | f9ebbdc0fbc9e0d7af0cd84f17444e1c5cb6bc13 (patch) | |
tree | bbb8ec44cf200231bf5da90c91ed695936839d0d | |
parent | 4dcc7fb32f15f160a20c28819d366daa777af907 (diff) | |
download | mesecons-f9ebbdc0fbc9e0d7af0cd84f17444e1c5cb6bc13.tar mesecons-f9ebbdc0fbc9e0d7af0cd84f17444e1c5cb6bc13.tar.gz mesecons-f9ebbdc0fbc9e0d7af0cd84f17444e1c5cb6bc13.tar.bz2 mesecons-f9ebbdc0fbc9e0d7af0cd84f17444e1c5cb6bc13.tar.xz mesecons-f9ebbdc0fbc9e0d7af0cd84f17444e1c5cb6bc13.zip |
Make LuaC formspec bigger (#338)
-rw-r--r-- | mesecons_luacontroller/init.lua | 12 | ||||
-rw-r--r-- | mesecons_luacontroller/textures/jeija_luac_background.png | bin | 2016 -> 718 bytes |
2 files changed, 6 insertions, 6 deletions
diff --git a/mesecons_luacontroller/init.lua b/mesecons_luacontroller/init.lua index 66dc73b..619a837 100644 --- a/mesecons_luacontroller/init.lua +++ b/mesecons_luacontroller/init.lua @@ -479,12 +479,12 @@ local function reset_meta(pos, code, errmsg) meta:set_string("code", code) code = minetest.formspec_escape(code or "") errmsg = minetest.formspec_escape(errmsg or "") - meta:set_string("formspec", "size[10,8]".. - "background[-0.2,-0.25;10.4,8.75;jeija_luac_background.png]".. - "textarea[0.2,0.6;10.2,5;code;;"..code.."]".. - "image_button[3.75,6;2.5,1;jeija_luac_runbutton.png;program;]".. - "image_button_exit[9.72,-0.25;0.425,0.4;jeija_close_window.png;exit;]".. - "label[0.1,5;"..errmsg.."]") + meta:set_string("formspec", "size[12,10]".. + "background[-0.2,-0.25;12.4,10.75;jeija_luac_background.png]".. + "textarea[0.2,0.2;12.2,9.5;code;;"..code.."]".. + "image_button[4.75,8.75;2.5,1;jeija_luac_runbutton.png;program;]".. + "image_button_exit[11.72,-0.25;0.425,0.4;jeija_close_window.png;exit;]".. + "label[0.1,9;"..errmsg.."]") meta:set_int("luac_id", math.random(1, 65535)) end diff --git a/mesecons_luacontroller/textures/jeija_luac_background.png b/mesecons_luacontroller/textures/jeija_luac_background.png Binary files differindex 40e316c..40b427e 100644 --- a/mesecons_luacontroller/textures/jeija_luac_background.png +++ b/mesecons_luacontroller/textures/jeija_luac_background.png |