This commit is contained in:
Garry Newman 2018-02-01 19:22:09 +00:00
commit 3a4bb29f7e

View File

@ -66,5 +66,15 @@ public unsafe void Write( byte[] rgbData, int width, int height )
client.native.screenshots.WriteScreenshot( (IntPtr) ptr, (uint) rgbData.Length, width, height );
}
}
public unsafe void AddScreenshotToLibrary( string filename, string thumbnailFilename, int width, int height)
{
client.native.screenshots.AddScreenshotToLibrary(filename, thumbnailFilename, width, height);
}
public unsafe void AddScreenshotToLibrary( string filename, int width, int height)
{
client.native.screenshots.AddScreenshotToLibrary(filename, null, width, height);
}
}
}