textinput/peninputgenericvkb/src/peninputgenericlafdatamgr.cpp
branchRCL_3
changeset 12 4eb1ae11334f
parent 10 6defe5d1bd39
child 18 c8fb4cf7b3ae
equal deleted inserted replaced
10:6defe5d1bd39 12:4eb1ae11334f
  1515   	for( TInt i = 0; i < KKeypadLayout[0][1]; i++)
  1515   	for( TInt i = 0; i < KKeypadLayout[0][1]; i++)
  1516   		{
  1516   		{
  1517   		TInt indent = ( i % 2 == 1 ) ? rowIndentWidth : 0;
  1517   		TInt indent = ( i % 2 == 1 ) ? rowIndentWidth : 0;
  1518   		for( TInt j = 0; j < KKeypadLayout[0][0]; j++)
  1518   		for( TInt j = 0; j < KKeypadLayout[0][0]; j++)
  1519             {
  1519             {
  1520             TRect bound = rectXBorder;
  1520 			TRect bound = rectXPane;
  1521             bound.Move( j * rectXPane.Width(), i * rectXPane.Height() );
  1521             bound.Move( j * rectXPane.Width(), i * rectXPane.Height() );
  1522             bound.Move( indent, 0 );
  1522             bound.Move( indent, 0 );
  1523             
  1523             
  1524             dataInfo->iKeypad.iRects.AppendL( bound );
  1524             dataInfo->iKeypad.iRects.AppendL( bound );
  1525             
  1525             
  1635     for( TInt i = 0; i < KKeypadLayout[1][1]; i++)
  1635     for( TInt i = 0; i < KKeypadLayout[1][1]; i++)
  1636         {
  1636         {
  1637         TInt indent = ( i % 2 == 1 ) ? rowIndentWidth : 0;
  1637         TInt indent = ( i % 2 == 1 ) ? rowIndentWidth : 0;
  1638         for( TInt j = 0; j < KKeypadLayout[1][0]; j++)
  1638         for( TInt j = 0; j < KKeypadLayout[1][0]; j++)
  1639             {
  1639             {
  1640             TRect bound = rectXBorder;
  1640 		    TRect bound = rectXPane;
  1641             bound.Move( j * rectXPane.Width(), i * rectXPane.Height() );
  1641             bound.Move( j * rectXPane.Width(), i * rectXPane.Height() );
  1642             bound.Move( indent, 0 );
  1642             bound.Move( indent, 0 );
  1643             
  1643             
  1644             dataInfo->iKeypad.iRects.AppendL( bound );
  1644             dataInfo->iKeypad.iRects.AppendL( bound );
  1645             
  1645             
  1739     for( TInt i = 0; i < KKeypadLayout[2][1]; i++)
  1739     for( TInt i = 0; i < KKeypadLayout[2][1]; i++)
  1740         {
  1740         {
  1741         TInt indent = ( i % 2 == 1 ) ? rowIndentWidth : 0;
  1741         TInt indent = ( i % 2 == 1 ) ? rowIndentWidth : 0;
  1742         for( TInt j = 0; j < KKeypadLayout[2][0]; j++)
  1742         for( TInt j = 0; j < KKeypadLayout[2][0]; j++)
  1743             {
  1743             {
  1744             TRect bound = rectXBorder;
  1744 		    TRect bound = rectXPane;
  1745             bound.Move( j * rectXPane.Width(), i * rectXPane.Height() );
  1745             bound.Move( j * rectXPane.Width(), i * rectXPane.Height() );
  1746             bound.Move( indent, 0 );
  1746             bound.Move( indent, 0 );
  1747             
  1747             
  1748             dataInfo->iKeypad.iRects.AppendL( bound );
  1748             dataInfo->iKeypad.iRects.AppendL( bound );
  1749             
  1749