aboutsummaryrefslogtreecommitdiff
path: root/src/FontImp.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-10-19 14:01:05 (GMT)
committerfluxgen <fluxgen>2002-10-19 14:01:05 (GMT)
commit1b6e3c1750aa199719a6165276ae858c1b89096e (patch)
treee4ad2b3a1f3cf66929c6b2eb081301ef8b6a8582 /src/FontImp.hh
parent28b84d6fc03587ffacfcc575323e9113ae172be3 (diff)
downloadfluxbox_pavel-1b6e3c1750aa199719a6165276ae858c1b89096e.zip
fluxbox_pavel-1b6e3c1750aa199719a6165276ae858c1b89096e.tar.bz2
ascent and descent
Diffstat (limited to 'src/FontImp.hh')
-rw-r--r--src/FontImp.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/FontImp.hh b/src/FontImp.hh
index 0f4db9a..f822b73 100644
--- a/src/FontImp.hh
+++ b/src/FontImp.hh
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: FontImp.hh,v 1.2 2002/10/15 16:43:15 fluxgen Exp $ 22// $Id: FontImp.hh,v 1.3 2002/10/19 13:57:48 fluxgen Exp $
23 23
24#ifndef FBTK_FONTIMP_HH 24#ifndef FBTK_FONTIMP_HH
25#define FBTK_FONTIMP_HH 25#define FBTK_FONTIMP_HH
@@ -42,6 +42,8 @@ public:
42 virtual bool load(const std::string &name) = 0; 42 virtual bool load(const std::string &name) = 0;
43 virtual void drawText(Drawable w, int screen, GC gc, const char *text, size_t len, int x, int y) const = 0; 43 virtual void drawText(Drawable w, int screen, GC gc, const char *text, size_t len, int x, int y) const = 0;
44 virtual unsigned int textWidth(const char * const text, unsigned int size) const = 0; 44 virtual unsigned int textWidth(const char * const text, unsigned int size) const = 0;
45 virtual int ascent() const = 0;
46 virtual int descent() const = 0;
45 virtual unsigned int height() const = 0; 47 virtual unsigned int height() const = 0;
46 virtual bool loaded() const = 0; 48 virtual bool loaded() const = 0;
47protected: 49protected: