aboutsummaryrefslogtreecommitdiff
path: root/dw/fltkviewbase.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2012-11-12 22:04:59 +0100
committerSebastian Geerken <devnull@localhost>2012-11-12 22:04:59 +0100
commit665373f3b7ecf5c31157707d65406174b1a76fe4 (patch)
treea8057f6602958c596338e6d37772e2e86d689b20 /dw/fltkviewbase.cc
parent9abf65855047e774daa0d4c5dd6d86343eb1b355 (diff)
Text is now correctly drawn as a whole.
Diffstat (limited to 'dw/fltkviewbase.cc')
-rw-r--r--dw/fltkviewbase.cc5
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]);