diff options
author | Noel Grandin <noel@peralex.com> | 2015-06-02 08:47:33 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-06-04 08:30:24 +0200 |
commit | ab377324bb8fe081f1e01cd04f534bcf817fda28 (patch) | |
tree | 09f91678f910886f6c840f65007388e27d211f0c /basebmp/test/bmptest.cxx | |
parent | 52e4ba4b98fdee1f0624e7195927725171984096 (diff) |
convert DrawMode to scoped enum
Change-Id: Ie4a7705cc3d042d08178e562a2c2ffaf0be3810f
Diffstat (limited to 'basebmp/test/bmptest.cxx')
-rw-r--r-- | basebmp/test/bmptest.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/basebmp/test/bmptest.cxx b/basebmp/test/bmptest.cxx index 30644fb74930..19a73730288c 100644 --- a/basebmp/test/bmptest.cxx +++ b/basebmp/test/bmptest.cxx @@ -62,7 +62,7 @@ private: rBmp, aSourceRect, aDestLeftTop, - DrawMode_PAINT ); + DrawMode::Paint ); CPPUNIT_ASSERT_MESSAGE("number of rendered pixel is not 8", countPixel( rDevice, aCol ) == 8); @@ -70,7 +70,7 @@ private: rBmp, aSourceRect, aDestRightTop, - DrawMode_PAINT ); + DrawMode::Paint ); CPPUNIT_ASSERT_MESSAGE("number of rendered pixel is not 16", countPixel( rDevice, aCol ) == 16); @@ -78,7 +78,7 @@ private: rBmp, aSourceRect, aDestLeftBottom, - DrawMode_PAINT ); + DrawMode::Paint ); CPPUNIT_ASSERT_MESSAGE("number of rendered pixel is not 24", countPixel( rDevice, aCol ) == 24); @@ -86,7 +86,7 @@ private: rBmp, aSourceRect, aDestRightBottom, - DrawMode_PAINT ); + DrawMode::Paint ); CPPUNIT_ASSERT_MESSAGE("number of rendered pixel is not 32", countPixel( rDevice, aCol ) == 32); @@ -101,7 +101,7 @@ private: pClone, aSourceOverlap, aDestOverlap, - DrawMode_PAINT ); + DrawMode::Paint ); CPPUNIT_ASSERT_MESSAGE("clobbertest - number of set pixel is not 50", countPixel( rBmp, aCol ) == 50); @@ -123,7 +123,7 @@ private: rBmp, aSourceRect, aDestLeftTop, - DrawMode_PAINT ); + DrawMode::Paint ); CPPUNIT_ASSERT_MESSAGE("number of rendered pixel is not 4", countPixel( rDevice, aCol ) == 4); @@ -131,7 +131,7 @@ private: rBmp, aSourceRect, aDestLeftBottom, - DrawMode_PAINT ); + DrawMode::Paint ); CPPUNIT_ASSERT_MESSAGE("number of rendered pixel is not 4(c)", countPixel( rDevice, aCol ) == 4); @@ -139,7 +139,7 @@ private: rBmp, aSourceRect, aDestRightBottom, - DrawMode_PAINT ); + DrawMode::Paint ); CPPUNIT_ASSERT_MESSAGE("number of rendered pixel is not 8", countPixel( rDevice, aCol ) == 8); } @@ -174,11 +174,11 @@ public: mpBmp1bpp->fillPolyPolygon( aPoly, aCol, - DrawMode_PAINT ); + DrawMode::Paint ); mpBmp32bpp->fillPolyPolygon( aPoly, aCol, - DrawMode_PAINT ); + DrawMode::Paint ); } void testBmpBasics() |