From d15acee3e50c81ff9171e67f77e7c99a3cec2b44 Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 18 Jul 2014 14:30:42 +1000 Subject: Remove unused function. --- src/EditView.cxx | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src') diff --git a/src/EditView.cxx b/src/EditView.cxx index 32140e9b1..1514b963b 100644 --- a/src/EditView.cxx +++ b/src/EditView.cxx @@ -115,12 +115,6 @@ int WidestLineWidth(Surface *surface, const ViewStyle &vs, int styleOffset, cons return widthMax; } -void DrawTextInStyle(Surface *surface, PRectangle rcText, const Style &style, XYPOSITION ybase, const char *s, size_t length) { - FontAlias fontText = style.font; - surface->DrawTextNoClip(rcText, fontText, ybase, s, static_cast(length), - style.fore, style.back); -} - void DrawTextNoClipPhase(Surface *surface, PRectangle rc, const Style &style, XYPOSITION ybase, const char *s, int len, DrawPhase phase) { FontAlias fontText = style.font; -- cgit v1.2.3