From 8d35a11cf342211ca478ade3cd180ddc316eaafe Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Tue, 15 Jan 2013 01:54:54 +0100 Subject: Commented debug output --- atari/gemtk/guiwin.c | 5 ++--- atari/rootwin.c | 10 ++++------ atari/toolbar.c | 6 +++--- 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/atari/gemtk/guiwin.c b/atari/gemtk/guiwin.c index c83b3754c..d79d48bb1 100644 --- a/atari/gemtk/guiwin.c +++ b/atari/gemtk/guiwin.c @@ -26,8 +26,8 @@ #include "gemtk.h" -#define DEBUG_PRINT(x) printf x -//#define DEBUG_PRINT(x) +//#define DEBUG_PRINT(x) printf x +#define DEBUG_PRINT(x) struct gui_window_s { @@ -717,7 +717,6 @@ void guiwin_get_grect(GUIWIN *win, enum guwin_area_e mode, GRECT *dest) } else { dest->g_h = win->toolbar_size; } - dbg_grect("gw tb rect", dest); } else { dest->g_w = 0; diff --git a/atari/rootwin.c b/atari/rootwin.c index d2b7c1683..67cb10971 100755 --- a/atari/rootwin.c +++ b/atari/rootwin.c @@ -561,7 +561,7 @@ void window_get_grect(ROOTWIN *rootwin, enum browser_area_e which, GRECT *d) if (which == BROWSER_AREA_TOOLBAR) { // guiwin_get_grect(rootwin->win, GUIWIN_AREA_TOOLBAR, d); toolbar_get_grect(rootwin->toolbar, 0, d); - dbg_grect("toolbar reported size: ", d); + } else if (which == BROWSER_AREA_CONTENT) { GRECT tb_area; @@ -592,8 +592,8 @@ void window_get_grect(ROOTWIN *rootwin, enum browser_area_e which, GRECT *d) d->g_w = 0; } - printf("window_get_grect %d:", which); - dbg_grect("", d); + //printf("window_get_grect %d:", which); + //dbg_grect("", d); } @@ -869,8 +869,6 @@ void window_process_redraws(ROOTWIN * rootwin) int caret_h = 0; struct s_caret *caret = &rootwin->caret; - printf("process redraw...\n"); - redraw_active = true; toolbar_get_grect(rootwin->toolbar, 0, &tb_area); @@ -1221,7 +1219,7 @@ static void on_redraw(ROOTWIN *rootwin, short msg[8]) GRECT clip = {msg[4], msg[5], msg[6], msg[7]}; - dbg_grect("on_redraw", &clip); + //dbg_grect("on_redraw", &clip); if(guiwin_get_state(rootwin->win) & GW_STATUS_ICONIFIED) { GRECT clip = {msg[4], msg[5], msg[6], msg[7]}; diff --git a/atari/toolbar.c b/atari/toolbar.c index b37c9ad0f..98c11bb55 100644 --- a/atari/toolbar.c +++ b/atari/toolbar.c @@ -393,7 +393,7 @@ void toolbar_redraw(struct s_toolbar *tb, GRECT *clip) if(tb->reflow == true) toolbar_reflow(tb); - dbg_grect("toolbar redraw clip", clip); + // dbg_grect("toolbar redraw clip", clip); objc_draw_grect(aes_toolbar,0,8,clip); objc_draw_grect(&throbber_form[tb->throbber.index], 0, 1, clip); @@ -797,8 +797,8 @@ void toolbar_get_grect(struct s_toolbar *tb, short which, GRECT *dst) dst->g_h = aes_toolbar[which].ob_height; //aes_toolbar[which].ob_height; - printf("Toolbar get grect (%d): ", which); - dbg_grect("", dst); + //printf("Toolbar get grect (%d): ", which); + //dbg_grect("", dst); #undef LAST_TOOLBAR_AREA } -- cgit v1.2.3