lua: gui.defaultTextBackground()

This commit is contained in:
feos 2015-12-20 14:28:31 +03:00
parent dfc139376a
commit 23b3784123
1 changed files with 11 additions and 2 deletions

View File

@ -164,7 +164,7 @@ namespace BizHawk.Client.EmuHawk
[LuaMethodAttributes( [LuaMethodAttributes(
"defaultForeground", "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) public void SetDefaultForegroundColor(Color color)
{ {
@ -173,13 +173,22 @@ namespace BizHawk.Client.EmuHawk
[LuaMethodAttributes( [LuaMethodAttributes(
"defaultBackground", "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) public void SetDefaultBackgroundColor(Color color)
{ {
DefaultBackground = 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( [LuaMethodAttributes(
"drawBezier", "drawBezier",
"Draws a Bezier curve using the table of coordinates provided in the given color" "Draws a Bezier curve using the table of coordinates provided in the given color"