mirror of
https://github.com/freebip/BipEmulator.git
synced 2025-05-18 17:36:32 +03:00
CHG: Force update
This commit is contained in:
parent
9de32c65ba
commit
7dc96659f5
@ -31,8 +31,8 @@ namespace BipEmulator.Host
|
|||||||
|
|
||||||
public void TextOutCenter(Bitmap bmp, string text, int x, int y, Color fgColor, Color bgColor, bool bgTransparent = false)
|
public void TextOutCenter(Bitmap bmp, string text, int x, int y, Color fgColor, Color bgColor, bool bgTransparent = false)
|
||||||
{
|
{
|
||||||
var w = GetTextWidth(text);
|
|
||||||
var h = GetTextHeight();
|
var h = GetTextHeight();
|
||||||
|
var w = GetTextWidth(text);
|
||||||
TextOut(bmp, text, x - w / 2, y, fgColor, bgColor, bgTransparent);
|
TextOut(bmp, text, x - w / 2, y, fgColor, bgColor, bgTransparent);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user