Added lua command client_xpos and client_ypos

This commit is contained in:
masterofpuppets152001 2013-04-18 00:54:04 +00:00
parent 6b62528ed5
commit bad1d9502c
1 changed files with 10 additions and 0 deletions

View File

@ -517,7 +517,9 @@ namespace BizHawk.MultiClient
"opentasstudio",
"opencheats",
"screenwidth",
"xpos",
"screenheight",
"ypos",
"screenshot",
"screenshottoclipboard",
"setscreenshotosd",
@ -2247,11 +2249,19 @@ namespace BizHawk.MultiClient
{
return Global.RenderPanel.NativeSize.Width;
}
public int client_xpos()
{
return Global.MainForm.DesktopLocation.X;
}
public int client_screenheight()
{
return Global.RenderPanel.NativeSize.Height;
}
public int client_ypos()
{
return Global.MainForm.DesktopLocation.Y;
}
public void client_openrom(object lua_input)
{