~azzar1/unity/fix-870143

« back to all changes in this revision

Viewing changes to plugins/unityshell/src/DashSearchBar.cpp

  • Committer: Andrea Azzarone
  • Date: 2012-01-07 17:09:23 UTC
  • mfrom: (1793.2.25 unity)
  • Revision ID: azzaronea@gmail.com-20120107170923-1u8ih02tjpvac3tl
Fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
240
240
  GfxContext.PushClippingRectangle(geo);
241
241
 
242
242
  if (!IsFullRedraw())
 
243
  {
243
244
    gPainter.PushLayer(GfxContext, bg_layer_->GetGeometry(), bg_layer_);
 
245
  }
 
246
  else
 
247
  {
 
248
    nux::GetPainter().PushPaintLayerStack();
 
249
  }  
244
250
 
245
251
  layout_->ProcessDraw(GfxContext, force_draw);
246
252
 
247
253
  if (!IsFullRedraw())
 
254
  {
248
255
    gPainter.PopBackground();
 
256
  }
 
257
  else
 
258
  {
 
259
    nux::GetPainter().PopPaintLayerStack();
 
260
  }
 
261
 
249
262
  GfxContext.PopClippingRectangle();
250
263
}
251
264