void CCustomStep::InitialiseL() { CAnimationTestStep::InitialiseL(); ANIM_INFO1(_L("Begin test SYNCH")); TInt winborder = 2; iWinSize = Screen()->SizeInPixels(); iWinSize.iWidth /= 2; iWinPosition = TPoint(iWinSize.iWidth + winborder, winborder); iWinSize.iWidth -= winborder * 2; iWinSize.iHeight -= winborder * 2; iWinRect = TRect(iWinPosition, iWinSize); iWin = new (ELeave) CCustomStepAnimationWindow(Ws(), *GroupWin(), *Gc()); iWin->Window()->SetRequiredDisplayMode(EColor256); iWin->Window()->SetExtent(iWinPosition, iWinSize); iWin->Window()->SetBackgroundColor(iBackgroundColor1); iWin->Window()->SetVisible(ETrue); iWin->Window()->Activate(); }
void CPasswordWindowGroup::ConstructL() { CTWindowGroup::ConstructL(); GroupWin()->EnableOnEvents(); }