Пример #1
0
void CPcWindowBase::SetUpL(TPoint pos,TSize size,CTWinBase *parent, CWindowGc &aGc)
	{
	ConstructExtLD(*parent,pos,size);
	iWin.SetBackgroundColor(iBack);
	Activate();
	AssignGC(aGc);
	}
Пример #2
0
void CRKWindow::SetUpL(TPoint pos,TSize size,CTWinBase *parent, CWindowGc &aGc)
	{
	ConstructExtLD(*parent,pos,size);
	iWin.SetBackgroundColor(TRgb::Gray256(230));
	Activate();
	AssignGC(aGc);
	}
Пример #3
0
void CTextWindow::SetUpLD(TPoint pos,TSize size,CTWinBase *parent, CWindowGc &aGc)
	{
	ConstructExtLD(*parent,pos,size);
	Activate();
	AssignGC(aGc);
	iNumTypeFaces=Client()->iScreen->NumTypefaces();
	}
Пример #4
0
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();
	}
Пример #5
0
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"));
	}