Use an enum for RoundMode instead of magic numbers.
authorDavid Robillard <d@drobilla.net>
Sun, 16 Nov 2014 06:05:21 +0000 (01:05 -0500)
committerDavid Robillard <d@drobilla.net>
Mon, 17 Nov 2014 03:35:45 +0000 (22:35 -0500)
commitfd9ccc7058cf7cfadbfa1dfb9676e2de3a14e1b0
treeb65c03818c9eded429651ca621773d728f9e1976
parent9c5e63bcc69290e1df84ea345b1899a241b7655e
Use an enum for RoundMode instead of magic numbers.

No functional changes in this one (for easier auditing), but towards having
round up/down only if necessary modes, rather than kludging around that
situation with a double round as we do currently.
14 files changed:
gtk2_ardour/editor.cc
gtk2_ardour/editor.h
gtk2_ardour/editor_drag.cc
gtk2_ardour/editor_mouse.cc
gtk2_ardour/editor_ops.cc
gtk2_ardour/midi_region_view.cc
gtk2_ardour/midi_time_axis.cc
gtk2_ardour/public_editor.h
gtk2_ardour/region_view.cc
gtk2_ardour/step_editor.cc
gtk2_ardour/tempo_dialog.cc
libs/ardour/ardour/tempo.h
libs/ardour/ardour/types.h
libs/ardour/tempo.cc