summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/session.h
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2015-03-16 04:01:30 +1100
committernick_m <mainsbridge@gmail.com>2015-03-16 04:01:30 +1100
commit135e865302b5cd20a6cb0a0a4aaa682f839ffe67 (patch)
tree608cbb71aec4de5f6d2acc11f3fbec1a036de6c5 /libs/ardour/ardour/session.h
parenta5db1d588e6bc61c26bd7d24530feeeb0283e95f (diff)
Add route dialog order hint changes.
Add an option to insert new routes at the top of the list ("First"). Reorder/rename the entries in the dialog. Session's _order_hint is now the signed int it always wanted to be.
Diffstat (limited to 'libs/ardour/ardour/session.h')
-rw-r--r--libs/ardour/ardour/session.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h
index b50d502e16..ad5f236a84 100644
--- a/libs/ardour/ardour/session.h
+++ b/libs/ardour/ardour/session.h
@@ -243,7 +243,7 @@ class LIBARDOUR_API Session : public PBD::StatefulDestructible, public PBD::Scop
bool operator() (boost::shared_ptr<Route>, boost::shared_ptr<Route> b);
};
- void set_order_hint (uint32_t order_hint) {_order_hint = order_hint;};
+ void set_order_hint (int32_t order_hint) {_order_hint = order_hint;};
void notify_remote_id_change ();
void sync_order_keys ();
@@ -1677,7 +1677,7 @@ class LIBARDOUR_API Session : public PBD::StatefulDestructible, public PBD::Scop
GraphEdges _current_route_graph;
uint32_t next_control_id () const;
- uint32_t _order_hint;
+ int32_t _order_hint;
bool ignore_route_processor_changes;
MidiClockTicker* midi_clock;