summaryrefslogtreecommitdiff
path: root/dvbosd.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-11-05 13:04:23 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2000-11-05 13:04:23 +0100
commitea0bd668c8326a90cc4727004780abe14bab1edc (patch)
tree668685e52e23210bdfb6c977eb6ed3b3794209c7 /dvbosd.c
parent88253cfba73ed92f85af7be47b5d05f88226859b (diff)
downloadvdr-ea0bd668c8326a90cc4727004780abe14bab1edc.tar.gz
vdr-ea0bd668c8326a90cc4727004780abe14bab1edc.tar.bz2
Date and time in the title of an event info page are now always right adjusted
Diffstat (limited to 'dvbosd.c')
-rw-r--r--dvbosd.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/dvbosd.c b/dvbosd.c
index c0150e26..e9a7467c 100644
--- a/dvbosd.c
+++ b/dvbosd.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbosd.c 1.4 2000/11/01 09:13:32 kls Exp $
+ * $Id: dvbosd.c 1.5 2000/11/05 12:53:09 kls Exp $
*/
#include "dvbosd.h"
@@ -81,6 +81,11 @@ int cBitmap::Width(unsigned char c)
return font ? font->Width(c) : -1;
}
+int cBitmap::Width(const char *s)
+{
+ return font ? font->Width(s) : -1;
+}
+
void cBitmap::Text(int x, int y, const char *s, eDvbColor ColorFg, eDvbColor ColorBg)
{
if (bitmap) {