Kaydet (Commit) 2dd61fb3 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

make these explicit

That makes it easier to debug as even if you uncomment some lines the
rectangle will still be at the same position

Change-Id: I5576b2702962bb15663e0170cadb0d49ef33c0ab
üst a4473b85
...@@ -263,19 +263,17 @@ void DemoWin::Paint( const Rectangle& rRect ) ...@@ -263,19 +263,17 @@ void DemoWin::Paint( const Rectangle& rRect )
std::vector<Rectangle> aRegions(partitionAndClear(4,3)); std::vector<Rectangle> aRegions(partitionAndClear(4,3));
int i = 0; drawRadialLines(aRegions[0]);
drawRadialLines(aRegions[i++]); drawText(aRegions[1]);
drawText(aRegions[i++]); drawPoly(aRegions[2]);
drawPoly(aRegions[i++]); drawEllipse(aRegions[3]);
drawEllipse(aRegions[i++]); drawCheckered(aRegions[4]);
drawCheckered(aRegions[i++]); drawBitmapEx(aRegions[5]);
drawBitmapEx(aRegions[i++]); drawBitmap(aRegions[6]);
drawBitmap(aRegions[i++]); drawGradient(aRegions[7]);
drawGradient(aRegions[i++]); drawPolyPolgons(aRegions[8]);
drawPolyPolgons(aRegions[i++]);
// last - thumbnail all the above // last - thumbnail all the above
fetchDrawBitmap(aRegions[i++]); fetchDrawBitmap(aRegions[9]);
assert(i<=12);
} }
class DemoApp : public Application class DemoApp : public Application
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment