aboutsummaryrefslogtreecommitdiff
path: root/gui/ThemeEngine.h
diff options
context:
space:
mode:
authorMax Horn2008-10-12 22:03:35 +0000
committerMax Horn2008-10-12 22:03:35 +0000
commit1b3952fbab30b8efdae899a8f520402d2215d032 (patch)
tree22f992d9f3286b8f0202314e0473c90144db94a7 /gui/ThemeEngine.h
parent7cc871b84f1d6a8e74f10295ec3e9646410c0748 (diff)
downloadscummvm-rg350-1b3952fbab30b8efdae899a8f520402d2215d032.tar.gz
scummvm-rg350-1b3952fbab30b8efdae899a8f520402d2215d032.tar.bz2
scummvm-rg350-1b3952fbab30b8efdae899a8f520402d2215d032.zip
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
Diffstat (limited to 'gui/ThemeEngine.h')
-rw-r--r--gui/ThemeEngine.h10
1 files changed, 5 insertions, 5 deletions
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;