~unity-team/nux/nux.armel-fixes

« back to all changes in this revision

Viewing changes to Nux/Canvas.cpp

  • Committer: Tarmac
  • Author(s): Michi Henning
  • Date: 2012-10-02 01:05:45 UTC
  • mfrom: (667.2.5 1056633)
  • Revision ID: tarmac-20121002010545-jphizk30nj3oe9ui
Added -Wextra to compiler flags and removed a large number of warnings about unused parameters. Code compiles clean now without warnings, except for one remaining warning (see bug #1052765).. Fixes: https://bugs.launchpad.net/bugs/1056633. Approved by Michi Henning.

Show diffs side-by-side

added added

removed removed

Lines of Context:
147
147
    //cairo_surface_write_to_png (GetCairoSurface (), "/tmp/surf-debug.png");      
148
148
  }
149
149
 
150
 
  void Canvas::Draw (GraphicsEngine& graphics_engine, bool forceDraw)
 
150
  void Canvas::Draw (GraphicsEngine& graphics_engine, bool /* forceDraw */)
151
151
  {
152
152
    Geometry geom = GetGeometry ();
153
153
 
185
185
    graphics_engine.PopClippingRectangle();
186
186
  }
187
187
 
188
 
  void Canvas::DrawContent(GraphicsEngine& graphics_engine, bool forceDraw)
 
188
  void Canvas::DrawContent(GraphicsEngine& /* graphics_engine */, bool /* forceDraw */)
189
189
  {
190
190
  }
191
191