summaryrefslogtreecommitdiff
path: root/font.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2010-09-19 12:36:07 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2010-09-19 12:36:07 +0200
commitab0beb2ddbc30ac46290f4ecd63e78e9a26f3593 (patch)
tree0152e66d3cc853eb465d7983b02714bd1daa4b7d /font.h
parentf1d4e6658269dc05d8ba86d8fb9c4a1571c63a64 (diff)
downloadvdr-1.7.16.tar.gz
vdr-1.7.16.tar.bz2
Added support for languages that are written right-to-left1.7.16
Diffstat (limited to 'font.h')
-rw-r--r--font.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/font.h b/font.h
index 449b429f..cb76671a 100644
--- a/font.h
+++ b/font.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: font.h 2.3 2009/12/31 14:48:25 kls Exp $
+ * $Id: font.h 2.4 2010/09/19 11:48:37 kls Exp $
*/
#ifndef __FONT_H
@@ -82,6 +82,11 @@ public:
///< Returns true if any font names were found.
static cString GetFontFileName(const char *FontName);
///< Retruns the actual font file name for the given FontName.
+#ifdef BIDI
+ static cString Bidi(const char *Ltr);
+ ///< Converts any "right-to-left" parts in the "left-to-right" string Ltr
+ ///< to the proper language specific representation and returns the resulting string.
+#endif
};
class cTextWrapper {