diff options
author | Sebastian Geerken <devnull@localhost> | 2012-11-12 22:04:59 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2012-11-12 22:04:59 +0100 |
commit | 665373f3b7ecf5c31157707d65406174b1a76fe4 (patch) | |
tree | a8057f6602958c596338e6d37772e2e86d689b20 /dw/fltkviewbase.cc | |
parent | 9abf65855047e774daa0d4c5dd6d86343eb1b355 (diff) |
Text is now correctly drawn as a whole.
Diffstat (limited to 'dw/fltkviewbase.cc')
-rw-r--r-- | dw/fltkviewbase.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dw/fltkviewbase.cc b/dw/fltkviewbase.cc index d9782a4e..0977aac5 100644 --- a/dw/fltkviewbase.cc +++ b/dw/fltkviewbase.cc @@ -538,6 +538,11 @@ void FltkWidgetView::drawText (core::style::Font *font, core::style::Color::Shading shading, int X, int Y, const char *text, int len) { + //printf ("drawText (..., %d, %d, '", X, Y); + //for (int i = 0; i < len; i++) + // putchar (text[i]); + //printf ("'\n"); + FltkFont *ff = (FltkFont*)font; fl_font(ff->font, ff->size); fl_color(((FltkColor*)color)->colors[shading]); |