diff --git a/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Gui.cs b/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Gui.cs index d6d71faa46..5849b5fa81 100644 --- a/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Gui.cs +++ b/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Gui.cs @@ -378,6 +378,18 @@ namespace BizHawk.Client.EmuHawk } } + [LuaMethodAttributes( + "drawAxis", + "Draws an axis of the specified size at the coordinate pair.)" + )] + + public void DrawAxis(int x, int y, int? size = null, Color? color = null) + { + DrawLine(x + (int) size, y, x - (int) size, y, color); + DrawLine(x, y + (int)size, x, y - (int)size, color); + } + + [LuaMethodAttributes( "drawPie", "draws a Pie shape at the given coordinates and the given width and height"