diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-23 04:20:08 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-23 04:20:08 +0000 |
| commit | ff3bb7566b76ff28e72e64054908145854b4454d (patch) | |
| tree | 5ba4aadf166a0bf4e0f781919b67d14cedaccb4b /otk | |
| parent | b5963e0e5393e62ecdcdd6df65e5cdf4482276f8 (diff) | |
remove debug printfs
Diffstat (limited to 'otk')
| -rw-r--r-- | otk/rendercolor.cc | 4 | ||||
| -rw-r--r-- | otk/widget.cc | 3 |
2 files changed, 0 insertions, 7 deletions
diff --git a/otk/rendercolor.cc b/otk/rendercolor.cc index 81aef261..be9521bf 100644 --- a/otk/rendercolor.cc +++ b/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 @@ RenderColor::~RenderColor() 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); diff --git a/otk/widget.cc b/otk/widget.cc index 154fc92c..69a86237 100644 --- a/otk/widget.cc +++ b/otk/widget.cc @@ -259,15 +259,12 @@ void Widget::ungrabKeyboard(void) 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()); |
