diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2000-11-01 11:45:05 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2000-11-01 11:45:05 +0100 |
commit | 25f085cc267760a43d2294406d3fdd6d14dc6e7f (patch) | |
tree | 2356c8ce7371ef124acfc01c999549bd2ad3d388 /dvbosd.c | |
parent | 10741c4c5447f042bdf365f36b258f2f7a2e5d39 (diff) | |
download | vdr-25f085cc267760a43d2294406d3fdd6d14dc6e7f.tar.gz vdr-25f085cc267760a43d2294406d3fdd6d14dc6e7f.tar.bz2 |
Improved Schedules menus
Diffstat (limited to 'dvbosd.c')
-rw-r--r-- | dvbosd.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbosd.c 1.3 2000/10/07 14:42:48 kls Exp $ + * $Id: dvbosd.c 1.4 2000/11/01 09:13:32 kls Exp $ */ #include "dvbosd.h" @@ -76,6 +76,11 @@ void cBitmap::SetPixel(int x, int y, eDvbColor Color) } } +int cBitmap::Width(unsigned char c) +{ + return font ? font->Width(c) : -1; +} + void cBitmap::Text(int x, int y, const char *s, eDvbColor ColorFg, eDvbColor ColorBg) { if (bitmap) { |