aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FontImp.hh
diff options
context:
space:
mode:
authorsimonb <simonb>2007-01-05 13:43:54 (GMT)
committersimonb <simonb>2007-01-05 13:43:54 (GMT)
commitad7fd2d8675141925bdef7c29d3392d6ac6b0db0 (patch)
tree776c13dccaecc0eeb54c514040ac00a74f347a99 /src/FbTk/FontImp.hh
parent3a79de034f87df155f540af2186c5d87dc187b3b (diff)
downloadfluxbox_pavel-ad7fd2d8675141925bdef7c29d3392d6ac6b0db0.zip
fluxbox_pavel-ad7fd2d8675141925bdef7c29d3392d6ac6b0db0.tar.bz2
fix loading of rotated fonts on style change
Diffstat (limited to 'src/FbTk/FontImp.hh')
-rw-r--r--src/FbTk/FontImp.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/FontImp.hh b/src/FbTk/FontImp.hh
index 8a093f2..378c45f 100644
--- a/src/FbTk/FontImp.hh
+++ b/src/FbTk/FontImp.hh
@@ -44,7 +44,7 @@ class FontImp {
44public: 44public:
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 FbString &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) = 0;
48 virtual unsigned int textWidth(const FbString &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;