diff options
author | Max Horn | 2008-11-09 15:59:14 +0000 |
---|---|---|
committer | Max Horn | 2008-11-09 15:59:14 +0000 |
commit | 1ad8e59c12e75717daf2145d0cdb817bf8af22c7 (patch) | |
tree | 678e499b4486319ffb9810b69769c04f0b154821 /gui/ThemeEngine.h | |
parent | 53d530af37bf4e99fb05dba805223861f522a38c (diff) | |
download | scummvm-rg350-1ad8e59c12e75717daf2145d0cdb817bf8af22c7.tar.gz scummvm-rg350-1ad8e59c12e75717daf2145d0cdb817bf8af22c7.tar.bz2 scummvm-rg350-1ad8e59c12e75717daf2145d0cdb817bf8af22c7.zip |
minor tweaks
svn-id: r34961
Diffstat (limited to 'gui/ThemeEngine.h')
-rw-r--r-- | gui/ThemeEngine.h | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/gui/ThemeEngine.h b/gui/ThemeEngine.h index a9e687d4c1..cc55e0cb34 100644 --- a/gui/ThemeEngine.h +++ b/gui/ThemeEngine.h @@ -27,16 +27,11 @@ #define GUI_THEME_ENGINE_H #include "common/scummsys.h" -#include "graphics/surface.h" #include "common/system.h" #include "graphics/surface.h" #include "graphics/fontman.h" -//#include "gui/dialog.h" -//#include "gui/ThemeParser.h" -//#include "graphics/VectorRenderer.h" -//#include "gui/ThemeEval.h" #include "gui/theme.h" namespace Graphics { @@ -395,14 +390,14 @@ public: * Finishes buffering: widgets from then on will be drawn straight on the screen * without drawing queues. */ - void finishBuffering() { _buffering = false; } - void startBuffering() { _buffering = true; } + inline void finishBuffering() { _buffering = false; } + inline void startBuffering() { _buffering = true; } - ThemeEval *getEvaluator() { return _themeEval; } - Graphics::VectorRenderer *renderer() { return _vectorRenderer; } + inline ThemeEval *getEvaluator() { return _themeEval; } + inline Graphics::VectorRenderer *renderer() { return _vectorRenderer; } - bool supportsImages() const { return true; } - bool ownCursor() const { return _useCursor; } + inline bool supportsImages() const { return true; } + inline bool ownCursor() const { return _useCursor; } Graphics::Surface *getBitmap(const Common::String &name) { return _bitmaps.contains(name) ? _bitmaps[name] : 0; |