diff options
author | 2020-12-05 21:04:22 +1100 | |
---|---|---|
committer | 2020-12-05 21:04:22 +1100 | |
commit | cac83ba5b1fec32513704e5cb1919efc35d15e0e (patch) | |
tree | e12482d7bc59320c5a0225bb17444735eab250e3 /plugins/layout/init.lua | |
parent | e4ed0ebf242daeca43d85fa3281978d9e6d1b4c6 (diff) |
Expose enough of the layout system to Lua to allow position and colour to be animated.
Diffstat (limited to 'plugins/layout/init.lua')
-rw-r--r-- | plugins/layout/init.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/layout/init.lua b/plugins/layout/init.lua index aeb0ad77e44..654df599bd3 100644 --- a/plugins/layout/init.lua +++ b/plugins/layout/init.lua @@ -16,6 +16,13 @@ function layout.startplugin() local function prepare_layout(file, script) local env = { machine = manager:machine(), + emu = { + render_bounds = emu.render_bounds, + render_color = emu.render_color, + print_verbose = emu.print_verbose, + print_error = emu.print_error, + print_info = emu.print_info, + print_debug = emu.print_debug }, file = file, print = print, pairs = pairs, |