From 9b222653f5d80b7f08afc4fbf3aea5142fd1e56a Mon Sep 17 00:00:00 2001 From: zeromus Date: Fri, 16 Oct 2015 18:27:43 -0500 Subject: [PATCH] fix some lua autodoc --- .../tools/Lua/Libraries/EmuLuaLibrary.Client.cs | 4 ++-- .../tools/Lua/Libraries/EmuLuaLibrary.Gui.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Client.cs b/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Client.cs index 9341433b27..f763e75b9a 100644 --- a/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Client.cs +++ b/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Client.cs @@ -308,7 +308,7 @@ namespace BizHawk.Client.EmuHawk [LuaMethodAttributes( "screenheight", - "Gets the current width in pixels of the emulator's drawing area" + "Gets the current height in pixels of the emulator's drawing area" )] public static int ScreenHeight() { @@ -360,7 +360,7 @@ namespace BizHawk.Client.EmuHawk [LuaMethodAttributes( "screenwidth", - "Gets the current height in pixels of the emulator's drawing area" + "Gets the current width in pixels of the emulator's drawing area" )] public static int ScreenWidth() { diff --git a/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Gui.cs b/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Gui.cs index 77197f4aac..1a56ebf845 100644 --- a/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Gui.cs +++ b/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Gui.cs @@ -442,7 +442,7 @@ namespace BizHawk.Client.EmuHawk [LuaMethodAttributes( "drawPolygon", - "Draws a polygon using the table of coordinates specified in points. Line is the color of the polygon. Background is the optional fill color" + "Draws a polygon using the table of coordinates specified in points. This should be a table of tables(each of size 2). Line is the color of the polygon. Background is the optional fill color" )] public void DrawPolygon(LuaTable points, Color? line = null, Color? background = null) {