public GLControlWrapper_GdiPlus(IGL_GdiPlus gdi) { _gdi = gdi; SetStyle(ControlStyles.UserPaint, true); SetStyle(ControlStyles.OptimizedDoubleBuffer, true); SetStyle(ControlStyles.Opaque, true); SetStyle(ControlStyles.UserMouse, true); }
public GLControlWrapper_GdiPlus(IGL_GdiPlus gdi) { Gdi = gdi; //uhhh not sure what we need to be doing here //SetStyle(ControlStyles.AllPaintingInWmPaint, true); SetStyle(ControlStyles.UserPaint, true); SetStyle(ControlStyles.OptimizedDoubleBuffer, true); SetStyle(ControlStyles.Opaque, true); SetStyle(ControlStyles.UserMouse, true); }
public RenderTargetWrapper(IGL_GdiPlus gdi) { Gdi = gdi; }