@@ -641,7 +641,7 @@ TBool BBitmap::DrawBitmapTransparent(BViewPort *aViewPort, BBitmap *aSrcBitmap,
641641
642642TBool BBitmap::DrawStringShadow (BViewPort *aViewPort, const char *aStr,
643643 const BFont *aFont, TInt aX, TInt aY, TUint8 aFgColor, TUint8 aShadowColor,
644- TInt8 aBgColor, TInt aLetterSpacing) {
644+ TInt16 aBgColor, TInt aLetterSpacing) {
645645 if (gDisplay .renderBitmap ->mDepth == 32 ) {
646646 return DrawStringShadow (aViewPort, aStr, aFont, aX, aY, mPalette [aFgColor].rgb888 (), mPalette [aShadowColor].rgb888 (), TInt32 (aBgColor), aLetterSpacing);
647647 }
@@ -666,7 +666,7 @@ TBool BBitmap::DrawStringShadow(BViewPort *aViewPort, const char *aStr, const BF
666666}
667667
668668TBool BBitmap::DrawString (BViewPort *aViewPort, const char *aStr,
669- const BFont *aFont, TInt aX, TInt aY, TUint8 aFgColor, TInt8 aBgColor,
669+ const BFont *aFont, TInt aX, TInt aY, TUint8 aFgColor, TInt16 aBgColor,
670670 TInt aLetterSpacing) {
671671 if (gDisplay .renderBitmap ->mDepth == 32 ) {
672672 return DrawString (aViewPort, aStr, aFont, aX, aY, mPalette [aFgColor].rgb888 (), TInt32 (aBgColor), aLetterSpacing);
@@ -1151,10 +1151,6 @@ void BBitmap::DrawCircle(BViewPort *aViewPort, TInt aX, TInt aY, TUint r, TUint8
11511151}
11521152
11531153void BBitmap::DrawCircle (BViewPort *aViewPort, TInt aX, TInt aY, TUint r, TUint32 aColor) {
1154- if (gDisplay .renderBitmap ->mDepth == 32 ) {
1155- aColor = mPalette [aColor].rgb888 ();
1156- }
1157-
11581154 TInt viewPortOffsetX = 0 ;
11591155 TInt viewPortOffsetY = 0 ;
11601156
@@ -1339,10 +1335,6 @@ void BBitmap::FillCircle(BViewPort *aViewPort, TInt aX, TInt aY, TUint r, TUint8
13391335}
13401336
13411337void BBitmap::FillCircle (BViewPort *aViewPort, TInt aX, TInt aY, TUint r, TUint32 aColor) {
1342- if (gDisplay .renderBitmap ->mDepth == 32 ) {
1343- aColor = mPalette [aColor].rgb888 ();
1344- }
1345-
13461338 TInt viewPortOffsetX = 0 ;
13471339 TInt viewPortOffsetY = 0 ;
13481340
0 commit comments