fix messages (e.g. savestates) anchored to bottom or right of window
This commit is contained in:
parent
a4cbce89f0
commit
4435b58c0b
|
@ -176,6 +176,7 @@ namespace BizHawk.MultiClient
|
||||||
void IBlitter.Open()
|
void IBlitter.Open()
|
||||||
{
|
{
|
||||||
g = Graphics.FromImage(tempBuffer.PeekBitmap());
|
g = Graphics.FromImage(tempBuffer.PeekBitmap());
|
||||||
|
ClipBounds = new Rectangle(0, 0, NativeSize.Width, NativeSize.Height);
|
||||||
}
|
}
|
||||||
|
|
||||||
void IBlitter.Close()
|
void IBlitter.Close()
|
||||||
|
@ -200,7 +201,7 @@ namespace BizHawk.MultiClient
|
||||||
//todo
|
//todo
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle IBlitter.ClipBounds { get; set; }
|
public Rectangle ClipBounds { get; set; }
|
||||||
|
|
||||||
bool RetainedViewportPanelDisposeCallback(Bitmap bmp)
|
bool RetainedViewportPanelDisposeCallback(Bitmap bmp)
|
||||||
{
|
{
|
||||||
|
@ -291,7 +292,10 @@ namespace BizHawk.MultiClient
|
||||||
public d3d9font font;
|
public d3d9font font;
|
||||||
}
|
}
|
||||||
|
|
||||||
void IBlitter.Open() {}
|
void IBlitter.Open()
|
||||||
|
{
|
||||||
|
ClipBounds = new Rectangle(0, 0, NativeSize.Width, NativeSize.Height);
|
||||||
|
}
|
||||||
void IBlitter.Close() {}
|
void IBlitter.Close() {}
|
||||||
|
|
||||||
private bool Vsync;
|
private bool Vsync;
|
||||||
|
@ -319,7 +323,7 @@ namespace BizHawk.MultiClient
|
||||||
return new SizeF(r.Width, r.Height);
|
return new SizeF(r.Width, r.Height);
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle IBlitter.ClipBounds { get; set; }
|
public Rectangle ClipBounds { get; set; }
|
||||||
|
|
||||||
public Direct3DRenderPanel(Direct3D direct3D, Control control)
|
public Direct3DRenderPanel(Direct3D direct3D, Control control)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue