diff options
-rw-r--r-- | HISTORY | 6 | ||||
-rw-r--r-- | displaybase.c | 12 |
2 files changed, 10 insertions, 8 deletions
@@ -2,8 +2,10 @@ VDR Plugin 'osdteletext' Revision History ----------------------------------------- 2012-04-03: version 0.9.3 - - VDR 1.7.27 compatibility (Closes #919), Credit goes to nox and gda fro - vdrportal.de +- VDR 1.7.27 compatibility (Closes #919), Credit goes to nox and gda fro + vdrportal.de +- Instead of doing mixed drawing to cOsd and cBitmap only draw to cBitmap + (Closes #899, this should fixe the issues with the TT6400) 2012-03-25: version 0.9.2 - Some code refactorings (Thx to Ville Skyttä) diff --git a/displaybase.c b/displaybase.c index 2c3e1a2..03c15b7 100644 --- a/displaybase.c +++ b/displaybase.c @@ -424,14 +424,14 @@ void cDisplay::DrawMessage(const char *txt) { if (fg==bg) bg=bm->Color(GetColorIndexAlternate(ttcBlack,Area)); // Draw framed box - osd->DrawRectangle(x ,y ,x+w-1 ,y+border-1 ,fg); - osd->DrawRectangle(x ,y+h-border,x+w-1 ,y+h-1 ,fg); - osd->DrawRectangle(x ,y ,x+border-1 ,y+h-1 ,fg); - osd->DrawRectangle(x+w-border,y ,x+w-1 ,y+h-1 ,fg); - osd->DrawRectangle(x+border ,y+border ,x+w-border-1,y+h-border-1,bg); + bm->DrawRectangle(x ,y ,x+w-1 ,y+border-1 ,fg); + bm->DrawRectangle(x ,y+h-border,x+w-1 ,y+h-1 ,fg); + bm->DrawRectangle(x ,y ,x+border-1 ,y+h-1 ,fg); + bm->DrawRectangle(x+w-border,y ,x+w-1 ,y+h-1 ,fg); + bm->DrawRectangle(x+border ,y+border ,x+w-border-1,y+h-border-1,bg); // Draw text - osd->DrawText(x+2*border,y+2*border,txt, fg, bg, MessageFont); + bm->DrawText(x+2*border,y+2*border,txt, fg, bg, MessageFont); Area++; } |