aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FontImp.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/FontImp.hh')
-rw-r--r--src/FbTk/FontImp.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/FontImp.hh b/src/FbTk/FontImp.hh
index 4d7eb16..0578d1a 100644
--- a/src/FbTk/FontImp.hh
+++ b/src/FbTk/FontImp.hh
@@ -40,8 +40,8 @@ class FontImp {
40public: 40public:
41 virtual ~FontImp() { } 41 virtual ~FontImp() { }
42 virtual bool load(const std::string &name) = 0; 42 virtual bool load(const std::string &name) = 0;
43 virtual void drawText(const FbDrawable &w, int screen, GC gc, const FbString &text, size_t len, int x, int y, FbTk::Orientation orient) = 0; 43 virtual void drawText(const FbDrawable &w, int screen, GC gc, const char* text, size_t len, int x, int y, FbTk::Orientation orient) = 0;
44 virtual unsigned int textWidth(const FbString &text, unsigned int size) const = 0; 44 virtual unsigned int textWidth(const char* text, unsigned int len) const = 0;
45 virtual bool validOrientation(FbTk::Orientation orient) { return orient == ROT0; } 45 virtual bool validOrientation(FbTk::Orientation orient) { return orient == ROT0; }
46 virtual int ascent() const = 0; 46 virtual int ascent() const = 0;
47 virtual int descent() const = 0; 47 virtual int descent() const = 0;