mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 09:47:22 +13:00
Show region capture FPS in active monitor
This commit is contained in:
parent
752cf120ed
commit
cefae849df
1 changed files with 3 additions and 1 deletions
|
@ -579,7 +579,9 @@ private void CheckFPS()
|
|||
|
||||
private void DrawFPS(Graphics g, int offset)
|
||||
{
|
||||
ImageHelpers.DrawTextWithShadow(g, FPS.ToString(), new Point(offset, offset), infoFontBig, Brushes.White, Brushes.Black, new Point(0, 1));
|
||||
Rectangle screenBounds = CaptureHelpers.GetActiveScreenBounds0Based();
|
||||
|
||||
ImageHelpers.DrawTextWithShadow(g, FPS.ToString(), screenBounds.Location.Add(offset), infoFontBig, Brushes.White, Brushes.Black, new Point(0, 1));
|
||||
}
|
||||
|
||||
private void DrawInfoText(Graphics g, string text, Rectangle rect, Font font, int padding)
|
||||
|
|
Loading…
Reference in a new issue