]> Dogcows Code - chaz/openbox/blobdiff - otk/rendercontrol.cc
bitmap masks return!
[chaz/openbox] / otk / rendercontrol.cc
index 189bbd6e00514a3d2fd242adcf9c7595ff54b8eb..1bb59c80cf7e2099c24e9240acca1ca8aa2d2c4e 100644 (file)
@@ -7,10 +7,10 @@
 #include "rendercontrol.hh"
 #include "truerendercontrol.hh"
 #include "rendertexture.hh"
+#include "rendercolor.hh"
 #include "display.hh"
 #include "screeninfo.hh"
 #include "surface.hh"
-#include "color.hh"
 #include "font.hh"
 #include "ustring.hh"
 
@@ -61,7 +61,8 @@ RenderControl::~RenderControl()
 }
 
 void RenderControl::drawString(Surface& sf, const Font &font, int x, int y,
-                              const Color &color, const ustring &string) const
+                              const RenderColor &color,
+                               const ustring &string) const
 {
   assert(sf._screen == _screen);
   XftDraw *d = sf._xftdraw;
@@ -98,7 +99,7 @@ void RenderControl::drawString(Surface& sf, const Font &font, int x, int y,
   else
     XftDrawString8(d, &c, font._xftfont, x, font._xftfont->ascent + y,
                    (FcChar8*)string.c_str(), string.bytes());
-
+  printf("DRAW A STRING!: %s\n", string.c_str());
   return;
 }
 
This page took 0.020398 seconds and 4 git commands to generate.