Lines Matching refs:nWidth
64 long nWidth; member in TableWindow
123 nWidth = 5; in TableWindow()
129 SetOutputSizePixel( Size( nMX*nWidth-1, nMY*nHeight-1+nTextHeight ) ); in TableWindow()
185 if ( (nWidth <= nNewCol) || (nHeight < nNewLine) ) in UpdateSize_Impl()
189 if ( nWidth <= nNewCol ) in UpdateSize_Impl()
191 nWidth = nNewCol; in UpdateSize_Impl()
192 nWidth++; in UpdateSize_Impl()
199 while ( nWidth > 0 && in UpdateSize_Impl()
200 (short)(aWinPos.X()+(nMX*nWidth-1)) >= aMaxPos.X()-3 ) in UpdateSize_Impl()
201 nWidth--; in UpdateSize_Impl()
208 if ( nNewCol > nWidth ) in UpdateSize_Impl()
209 nNewCol = nWidth; in UpdateSize_Impl()
217 SetOutputSizePixel( Size( nMX*nWidth-1, nMY*nHeight-1+nTextHeight ) ); in UpdateSize_Impl()
374 for ( i = 1; i <= nWidth; i++ ) in Paint()
388 DrawLine( Point( nStart, i*nMY-1 ), Point( nWidth*nMX-1, i*nMY-1 ) ); in Paint()
469 long nWidth; member in ColumnsWindow
519 nWidth = 4; in ColumnsWindow()
523 SetOutputSizePixel( Size( nMX*nWidth-1, aLogicSize.Height()+nTextHeight ) ); in ColumnsWindow()
572 if ( nWidth <= nNewCol ) in UpdateSize_Impl()
576 if ( nWidth <= nNewCol ) in UpdateSize_Impl()
578 nWidth = nNewCol; in UpdateSize_Impl()
579 nWidth++; in UpdateSize_Impl()
582 while ( nWidth > 0 && in UpdateSize_Impl()
583 (short)(aWinPos.X()+(nMX*nWidth-1)) >= aMaxPos.X()-3 ) in UpdateSize_Impl()
584 nWidth--; in UpdateSize_Impl()
586 if ( nNewCol > nWidth ) in UpdateSize_Impl()
587 nNewCol = nWidth; in UpdateSize_Impl()
591 SetOutputSizePixel( Size( nMX*nWidth-1, aWinSize.Height() ) ); in UpdateSize_Impl()
700 for ( i = 0; i < nWidth; i++ ) in Paint()