add (untested) loadJPG with optional alpha channel
[enigma2.git] / lib / gdi / font.h
index b898391487963b5d1f33f5a4f353ca9bf0be32aa..dbecd493ca0a6151eda5d5c4ebf1eb0bce482b98 100644 (file)
@@ -74,8 +74,10 @@ public:
 #define GS_ISSPACE  1
 #define GS_ISFIRST  2
 #define GS_USED                        4
-
 #define GS_INVERT   8
+#define GS_SOFTHYPHEN 16
+#define GS_HYPHEN   32
+#define GS_CANBREAK (GS_ISSPACE|GS_SOFTHYPHEN|GS_HYPHEN)
 
 struct pGlyph
 {
@@ -126,7 +128,7 @@ public:
        static void forceReplacementGlyph(int unicode) { forced_replaces.insert(unicode); }
 
        void setFont(const gFont *font);
-       int renderString(const std::string &string, int flags=0);
+       int renderString(const char *string, int flags=0);
 
        void clear();