void CPcWindowBase::SetUpL(TPoint pos,TSize size,CTWinBase *parent, CWindowGc &aGc) { ConstructExtLD(*parent,pos,size); iWin.SetBackgroundColor(iBack); Activate(); AssignGC(aGc); }
void CRKWindow::SetUpL(TPoint pos,TSize size,CTWinBase *parent, CWindowGc &aGc) { ConstructExtLD(*parent,pos,size); iWin.SetBackgroundColor(TRgb::Gray256(230)); Activate(); AssignGC(aGc); }
void CTextWindow::SetUpLD(TPoint pos,TSize size,CTWinBase *parent, CWindowGc &aGc) { ConstructExtLD(*parent,pos,size); Activate(); AssignGC(aGc); iNumTypeFaces=Client()->iScreen->NumTypefaces(); }
void CPntBufWindow::SetUpLD(TPoint pos,TSize size,CTWinBase *parent) { ConstructExtLD(*parent,pos,size); User::LeaveIfError(iWin.AllocPointerMoveBuffer(KPointerMoveBufferSize,0)); iWin.SetPointerGrab(ETrue); iWin.PointerFilter(EPointerFilterEnterExit,0); Activate(); User::LeaveIfError(Client()->iScreen->CreateContext(iGc)); iGc->Activate(iWin); SetUpState(); }
void CMCWindow::SetUpL(TPoint pos,TSize size,CTWinBase *parent, CWindowGc &aGc) { ConstructExtLD(*parent,pos,size); iWin.SetBackgroundColor(iBack); Activate(); AssignGC(aGc); iLineHeight=iFont->HeightInPixels()*5/4; iFontAscent=iFont->AscentInPixels(); iXpos1=4; iXpos2=iXpos1+12*iFont->TextWidthInPixels(_L("M")); }