From 63984c3a232cf9cf686964dff742edd404c976bf Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Fri, 3 Jun 2005 13:09:24 +0000 Subject: The alternative form of drawString() is no longer needed. svn-id: r18326 --- gui/newgui.cpp | 4 ---- gui/newgui.h | 1 - 2 files changed, 5 deletions(-) (limited to 'gui') diff --git a/gui/newgui.cpp b/gui/newgui.cpp index 808f1c828e..fcaa45c819 100644 --- a/gui/newgui.cpp +++ b/gui/newgui.cpp @@ -455,10 +455,6 @@ void NewGui::drawString(const String &s, int x, int y, int w, OverlayColor color getFont().drawString(&_screen, s, x, y, w, color, align, deltax, useEllipsis); } -void NewGui::drawString(const Graphics::Font *font, const String &s, int x, int y, int w, OverlayColor color, TextAlignment align, int deltax, bool useEllipsis) { - font->drawString(&_screen, s, x, y, w, color, align, deltax, useEllipsis); -} - // // Draw the mouse cursor (animated). This is mostly ripped from the cursor code in gfx.cpp // We could plug in a different cursor here if we like to. diff --git a/gui/newgui.h b/gui/newgui.h index e75a084312..2199c552c4 100644 --- a/gui/newgui.h +++ b/gui/newgui.h @@ -151,7 +151,6 @@ public: void drawChar(byte c, int x, int y, OverlayColor color, const Graphics::Font *font = 0); void drawString(const String &str, int x, int y, int w, OverlayColor color, Graphics::TextAlignment align = Graphics::kTextAlignLeft, int deltax = 0, bool useEllipsis = true); - void drawString(const Graphics::Font *font, const String &str, int x, int y, int w, OverlayColor color, Graphics::TextAlignment align = Graphics::kTextAlignLeft, int deltax = 0, bool useEllipsis = true); int getStringWidth(const String &str) const; int getCharWidth(byte c) const; -- cgit v1.2.3