summaryrefslogtreecommitdiffstats
path: root/src/bltGrText.C
diff options
context:
space:
mode:
authorjoye <joye>2013-12-09 21:32:49 (GMT)
committerjoye <joye>2013-12-09 21:32:49 (GMT)
commit2f464df10c18e5d0bafb4f2443099fd6755a88a9 (patch)
tree45bd60701fb3b129bfbd2954e578aee7ed9697d2 /src/bltGrText.C
parent208c51bee03e50ebeff32d63843394d3bd41ee23 (diff)
downloadblt-2f464df10c18e5d0bafb4f2443099fd6755a88a9.zip
blt-2f464df10c18e5d0bafb4f2443099fd6755a88a9.tar.gz
blt-2f464df10c18e5d0bafb4f2443099fd6755a88a9.tar.bz2
*** empty log message ***
Diffstat (limited to 'src/bltGrText.C')
-rw-r--r--src/bltGrText.C7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/bltGrText.C b/src/bltGrText.C
index 396df96..38dea2d 100644
--- a/src/bltGrText.C
+++ b/src/bltGrText.C
@@ -45,7 +45,6 @@
#include "bltHash.h"
#include "bltImage.h"
#include "bltBitmap.h"
-#include "bltFont.h"
#include "bltText.h"
#include "bltBgStyle.h"
@@ -507,7 +506,7 @@ Blt_Ts_DrawText(
// GC gc = XCreateGC(display, Tk_WindowId(tkwin), 0, NULL);
// XSetFont(display, gc, Tk_FontId(font));
Tk_Font font = stylePtr->font;
- // GC gc = stylePtr->gc;
+ GC gc = stylePtr->gc;
int width,height, xx, yy;
Tk_TextLayout layout = Tk_ComputeTextLayout(font, text, textLen, -1,
@@ -515,8 +514,8 @@ Blt_Ts_DrawText(
&width, &height);
Blt_TranslateAnchor(x, y, width, height, stylePtr->anchor, &xx, &yy);
// printf("x=%d y=%d, xx=%d yy=%d\n",x,y,xx,yy);
- // TkDrawAngledTextLayout(display, drawable, gc, layout, xx, yy,
- // stylePtr->angle, 0, textLen);
+ TkDrawAngledTextLayout(display, drawable, gc, layout, xx, yy,
+ stylePtr->angle, 0, textLen);
// if (gc)
// XFreeGC(display, gc);