Lines Matching refs:COLUMN_COUNT

198     return _nPos / COLUMN_COUNT ;  in GetRowPos()
205 return _nPos % COLUMN_COUNT ; in GetColumnPos()
214 nIndex += aVscrollSB.GetThumbPos() * COLUMN_COUNT; in FirstInView()
223 nIndex += ROW_COUNT * COLUMN_COUNT - 1; in LastInView()
235 int x = ((nIndex - nBase) % COLUMN_COUNT) * nX; in MapIndexToPixel()
236 int y = ((nIndex - nBase) / COLUMN_COUNT) * nY; in MapIndexToPixel()
244 return (nBase + (point.X()/nX) + (point.Y()/nY) * COLUMN_COUNT); in PixelToMapIndex()
273 tmpSelected -= COLUMN_COUNT; in KeyInput()
276 tmpSelected += COLUMN_COUNT; in KeyInput()
279 tmpSelected -= ROW_COUNT * COLUMN_COUNT; in KeyInput()
282 tmpSelected += ROW_COUNT * COLUMN_COUNT; in KeyInput()
339 for ( i = 1; i < COLUMN_COUNT; ++i ) in DrawChars_Impl()
492 sal_Bool bNeedVscroll = (maFontCharMap.GetCharCount() > ROW_COUNT*COLUMN_COUNT); in SetFont()
494 nX = (aOrigSize.Width() - (bNeedVscroll ? SBWIDTH : 0)) / COLUMN_COUNT; in SetFont()
499 aVscrollSB.SetPosSizePixel( nX * COLUMN_COUNT, 0, SBWIDTH, nY * ROW_COUNT ); in SetFont()
501 int nLastRow = (maFontCharMap.GetCharCount() - 1 + COLUMN_COUNT) / COLUMN_COUNT; in SetFont()
512 Size aNewSize( nX * COLUMN_COUNT + (bNeedVscroll ? SBWIDTH : 0), nY * ROW_COUNT ); in SetFont()
530 int nNewPos = nMapIndex / COLUMN_COUNT; in SelectIndex()
540 int nDelta = (FirstInView() - nNewIndex + COLUMN_COUNT-1) / COLUMN_COUNT; in SelectIndex()
551 int nDelta = (nNewIndex - LastInView() + COLUMN_COUNT) / COLUMN_COUNT; in SelectIndex()
624 aVscrollSB.SetThumbPos( nMapIndex / COLUMN_COUNT ); in SelectCharacter()
635 SelectIndex( FirstInView() + (nSelectedIndex % COLUMN_COUNT) ); in IMPL_LINK()
649 SelectIndex( (LastInView() - COLUMN_COUNT + 1) + (nSelectedIndex % COLUMN_COUNT) ); in IMPL_LINK()