diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-09-17 18:20:37 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-09-17 18:20:37 +0000 |
commit | ede4ecbb00ecc866c502454c81e711baea780ccd (patch) | |
tree | d4a05e59cc96651ddf0eeab929f58fb7a7019fb0 /gtk2_ardour/editor_selection.cc | |
parent | 10bdce85a0e7381d1b5db38e3640600c6fd3ec79 (diff) |
megaopus patch #2 for today: remove nframes64_t and sframes_t from source
git-svn-id: svn://localhost/ardour2/branches/3.0@7792 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_selection.cc')
-rw-r--r-- | gtk2_ardour/editor_selection.cc | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/gtk2_ardour/editor_selection.cc b/gtk2_ardour/editor_selection.cc index 19166750cc..d17d230cf8 100644 --- a/gtk2_ardour/editor_selection.cc +++ b/gtk2_ardour/editor_selection.cc @@ -1178,8 +1178,8 @@ Editor::select_all_selectables_using_time_selection () return; } - nframes64_t start = selection->time[clicked_selection].start; - nframes64_t end = selection->time[clicked_selection].end; + framepos_t start = selection->time[clicked_selection].start; + framepos_t end = selection->time[clicked_selection].end; if (end - start < 1) { return; @@ -1271,8 +1271,8 @@ Editor::select_all_selectables_using_loop() void Editor::select_all_selectables_using_cursor (EditorCursor *cursor, bool after) { - nframes64_t start; - nframes64_t end; + framepos_t start; + framepos_t end; list<Selectable *> touched; if (after) { @@ -1311,8 +1311,8 @@ Editor::select_all_selectables_using_cursor (EditorCursor *cursor, bool after) void Editor::select_all_selectables_using_edit (bool after) { - nframes64_t start; - nframes64_t end; + framepos_t start; + framepos_t end; list<Selectable *> touched; if (after) { @@ -1351,8 +1351,8 @@ Editor::select_all_selectables_using_edit (bool after) void Editor::select_all_selectables_between (bool /*within*/) { - nframes64_t start; - nframes64_t end; + framepos_t start; + framepos_t end; list<Selectable *> touched; if (!get_edit_op_range (start, end)) { @@ -1380,8 +1380,8 @@ Editor::select_all_selectables_between (bool /*within*/) void Editor::select_range_between () { - nframes64_t start; - nframes64_t end; + framepos_t start; + framepos_t end; if (mouse_mode == MouseRange && !selection->time.empty()) { selection->clear_time (); @@ -1396,9 +1396,9 @@ Editor::select_range_between () } bool -Editor::get_edit_op_range (nframes64_t& start, nframes64_t& end) const +Editor::get_edit_op_range (framepos_t& start, framepos_t& end) const { - nframes64_t m; + framepos_t m; bool ignored; /* in range mode, use any existing selection */ |