From 23b3784123882ed434b5adcb3b904f9a9fdfa3fa Mon Sep 17 00:00:00 2001 From: feos Date: Sun, 20 Dec 2015 14:28:31 +0300 Subject: [PATCH] lua: gui.defaultTextBackground() --- .../tools/Lua/Libraries/EmuLuaLibrary.Gui.cs | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Gui.cs b/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Gui.cs index 4b65078cfe..e15f452a45 100644 --- a/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Gui.cs +++ b/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Gui.cs @@ -164,7 +164,7 @@ namespace BizHawk.Client.EmuHawk [LuaMethodAttributes( "defaultForeground", - "Sets the default foreground color to use when using drawing methods, white by default" + "Sets the default foreground color to use in drawing methods, white by default" )] public void SetDefaultForegroundColor(Color color) { @@ -173,13 +173,22 @@ namespace BizHawk.Client.EmuHawk [LuaMethodAttributes( "defaultBackground", - "Sets the default background color to use when using drawing methods, transparent by default" + "Sets the default background color to use in drawing methods, transparent by default" )] public void SetDefaultBackgroundColor(Color color) { DefaultBackground = color; } + [LuaMethodAttributes( + "defaultTextBackground", + "Sets the default backgroiund color to use in text drawing methods, half-transparent black by default" + )] + public void SetDefaultTextBackground(Color color) + { + DefaultTextBackground = color; + } + [LuaMethodAttributes( "drawBezier", "Draws a Bezier curve using the table of coordinates provided in the given color"