summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/presentation_info.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2017-02-26 18:17:50 +0100
committerPaul Davis <paul@linuxaudiosystems.com>2017-02-26 18:24:56 +0100
commit67ba18d15430f3e639d97a8a30717d7ff009bec1 (patch)
tree6246006f1aa464ad26464ad53cf70516374481d3 /libs/ardour/ardour/presentation_info.h
parent02cf331403458c0895b3f44689ca5a781977818f (diff)
selected Stripables now have a counter to indicate the order they were selected in
Diffstat (limited to 'libs/ardour/ardour/presentation_info.h')
-rw-r--r--libs/ardour/ardour/presentation_info.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/ardour/presentation_info.h b/libs/ardour/ardour/presentation_info.h
index 6984930f3d..7c847e9fce 100644
--- a/libs/ardour/ardour/presentation_info.h
+++ b/libs/ardour/ardour/presentation_info.h
@@ -158,6 +158,8 @@ class LIBARDOUR_API PresentationInfo : public PBD::Stateful
bool order_set() const { return _flags & OrderSet; }
+ int selection_cnt() const { return _selection_cnt; }
+
bool hidden() const { return _flags & Hidden; }
bool selected() const { return _flags & Selected; }
bool special() const { return _flags & (MasterOut|MonitorOut|Auditioner); }
@@ -263,11 +265,14 @@ class LIBARDOUR_API PresentationInfo : public PBD::Stateful
order_t _order;
Flag _flags;
color_t _color;
+ int _selection_cnt;
static PBD::PropertyChange _pending_static_changes;
static Glib::Threads::Mutex static_signal_lock;
static int _change_signal_suspended;
static void send_static_change (const PBD::PropertyChange&);
+
+ static int selection_counter;
};
}