From ad0e84c4be1411321e36a9f6ab022195c0d006b3 Mon Sep 17 00:00:00 2001 From: MichaelTheShifter Date: Tue, 5 Jul 2016 10:43:43 -0400 Subject: More Lua work including making save_file(filters, func) and open_file(filters, func) do the same as fileskimmer_open and fileskimmer_save --- source/WindowsFormsApplication1/Engine/Lua_Interp.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/WindowsFormsApplication1/Engine/Lua_Interp.cs') diff --git a/source/WindowsFormsApplication1/Engine/Lua_Interp.cs b/source/WindowsFormsApplication1/Engine/Lua_Interp.cs index 88a51a3..5b338ae 100644 --- a/source/WindowsFormsApplication1/Engine/Lua_Interp.cs +++ b/source/WindowsFormsApplication1/Engine/Lua_Interp.cs @@ -642,6 +642,7 @@ end"); } }; }); + mod.open_File = mod.fileskimmer_open; mod.fileskimmer_save += new Action((filters, func) => { API.CreateFileSkimmerSession(filters, File_Skimmer.FileSkimmerMode.Save); @@ -655,6 +656,7 @@ end"); } }; }); + mod.save_File = mod.fileskimmer_save; mod.font = new Func((style, size) => { return new Font(style, size); }); -- cgit v1.2.3