diff options
author | David Robillard <d@drobilla.net> | 2008-10-05 01:07:44 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-10-05 01:07:44 +0000 |
commit | 47638b66441b1ce8aebbed4f702600cc39cc302b (patch) | |
tree | f92b4018ed4774020e70a3dcb98d9d4f7fbf8624 /libs/gtkmm2ext/scroomer.cc | |
parent | 3a97c19e1e3d5dcbe71067cde4652efc9f255c18 (diff) |
Shrink scroomer horizontally a bit to emphasise the 'real' keyboard.
Cleanup gtk2_ardour/midi_scroomer.cc.
git-svn-id: svn://localhost/ardour2/branches/3.0@3860 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/gtkmm2ext/scroomer.cc')
-rw-r--r-- | libs/gtkmm2ext/scroomer.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libs/gtkmm2ext/scroomer.cc b/libs/gtkmm2ext/scroomer.cc index 0f25207006..a8bd0289f2 100644 --- a/libs/gtkmm2ext/scroomer.cc +++ b/libs/gtkmm2ext/scroomer.cc @@ -118,8 +118,7 @@ Scroomer::on_motion_notify_event (GdkEventMotion* ev) break; } - /* - * Then we handle zoom, which is dragging horizontally. We zoom around the area that is + /* Then we handle zoom, which is dragging horizontally. We zoom around the area that is * the current y pointer value, not from the area that was the start of the drag. * the point of zoom must have the same */ @@ -269,8 +268,7 @@ Scroomer::on_size_allocate (Allocation& a) update(); } -/* - * assumes that x and width are correct, and they will not be altered +/** Assumes that x and width are correct, and they will not be altered. */ void Scroomer::set_comp_rect(GdkRectangle& r, Component c) const |