X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=otk%2Frendercontrol.cc;h=1bb59c80cf7e2099c24e9240acca1ca8aa2d2c4e;hb=b99508df011eaf8a264bf5725ac8849f0782ec7b;hp=189bbd6e00514a3d2fd242adcf9c7595ff54b8eb;hpb=25f0151154c90b1c72f049e200d942fb2c18ddc5;p=chaz%2Fopenbox diff --git a/otk/rendercontrol.cc b/otk/rendercontrol.cc index 189bbd6e..1bb59c80 100644 --- a/otk/rendercontrol.cc +++ b/otk/rendercontrol.cc @@ -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; }