aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/EditView.cxx6
1 files changed, 0 insertions, 6 deletions
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<int>(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;