--- a/applications/Symbian_MiniGUI_TestApp/yuv.cpp Thu Mar 25 22:08:14 2010 +0000
+++ b/applications/Symbian_MiniGUI_TestApp/yuv.cpp Thu Mar 25 22:13:48 2010 +0000
@@ -50,7 +50,8 @@
rect.iTl.iY = row * KSize.iHeight;
rect.SetSize(KSize);
color = !color;
- gc->SetBrushColor(color? KRgbGreen : KRgbBlack);
+ // Semitransparent green or black
+ gc->SetBrushColor(color? TRgb(0x00ff00, 30) : TRgb(0x000000, 30));
gc->DrawRect(rect);
}
}
@@ -95,6 +96,7 @@
}
+
win.SetBackgroundSurface(surfaceId);
gc->Deactivate();
win.EndRedraw();