diff options
author | Johannes Schickel | 2006-01-31 20:19:47 +0000 |
---|---|---|
committer | Johannes Schickel | 2006-01-31 20:19:47 +0000 |
commit | 669f86705d18d08ab69c602925995b602617027d (patch) | |
tree | 1ed612deffbd099a9b0a3a83d82308b3caed6d81 /gui/theme.h | |
parent | 1976ac6250686c6af19eefa3afef5eb426012eb5 (diff) | |
download | scummvm-rg350-669f86705d18d08ab69c602925995b602617027d.tar.gz scummvm-rg350-669f86705d18d08ab69c602925995b602617027d.tar.bz2 scummvm-rg350-669f86705d18d08ab69c602925995b602617027d.zip |
Implements the usage of cached backgrounds in the old theme as well,
that should fix redrawing bugs with the about dialog.
Also I displayed cached background usage in the console for now, since
it produces redraw bugs with the old theme (maybe someone with knowledge how
redrawing of that dialog is handled should look at that).
svn-id: r20337
Diffstat (limited to 'gui/theme.h')
-rw-r--r-- | gui/theme.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/theme.h b/gui/theme.h index 903d54fb14..3316c001eb 100644 --- a/gui/theme.h +++ b/gui/theme.h @@ -202,7 +202,7 @@ public: void drawLineSeparator(const Common::Rect &r, kState state); private: void restoreBackground(Common::Rect r); - bool addDirtyRect(Common::Rect r); + bool addDirtyRect(Common::Rect r, bool save = false); void box(int x, int y, int width, int height, OverlayColor colorA, OverlayColor colorB); void box(int x, int y, int width, int height); |