2013-04-15 02:14:14 +00:00
|
|
|
|
using System.Drawing;
|
2012-09-06 08:32:25 +00:00
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
|
2013-11-03 03:54:37 +00:00
|
|
|
|
namespace BizHawk.Client.EmuHawk
|
2012-09-06 08:32:25 +00:00
|
|
|
|
{
|
|
|
|
|
public class SNESGraphicsViewer : RetainedViewportPanel
|
|
|
|
|
{
|
|
|
|
|
public SNESGraphicsViewer()
|
|
|
|
|
{
|
|
|
|
|
SetStyle(ControlStyles.SupportsTransparentBackColor, true);
|
2012-11-22 06:57:01 +00:00
|
|
|
|
if(!DesignMode)
|
2013-04-15 02:14:14 +00:00
|
|
|
|
BackColor = Color.Transparent;
|
2012-09-06 08:32:25 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override void OnPaint(PaintEventArgs e)
|
|
|
|
|
{
|
|
|
|
|
base.OnPaint(e);
|
|
|
|
|
}
|
|
|
|
|
|
2012-11-26 08:05:51 +00:00
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
{
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
}
|
2012-09-06 08:32:25 +00:00
|
|
|
|
}
|
|
|
|
|
}
|