aboutsummaryrefslogtreecommitdiff
path: root/source/WindowsFormsApplication1/Engine
diff options
context:
space:
mode:
authorMichaelTheShifter <[email protected]>2016-07-05 10:43:43 -0400
committerMichaelTheShifter <[email protected]>2016-07-05 10:43:43 -0400
commitad0e84c4be1411321e36a9f6ab022195c0d006b3 (patch)
treefc743792ec1251a49e1e8dda32ca9a29347ad9ee /source/WindowsFormsApplication1/Engine
parenta0b001b25f001d1df767987528980704d3d40347 (diff)
downloadshiftos-c--ad0e84c4be1411321e36a9f6ab022195c0d006b3.tar.gz
shiftos-c--ad0e84c4be1411321e36a9f6ab022195c0d006b3.tar.bz2
shiftos-c--ad0e84c4be1411321e36a9f6ab022195c0d006b3.zip
More Lua work
including making save_file(filters, func) and open_file(filters, func) do the same as fileskimmer_open and fileskimmer_save
Diffstat (limited to 'source/WindowsFormsApplication1/Engine')
-rw-r--r--source/WindowsFormsApplication1/Engine/Lua_Interp.cs2
1 files changed, 2 insertions, 0 deletions
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<string, string>((filters, func) =>
{
API.CreateFileSkimmerSession(filters, File_Skimmer.FileSkimmerMode.Save);
@@ -655,6 +656,7 @@ end");
}
};
});
+ mod.save_File = mod.fileskimmer_save;
mod.font = new Func<string, int, Font>((style, size) => {
return new Font(style, size);
});