X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Frendercontrol.cc;h=90229d88c7db765ff98398a9e82338ec583a6485;hb=033e9843bcec8340c9e657fe0f0519f86075424b;hp=189bbd6e00514a3d2fd242adcf9c7595ff54b8eb;hpb=25f0151154c90b1c72f049e200d942fb2c18ddc5;p=chaz%2Fopenbox diff --git a/otk/rendercontrol.cc b/otk/rendercontrol.cc index 189bbd6e..90229d88 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;