From 1b3952fbab30b8efdae899a8f520402d2215d032 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 12 Oct 2008 22:03:35 +0000 Subject: Don't force inline on big funcs if you don't have to (in this case, it added 24k to the binary size for no good reason) svn-id: r34783 --- gui/ThemeEngine.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gui/ThemeEngine.h') diff --git a/gui/ThemeEngine.h b/gui/ThemeEngine.h index 2298b894a6..31425f1c97 100644 --- a/gui/ThemeEngine.h +++ b/gui/ThemeEngine.h @@ -649,15 +649,15 @@ protected: * * This function is called from all the Widget Drawing methods. */ - inline void queueDD(DrawData type, const Common::Rect &r, uint32 dynamic = 0); - inline void queueDDText(TextData type, const Common::Rect &r, const Common::String &text, bool restoreBg, + void queueDD(DrawData type, const Common::Rect &r, uint32 dynamic = 0); + void queueDDText(TextData type, const Common::Rect &r, const Common::String &text, bool restoreBg, bool elipsis, TextAlign alignH = kTextAlignLeft, TextAlignVertical alignV = kTextAlignVTop, int deltax = 0); - inline void queueBitmap(const Graphics::Surface *bitmap, const Common::Rect &r, bool alpha); + void queueBitmap(const Graphics::Surface *bitmap, const Common::Rect &r, bool alpha); /** * DEBUG: Draws a white square around the given position and writes the given next to it. */ - inline void debugWidgetPosition(const char *name, const Common::Rect &r); + void debugWidgetPosition(const char *name, const Common::Rect &r); /** @@ -728,7 +728,7 @@ protected: bool _useCursor; int _cursorHotspotX, _cursorHotspotY; int _cursorTargetScale; -#define MAX_CURS_COLORS 255 + enum { MAX_CURS_COLORS = 255 }; byte *_cursor; bool _needPaletteUpdates; uint _cursorWidth, _cursorHeight; -- cgit v1.2.3