securitydialogs/Autolock/src/AutoLockView.cpp
branchRCL_3
changeset 11 9971b621ef6c
parent 0 164170e6151a
equal deleted inserted replaced
10:bbcfd14ce6a7 11:9971b621ef6c
    97     RDebug::Print(_L("(AUTOLOCK)CAutolockView::HandleCommandL END()"));
    97     RDebug::Print(_L("(AUTOLOCK)CAutolockView::HandleCommandL END()"));
    98     #endif
    98     #endif
    99     }
    99     }
   100 void CAutolockView::HandleCall(TInt aCommand, TRect &aRect)
   100 void CAutolockView::HandleCall(TInt aCommand, TRect &aRect)
   101     {
   101     {
   102     	RDebug::Printf( "%s %s (%u) aCommand=%x", __FILE__, __PRETTY_FUNCTION__, __LINE__, aCommand );
   102     	// RDebug::Printf( "%s %s (%u) aCommand=%x", __FILE__, __PRETTY_FUNCTION__, __LINE__, aCommand );
   103     if (iView)
   103     if (iView)
   104     	{
   104     	{
   105         TRect cr = ClientRect();
   105         TRect cr = ClientRect();
   106         iView->SetRect( cr );
   106         iView->SetRect( cr );
   107     		RDebug::Printf( "%s %s (%u) got 2 cr=%x", __FILE__, __PRETTY_FUNCTION__, __LINE__, aCommand );
   107     		// RDebug::Printf( "%s %s (%u) got 2 cr=%x", __FILE__, __PRETTY_FUNCTION__, __LINE__, aCommand );
   108         iView->DrawNow( );
   108         iView->DrawNow( );
   109         iView->GiveCoords( aRect );
   109         iView->GiveCoords( aRect );
   110 			}
   110 			}
   111     else
   111     else
   112 			{
   112 			{
   113 			RDebug::Printf( "%s %s (%u) !iView ???=%x", __FILE__, __PRETTY_FUNCTION__, __LINE__, iView );
   113 			// RDebug::Printf( "%s %s (%u) !iView ???=%x", __FILE__, __PRETTY_FUNCTION__, __LINE__, iView );
   114 			}
   114 			}
   115     }
   115     }
   116 void CAutolockView::MakeVisible(TBool aVisibility)
   116 void CAutolockView::MakeVisible(TBool aVisibility)
   117     {
   117     {
   118     #if defined(_DEBUG)
   118     #if defined(_DEBUG)