From fc66ec1b025eb6602bec80b14903cefe46236d63 Mon Sep 17 00:00:00 2001 From: feos Date: Thu, 29 Sep 2016 18:09:58 +0300 Subject: [PATCH] Lua docs: fix #703 --- .../tools/Lua/Libraries/EmuLuaLibrary.Gui.cs | 4 ++-- 1 file changed, 2 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 ef94b53dc5..0fcfc0c2a7 100644 --- a/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Gui.cs +++ b/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Gui.cs @@ -194,7 +194,7 @@ namespace BizHawk.Client.EmuHawk [LuaMethodAttributes( "defaultPixelFont", - "Sets the default font to use in gui.pixelText(), \"gens\" by default" + "Sets the default font to use in gui.pixelText(). Two font families are available, \"fceux\" and \"gens\" (or \"0\" and \"1\" respectively), \"gens\" is used by default" )] public void SetDefaultTextBackground(string fontfamily) { @@ -604,7 +604,7 @@ namespace BizHawk.Client.EmuHawk [LuaMethodAttributes( "pixelText", - "Draws the given message in the emulator screen space (like all draw functions) at the given x,y coordinates and the given color. The default color is white. A fontfamily can be specified and is monospace generic if none is specified (font family options are the same as the .NET FontFamily class. The fontsize default is 12. The default font style. Font style options are regular, bold, italic, strikethrough, underline" + "Draws the given message in the emulator screen space (like all draw functions) at the given x,y coordinates and the given color. The default color is white. Two font families are available, \"fceux\" and \"gens\" (or \"0\" and \"1\" respectively), both are monospace and have the same size as in the emulaors they've been taken from. If no font family is specified, it uses \"gens\" font, unless that's overridden via gui.defaultPixelFont()" )] public void DrawText( int x,