Make the grid semi-transparent.
authorFaisal Memon <faisal.memon@nokia.com>
Thu, 25 Mar 2010 22:13:48 +0000
changeset 68 535d0a02b797
parent 67 57a5a30dc911
child 69 c9d64fb26f98
Make the grid semi-transparent.
applications/Symbian_MiniGUI_TestApp/yuv.cpp
--- 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();