Lines Matching refs:rtCaret
654 CFX_RectF rtCaret = m_rtCaret; in UpdateOffset() local
658 rtCaret.Offset(fOffSetX, fOffSetY); in UpdateOffset()
661 if (edit_bounds.Contains(rtCaret)) { in UpdateOffset()
678 if (rtCaret.left < edit_bounds.left) in UpdateOffset()
679 offsetX = rtCaret.left - edit_bounds.left; in UpdateOffset()
680 if (rtCaret.right() > edit_bounds.right()) in UpdateOffset()
681 offsetX = rtCaret.right() - edit_bounds.right(); in UpdateOffset()
682 if (rtCaret.top < edit_bounds.top) in UpdateOffset()
683 offsetY = rtCaret.top - edit_bounds.top; in UpdateOffset()
684 if (rtCaret.bottom() > edit_bounds.bottom()) in UpdateOffset()
685 offsetY = rtCaret.bottom() - edit_bounds.bottom(); in UpdateOffset()
735 CFX_RectF rtCaret = m_rtCaret; in UpdateCaret() local
736 rtCaret.Offset(m_rtEngine.left - m_fScrollOffsetX, in UpdateCaret()
740 rtCaret.Intersect(rtClient); in UpdateCaret()
741 if (rtCaret.left > rtClient.right()) { in UpdateCaret()
742 float right = rtCaret.right(); in UpdateCaret()
743 rtCaret.left = rtClient.right() - 1; in UpdateCaret()
744 rtCaret.width = right - rtCaret.left; in UpdateCaret()
747 if (m_pProperties->m_dwStates & FWL_WGTSTATE_Focused && !rtCaret.IsEmpty()) in UpdateCaret()
748 ShowCaret(&rtCaret); in UpdateCaret()
750 HideCaret(&rtCaret); in UpdateCaret()