diff options
author | simonb <simonb> | 2006-05-07 03:41:27 (GMT) |
---|---|---|
committer | simonb <simonb> | 2006-05-07 03:41:27 (GMT) |
commit | 520f552be79581be50156bb7785e7ef0ce946b07 (patch) | |
tree | 82edcbb794f6b89804a2a7f75e0122afcc074f94 /src/FbTk/FontImp.hh | |
parent | 0e9fa988ff41cc32a390f70443669a6df45f3e44 (diff) | |
download | fluxbox-520f552be79581be50156bb7785e7ef0ce946b07.zip fluxbox-520f552be79581be50156bb7785e7ef0ce946b07.tar.bz2 |
handle utf-8 strings properly.
use utf8 internally
Diffstat (limited to 'src/FbTk/FontImp.hh')
-rw-r--r-- | src/FbTk/FontImp.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/FontImp.hh b/src/FbTk/FontImp.hh index bcea7c6..8a093f2 100644 --- a/src/FbTk/FontImp.hh +++ b/src/FbTk/FontImp.hh | |||
@@ -44,8 +44,8 @@ class FontImp { | |||
44 | public: | 44 | public: |
45 | virtual ~FontImp() { } | 45 | virtual ~FontImp() { } |
46 | virtual bool load(const std::string &name) = 0; | 46 | virtual bool load(const std::string &name) = 0; |
47 | virtual void drawText(const FbDrawable &w, int screen, GC gc, const char *text, size_t len, int x, int y, FbTk::Orientation orient) const = 0; | 47 | virtual void drawText(const FbDrawable &w, int screen, GC gc, const FbString &text, size_t len, int x, int y, FbTk::Orientation orient) const = 0; |
48 | virtual unsigned int textWidth(const char * const text, unsigned int size) const = 0; | 48 | virtual unsigned int textWidth(const FbString &text, unsigned int size) const = 0; |
49 | virtual bool validOrientation(FbTk::Orientation orient) { return orient == ROT0; } | 49 | virtual bool validOrientation(FbTk::Orientation orient) { return orient == ROT0; } |
50 | virtual int ascent() const = 0; | 50 | virtual int ascent() const = 0; |
51 | virtual int descent() const = 0; | 51 | virtual int descent() const = 0; |