diff options
author | Udo Richter <udo_richter@gmx.de> | 2012-04-03 20:45:01 +0200 |
---|---|---|
committer | etobi <git@e-tobi.net> | 2012-04-03 20:47:28 +0200 |
commit | 57dc943d3821c06ab301f062885c6bbaed0a2277 (patch) | |
tree | 5a22cf57fc749263731638017bf73c212106c17e | |
parent | b38af9121cc2c288473ba4239585cefb5f9b0f93 (diff) | |
download | vdr-plugin-osdteletext-57dc943d3821c06ab301f062885c6bbaed0a2277.tar.gz vdr-plugin-osdteletext-57dc943d3821c06ab301f062885c6bbaed0a2277.tar.bz2 |
Instead of doing mixed drawing to cOsd and cBitmap only draw to cBitmapv0.9.3
(Closes #899, this should fixe the issues with the TT6400)
-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++; } |