fix some lua autodoc
This commit is contained in:
parent
9f2879acb6
commit
9b222653f5
|
@ -308,7 +308,7 @@ namespace BizHawk.Client.EmuHawk
|
||||||
|
|
||||||
[LuaMethodAttributes(
|
[LuaMethodAttributes(
|
||||||
"screenheight",
|
"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()
|
public static int ScreenHeight()
|
||||||
{
|
{
|
||||||
|
@ -360,7 +360,7 @@ namespace BizHawk.Client.EmuHawk
|
||||||
|
|
||||||
[LuaMethodAttributes(
|
[LuaMethodAttributes(
|
||||||
"screenwidth",
|
"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()
|
public static int ScreenWidth()
|
||||||
{
|
{
|
||||||
|
|
|
@ -442,7 +442,7 @@ namespace BizHawk.Client.EmuHawk
|
||||||
|
|
||||||
[LuaMethodAttributes(
|
[LuaMethodAttributes(
|
||||||
"drawPolygon",
|
"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)
|
public void DrawPolygon(LuaTable points, Color? line = null, Color? background = null)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue