From fcb83c97ce210733347ae462152ec2996bc27bb6 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 4 Mar 2010 23:55:09 +0000 Subject: [PATCH] debug output for big clock resizing git-svn-id: svn://localhost/ardour2/branches/3.0@6731 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/ardour_ui_ed.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/ardour_ui_ed.cc b/gtk2_ardour/ardour_ui_ed.cc index 5cd156550a..3afcff8e1d 100644 --- a/gtk2_ardour/ardour_ui_ed.cc +++ b/gtk2_ardour/ardour_ui_ed.cc @@ -640,6 +640,7 @@ ARDOUR_UI::idle_big_clock_text_resizer (int win_w, int win_h) get_pixel_size (layout, w, h); if (abs (h - limit) < slop) { + cerr << "error is less than the slop, use " << h << endl; if (size != original_size) { /* use the size from the last loop */ @@ -654,7 +655,7 @@ ARDOUR_UI::idle_big_clock_text_resizer (int win_w, int win_h) if (h > limit) { /* too big, stepsize should be smaller */ - + cerr << h << " is too big, reduce by " << stepsize << endl; if (size < 2) { break; } @@ -662,6 +663,7 @@ ARDOUR_UI::idle_big_clock_text_resizer (int win_w, int win_h) } else if (h < limit) { + cerr << h << " is too small, increase by " << stepsize << endl; /* too small (but not small enough): step size should be bigger */ if (size > 720) {