From 669f86705d18d08ab69c602925995b602617027d Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Tue, 31 Jan 2006 20:19:47 +0000 Subject: 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 --- gui/theme.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui/theme.h') 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); -- cgit v1.2.3