applications/Symbian_MiniGUI_TestApp/grid.cpp
changeset 67 57a5a30dc911
parent 46 b6935a90ca64
equal deleted inserted replaced
46:b6935a90ca64 67:57a5a30dc911
    46 			TRect rect;
    46 			TRect rect;
    47 			rect.iTl.iX = col * KSize.iWidth;
    47 			rect.iTl.iX = col * KSize.iWidth;
    48 			rect.iTl.iY = row * KSize.iHeight;
    48 			rect.iTl.iY = row * KSize.iHeight;
    49 			rect.SetSize(KSize);
    49 			rect.SetSize(KSize);
    50 			color = !color;
    50 			color = !color;
    51 			gc->SetBrushColor(color? KRgbGray : KRgbBlack);
    51 			gc->SetBrushColor(color? KRgbBlue : KRgbBlack);
    52 			gc->DrawRect(rect);
    52 			gc->DrawRect(rect);
    53 			}
    53 			}
    54 	}
    54 	}
       
    55 	
       
    56 	
       
    57 	
    55 	gc->Deactivate();
    58 	gc->Deactivate();
    56 	win.EndRedraw();
    59 	win.EndRedraw();
    57 	ws.Flush();
    60 	ws.Flush();
    58  	User::After(3000000);
    61  	User::After(3000000);
    59  	win.Close();
    62  	win.Close();