}
+void RenderControl::drawRoot(const RenderColor &color) const
+{
+ Window root = display->screenInfo(_screen)->rootWindow();
+ XSetWindowBackground(**display, root, color.pixel());
+ XClearWindow(**display, root);
+}
+
void RenderControl::drawString(Surface& sf, const Font &font, int x, int y,
const RenderColor &color,
const ustring &string) const
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;
}