From dcdc0127cd5edf2e2f7f9d0d49a4ab5d93a94986 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 28 Oct 2001 05:08:21 +0000 Subject: Hid implementation of Surface. Changed DrawText to DrawTextNoClip to avoid name clash with macro. --- src/CallTip.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/CallTip.cxx') diff --git a/src/CallTip.cxx b/src/CallTip.cxx index 807b745f6..4e075cf23 100644 --- a/src/CallTip.cxx +++ b/src/CallTip.cxx @@ -81,7 +81,7 @@ void CallTip::PaintCT(Surface *surfaceWindow) { rcClient.left = x; rcClient.top = ytext - ascent - 1; rcClient.right = xEnd; - surfaceWindow->DrawText(rcClient, font, ytext, + surfaceWindow->DrawTextNoClip(rcClient, font, ytext, chunkVal, thisStartHighlight, colourUnSel.allocated, colourBG.allocated); x = xEnd; @@ -91,7 +91,7 @@ void CallTip::PaintCT(Surface *surfaceWindow) { rcClient.top = ytext; rcClient.left = x; rcClient.right = xEnd; - surfaceWindow->DrawText(rcClient, font, ytext, + surfaceWindow->DrawTextNoClip(rcClient, font, ytext, chunkVal + thisStartHighlight, thisEndHighlight - thisStartHighlight, colourSel.allocated, colourBG.allocated); x = xEnd; @@ -100,7 +100,7 @@ void CallTip::PaintCT(Surface *surfaceWindow) { chunkLength - thisEndHighlight); rcClient.left = x; rcClient.right = xEnd; - surfaceWindow->DrawText(rcClient, font, ytext, + surfaceWindow->DrawTextNoClip(rcClient, font, ytext, chunkVal + thisEndHighlight, chunkLength - thisEndHighlight, colourUnSel.allocated, colourBG.allocated); chunkVal = chunkEnd + 1; -- cgit v1.2.3