diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-03-04 23:55:09 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-03-04 23:55:09 +0000 |
commit | fcb83c97ce210733347ae462152ec2996bc27bb6 (patch) | |
tree | c271a86bd3a9896d72968c08139847ca8eee56be /gtk2_ardour/ardour_ui_ed.cc | |
parent | df5081c4c0f867ee38bbd1c909f49a7a9487326e (diff) |
debug output for big clock resizing
git-svn-id: svn://localhost/ardour2/branches/3.0@6731 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_ui_ed.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui_ed.cc | 4 |
1 files changed, 3 insertions, 1 deletions
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) { |