remove debug printfs
Dana Jansens danakj@orodu.net
6 files changed,
0 insertions(+),
25 deletions(-)
M
otk/rendercolor.cc
→
otk/rendercolor.cc
@@ -53,8 +53,6 @@ void RenderColor::create()
{ unsigned long color = _blue | _green << 8 | _red << 16; - printf("CREATE COLOR: %lx\n", color); - // try get a gc from the cache CacheItem *item = _cache[_screen][color];@@ -101,8 +99,6 @@
CacheItem *item = _cache[_screen][color]; assert(item); // it better be in the cache ... - printf("DESTROY COLOR: %lx %d\n", color, item->count); - if (--item->count <= 0) { // remove from the cache XFreeGC(**display, _gc);
M
otk/widget.cc
→
otk/widget.cc
@@ -259,15 +259,12 @@
void Widget::render(void) { if (!_texture) return; - printf("RENDER\n"); Surface *s = _surface; // save the current surface _surface = new Surface(_screen, _rect.size()); display->renderControl(_screen)->drawBackground(*_surface, *_texture); - if (dynamic_cast<FocusLabel*>(this)) - printf("IM A FOCUSLABEL RENDERING\n"); renderForeground(); // for inherited types to render onto the _surface XSetWindowBackgroundPixmap(**display, _window, _surface->pixmap());
M
src/labelwidget.cc
→
src/labelwidget.cc
@@ -67,18 +67,10 @@ setTextures();
} -void LabelWidget::update() -{ - printf("LabelWidget::update()\n"); - otk::Widget::update(); -} - - void LabelWidget::renderForeground() { bool draw = _dirty; - printf("LabelWidget::renderForeground()\n"); otk::Widget::renderForeground(); if (draw) {
M
src/labelwidget.hh
→
src/labelwidget.hh
@@ -31,8 +31,6 @@
virtual void focus(); virtual void unfocus(); - virtual void update(); - virtual void renderForeground(); inline const otk::ustring &text() const { return _text; }