Lines Matching refs:surfaceWindow
157 int CallTip::PaintContents(Surface *surfaceWindow, bool draw) {
164 int ascent = surfaceWindow->Ascent(font) - surfaceWindow->InternalLeading(font);
169 rcClient.bottom = ytext + surfaceWindow->Descent(font) + 1;
192 DrawChunk(surfaceWindow, x, chunkVal, 0, thisStartHighlight,
194 DrawChunk(surfaceWindow, x, chunkVal, thisStartHighlight, thisEndHighlight,
196 DrawChunk(surfaceWindow, x, chunkVal, thisEndHighlight, chunkLength,
207 void CallTip::PaintCT(Surface *surfaceWindow) {
215 surfaceWindow->FillRectangle(rcClient, colourBG.allocated);
218 PaintContents(surfaceWindow, true);
221 surfaceWindow->MoveTo(0, rcClientSize.bottom - 1);
222 surfaceWindow->PenColour(colourShade.allocated);
223 surfaceWindow->LineTo(rcClientSize.right - 1, rcClientSize.bottom - 1);
224 surfaceWindow->LineTo(rcClientSize.right - 1, 0);
225 surfaceWindow->PenColour(colourLight.allocated);
226 surfaceWindow->LineTo(0, 0);
227 surfaceWindow->LineTo(0, rcClientSize.bottom - 1);