Example #1
0
void ViewBitmapWin_::OnPaint()
{
  if(Flags & sGWF_CHILDFOCUS)
  {
    App->StatusMouse = "m: scroll [menu]   r:zoom";
    App->StatusWindow = "...";
  }
  if(!ShowOp)
    ClearBack(1);
}
Example #2
0
void MesaDriver::Clear(GLcontext *ctx, GLbitfield mask,
                               GLboolean all, GLint x, GLint y,
                               GLint width, GLint height)
{
   if (mask & DD_FRONT_LEFT_BIT)
		ClearFront(ctx, all, x, y, width, height);
   if (mask & DD_BACK_LEFT_BIT)
		ClearBack(ctx, all, x, y, width, height);

	mask &= ~(DD_FRONT_LEFT_BIT | DD_BACK_LEFT_BIT);
	if (mask)
		_swrast_Clear( ctx, mask, all, x, y, width, height );

   return;
}