diff options
| author | Johannes Schickel | 2006-01-29 15:07:03 +0000 | 
|---|---|---|
| committer | Johannes Schickel | 2006-01-29 15:07:03 +0000 | 
| commit | 7eaa5b99b597e1f5074d8871959bc3aa2f29e992 (patch) | |
| tree | d45571dac08f70d161abe4fc65b5e8a70c186f9a | |
| parent | f881fc47c768d20656f5e9e8c051fb09830830d6 (diff) | |
| download | scummvm-rg350-7eaa5b99b597e1f5074d8871959bc3aa2f29e992.tar.gz scummvm-rg350-7eaa5b99b597e1f5074d8871959bc3aa2f29e992.tar.bz2 scummvm-rg350-7eaa5b99b597e1f5074d8871959bc3aa2f29e992.zip | |
Fixes redraw bugs with the about dialog and the new theme.
svn-id: r20297
| -rw-r--r-- | gui/ThemeNew.cpp | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/gui/ThemeNew.cpp b/gui/ThemeNew.cpp index 3e4496d158..56b0fc9ea9 100644 --- a/gui/ThemeNew.cpp +++ b/gui/ThemeNew.cpp @@ -300,7 +300,9 @@ void ThemeNew::drawDialogBackground(const Common::Rect &r, uint16 hints, kState  void ThemeNew::drawText(const Common::Rect &r, const Common::String &str, kState state, kTextAlign align, bool inverted, int deltax, bool useEllipsis) {  	if (!_initOk)  		return; -	Common::Rect r2(r.left, r.top, r.right, r.top+_font->getFontHeight()+2); +	// FIXME:since the 'height' of the font seems not to be correct we just add 4 to it right now +	// that should fix redraw bugs with the about dialog +	Common::Rect r2(r.left, r.top, r.right, r.top+_font->getFontHeight()+4);  	restoreBackground(r2); | 
