]> Dogcows Code - chaz/openbox/blobdiff - otk/rendercontrol.cc
Added bevels
[chaz/openbox] / otk / rendercontrol.cc
index 189bbd6e00514a3d2fd242adcf9c7595ff54b8eb..50a00ffa981d100b5a97ef10ba49c38b0d51ae6a 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,6 @@ 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());
-
   return;
 }
 
This page took 0.020191 seconds and 4 git commands to generate.